i.his.rgb(1grass)
π i.his.rgb β the grass manual page, but make it cute β¨
okay bestie, so this is i.his.rgb from the GRASS User's Manual and it is literally the glow-up module. It takes your HIS (Hue-Intensity-Saturation) color space and transforms it into RGB (Red-Green-Blue). it's giving color alchemy. π
β¨ NAME β¨
i.his.rgb β transforms raster maps from HIS (Hue-Intensity-Saturation) color space to RGB (Red-Green-Blue) color space. no cap, that's the whole job and she does it flawlessly. π
π KEYWORDS π
imagery, color transformation, RGB, HIS, IHS
π SYNOPSIS π
i.his.rgb
i.his.rgb --help
i.his.rgb hue=name intensity=name saturation=name red=name green=name
blue=name [--overwrite] [--help] [--verbose] [--quiet] [--ui]
π© Flags
--overwriteβ lets your output files just bulldoze right over existing files. yes queen, overwrite. π--helpβ prints the usage summary so you're not out here guessing.--verboseβ verbose module output, aka she tells you everything.--quietβ quiet module output, aka she says nothing, she just works.--uiβ forces the GUI dialog to launch. main character energy only.
π§ Parameters
hue=name[required] β Name of input raster map (hue).intensity=name[required] β Name of input raster map (intensity).saturation=name[required] β Name of input raster map (saturation).red=name[required] β Name for output raster map (red).green=name[required] β Name for output raster map (green).blue=name[required] β Name for output raster map (blue).
πΈ DESCRIPTION πΈ
So i.his.rgb is an image processing program, right? She takes three input raster map layers β your hue, your intensity, your saturation β and she produces three output raster map layers representing the red, green and blue components of that data. β¨
The output raster map layers? Created by a standard hue-intensity-saturation (HIS) to red-green-blue (RGB) color transformation. periodt. π
Each output raster map layer gets handed a linear gray scale color table. And yes, the current geographic region and mask settings are respected β she's polite like that, she stays in her lane. π¦
π₯ NOTES π₯
okay so real talk, listen up because this part matters:
It is not possible to process three bands with i.his.rgb and then exactly recover the original bands with i.rgb.his. π
Why? Loss of precision β because of integer computations and rounding. The math is doing math things, bestie.
Tests have shown that more than 70% of the original cell values will be reproduced exactly after transformation in both directions, and that 99% will be within plus or minus 1. A few cell values may differ significantly from their original values. π
so like⦠mostly slay, a lil chaotic at the edges. iykyk.
π SEE ALSO π
i.rgb.hisr.colors
π«Ά AUTHOR π«Ά
David Satnik, GIS Laboratory, Central Washington University
with acknowledgements to Ali Vali, Univ. of Texas Space Research Center, for the core routine. π
β SOURCE CODE β
Available at: i.his.rgb source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a
Main index | Imagery index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page, bestie! π this was i.his.rgb from the GRASS User's Manual, running on GRASS 8.5.0 β Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual. obsessed with her, fr fr. πβ¨π
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms