How to calcutate the area of each cell?
古いコメントを表示

How do I calculate the area of each cell(marked by the polygon shaped white boundary)?
回答 (1 件)
Image Analyst
2023 年 5 月 25 日
0 投票
How were the white boundaries obtained and in what form are they? You can probably use regionprops() if you can make a mask of your white boundaries.
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.
7 件のコメント
Warid Islam
2023 年 5 月 25 日
Image Analyst
2023 年 5 月 25 日
Again, attach "thumbnail_image002.png", which I assume is the original gray scale image, and code you have for generating the white borders.
Warid Islam
2023 年 5 月 25 日
Image Analyst
2023 年 5 月 25 日
編集済み: Image Analyst
2023 年 5 月 25 日
I don't know. The bright white band running through the voronoi grid complicates finding the grid alone. I don't have time to try to segment out the grid alone. It could be quite complicated. I suggest you go back earlier in the process to see if there is something you can do to get the grid structure alone, like use UV, SWIR, or hyperspectral imaging.
Maybe try ridge-finding filters like Hessian, Frangi, or B-COSFIRE. You can find them in the File Exchange:
Warid Islam
2023 年 6 月 13 日
Warid Islam
2023 年 6 月 13 日
Image Analyst
2023 年 6 月 14 日
See my attached demo.
カテゴリ
ヘルプ センター および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

