Hey, How to remove green color from an image?
Ältere Kommentare anzeigen
Hey, How to remove green color from an image?
Akzeptierte Antwort
Weitere Antworten (2)
Christiaan
am 18 Mär. 2015
1 Stimme
Dear Pramod,
You can have a look at the Image color filtering in the File Exchange. With this function you can delete a certain colour range.
Just as background information, to understand how the calculation in MATLAB works: when you load a figure in Matlab, an array will be shown in the workspace (i.e. 400x400x3) At each pixel, the colour of that layer is defined (in rgb). If you for example convert it to grayscale with the function rgb2gray it will result in a 400x400 array since you only need one value at that pixel. (how black-white the pixel is).
Good luck! Christiaan
Image Analyst
am 18 Mär. 2015
0 Stimmen
See my demo for finding and tracking a green sharpie in the video.
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!