nearestClassDistances: Find all distances to next neighbor of all classes

View source: R/nearestclassdistances_c.R

nearestClassDistancesR Documentation

Find all distances to next neighbor of all classes

Description

Find all distances to next neighbor of all classes

Usage

nearestClassDistances(
  img,
  voxelsize = NULL,
  size = NULL,
  classes = 7,
  maxdist = NULL,
  silent = FALSE,
  cores = 1
)

Arguments

img

Image array of classes

voxelsize

Real size of voxels in microns.

size

Real size of image in microns. Either size or voxelsize must be given.

classes

Number of classes

maxdist

Maximum distance to consider

silent

Remain silent?

cores

Number of cores available for parallel computing

Value

array with distances


bioimagetools documentation built on May 28, 2022, 5:06 p.m.