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:
- Create a bounding box around a segmented object using cv.boundingrect(obj).
- Extract the bounding box width and height.
- Express the aspect ratio as the width/height.
- 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
- Method
- Measurement
- 0002035
- Measurement
Slots
| Name | Range | Cardinality | Description | Inherited from |
|---|---|---|---|---|
| method_ |
Any | 1..* |