how to remove blue color from img

13 次查看(过去 30 天)
how can i remove only blue color from img??

采纳的回答

Image Analyst
Image Analyst 2015-1-9
How about
rgbImage(:,:,3) = 0; % Remove all blue components from every pixel.
Otherwise, attach your image (like most other people who want image processing advice do) and explain what you mean.
  4 个评论
bindhu a
bindhu a 2017-6-27
hi.. how do i remove yellow color cast... i tried reducing the pixel values of red and green channel but could not... how can i determine which color (color cast) dominates the image and by how many percentage?
Image Analyst
Image Analyst 2017-6-27
That should do it. Try using colorcloud() to see the 3-D color gamut.

请先登录,再进行评论。

更多回答(1 个)

Faaiza Rashid
Faaiza Rashid 2018-10-17
编辑:Image Analyst 2018-10-17
How do I remove this blue mark from attached image?
  1 个评论
Image Analyst
Image Analyst 2018-10-17
编辑:Image Analyst 2018-10-17
Explain in detail what "remove" means to you, keeping in mind that images must remain rectangular, not have irregular "holes" in them. Do you want to make it all solid, pure black? Do you want it to have the same coloration as the lighter skin? Why do you need to remove it anyway? It looks like you probably are interested in the dark melanin regions so why can't you just find the blue and ignore it? Have you tried the Color Thresholder app on the Apps tab or the tool ribbon? If not, why not?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by