Want to remove white patches of a image

7 visualizzazioni (ultimi 30 giorni)

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.

Risposta accettata

Image Analyst
Image Analyst il 8 Lug 2014
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 Commenti
Nurul Fajrin Alifah
Nurul Fajrin Alifah il 25 Ott 2017
i want to remove the white bright in my eye picture, maybe you can help me, thanks before
Image Analyst
Image Analyst il 2 Apr 2018
Modificato: Image Analyst il 3 Apr 2018
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.

Accedi per commentare.

Più risposte (1)

Abhishek
Abhishek il 23 Set 2024
I have this image with me, I want to remove the background blurred white spots and create a outline for the forground bubbles, can you please help me for this?
  6 Commenti
Abhishek
Abhishek il 25 Set 2024
Hello Sir (@Image Analyst) , thanks for your valuable advice, I tried this stdfilt() with different settings, but it did not worked.Regarding posting this image posting here, actually I was trying to reach you ( @Image Analyst) , but not able to find where I can find , so I thought lets comment in a portion where you have commented or adviced something . Later on I saw your profile where you mentioned 'ask me anything'. But sorry for the trouble, please guide me in this regard, if this is possible for you. I will share the possible way and the result , at your place so that it will be helpful for you.
Regarding your reply sir (@DGM) , and also thanking you for understanding the problem Regarding depth map and sharpness.
Image Analyst
Image Analyst il 25 Set 2024
Again, let's start a new discussion thread rather than work on your problem here in @arjun's post. Click on the Ask link up above just below the blue banner. Otherwise @arjun will get an email for every post we do here on his 10 year old post.

Accedi per commentare.

Categorie

Scopri di più su Lighting, Transparency, and Shading 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