[tracker/roi-png-fix: 3/14] NFO: Regions of interest in images



commit 2f2a2f9074e68db2b892c4b074bd6c136ca497da
Author: Ivan Frade <ivan frade gmail com>
Date:   Mon Jul 25 18:41:33 2011 +0300

    NFO: Regions of interest in images

 data/ontologies/33-nfo.ontology |   60 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index a50950a..033b9e6 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -975,3 +975,63 @@ nfo:lastPlayedPosition a rdf:Property ;
         nrl:maxCardinality 1 ;
         rdfs:domain nfo:Media ;
         rdfs:range xsd:integer .
+
+# Regions on images. These class and props need to be submitted to NEPOMUK
+nfo:RegionOfInterest a rdfs:Class;
+        rdfs:label "Region of Interest";
+        rdfs:comment "Area on an image with relevant content. Following the spec in http://www.metadataworkinggroup.org";;
+        rdfs:subClassOf nie:InformationElement.
+
+nfo:regionOfInterestX a rdf:Property;
+        rdfs:label "Region of interest X";
+        rdfs:comment "Coordinate X where the region starts. It is normalized (values between 0 and 1) to the width of the picture. Starting in the upper left corner.";
+        rdfs:domain nfo:RegionOfInterest ;
+        rdfs:range xsd:double.
+
+nfo:regionOfInterestY a rdf:Property;
+        rdfs:label "Region of interest Y";
+        rdfs:comment "Coordinate y where the region starts. It is normalized (values between 0 and 1) to the height of the picture. Starting in the upper left corner.";
+        rdfs:domain nfo:RegionOfInterest ;
+        rdfs:range xsd:double.
+
+nfo:regionOfInterestWidth a rdf:Property;
+        rdfs:label "Region of interest width";
+        rdfs:comment "Width of the region. It is normalized (values between 0 and 1) to the total width of the picture.";
+        rdfs:domain nfo:RegionOfInterest ;
+        rdfs:range xsd:double.
+
+nfo:regionOfInterestHeight a rdf:Property;
+        rdfs:label "Region of interest height";
+        rdfs:comment "Height of the region. It is normalized (values between 0 and 1) to the total height of the picture.";
+        rdfs:domain nfo:RegionOfInterest ;
+        rdfs:range xsd:double.
+
+nfo:RegionOfInterestContent a rdfs:Class;
+        rdfs:label "Region of interest type";
+        rdfs:comment "Content in the area. There is a predefined set of contents in the spec: http://www.metadataworkinggroup.org";;
+        rdfs:subClassOf nie:InformationElement.
+
+nfo:roi-content-face a nfo:RegionOfInterestContent .
+nfo:roi-content-pet a nfo:RegionOfInterestContent .
+nfo:roi-content-focus a nfo:RegionOfInterestContent .
+nfo:roi-content-barcode a nfo:RegionOfInterestContent .
+nfo:roi-content-undefined a nfo:RegionOfInterestContent .
+                           
+nfo:regionOfInterestType a rdf:Property;
+        rdfs:label "Region of interest type";
+        rdfs:comment "The content of a region can be one of the predefined types in the spec";
+        rdfs:domain nfo:RegionOfInterest ;
+        rdfs:range nfo:RegionOfInterestContent .
+
+nfo:hasRegionOfInterest a rdf:Property;
+        rdfs:label "Has region or interest";
+        rdfs:comment "Link an element with a defined region";
+        rdfs:domain nfo:Image ;
+        rdfs:range nfo:RegionOfInterest.
+
+nfo:roiRefersTo a rdf:Property;
+        rdfs:label "Region of interest refers to" ;
+        rdfs:comment "Link to an item that is represented in the region. The 'type' of the region can give a clue of what exact content is linked in this property";
+        rdfs:domain nfo:RegionOfInterest ;
+        rdfs:range nie:InformationElement.
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]