highdicom icon indicating copy to clipboard operation
highdicom copied to clipboard

1-based option for "Pixel" Transformer classes

Open CPBridge opened this issue 10 months ago • 0 comments

The "Pixel" transformer classes in the spatial module work with 0-based pixel indices, as is natural for python programmers. However when working with other DICOM objects, it is common to encounter 1-based pixel indices (e.g. the 2D coordinates used in ANN objects). There should be a way to support these conveniently, either with options on the existing classes, or new classes.

CPBridge avatar Feb 18 '25 19:02 CPBridge