Learn R Programming

bioimagetools (version 1.1.9)

nearestClassDistance: Title Find distance to next neighbour of a specific class

Description

Title Find distance to next neighbour of a specific class

Usage

nearestClassDistance(coord, img, class, voxelsize, step = 0)

Value

distance to nearest voxel of class "class"

Arguments

coord

coordinate of relevant voxel

img

image array of classes

class

class to find

voxelsize

vector of length three. size of voxel in X-/Y-/Z-direction

step

size of window to start with