jacobian_image | R Documentation |
Image of the Determinant of the Jacobian
jacobian_image(
fixed,
transformlist = NULL,
moving = NULL,
typeofTransform = "SyN",
...
)
log_jacobian_image(
fixed,
transformlist = NULL,
moving = NULL,
typeofTransform = "SyN",
...
)
geom_jacobian_image(
fixed,
transformlist = NULL,
moving = NULL,
typeofTransform = "SyN",
...
)
log_geom_jacobian_image(
fixed,
transformlist = NULL,
moving = NULL,
typeofTransform = "SyN",
...
)
fixed |
Fixed image in a registration |
transformlist |
List of transformation of moving image to
fixed image. Only one of |
moving |
Image to transform into |
typeofTransform |
If registration not done previously, then transform to use for transformation. Should be non-linear. |
... |
additional arguments to pass to |
An image of the determinant of the Jacobian, the transform list, and the fixed image.
library(extrantsr)
library(ANTsR)
library(methods)
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)
jac = jacobian_image(fixed = fi, moving = mi, verbose = FALSE)
## Not run:
mytx<-antsRegistration(fixed=fi , moving=mi, typeofTransform = c("SyN") )
jac<-createJacobianDeterminantImage(fi,mytx$fwdtransforms[[1]],1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.