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

Wrong color mapping when exporting constant image as PNG #17

Open
cappelletto opened this issue Apr 12, 2021 · 0 comments
Open

Wrong color mapping when exporting constant image as PNG #17

cappelletto opened this issue Apr 12, 2021 · 0 comments

Comments

@cappelletto
Copy link
Collaborator

When raster layer is exported as PNG (e.g. X1_Measurability map) it remaps everything starting from the lowest value of the color ramp (OpenCV behaviour). If the whole image is measurable (testing large sensors), then the resulting PNG file will appear black. The TIF file is always correct, but this issue breaks the debugging purpose of using the exported PNG for quick visualization.

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

1 participant