reorder_neigh_indices: Reorder Voxel Neighborhood

Description Usage Arguments Value

View source: R/reorder_neighborhood.R

Description

The output from getNeighborhoodInMask gets reordered to match that which R uses for array to indices.

Usage

1
reorder_neigh_indices(indices, img.dim)

Arguments

indices

Indices from getNeighborhoodInMask

img.dim

Image dimension from which neighborhood was taken

Value

List of new indices, the ordering, and a binary array which has a 1 where the indices are located


muschellij2/extrantsr documentation built on July 27, 2021, 7:41 a.m.