How to cluster heat maps?

8 ビュー (過去 30 日間)
Abhishek Singh
Abhishek Singh 2019 年 6 月 26 日
コメント済み: Abhishek Singh 2019 年 6 月 29 日
Hi,
I have some contour heatmaps with 5 or 6 categorized pressure points for different channels (y-axis). The yellow shade means high pressure and blue is lower end. I was wondering if there is already an algorithm which clusters the heat maps into groups. For instance the one I am pasting here has some patches of yellow and I have some more similar graphs. Now I want that my algorithm should categorize them according to some cluster it defines intuitively or explicitly. So it gives me a "n" number of different clusters for lets say 100 plots and then I can work on it or optimize it if possible. Please help. Thank you so much.

回答 (1 件)

Image Analyst
Image Analyst 2019 年 6 月 27 日
Perhaps you just want to threshold top get a binary image of each pressure range.
pressureRange1 = pressureImage >= lowThreshold & pressureImage <= highThreshold;
or perhaps you want to use imquantize(). Then you can call colormap() to colorize the quantized image.
  6 件のコメント
Image Analyst
Image Analyst 2019 年 6 月 29 日
Maybe you should look at image similarity metrics like ssim().
Abhishek Singh
Abhishek Singh 2019 年 6 月 29 日
Yes. This one looks like something that could help me. Though it gives a very high value for not so similar images I think I still can set high value like 0.95 as ssim value and that will also help me to avoid creaating different zones. I hope this will work. Thank you so much for the help.

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

カテゴリ

Help Center および File ExchangeRed についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by