Description Usage Arguments Value Author(s) Examples
View source: R/convolveImage.R
convolves images together
1 | convolveImage(image, kernelImage, crop = TRUE)
|
image |
antsImage to convolve |
kernelImage |
antsImage acting as kernel |
crop |
boolean automatically crops kernelImage |
convimage
Brian B. Avants
1 2 3 4 5 | 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 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.