Skip to content

i.rgb.his

Transforms raster maps from RGB (Red-Green-Blue) color space to HIS (Hue-Intensity-Saturation) color space.

i.rgb.his red=name green=name blue=name hue=name intensity=name saturation=name [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

i.rgb.his red=name green=name blue=name hue=name intensity=name saturation=name

grass.script.run_command("i.rgb.his", red, green, blue, hue, intensity, saturation, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("i.rgb.his", red="name", green="name", blue="name", hue="name", intensity="name", saturation="name")

Parameters

red=name [required]
    Name of input raster map (red)
green=name [required]
    Name of input raster map (green)
blue=name [required]
    Name of input raster map (blue)
hue=name [required]
    Name for output raster map (hue)
intensity=name [required]
    Name for output raster map (intensity)
saturation=name [required]
    Name for output raster map (saturation)
--overwrite
    Allow output files to overwrite existing files
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

red : str, required
    Name of input raster map (red)
    Used as: input, raster, name
green : str, required
    Name of input raster map (green)
    Used as: input, raster, name
blue : str, required
    Name of input raster map (blue)
    Used as: input, raster, name
hue : str, required
    Name for output raster map (hue)
    Used as: output, raster, name
intensity : str, required
    Name for output raster map (intensity)
    Used as: output, raster, name
saturation : str, required
    Name for output raster map (saturation)
    Used as: output, raster, name
overwrite: bool, optional
    Allow output files to overwrite existing files
    Default: False
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

i.rgb.his is an image processing program that processes three input raster map layers as red, green, and blue components and produces three output raster map layers representing the hue, intensity, and saturation of the data. The output raster map layers are created by a standard red-green-blue (RGB) to hue-intensity-saturation (HIS) color transformation. Each output raster map layer is given a linear gray scale color table. The current geographic region definition and mask settings are respected.

SEE ALSO

i.his.rgb

AUTHOR

David Satnik, GIS Laboratory, Central Washington University,
with acknowledgements to Ali Vali, Space Research Center, for the core routine.

SOURCE CODE

Available at: i.rgb.his source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f