R/nearestclassdistances.R
nearestClassDistance.Rd
Title Find distance to next neighbour of a specific class
nearestClassDistance(coord, img, class, voxelsize, step = 0)
coordinate of relevant voxel
image array of classes
class to find
vector of length three. size of voxel in X-/Y-/Z-direction
size of window to start with
distance to nearest voxel of class "class"