convolveImage.Rd
convolves images together
convolveImage(image, kernelImage, crop = TRUE)
antsImage to convolve
antsImage acting as kernel
boolean automatically crops kernelImage
convimage
Brian B. Avants
fi<-antsImageRead( getANTsRData("r16") ,2) convimg<-makeImage( c(3,3) , c(1,0,1,0,-4,0,1,0,1) ) convout<-convolveImage( fi, convimg ) convimg2<-makeImage( c(3,3) , c(0,1,0,1,0,-1,0,-1,0) ) convout2<-convolveImage( fi, convimg2 )