Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1-based option for "Pixel" Transformer classes #327

Open
CPBridge opened this issue Feb 18, 2025 · 0 comments
Open

1-based option for "Pixel" Transformer classes #327

CPBridge opened this issue Feb 18, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@CPBridge
Copy link
Collaborator

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 CPBridge self-assigned this Feb 18, 2025
@CPBridge CPBridge added the enhancement New feature or request label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant