MATLAB: Hue saturation intensity

image processing

I1 = imread('127.jpg');
>> I1 = imresize(I1, [256 256]);
>> [h s i] = rgb2hsi(I1);
??? Undefined function or method 'rgb2hsi' for input arguments of type 'uint8'.
>> I2 = double(I1);
>> [h s i] = rgb2hsi(I2);
??? Undefined function or method 'rgb2hsi' for input arguments of type 'double'.
how to i calculate intensity value

Best Answer

rgb2hsv() not rgb2hsi()
Related Question