ISIS Application Documentation
rgb2hsv | Standard View | TOC | Home | 
Convert RGB to HSV
            Description
              Categories
              Groups
              Examples
              History
| Name | Description | 
|---|---|
| RED | Input file to be converted | 
| GREEN | Input file to be converted | 
| BLUE | Input file to be converted | 
| Name | Description | 
|---|---|
| HUE | Output cube | 
| SATURATION | Output cube | 
| VALUE | Output cube | 
| Name | Description | 
|---|---|
| MODE | Histogram parameters | 
| Name | Description | 
|---|---|
| RMINPER | Minumim percentage | 
| RMAXPER | Maximum percentage | 
| GMINPER | Minumim percentage | 
| GMAXPER | Maximum percentage | 
| BMINPER | Minumim percentage | 
| BMAXPER | Maximum percentage | 
| Name | Description | 
|---|---|
| RMIN | Minumim pixel value | 
| RMAX | Maximum pixel value | 
| GMIN | Minumim pixel value | 
| GMAX | Maximum pixel value | 
| BMIN | Minumim pixel value | 
| BMAX | Maximum pixel value | 
This file will be converted from Red to Hue
| Type | cube | 
|---|---|
| File Mode | input | 
| Filter | *.cub | 
This file will be converted from Green to Saturation
| Type | cube | 
|---|---|
| File Mode | input | 
| Filter | *.cub | 
This file will be converted from Blue to Value
| Type | cube | 
|---|---|
| File Mode | input | 
| Filter | *.cub | 
The resultant Hue cube
| Type | cube | 
|---|---|
| File Mode | output | 
| Pixel Type | real | 
| Filter | *.cub | 
The resultant Saturation cube
| Type | cube | 
|---|---|
| File Mode | output | 
| Pixel Type | real | 
| Filter | *.cub | 
The resultant Value cube
| Type | cube | 
|---|---|
| File Mode | output | 
| Pixel Type | real | 
| Filter | *.cub | 
This determines which values will be used for minimum and maximum cut-off limits
| Type | string | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Default | Automatic | |||||||||
| Option List: | 
  | 
Minimum cut-off value for the histogram
| Type | double | 
|---|---|
| Default | 0.5 | 
| Minimum | 0.0 (inclusive) | 
| Less Than | 
  | 
Maximum cut-off value for the histogram
| Type | double | 
|---|---|
| Default | 99.5 | 
| Maximum | 100.0 (inclusive) | 
Minimum cut-off value for the histogram
| Type | double | 
|---|---|
| Default | 0.5 | 
| Minimum | 0.0 (inclusive) | 
| Less Than | 
  | 
Maximum cut-off value for the histogram
| Type | double | 
|---|---|
| Default | 99.5 | 
| Maximum | 100.0 (inclusive) | 
Minimum cut-off value for the histogram
| Type | double | 
|---|---|
| Default | 0.5 | 
| Minimum | 0.0 (inclusive) | 
| Less Than | 
  | 
Maximum cut-off value for the histogram
| Type | double | 
|---|---|
| Default | 99.5 | 
| Maximum | 100.0 (inclusive) | 
Minimum cut-off pixel value
| Type | double | 
|---|---|
| Minimum | 0.0 (inclusive) | 
| Less Than | 
  | 
Maximum cut-off pixel value
| Type | double | 
|---|---|
| Maximum | 255.0 (inclusive) | 
Minimum cut-off pixel value
| Type | double | 
|---|---|
| Minimum | 0.0 (inclusive) | 
| Less Than | 
  | 
Maximum cut-off pixel value
| Type | double | 
|---|---|
| Maximum | 255.0 (inclusive) | 
Minimum cut-off pixel value
| Type | double | 
|---|---|
| Minimum | 0.0 (inclusive) | 
| Less Than | 
  | 
Maximum cut-off pixel value
| Type | double | 
|---|---|
| Maximum | 255.0 (inclusive) | 
Convert RGB image to HSV
| 
 RGB2HSV Gui 
 | 
 Example Gui Screenshot of GUI with parameters filled in to perform a conversion from RGB to HSV using the different bands of peaks.cub.  | 
| 
 Input Peaks (Bands 3, 4, and 5) image 
 | 
 Input image for rgb2hsv This is the color input image for the rgb2hsv example.  | 
| 
 Output image showing results of rgb2hsv. 
 | 
 Output image 
                                Parameter Name:
                                HUE This is the output image that results from converting Red to Hue.  | 
| 
 Output image showing results of rgb2hsv. 
 | 
 Output image 
                                Parameter Name:
                                SATURATION This is the output image that results from converting Green to Saturation.  | 
| 
 Output image showing results of rgb2hsv. 
 | 
 Output image 
                                Parameter Name:
                                VALUE This is the output image that results from converting Blue to Value.  | 
| Sean Crosby | 2006-12-22 | Original version | 
| Steven Lambright | 2007-06-20 | Added comment explaining what HSV is and what the code is doing | 
| Steven Koechle | 2007-08-22 | Added documentation explaining why running images through rgb2hsv and then running it back through hsv2rgb gives a different result that the original. | 
| Steven Lambright | 2008-05-13 | Removed references to CubeInfo |