Click here to Skip to main content
16,004,678 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
Hello does anyoone know Matlab

I wanted to know how to remove color of image using matlab..
Posted
Comments
Legor 21-Feb-12 11:40am    
Do you mean making it a grayscale image and are you using the Image Processing Toolbox?
Akshayy Tikekarr 22-Feb-12 0:23am    
yes you can say that.. can i get any help for this..

1 solution

It's very easy if you're using the IPT from Matlab.
Just call:
rgbImage = imread('yourImage.jpg');
grayScaleImage = rgb2gray(rgbImage);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900