Skip to content
Ontology docs

Documentation generated from LinkML

Class: 0002035

Description: Calculate the ratio of the objects bounding box width to its height

Materials: seed image, python-opencv

Dependent_on:

Protocol:

  1. Create a bounding box around a segmented object using cv.boundingrect(obj).
  2. Extract the bounding box width and height.
  3. Express the aspect ratio as the width/height.
  4. See https://docs.opencv.org/4.x/d1/d32/tutorial_py_contour_properties.html
  • Title: Object aspect ratio measurement
  • Names in code: _0002035 (Scala, TypeScript, Python, Java, GraphQL)
  • URI: https://cropontology.org/rdf/CO_369:0002035
  • Parent: Measurement

Inheritance

Slots

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