Data
From Colourphon
[edit]
Data Elements
We need to descibe the things we are looking at in terms that make sense and are relevent A work in progress...
( O = optional | R = repeatable | NR = No Repeat | B = broad term i.e. term has other properties of it's own )
Actually I guess most of this can be optional... it just means we need more data
- image
- has title (R B)
- has uri (NR)
- has url (NR)
- has size (pixel width by height)
- has colour (R B)
- has creator (R B) - creator identifier
- has description (R B) - free text
- has thumbnail (R) - uri to image represenatations
- has orientation (NR) - portrait|landscape
- ? has tag (O R) - user tagging?
- has standard_identifier (O R) - e,g, urn:isbn:9781234567890
- is thumbnail
- has divisions
- has standard_identifier
- title
- has language
- colour (of a pixel) or in our context, the mode of a group of pixels.
- <img:Colour rdf:about="http://colourphon.co.uk/colours/aabbccddeeffgghhiijjkkll">
- has title (R)
- <dc:title xml:lang="en-gb">Blue</dc:title>
- has RGB
- <img:RGB>(0,0,255)</img:RGB>
- has red (NR) think this level of normalisation may be unnecessary?
- has green (NR) think this level of normalisation may be unnecessary?
- has blue (NR) think this level of normalisation may be unnecessary?
- has frequency (expressed as a percentage of whole image)
- <img:frequency>67</img:frequency>
- has count (expressed as a count of occurrences in whole image)
- <img:count>2748</img:count>
- has brightness (NR) Arithmetic mean of RGB values ?
- <img:brightness>85</img:brightness>
- has saturation (NR ?
- has hue (NR) ?
- has creator (<proclaims>I name this colour 'sky blue pink'</proclaims>)
Which to represent a colour found in an image, gives us something like...
<img:Colour rdf:about="http://colourphon.co.uk/colours/aabbccddeeffgghhiijjkkll" xmlns:img="http://colourphon.co.uk/img/0.1/">
<dc:title xml:lang="en-GB">Blue</dc:title>
<dc:title xml:lang="fr">Bleu</dc:title>
<img:RGB>0,0,255</img:RGB>
<img:brightness>85</img:brightness>
<img:count>2748</img:count>
<img:frequency>67</img:frequency>
<foaf:Person xmlns:foaf="http://xmlns.com/foaf/0.1/">
<foaf:name>Tim Hodson</foaf:name>
<foaf:mbox_sha1sum>2134b1234b124b124b14b214b214b214b124</foaf:mbox_sha1sum>
<foaf:homepage rdf:resource="http://timhodson.com/" />
</foaf:Person>
</img:Colour>
- creator
- has foaf characteristics
- see foaf project
- spec: [1]
- has foaf characteristics
So put it all together and we get:
<img:image rdf:about="http://image/URI">
<dc:title xml:lang="en-GB">Alt text for my image...</dc:title>
<???standardidentifier>urn:isbn:9781234567890</???standardidentifier>
<img:Colour rdf:about="http://colourphon.co.uk/colours/aabbccddeeffgghhiijjkkll" xmlns:img="http://colourphon.co.uk/img/0.1/">
<dc:title xml:lang="en-GB">Blue</dc:title>
<dc:title xml:lang="fr">Bleu</dc:title>
<img:RGB>0,0,255</img:RGB>
<img:brightness>85</img:brightness>
<img:count>2748</img:count>
<img:frequency>67</img:frequency>
<dc:creator:>
<foaf:Person xmlns:foaf="http://xmlns.com/foaf/0.1/">
<foaf:name>Tim Hodson</foaf:name>
<foaf:mbox_sha1sum>2134b1234b124b124b14b214b214b214b124</foaf:mbox_sha1sum>
<foaf:homepage rdf:resource="http://timhodson.com/" />
</foaf:Person>
</dc:creator>
</img:Colour>
</img:image>
[edit]
Name spaces and elements
| Created by | dc:creator | ||
| Submitted by | dc:contributor | http://purl.org/dc/terms/contributor | |
| Description | dc:description | ||
| Total pixels | img:totalpixels | ||
| Sampled pixels | img:sampledpixels | ||
| IMG Source URL | img:srcurl | ||
| IMG Thumbnail URL | img:thumburl |
[edit]

