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
Re changes #3155
Re changes #3155
Conversation
@jburel Which table in the DB has these settings? |
I'll need to double-check with you what's supposed to happen here, but the behaviour seems quite wrong, for float/double images (fine for uint8/16). I've imported several float and double images. The min and max appear to be clamped to the global min/max for each channel. This means I can't normalise the rendering settings across multiple images with differing global min/max. Example: Red is max=0.745. I can set this to 0.8, 1.0 or 2.5, or even 40000 but this isn't reflected in the rendering. I think this is far too restrictive, and imposes unreasonable limitations upon what a user would reasonably expect to do. I set these values directly in the UI (they save correctly) and by updating channelbinding in the DB; no effect in either case. |
I should also note that thumbnail generation for all pixel types is broken; not sure if this PR is specifically responsible, but it was working for all pixel types last time I checked a couple of weeks back. |
Test data on trout, user-4 flt/data. |
@rleigh-dundee: I was limiting to min/max. I have removed that limitation. To be retested on monday. |
Tested float and double images on trout merge user-4 Project fit. Changed the Two minor issues:
|
@pwalczysko: sorry missed your comment
|
If the value is modified in DB directly, the values are reset while applying setting.
@pwalczysko: The last commit will swap the start/end value when doing a Save all. |
It works kind of fine. |
I think this is acceptable behaviour though. |
this is very much a corner case |
@pwalczysko: okay to merge? |
Okay to merge |
Thanks all. merging the PR, which is part of m2 |
--no-rebase |
This PR
To test this PR