how to convert rgb to hsi
4 views (last 30 days)
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?
DGM on 20 May 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.