Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.0.0/doc/xcolorcod/node10.html
Дата изменения: Thu Jun 29 00:25:43 2006
Дата индексирования: Sat Dec 22 11:48:08 2007
Кодировка:
Algorithm XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


xcolorcod (xcolorcod-1.20.1) [xmmsas_20060628_1801-7.0.0]

Output Files Home Page Comments Home Index

Meta Index / Home Page


Algorithm

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



XMM-Newton SOC/SSC -- 2006-06-28