필터 지우기
필터 지우기

How to create an integrated particle counter and heat map?

조회 수: 10 (최근 30일)
Brett
Brett 2023년 9월 11일
답변: Pratyush Swain 2023년 9월 26일
I am trying to create a script to sub-divide an image into a grid, count the number of particles within each grid, and then create a heatmap based on the threshold values for the number of particles per grid box. Would it be best to use a particle counting script to make a data table and then create a tabular data heatmap?

채택된 답변

Pratyush Swain
Pratyush Swain 2023년 9월 26일
Hi Brett,
Both the methods of creating or not creating a data table can be effective, and the choice depends on the specific needs and preferences. It can be listed as follows:
  1. If you choose to use tabular data, it can then be used to create a heatmap using MATLAB's ‘heatmap’ function or other visualization tools that accept tabular data as input. This approach allows you to have flexibility in representing additional information or attributes associated with each grid box, if needed
  2. Alternatively, you can have a matrix or an array where each element represents the particle count in a specific grid box rather than creating a tabular data structure explicitly.
For more information on 'heatmap' function, you can refer to https://in.mathworks.com/help/matlab/ref/heatmap.html
Hope this helps.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by