how to convert rgb to hsi

13 visualizzazioni (ultimi 30 giorni)
PRINSA K
PRINSA K il 4 Ago 2017
Risposto: DGM il 20 Mag 2022
I need Three channels in RGB color space&hue and saturation components in HSI space are extracted for each pixel, producing five color features .Each feature plane is normalized by subtracting its mean value over the entire image.how is it possible?

Risposte (2)

KSSV
KSSV il 4 Ago 2017
doc rgb2hsv

DGM
DGM il 20 Mag 2022
MATLAB has no tools for HSI or HSL. There are tools on the File Exchange. The ones I use are here:
There are also others on the File Exchange, though be aware that Pascal Getreuer's popular Colorspace Transformations has a bug in the HSI path and will give the incorrect results unless you use the .mex version.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by