Ask Your Question

Revision history [back]

I don't know python but I tried this :

  1. invert image
  2. threshold image
  3. apply thinning algoirthm
  4. look for connected components
  5. snake is index surface is 513=length and and black rectangle is index 2 length is 79 (there is an error here because skeleton is not rectangle height)

There is no calibration so width of pixel far from center is not equal to pixel at center

image description