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

Question about PixelData transformations #31

Closed
ibaryshnikov opened this issue Dec 23, 2019 · 2 comments
Closed

Question about PixelData transformations #31

ibaryshnikov opened this issue Dec 23, 2019 · 2 comments

Comments

@ibaryshnikov
Copy link
Contributor

After reading PixelData there may be a number of transformations which should be applied to individual pixels like RescaleSlope / RescaleIntercept / WindowCenter / WIndowWidth / and may be more.
Is there a rust crate or other convenient tool for correct transformations of pixels after reading them?

@Enet4
Copy link
Owner

Enet4 commented Dec 24, 2019

This concern is directly related with the pixel data abstraction, which is yet to be designed into the ecosystem (see more details on the roadmap). Until this abstraction is defined, one would have to perform the necessary operations on the pixel values manually.

@Enet4
Copy link
Owner

Enet4 commented May 4, 2021

There is now an API for working with pixel data as an image or as a multi-dimensional array. Please see #125 for keeping track of its development and feature set.

@Enet4 Enet4 closed this as completed May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants