morph3dlinks {morph}R Documentation

An internal function that computes the spatial neighbours for voxels. It is an internal function called by morph3d() and not intended to be called on its own.

Description

An internal helper function to compute voxel neighbours in orthogonal 3D space and to return the information in data frame format back to morph3d(), the function that calls this function.

Usage

morph3dlinks(VOLOBJ = NULL, VOXELIDS = NULL, VERBOSE = FALSE)

Arguments

VOLOBJ

This is a 3D array that is larger in all dimensions, within which the actual data array is inset. This ensures that outer margins will be properly processed.

VOXELIDS

This is a 3D array of the unique voxel IDS, which are used to track individual voxels and their connectivity.

VERBOSE

This is a Boolean flag for turning on | off additional feedback during processing.

Details

This internal function simply makes the total length of the morph3d() function shorter.

Value

This function returns an intermediate data frame of voxel neighbours that is subsequently pared down as morph3d() continues.

Note

No additional notes at this time.

Author(s)

Tarmo K. Remmel

References

Remmel, T.K. 2022. Extending morphological pattern analysis to 3D voxels. Landscape Ecology 37(2):373-380.

See Also

See Also morph3d

Examples

# THIS IS AN INTERNAL FUNCITON AND USAGE EXAMPLES ARE NOT NECESSARY

[Package morph version 1.1.0 Index]