フィルターのクリア

Size of a image from line profile

3 ビュー (過去 30 日間)
royed
royed 2020 年 3 月 10 日
編集済み: Sai Bhargav Avula 2020 年 3 月 25 日
Hello,
I want to know the size of an object from the line profile that I drew over it. Is it possible to extract such information? If possible please help me out.

採用された回答

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 3 月 23 日
編集済み: Sai Bhargav Avula 2020 年 3 月 25 日
Hi,
You can use the Freehand object and use the createMask function associated with it to rasterize the marked region into a binary image. Then use the AND operation between the original image and your masked output to get the desired pixel count.
Note that the number of pixel in the image isn't the acutal size of the object and is dependent on the resolution of the image
Hope this helps!
  1 件のコメント
royed
royed 2020 年 3 月 25 日
Thank You!

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by