Clear Filters
Clear Filters

please tell me how to perform color transform

1 view (last 30 days)
....

Accepted Answer

KL
KL on 11 Apr 2015
Edited: KL on 11 Apr 2015
color_img = imread('image.png');
gray_img = rgb2gray(color_img);
imshow(gray_img)

More Answers (1)

Image Analyst
Image Analyst on 11 Apr 2015
There are many color transform functions: rgb2gray(), ind2rgb(), rgb2lab(), rgb2hsv(), rgb2ycrcb(), makecform(), etc. And of course you could make up your own transform. Which do you want?
  1 Comment
Image Analyst
Image Analyst on 12 Apr 2015
I do not know what the axes represent. I do not know what colorization algorithm they are using. Sorry.

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!