Page 1 of 1

Can't display actual pixel values for floating-point image

Posted: 2010-05-07T13:30:13-07:00
by Avner
Hello,

I want to display the actual pixel values of a floating-point grey image.
I am using the Q32 HDRI version. The values in the image are normalized ([0-1])
IM presents the image correctly.
However, the magnify window, shows large numbers and the RGB values,
but not the actual values.

The magnify window shows the following information for a given pixel:
321,236: (2863311616,2863311616,2863311616)
#AAAAAB00AAAAAB00AAAAAB00
rgb(170,170,170)

I would expect to see the actual floating point value, e.g.
321,236: (0.34,0.34,0.34)
#AAAAAB00AAAAAB00AAAAAB00
rgb(170,170,170)


I have confirmed the values with another program that does show the actual [0-1] values
I have tried to invoke the display utility with different
display -colorspace CMY
display -colorspace RGB
display -colorspace Gray
display -colorspace Transparent
display quantum:format=floating-point
display -endian MSB
display -endian LSB
display -monochrome
display -normalize
Nothing helps (with "display -colorspace Log ..." I'm getting log readings).
I'm never getting the actual pixel values

IM version details:

[amoshkovitz@avnerzhaus tmp5]$ display --version
Version: ImageMagick 6.6.1-5 2010-05-06 Q32 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: HDRI OpenMP

Avner