DJV icon indicating copy to clipboard operation
DJV copied to clipboard

Color picker gives wrong values for 8-bit grayscale images

Open net147 opened this issue 4 years ago • 6 comments

Picking black gives Color 1, picking white gives Color 254.

net147 avatar Jun 18 '20 01:06 net147

Hi, could you try unchecking the "Apply color space" option in the color picker and see if that fixes the issue? I think that the color space transforms may be causing some inaccuracy,

DJV Color Picker

darbyjohnston avatar Jun 18 '20 19:06 darbyjohnston

@darbyjohnston I only see "Lock color type" in that menu. I am using DJV 2.0.6 on Linux. The color type is "L U8".

net147 avatar Jun 19 '20 00:06 net147

That feature was added in the most recent version; I would recommend upgrading, there are also a number of important bug fixes. You can download it here:

https://darbyjohnston.github.io/DJV/download.html

darbyjohnston avatar Jun 19 '20 00:06 darbyjohnston

@darbyjohnston Unchecking "Apply color space" in DJV 2.0.8 gives the correct values.

net147 avatar Jun 19 '20 01:06 net147

I believe the next version of OpenColorIO will have improved accuracy, I hope to upgrade when it is available.

darbyjohnston avatar Jun 19 '20 18:06 darbyjohnston

I've added a new issue for upgrading OpenColorIO: https://github.com/darbyjohnston/DJV/issues/343

darbyjohnston avatar May 07 '21 20:05 darbyjohnston