how to remove blue color from img

20 vues (au cours des 30 derniers jours)
Lukasz Jarod
Lukasz Jarod le 9 Jan 2015
Modifié(e) : Image Analyst le 17 Oct 2018
how can i remove only blue color from img??

Réponse acceptée

Image Analyst
Image Analyst le 9 Jan 2015
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 commentaires
bindhu a
bindhu a le 27 Juin 2017
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 le 27 Juin 2017
That should do it. Try using colorcloud() to see the 3-D color gamut.

Connectez-vous pour commenter.

Plus de réponses (1)

Faaiza Rashid
Faaiza Rashid le 17 Oct 2018
Modifié(e) : Image Analyst le 17 Oct 2018
How do I remove this blue mark from attached image?
  1 commentaire
Image Analyst
Image Analyst le 17 Oct 2018
Modifié(e) : Image Analyst le 17 Oct 2018
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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by