Find all distances to next neighbour of all classes for folders
nearestClassDistances.folder(
path,
N = 7,
voxelsize = NULL,
add = FALSE,
cores = 1
)
path to folder
number of classes, default: 7
real size of voxels (in microns), if NULL (default), look in folder XYZmic
if TRUE, only process images which have not been processed before (i.e. have been added to classN)
number of cores to use in parallel (needs parallel package if cores>1)
nothing, results are in folder distances in RData format