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.his
  • r.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