boundary.check: Check if muscle fiber is close to boundary of muscle

View source: R/boundary.check.R

boundary.checkR Documentation

Check if muscle fiber is close to boundary of muscle

Description

An internal function that uses a concavehull to determine the bounds of the muscle based on grayscale values on each image and determines how many boundary voxels are within a set distance from the selected image point.

Usage

boundary.check(images, new.zero.image, new.startx, new.starty, bound.buffer, cutoff)

Arguments

images

A vector of image names in the working directory, created using list.files

new.zero.image

The image plane being considered

new.startx

The x coordinate of the considered point

new.starty

The y coordinate of the considered point

bound.buffer

The number of voxels a point can be distant from the boundary

cutoff

The grayscale value under which voxels will be treated as black

Details

For internal use only

Value

The number of boundary voxels within bound.buffer distance of the proposed point.

Author(s)

J. Arbour


GoodFibes documentation built on Aug. 19, 2023, 1:06 a.m.