<?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns0="https://cropontology.org/rdf/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:metadata_def="http://data.bioontology.org/metadata/def/"> <owl:Class rdf:about="https://cropontology.org/rdf/CO_369:0002039"> <rdfs:subClassOf rdf:resource="https://cropontology.org/rdf/Measurement"/> <rdfs:label xml:lang="en">Object extent measurement</rdfs:label> <skos:definition xml:lang="en">Description: Calculate the object extent Materials: seed image, python-opencv Dependent_on: Protocol: 1. Retrieve the total area of an object in an image 2. Create a bounding box around the image with cv.boundingRect() 3. Compute the extent as the ratio between the object area and the bounding box area. 4. See https://docs.opencv.org/4.x/d1/d32/tutorial_py_contour_properties.html</skos:definition> <metadata_def:prefLabel xml:lang="en">Object extent measurement</metadata_def:prefLabel> <metadata_def:mappingLoom>objectextentmeasurement</metadata_def:mappingLoom> <metadata_def:mappingSameURI rdf:resource="https://cropontology.org/rdf/CO_369:0002039"/> </owl:Class> <rdf:Description rdf:about="https://cropontology.org/rdf/CO_369:0002039"> <metadata_def:mappingSameURI rdf:resource="https://cropontology.org/rdf/CO_369:0002039"/> </rdf:Description> </rdf:RDF>
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns0="https://cropontology.org/rdf/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:metadata_def="http://data.bioontology.org/metadata/def/">
  <owl:Class rdf:about="https://cropontology.org/rdf/CO_369:0002039">
    <rdfs:subClassOf rdf:resource="https://cropontology.org/rdf/Measurement"/>
    <rdfs:label xml:lang="en">Object extent measurement</rdfs:label>
    <skos:definition xml:lang="en">Description: Calculate the object extent
 Materials: seed image, python-opencv
 Dependent_on:
 Protocol:
 1. Retrieve the total area of an object in an image
 2. Create a bounding box around the image with cv.boundingRect()
 3. Compute the extent as the ratio between the object area and the bounding box area.
 4. See https://docs.opencv.org/4.x/d1/d32/tutorial_py_contour_properties.html</skos:definition>
    <metadata_def:prefLabel xml:lang="en">Object extent measurement</metadata_def:prefLabel>
    <metadata_def:mappingLoom>objectextentmeasurement</metadata_def:mappingLoom>
    <metadata_def:mappingSameURI rdf:resource="https://cropontology.org/rdf/CO_369:0002039"/>
  </owl:Class>
  <rdf:Description rdf:about="https://cropontology.org/rdf/CO_369:0002039">
    <metadata_def:mappingSameURI rdf:resource="https://cropontology.org/rdf/CO_369:0002039"/>
  </rdf:Description>
</rdf:RDF>