corr_img | R Documentation |
Calculates the neighborhood of 2 registered images, and then does the correlation of each neighbor with itself in the other imaging modality
corr_img(
img1,
img2,
mask = NULL,
radius = rep(1, 3),
method = c("pearson", "spearman"),
verbose = TRUE
)
img1 |
image of class |
img2 |
image of class |
mask |
Binary image of class |
radius |
vector of length 3 for number of voxels to go in each direction.
Default is 27 neighbors (including voxel at center).
Passed to |
method |
Type of correlation. |
verbose |
print diagnostic messages |
Object of class nifti
## Not run:
corr_img("T1_Image.nii.gz", "FLAIR_Image.nii.gz", mask = "Mask.nii.gz")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.