createJacobianDeterminantImage: createJacobianDeterminantImage

Description Usage Arguments Value Author(s) Examples

View source: R/createJacobianDeterminantImage.R

Description

Compute the jacobian determinant from a transformation file

Usage

1
createJacobianDeterminantImage(domainImg, tx, doLog = FALSE, geom = FALSE)

Arguments

domainImg

image that defines transformation domain

tx

deformation transformation file name

doLog

return the log jacobian

geom

use the geometric jacobian calculation (boolean)

Value

jacobianImage

Author(s)

BB Avants

Examples

1
2
3
4
5
6
7
fi<-antsImageRead( getANTsRData("r16") ,2)
mi<-antsImageRead( getANTsRData("r64") ,2)
fi<-resampleImage(fi,c(128,128),1,0)
mi<-resampleImage(mi,c(128,128),1,0)
mytx<-antsRegistration(fixed=fi , moving=mi, typeofTransform = c("SyN") )
jac<-createJacobianDeterminantImage(fi,mytx$fwdtransforms[[1]],1)
# plot(jac)

neuroconductor-devel/ANTsR documentation built on April 1, 2021, 1:02 p.m.