three orthogonal slices of a voxel volume: the colours (nx, ny, nz, 3) in [0, 1], the voxels shown (nx, ny, nz), the centre of the first voxel, the steps of the three voxel axes as the rows of D, and the voxel index of each slice, None for a slice not shown

Input

rgb voxel RGB array of shape (nx, ny, nz, 3)
visible boolean voxel mask of shape (nx, ny, nz)
origin position of the first voxel centre
D 3-by-3 array of voxel step vectors as rows
at three zero-based slice indices; None entries hide individual slices; omitted at uses middle slices

Members

bounds the corners (lo, hi) of the box around the voxel volume
plane the slice through voxel index i along axis a: its colours (rows, cols, 3) over the other two axes in increasing index, the voxels shown, and the corners of its rectangle, the first at index (-1/2, -1/2), then along the rows, the columns, both
planes the slices shown, one plane(a) each, the axes without a slice left out
source

Citing this page. This page is part of the documentation of MTEX, a free and open source MATLAB toolbox for analyzing and modeling crystallographic textures. It was written by The MTEX Developers and is published at https://mtex-toolbox.github.io/slices3d_index_py.html. If you use MTEX, or reuse text or figures from this page, in your research, please cite

F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63

BibTeX
@article{bachmann2010mtex,
  author  = {F. Bachmann and R. Hielscher and H. Schaeben},
  title   = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
  journal = {Solid State Phenomena},
  volume  = {160},
  pages   = {63-68},
  year    = {2010},
  doi     = {10.4028/www.scientific.net/SSP.160.63},
  url     = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}

Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.