Size of a image from line profile
1 view (last 30 days)
Sai Bhargav Avula on 23 Mar 2020
Edited: Sai Bhargav Avula on 25 Mar 2020
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!