Detection of pixels in image that are not in focus

4 ビュー (過去 30 日間)
Edrich Engelbrecht
Edrich Engelbrecht 2022 年 1 月 25 日
回答済み: Walter Roberson 2022 年 1 月 25 日
I am trying to process a set of images to identify certain color ranges of pixels. The problem that I am running into is that some of the pixels of the image is not in focus (Please see the image below).
Is there a way to identify the areas of the image that are "blurred"? For example the bottom right part of the image is not in focus, I want the program to identify this area as not in focus and change the color to black.

採用された回答

Walter Roberson
Walter Roberson 2022 年 1 月 25 日
"blur" is perceived when there is a loss of detail -- corresponding to loss of high frequency information.
If you do a low pass filter on the image, and subtract from the image, then the areas that have little change are areas that have little high frequency content (and so might be blurry)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by