Transform HSV, HLS, or USGS Munsell HSV to RGB
The following color transform options are available in ENVI to transform an image type back to the RGB color space:
- HSV to RGB: Transforms an HSV image back to the RGB color space. The input H, S, and V bands must have the following data ranges: Hue = 0 to 360, where 0 and 360 = blue, 120 = green, and 240 = red; Saturation ranges from 0 to 1.0 with higher numbers representing more pure colors; Value ranges from approximately 0 to 1.0 with higher numbers representing brighter colors. The RGB values produced are byte data in the range 0 to 255.
- HLS to RGB: Transforms an HLS image back to the RGB color space. The input H, S, and L bands must have the following data ranges: Hue = 0 to 360, where 0 = red, 120 = green, and 240 = blue is 240, and Lightness and Saturation in the range 0 to 1.0 (floating-point). The RGB values produced are byte data in the range 0 to 255.
- Use USGS Munsell HSV to RGB: Transforms a USGS Munsell HSV image into the RGB color space. The input H, S, and V bands must have the following data ranges: Hue = 0 to 360, where 0 and 360 = blue, 120 = green, and 240 = red; Saturation ranges from 0 to 208 with higher numbers representing more pure colors; Value ranges from approximately 0 to 512 with higher numbers representing brighter colors. The RGB values produced are byte data in the range 0 to 255.
- From the Toolbox, select one of the following:
- Transform > Color Transforms > HSV to RGB Color Transform. The HSV to RGB Input Bands dialog appears.
- Transform > Color Transforms > HLS to RGB Color Transform. The HLS to RGB Input Bands dialog appears.
- Transform > Color Transforms > HSV to RGB (USGS Munsell) Color Transform. The USGS Munsell HSV to RGB Input Bands dialog appears.
- Select bands to transform from the Available Bands List. The names of the bands appear in the H, S, and V, (or H, L, and S) fields.
- To spatially subset your data, click Spatial Subset.
- Click OK. Depending on the transform you are performing, the HSV to RGB Parameters dialog, the HLS to RGB Parameters dialog, or the USGS Munsell HSV to RGB Parameters dialog appears.
- Select output to File or Memory.
- Click OK. ENVI adds the resulting output to the Layer Manager.