[ptx] Re: Colour correction in PTmender,
Daniel M. German
dmgerman at uvic.ca
Thu Jan 12 14:51:11 GMT 2006
pablo> Oh, that should actually be simpler than calculating the curve, I think.
pablo> One just needs to use the curve a lookup table, or?
pablo> init histDest with 0
pablo> for i=0..255
histDest[curve[i]] += histSrc[i];
pablo> end
Thanks for the output, Pablo.
The beauty of PTstitcher is tries hard to interpolates between values,
and avoid harsh changes in gradients. It uses the array more as a
mapping function than a lookup table.. I think Helmut had in mind the
implementation of 16bit images, but only completed 8bit support.
dmg
--
Daniel M. German "Dare to know!"
Immanuel Kant
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .
More information about the ptx
mailing list