how to remove blue color from img

10 visualizzazioni (ultimi 30 giorni)
how can i remove only blue color from img??

Risposta accettata

Image Analyst
Image Analyst il 9 Gen 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 Commenti
bindhu a
bindhu a il 27 Giu 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 il 27 Giu 2017
That should do it. Try using colorcloud() to see the 3-D color gamut.

Accedi per commentare.

Più risposte (1)

Faaiza Rashid
Faaiza Rashid il 17 Ott 2018
Modificato: Image Analyst il 17 Ott 2018
How do I remove this blue mark from attached image?
  1 Commento
Image Analyst
Image Analyst il 17 Ott 2018
Modificato: Image Analyst il 17 Ott 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?

Accedi per commentare.

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by