bind two images along their edge

iBind(img1, img2, along = NA)

Arguments

img1

input object, an antsImage

img2

second antsImage, same size as first

along

dimension to bind along

Author

BB Avants

Examples

fi <- antsImageRead(getANTsRData("r16"), 2)
mi <- antsImageRead(getANTsRData("r62"), 2)
bi <- iBind(fi, mi, 1)
multismoo <- fi %>% iBind(smoothImage(fi, 2))
multismoo <- multismoo %>% iBind(smoothImage(fi, 4))