how to correct shading of an image?

11 ビュー (過去 30 日間)
Afsaneh
Afsaneh 2013 年 10 月 22 日
コメント済み: Image Analyst 2013 年 10 月 23 日
Hi there; i am new at image processing and specially in Matlab. in a homework our teacher asked us to correct shading of an image( like shading correction figure-2-29 of Image processing Book by Gonzales and Woods). but i didn't find any track to solve this problem in Google. I'll be glad of any help.

採用された回答

Afsaneh
Afsaneh 2013 年 10 月 23 日
thanks for helpful link. i did it by dividing the main image with a shading pattern. without knowing how to get the shading pattern!!! is there a way to produce that shading pattern?
  1 件のコメント
Image Analyst
Image Analyst 2013 年 10 月 23 日
Well somehow you got it because you said you did it. There are a variety of ways depending on what the objects and background look like. I mentioned two of them in my answer, such as taking points known to be in the background and doing a fit to a 2D polynomial, or by using locally adaptive histogram equalization, or the mrohpological technique MATLAB used in their demo. Whether you do background subtraction of background division depends on how you acquired your image. If you have x-ray or fluorescence images you do subtraction and for most other types of images you do division.

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2013 年 10 月 23 日
編集済み: Image Analyst 2013 年 10 月 23 日
See the Demo of it: http://www.mathworks.com/help/images/examples/correcting-nonuniform-illumination.html. If that way doesn't work, then post your image so I can recommend other methods, such as CLAHE or a 2D fitted model or something. CLAHE is done by adapthisteq() in the Image Processing Toolbox.

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by