EU
Enhancement utility.
Formats
EU COLORS
EU DEL name
EU LIST string
EU MAKE inlo inhi bcolor ecolor bframe eframe [keywords]
EU MAKE inlo inhi 1lo 1hi 2lo 2hi 3lo 3hi bframe eframe [keywords]
EU REST name bframe eframe [keywords]
EU SAVE name
EU TABLE name [keywords]
Parameters
|
COLORS
|
lists the predefined colors in the MCRGB.TXT data file for use in the bcolor and ecolor parameters
|
|
DEL
|
deletes a saved enhancement
|
|
LIST
|
lists the saved enhancements
|
|
MAKE
|
sets the enhancement
|
|
REST
|
restores a saved enhancement (default)
|
|
SAVE
|
saves the current enhancement
|
|
TABLE
|
lists the values of an enhancement
|
|
name
|
enhancement name; 512 alphanumeric characters maximum (REST option default=default grayscale enhancement; TABLE option default=current; no default for DEL and SAVE options)
|
|
string
|
lists only the enhancements beginning with this character string (no default; list all enhancements)
|
|
inlo
|
lowest brightness value of displayed image to apply the MAKE enhancement change to; the range is 0 to 255 (default=0); the resultant changes in color from inlo to inhi are done by interpolation from bcolor to ecolor or from 1lo ,2lo ,3lo to 1hi ,2hi ,3hi
|
|
inhi
|
highest brightness value of displayed image to apply the MAKE enhancement change to; the range is 0 to 255 (default=0)
|
|
bcolor
|
predefined color to apply to inlo ; use EU COLORS to list the valid colors
|
|
ecolor
|
predefined color to apply to inhi (default=bcolor); use EU COLORS to list the valid colors
|
|
bframe
|
beginning image frame on which to apply the enhancement (default=current)
|
|
eframe
|
ending image frame on which to apply the enhancement (default=bframe)
|
|
1lo
|
intensity of the first color component to apply to inlo
|
|
1hi
|
intensity of the first color component to apply to inhi
|
|
2lo
|
intensity of the second color component to apply to inlo
|
|
2hi
|
intensity of the second color component to apply to inhi
|
|
3lo
|
intensity of the third color component to apply to inlo
|
|
3hi
|
intensity of the third color component to apply to inhi; the valid range for parameters 1lo , 1hi , 2lo , 2hi , 3lo and 3hi is 0 to 255 (default=0); the first color component is either blue or red, the second color component is green, the third color component is either red or blue; see the Remarks for more information
|
Keywords
|
LOOP=
|
YES
|
applies the enhancement to all frames in the loop; overrides the bframe and eframe values
|
|
|
NO
|
does not apply the enhancement to all frames in the loop (default)
|
|
RGB=
|
YES
|
changes the order of the color components from the default (blue-green-red) to red-green-blue in the MAKE option's 1lo , 1hi , 2lo , 2hi , 3lo and 3hi input parameters and the TABLE option's output listing
|
|
|
NO
|
keeps the default order of the color components (default)
|
Remarks
Parameters 1lo , 2lo , 3lo and 1hi , 2hi , 3hi are the intensities (0-255) of the three color components that make up the final color applied to the inlo and inhi input brightness values. The RGB keyword determines the order in which the three color components are specified:
- If RGB=YES is specified, then the color order is red, green, blue (1lo and 1hi are RED intensities, 2lo and 2hi are GREEN intensities, and 3lo and 3hi are BLUE intensities).
- If RGB=NO (the default), then the color order is blue, green, red (1lo and 1hi are BLUE intensities, 2lo and 2hi are GREEN intensities, and 3lo and 3hi are RED intensities).
Brightness values are only listed with EU TAB when they vary from the default table, i.e., brightness values 0 to 255 have intensities 0 to 255 for blue, green and red. For example, EU MAKE 20 120 20 120 20 120 20 120 lists nothing because the blue, green and red intensities have not altered the default range.
Occasionally, a brightness range will contain a value that will not need to change as the new values are assigned by command EB. In the example below, the data's brightness value of 104 happens to match the value assigned during the EB stretch. Since value 104 did not need to change, it becomes a breakpoint in the EU TABLE listing and is not shown on the output below. Command EB 62 164 2 250 produces the following output from EU TABLE.
Brightness Blue Green Red
min max min max min max min max
--- --- --- --- --- --- --- ---
62 103 2 102 2 102 2 102
105 164 107 250 107 250 107 250
|
See Also
Use command EB for interactive, mouse-controlled contrast stretching.
Examples
EU
This entry restores the default enhancement to the current frame.
EU LIST
This entry lists all the saved enhancement tables on the workstation.
EU LIST VAP
This entry lists all the saved enhancement tables beginning with VAP.
EU MAKE 20 75 255 255 0 0 255 255
This entry color enhances all image pixels with brightness values between 20 and 75 to solid magenta.
EU MAKE 100 200 RED YELLOW 1 3
This entry color enhances the image pixel brightness values between 100 and 200 on image frames 1 to 3 from red to yellow.
EU SAVE VAPOR
This entry saves the enhancement on the current frame to a file named VAPOR.
EU REST VAPOR LOOP=YES
This entry restores an enhancement called VAPOR to all frames defined in a loop.
EU TABLE
This entry lists the values of the current enhancement.