API Reference#
Voxel is conventionally imported as:
import voxel as vx
Core classes and I/O functions are available at the top level (vx.Volume, vx.load_volume, …), while specialized functions live in module namespaces (vx.filters.gaussian_filter, vx.morphology.dilate, …).
Classes#
Class |
Description |
|---|---|
Multi-channel 3D image with a world-space geometry |
|
Voxel-to-world transform of an image grid |
|
Multi-channel stack of independently positioned image slices |
|
Slice-to-world transforms of a slice stack |
|
Base class of the tensor operations shared by volumes and slice stacks |
|
Anatomical orientation of the voxel axes |
|
4×4 transform for 3D coordinates |
|
Oriented 3D bounding box |
|
Table mapping label values to names and colors |
|
Single named, colored entry of a label lookup |
|
Triangular mesh in world space |
|
Voxel vs. world coordinate frame designator |
|
Dense world-coordinate deformation |
|
Volume of 3D displacement or velocity vectors |
Functions#
Group |
Contents |
|---|---|
Loading and saving volumes, meshes, affines, boxes, and labels |
|
Volume stacking, grids, and comparison |
|
Geometry and orientation casting and comparison |
|
Transform constructors and fitting |
|
Transform composition |
|
Oriented bounding box fitting |
|
Label map recoding and one-hot encoding |
|
Convolution filtering |
|
Binary morphology and labeling |
|
2D visualization |
|
Feature decomposition |