Want to remove white patches of a image

조회 수: 9 (최근 30일)
arjun
arjun 2014년 7월 8일
편집: Image Analyst 2018년 4월 3일

Guys, I have a problem this is a jewelry photo that i have uploaded what i need to do is remove the white bright spot that is often appearing on the gold surfaces as well as the gemstones, these are the reflection of the lighting setup. What i am planning to do is find out the region of high white intensity that is with RGB values over 220 and then replace them by the average shade of the pixels around them, thus removing those white patches. Is this possible? Thanks a lot guys.

채택된 답변

Image Analyst
Image Analyst 2014년 7월 8일
This is a standard photography problem - not really a MATLAB problem. First of all, use diffuse illumination, like a softbox. Then, put a polarizing sheet in front of it and put a rotatable polarizer on the camera lens. Rotate the polarizer until the specular reflections go away. This is the well known "crossed polarizers" or "cross polars" method that so well known to any photographer. It's much better to prevent the problem in the first place than to fix it.
I don't know why you want to get rid of them anyway. In fact jewelry stores go to special efforts to get those glints and specular reflections to appear. They use multiple point sources of light to create them. You'll notice you will never see broad fluorescent lamp panels in a jewelry store because those don't create glints.
  댓글 수: 8
Nurul Fajrin Alifah
Nurul Fajrin Alifah 2017년 10월 25일
i want to remove the white bright in my eye picture, maybe you can help me, thanks before
Image Analyst
Image Analyst 2018년 4월 2일
편집: Image Analyst 2018년 4월 3일
nurul: The white spot is definitely gone in nurul's image, so I don't know what there is to "fix". It needs to be removed, and it was removed, so what's the problem?
emilia, you'd probably be best off starting your own question with your own image attached, NOT here (not anywhere on this page!) under nurul's question.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by