vis/images/
mg_maketrue.pro
includes main-level programRoutines
top mg_maketrue
result = mg_maketrue(im [, red=bytarr(256)] [, green=bytarr(256)] [, blue=bytarr(256)] [, rgb_table=bytarr(256, 3)] [, true=long] [, input_true=long])
Converts an image in one TRUE format to another.
Return value
    image of the TRUE format specified
Parameters
- im in required type=image
- 2- or 3-dimensional image array to convert 
Keywords
- red in out optional type=bytarr(256)
- red values of color table to use when converting to a TRUE=1-3 image, defaults to current color table in this case; red values produced in a conversion to a TRUE=0 image 
- green in out optional type=bytarr(256)
- green values of color table to use when converting to a TRUE=1-3 image, defaults to current color table in this case; green values produced in a conversion to a TRUE=0 image 
- blue in out optional type=bytarr(256)
- blue values of color table to use when converting to a TRUE=1-3 image, defaults to current color table in this case; blue values produced in a conversion to a TRUE=0 image 
- rgb_table in out optional type=bytarr(256, 3)
- entire RGB color table instead of using - RED,- GREEN, and- BLUEkeywords
- true in optional type=long default=1
- desired interleave of output image: 0, 1, 2, or 3 
- input_true in out optional type=long
- interleave of input image: 0, 1, 2, or 3; - MG_MAKETRUEwill guess depending on dimensions and location of first dimension of size 3 in the input image; returns the value it guessed
Examples
Run the main-level example program with:
  IDL> .run mg_maketrue
File attributes
| Modification date: | Wed May 14 15:07:15 2014 | 
| Lines: | 60 | 
Contact me if you have enhancement requests or bug fixes.