Find all distances to next neighbor of all classes
nearestClassDistances(
img,
voxelsize = NULL,
size = NULL,
classes = 7,
maxdist = NULL,
silent = FALSE,
cores = 1
)
Image array of classes
Real size of voxels in microns.
Real size of image in microns. Either size or voxelsize must be given.
Number of classes
Maximum distance to consider
Remain silent?
Number of cores available for parallel computing
array with distances