フィルターのクリア

How to provide a score to an image based on pattern information in it?

3 ビュー (過去 30 日間)
Novice Geek
Novice Geek 2016 年 2 月 17 日
コメント済み: Image Analyst 2016 年 2 月 17 日
Hello,
I am very new to image segmentation and pattern recognition. I have been reading quite a lot of literature and tried different functions available in MATLAB to find out patterns in the input image. I tried using Color-Based Segmentation Using K-Means Clustering, applied the Image segmentation tutorial and some other functionalities. These work well in segmenting the image and giving me details on the number of pixels, mean intensity of regions, etc. I was wondering if there is something like a numeric score which can be assigned to an image which contains more patterns in it (I tried using entropy as a score but it does not provide me a satisfactory measure to rank multiple images based on the amount of information in the image). Any information about already available functions/literature in the direction would be very helpful for me to proceed. Here are the images which I am using, and would like provide each image a numeric score based on the amount of information (patterns) they contain.

回答 (1 件)

Image Analyst
Image Analyst 2016 年 2 月 17 日
There are a nearly infinite number of patterns in every image. Any grouping of pixels could be considered as its own pattern. You're going to have to be more specific as to what you would like the score to represent. How about the area fraction of pixels brighter than a certain threshold? How about the mean gray level of pixels brighter than a certain threshold? How about the standard deviation of pixels brighter than a certain threshold? We don't know what you want or what would be useful to you.
  4 件のコメント
Novice Geek
Novice Geek 2016 年 2 月 17 日
Thank you for your response. I have a very basic question (due to my very limited knowledge). In your previous answer you have mentioned about a selecting brighter pixels above a certain threshold. How do I determine this threshold? I tried applying graythresh and multithresh functions to find a threshold level before calculating the standard deviation of pixels brighter than this threshold. But, the graythresh just provides me the green high intensity regions in the binary image. And, on looking at the code in your image segmentation tutorial, I see that the threshold has been set to 100 gray levels. I am very confused as to how should I determine a threshold which could be used for all the images in the dataset and then proceed to calculate the stddev for an image. Thank you very much for your help and time.
Image Analyst
Image Analyst 2016 年 2 月 17 日
You just have to decide how bright is bright enough to be considered. Maybe it's everything with a gray level of 0 and up, or maybe it's 1 and up. Or maybe 50 and up. I don't know how dark things get in your image and what should be ignored or paid attention to.

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

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by