MATLAB Answers

Image intensity as a function of pattern strength

2 views (last 30 days)
Ron Meidan
Ron Meidan on 12 Sep 2021
Commented: Ron Meidan on 13 Sep 2021
Hi All
Attached are images of square wave gratings, a "barcode" and random noise. Please let us assume for the discussion, that all of the images have the same number of pixels and the same average luminance.
When we look at it, we can see stright away that the square wave gratings is most "patterns", the barcode has less initsirc order and the noise image is simply a noise.
I have tried several functions, but they keep showing that the noise image has the most clusters, and I also could not find a way to know how strong a pattern is in an image.
Many thanks
Ron
  2 Comments
Ron Meidan
Ron Meidan on 13 Sep 2021
Hi Walter
The bars are just used as an example. As you mentioned the term "perfect", this is exactly what I was asking about. With our eyes, it is plain to see a perfect pattern, and I wondering if MATLAB could also tell how "perfect" an image is.
Many thanks
Ron

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 12 Sep 2021
There are several attributes for each image. You can measure all of them and then decide which of them corresponds to the "strength" of the pattern. For example you can measure the mean and standard deviation. You can measure the number of black blobs. You can measure the area and solidity of each blob, etc. For example for the 3 with different size bars in them, are they all the same strength or not? If not what determines strength?
Perhaps this will help:
  3 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!