Документ взят из кэша поисковой машины. Адрес оригинального документа : http://hea-www.harvard.edu/RD/saotng/adding_cmaps.html
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 00:54:22 2012
Кодировка:

Поисковые слова: юлианский цикл
Adding Colormaps to SAOtng

Adding Colormaps to SAOtng

Additional colormaps can be added to SAOtng by specifying a directory of colormap files with the -cmaps {dir} switch. Each colormap file contains an ASCII list of normalized Red/Green/Blue triplets. Up to 255 of these RGB triplets will be processed into a colormap. The colormap name will be the file name (without the .lut extension) and will added to the Color menu.

For example, a section of the A colormap file is shown below. The 3 columns correspond to Red, Green, and Blue intensities, respectively. Each value of normalize so that 0.0 is no intensity and 1.0 is maximum intensity. The number of significant digits is arbitrary:

    0.000000 1.000000 0.333333
    0.020000 0.980000 0.346667
    0.040000 0.960000 0.360000
    0.060000 0.940000 0.373333
    0.080000 0.920000 0.386667
    0.100000 0.900000 0.400000
    0.120000 0.880000 0.413333
    0.140000 0.860000 0.426667
    0.160000 0.840000 0.440000
    0.180000 0.820000 0.453333

Return to Advanced Topics Page

Last Updated June 14, 1997