reorder_neigh_indices: Reorder Voxel Neighborhood

View source: R/reorder_neighborhood.R

reorder_neigh_indicesR Documentation

Reorder Voxel Neighborhood

Description

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

Usage

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 June 3, 2024, 7:04 p.m.