how to remove blue color from img

조회 수: 36 (최근 30일)
Lukasz Jarod
Lukasz Jarod 2015년 1월 9일
편집: Image Analyst 2018년 10월 17일
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에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by