Skip to content
Ontology docs

Documentation generated from LinkML

Class: 0002043

Description: Calculate an objects solidity

Materials: seed image, python-opencv

Dependent_on:

Protocol:

  1. Find object contour using cv.findContours()
  2. Get object convex hull using cv.convexHull()
  3. Get the object area using cv.contourArea()
  4. Express solidity as the ratio between the object area and the convex hull area.
  5. See https://docs.opencv.org/4.x/d1/d32/tutorial_py_contour_properties.html
  • Title: Object solidity measurement
  • Names in code: _0002043 (Scala, TypeScript, Python, Java, GraphQL)
  • URI: https://cropontology.org/rdf/CO_369:0002043
  • Parent: Measurement

Inheritance

Slots

Name Range Cardinality Description Inherited from
method_of Any 1..*