Parent Topic: STR
EASI>FILE="filename" EASI>DBIC=3 | specify channel for input range EASI>DBLUT= | default creates new LUT segment EASI>DBSN="SQ.RT.C3" | specify segment name EASI>EXPO= | default to 0.5 EASI>TRIM= | no trimming EASI>MASK= | use entire image for input values EASI>RUN STR | create LUT segment EASI>DBOC=DBIC | specify channel to be enhanced EASI>RUN LUT | enhance database channelExample 2: Create a piecewise linear mapping function containing the following set of break points:
INPUT OUTPUT
+----+ +----+
22-40 0-50
40-98 50-200
98-130 200-255
i) Create a new LUT segment for the first input range of values:
EASI>FILE="filespec"
EASI>DBIC= | input range specified by user
EASI>DBLUT= | create a new LUT segment
EASI>DBSN="PWLUT" | specify segment name
EASI>DBSD="Piecewise stretch" | specify segment descriptor
EASI>EXPO=1 | specify linear function
EASI>ISTR=22,40 | specify first input range
EASI>OSTR=0,50 | specify first output range
EASI>LCTR= | all pixels with values less
than 22 will be set to 0
EASI>HCTR= | all pixels with values greater
than 40 will be set to 50
EASI>RUN STR | create new LUT segment
ii) Modify the LUT segment just created to accommodate the second
range of input values:
EASI>ISTR=40,98 | specify second input range
EASI>OSTR=50,200 | specify second output range
EASI>LCTR="OFF" | leave the mapping function for
input values below 40 unchanged
EASI>RUN STR | modify LUT segment
iii) Modify the current LUT segment a final time to accommodate
the third range of input values.
EASI>ISTR=98,130 | specify third input range
EASI>OSTR=200,255 | specify third output range
EASI>RUN STR | modify LUT segment
Since DBLUT is updated with the segment number of the newly created
LUT segment on the first run through STR, it does not have to be
specified prior to the second or third run through.