Remove light reflection from the image

33 ビュー (過去 30 日間)
mustafa alnasser
mustafa alnasser 2014 年 4 月 22 日
コメント済み: Image Analyst 2014 年 7 月 12 日
Dear All;
I have an image for a transparent pipe but photo has a light reflection on the pipe section which makes white spot which affect affect my analysis, what is the best way to remove it ?

採用された回答

Image Analyst
Image Analyst 2014 年 4 月 22 日
The usual way is to use crossed polarizers. Put one in front of the light source, and another one that rotates in front of the lens. Rotate the lens polarizer until the specular reflections is minimized. It's much better to prevent the problem in the first place like this than to try to repair a poor image.
  13 件のコメント
mustafa alnasser
mustafa alnasser 2014 年 7 月 12 日
Thank you very much for kind help. Indeed using HSV color model work very well for this kind of images.
I have run the code , it works well just a small thing , why the text and axis is flipped as shown in the attached image ? which MATLAB version do you use ?
Image Analyst
Image Analyst 2014 年 7 月 12 日
This is a very strange result that I first saw about a month ago on one person's system. It was find for everyone else's. The fix was to change the renderer for the figure. I don't remember what fixed it but it was something like going from OpenGl to zbuffer or painter or something.
set(gcf, 'renderer', 'zbuffer');

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by