Learn R Programming

ANTsR (version 1.0)

iBind: iBind

Description

bind two images along their edge

Usage

iBind(img1, img2, along = NA)

Arguments

img1

input object, an antsImage

img2

second antsImage, same size as first

along

dimension to bind along

Examples

Run this code
# NOT RUN {
fi<-antsImageRead( getANTsRData("r16") , 2 )
mi<-antsImageRead( getANTsRData("r62") , 2 )
bi<-iBind( fi, mi , 1 )
multismoo<- fi %>% iBind( smoothImage(fi,2) ) %>% iBind( smoothImage(fi,4) )
# }

Run the code above in your browser using DataLab