ENH: New lightbox view feature to configure slices in terms of voxel coordinates
- A new feature available on lightbox views, under the Tools menu, which allows the displayed slices to be configured in terms of voxel coordinates rather than proportions.
- A corresponding command-line option,
--asVoxels
, which causes the--zrange
and--sliceSpacing
options to be interpreted as voxel coordinates (relative to the selected image, which defaults to the last image). - A new command-line option
--sampleSlices
, which controls how lightbox slices are sampled. This is used by--asVoxels
, and is really an internal setting not expected to be of much use directly, but is exposed on the command-line for completeness. - Fixed a Python 3.12 compatibility issue with command-line argument parsing.