|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/8.0.0/doc/xcolorcod/node10.html
Дата изменения: Wed Jul 2 05:10:07 2008 Дата индексирования: Fri Sep 5 21:39:40 2008 Кодировка: |
read RGB color curves
setup temporary table with columns red/green/blue
foreach event
red = linearInterpolate(redcurve,energy)
green = linearInterpolate(greencurve,energy)
blue = linearInterpolate(bluecurve,energy)
foreach {red, green, blue}
construct component image with evselect
combine partial images
if (log)
foreach pixel
r,g,b = max ( log(r,g,b) - log(maxValue) + decades, 0)
normalize to 255
if (withcolorset)
write image to data set
else
write image in PPM format