XYZ to RGB and white point



My spectroradiometer project generates a double precision spectrum from
360 - 830 nm from a set of monochrome images, from which I generate
tristimulus XYZ values. These values are not normalized to xyz bar values.
Converting to RGB using an appropriate matrix generates fp values which are
then scaled 0-255 for creation of an RGB24 bitmap.

Any RGB values < 0.0 are set to zero, which of course sets the black point.
The problem is deciding on the white point. If my target includes just one
saturated white pixel, I can simply use the RGB maximums as the white point,
and scale the RGB floats into 0-255. Visually it works very nicely for both
brightly and dimly illuminated targets. Put another way, if bright
Tristimulus XYZ all approx= 1400 gives a bright white, XYZ approx= 140 gives
a dim white, as expected.

A target spectrum cannot be assumed to have a saturated white pixel, and in
fact in most real cases it won't. I'm thinking perhaps I could create a
simulated white pixel based on the stats of the monochrome images (feasible
I think) or the solution is something about the illuminant I use during the
Tristimulus XYZ calculations.

Perhaps someone can offer clarification or another approach?

regards,
Stewart DIBBS
========================================
www.pixcl.com Gatineau, Quebec, CANADA
========================================


.



Relevant Pages

  • Re: Contious optical receiver
    ... What differ a prism from a RGB mask? ... Well visible light have a range Wikipedia"The visible spectrum (or ... It isn't simply pure wavelength. ... RGB OR CMYK IS JUST FILTERS FOR "ONE WAVE LENGTH" YOU COULD PROBABLY ...
    (sci.physics)
  • Re: Colomap question
    ... of spectrum RGB, to a random vector like I did. ... Note that the default colormap IS jet, which, when plotted ... It's when I next supply scatter with the RGB ... when I use the RGB triplets with the plotfunction to ...
    (comp.soft-sys.matlab)
  • Re: A Two to RGB Color Conversion Function in Greek Atom Theory.
    ... RGB theory was to confuse the issue of color ...  And to devise the method of translated color ... Atom as causal number was so defining a color that third atom was ... It is a fraction of the spectrum width. ...
    (sci.physics)
  • Re: White Point for Satellite Imagery
    ... know the spectrum of the patch of the image that is reflecting white ... you're wanting to convert RGB into absolutely accurate CIELAB but I ... You don't necessarily always need the "true" LAB values ...
    (sci.image.processing)
  • Re: Colour algorithms - how light affects an object
    ... More specifically, I'm trying to answer the question "If an object is a given colour, and the ambient light is another colour, what RGB colour should I use to render the object to make it look realistic?". ... There's not just red, green and blue light, but a continuous frequency spectrum. ... When light interacts with an reflecting object, some of the frequencies are filtered out. ... If you have a light source with narrow bands and an object that absorbs just these frequencies, is appears dark even though it might have a distinctive color in sunlight. ...
    (comp.graphics.algorithms)