How to remove background color from an image

2 次查看(过去 30 天)
How to remove the background color from an RGB image? Need to remove the most prominent color in an image. How to use histogram for this technique?

回答(2 个)

Mahdi
Mahdi 2013-4-2
I think this tutorial will help you. Look through the other examples to learn more.

Image Analyst
Image Analyst 2013-4-2
You should take a look at the Color Frequency Image, if you aren't sure which color is the most prevalent. http://www.mathworks.com/matlabcentral/fileexchange/28164-color-frequency-image
You can also take a look at my color segmentation tutorials: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Community Treasure Hunt

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

Start Hunting!

Translated by