IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42658


Ignore:
Timestamp:
Apr 13, 2024, 12:01:58 PM (2 years ago)
Author:
eugene
Message:

add comments on jpeg.mdc and ALTCOLORS JPEG recipe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/recipes/jpeg.mdc

    r34802 r42658  
     1# This recipe file is used in a slightly different fashion from the others
     2# The different programs define an output JPEG file (or files) for the binned
     3# images with names based on the program and the binning level.
     4
     5# ppImage : PPIMAGE.JPEG1 & PPIMAGE.JPEG2
     6# ppSub   : PPSUB.OUTPUT.JPEG1 & PPSUB.OUTPUT.JPEG2 & PPSUB.OUTPUT.RESID.JPEG
     7# ppStack : PPSTACK.OUTPUT.JPEG1 & PPSTACK.OUTPUT.JPEG2
     8# ppstamp : PPSTAMP.OUTPUT.JPEG
     9
     10# these names are the used to select the recipe metadata blocks below
     11
     12# alternate recipes can be defined by nesting those metadata blocks inside
     13# additional named blocks, like the BIAS example below
     14
    115# JPEG options for files
    216# Each METADATA entry should contain:
     
    721# * OPTIONS: comma-separated list : -SB,+SB,+X,+Y,-X,-Y
    822
     23# to define the grayscale values, the image robust MEAN and STDEV are calculated
     24# (if those cannot be calculated, a simple MEAN and STDEV are used)
     25
     26# the different SCALE.MODE values define the min and max colorscale values as:
     27# RANGE    : MEAN - 2*STDEV*SCALE.MIN to MEAN + 2*STDEV*SCALE.MAX
     28# FRACTION : MEAN*SCALE.MIN           to MEAN*SCALE.MAX
     29# VALUE    : SCALE.MIN                to SCALE.MAX
     30
     31# COLORMAP values can be: greyscale, grayscale, -greyscale, -grayscale, heat, rainbow,
     32
    933PPIMAGE.JPEG1           METADATA
    1034        COLORMAP        STR     -greyscale
     
    1539END
    1640
     41PPIMAGE.JPEG2   METADATA
     42        COLORMAP        STR     -greyscale
     43        SCALE.MODE      STR     RANGE
     44        SCALE.MIN       F32      -5.0
     45        SCALE.MAX       F32     +10.0
     46        OPTIONS         STR     -SB,-X,+Y
     47END
     48
     49ALTCOLORS               METADATA
     50    PPIMAGE.JPEG1           METADATA
     51            COLORMAP        STR     rainbow
     52            SCALE.MODE      STR     RANGE
     53            SCALE.MIN       F32      -5.0
     54            SCALE.MAX       F32     +10.0
     55            OPTIONS         STR     +SB,-X,+Y
     56    END
     57   
     58    PPIMAGE.JPEG2   METADATA
     59            COLORMAP        STR     rainbow
     60            SCALE.MODE      STR     RANGE
     61            SCALE.MIN       F32      -5.0
     62            SCALE.MAX       F32     +10.0
     63            OPTIONS         STR     -SB,-X,+Y
     64    END
     65END
     66
    1767PPIMAGE.JPEG1.HEAT      METADATA
    18         COLORMAP        STR     heat
     68        COLORMAP        STR     -greyscale
    1969        SCALE.MODE      STR     FRACTION
    20         SCALE.MIN       F32     0.95
    21         SCALE.MAX       F32     1.05
    22         OPTIONS         STR     +SB,-X,+Y
    23 END
    24 
    25 PPIMAGE.JPEG2   METADATA
    26         COLORMAP        STR     -greyscale
    27         SCALE.MODE      STR     RANGE
    28         SCALE.MIN       F32      -5.0
    29         SCALE.MAX       F32     +10.0
    30         OPTIONS         STR     -SB,-X,+Y
     70        SCALE.MIN       F32     0.5
     71        SCALE.MAX       F32     1.5
     72        OPTIONS         STR     +SB,+X,+Y
    3173END
    3274
Note: See TracChangeset for help on using the changeset viewer.