MATLAB: How do you chang RGB Color Space in to the HSI Color Space or YCbCr Color Space ??

digital image processingimage analysisimage processing

how do you chang RGB Color Space in to the HSI Color Space or YCbCr Color Space ???

Best Answer

YCBCR = rgb2ycbcr(RGB) converts the truecolor image RGB to the equivalent image in the YCbCr color space. RGB must be a M-by-N-by-3 array.