I have to make a mobile app that calculates the real size of an object in a binary image, use another object ( square marker) when I know real size.
How I can measure real object with knowing real size another object in a binary image? In MATLAB we can using function regionprops
, how to do it in Android? do i have to detect the first square region ? and calculating value 1 pixel more or no other way?