No subject


Mon Oct 8 01:01:38 CEST 2007


Exif.GPSInfo.GPSImgDirection  Rational  Indicates the direction of the image
when it was captured. The range of values is from 0.00 to 359.99.


Second, storage format: Is a double floating point number ok?


yes, certainly...


>   (I.e. to fully specify the position of an image in space,
> >    horizontal and vertical FOV have to be known, which
> >    can be obtained from the lense properties.
> >    and three angles for the direction and the two possible directions
> >    to tilt a camera in space.
> >    This can then be used to create photoverlays with googleearth
> >
> >
> http://code.google.com/apis/kml/documentation/kml_tags_beta1.html#photoover
> >lay or make use of gipfel
> >    http://www.ecademix.com/JohannesHofmann/gipfel.html
> >
> > - not sure about this one:
> >
> >   Without giving it too much thought, I think a date may be a useful
> field
> >   to store too (thinking ahead to comments pulled in from external
> sources.
> >
> >   I'd go for a table along the following lines:
> >   imageid INTEGER
> >   date DATETIME (optional)
>
> Date is in the comments table now.
>
> >   lang TEXT (optional)
> >   source TEXT (optional)
> >   author TEXT (optional)
> >   comment TEXT
> >
> > - Another thing which may be important to store in the database is
> >   information concerning movies:
> >   length, frame number of the thumnail used, ....
>
> -> I want to concentrate and specialize in images. I hope to get such info
> from strigi/nepomuk
>
> >
> > Generell points:
> > - Only include displayable files in the database:
> >   http://bugs.kde.org/show_bug.cgi?id=145743
>
> This should already be implemented in trunk.
>
> >
> > - Action lists:
> >   http://bugs.kde.org/show_bug.cgi?id=125387
> >   http://bugs.kde.org/show_bug.cgi?id=103350
> >   (presumably some more bugs ...)
>
> Later, as said above.
>

Marcel, Standard Exif + Makernotes + standard IPTC tags are listed and
described at this url :

http://www.exiv2.org/metadata.html

Supported Xmp tags are not yet listed in this page. Look into this file for
details :

http://dev.robotbattle.com/~cvsuser/cgi-bin/ns_viewcvs.cgi/exiv2/trunk/src/properties.cpp?rev=1251&view=auto

Gilles

------=_Part_39638_21665422.1191833996038
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div><span class="gmail_quote">2007/10/7, Marcel Wiesweg &lt;<a href="mailto:marcel.wiesweg at gmx.de">marcel.wiesweg at gmx.de</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Hi Marcel,<br>&gt;<br>&gt; I went through all the messages in this thread<br>&gt; and tried to compare with your DBSCHEMA.ODS<br>&gt; <a href="http://websvn.kde.org/trunk/extragear/graphics/digikam/DBSCHEMA.ODS?view=lo">
http://websvn.kde.org/trunk/extragear/graphics/digikam/DBSCHEMA.ODS?view=lo</a><br>&gt;<br><br>Arnd the reply is late but your message did not go unnoticed ;-)<br>Rather it reached me just in time for my holidays.<br><br>
&gt;<br>&gt; I have found a few points which are not listed<br>&gt; (very likely on purpose ;-), but let me still mention them here<br>&gt; (note that this list partially contains verbatim copies<br>&gt;<br>&gt; &gt;from the original messages):
<br>&gt;<br>&gt; - Table Tags:<br>&gt;&nbsp;&nbsp; - comments for tags<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (This would for example allow to provide additional information<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;about a person, or animal, or landscape, ...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I.e., something which would not make sense to
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add to the comment of each of the corresponding<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;images, because it is just the same/generally applicable)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://bugs.kde.org/show_bug.cgi?id=149372">http://bugs.kde.org/show_bug.cgi?id=149372
</a><br><br>I have not changed anything in tabs and albums so far. All the other ideas<br>like grouping, stored actions etc. have to wait I fear if we want to get out<br>digikam 0.10 in a timely manner.</blockquote><div><br>
agree.<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">At least, currently I am struggling to get everything right for image-specific
<br>fields in the db.<br><br>&gt;&nbsp;&nbsp; - additional boolean flag: visible/hidden<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (i.e. all images tagged by a tag marked<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hidden are not shown, i.e. private images etc.)<br><br>Same as above.<br><br>&gt;
<br>&gt; - Grouping of images<br>&gt;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=121310">http://bugs.kde.org/show_bug.cgi?id=121310</a><br>&gt;&nbsp;&nbsp; (Coming from panoramae, or bracketed shots for HDR).<br>&gt;&nbsp;&nbsp; Within a group it should be possible to select
<br>&gt;&nbsp;&nbsp; which images are visible (i.e also more than one).<br>&gt;<br>&gt;&nbsp;&nbsp; This would also allow to group JPG and RAWs together<br>&gt;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=147427">http://bugs.kde.org/show_bug.cgi?id=147427
</a><br><br>Yes I want that. but see above.<br><br>&gt;<br>&gt; - And what about to Tag Album as well (to replace &quot;collection&quot;<br>&gt;&nbsp;&nbsp; properties?) :<br>&gt;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=133011">
http://bugs.kde.org/show_bug.cgi?id=133011</a><br><br>idem<br><br>&gt;<br>&gt; - ImageInformation or ImageMetadata (?):<br>&gt;&nbsp;&nbsp; - technical quality tags<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=128333">http://bugs.kde.org/show_bug.cgi?id=128333
</a><br><br>Seems to me this needs quite a bit of research still<br><br>&gt;<br>&gt; - Associate a region in an image with a tag:<br>&gt;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=146337">http://bugs.kde.org/show_bug.cgi?id=146337
</a><br>&gt;<br>&gt;&nbsp;&nbsp; Note that such a region should not be a property of a tag,<br>&gt;&nbsp;&nbsp; but a property of an image. Example:<br>&gt;&nbsp;&nbsp; If there are several persons on one image, one can<br>&gt;&nbsp;&nbsp; first add the Person&#39;s names as tags to that image&nbsp;&nbsp;(as right now).
<br>&gt;&nbsp;&nbsp; In addition, one may mark the region of the face<br>&gt;&nbsp;&nbsp; and associate it with the tag.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Image:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Tags: - Name1<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Name2<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Name3<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Regions: - Region1&nbsp;&nbsp; --&gt; Tag Name1
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Region2&nbsp;&nbsp; --&gt; Tag Name2<br>&gt;<br>&gt;&nbsp;&nbsp; Not sure how to put this in the database scheme ...<br>&gt;&nbsp;&nbsp; To specify the region: the simplest are rectangles,<br>&gt;&nbsp;&nbsp; but one should also think of more complicated shapes
<br>&gt;&nbsp;&nbsp; (circle, ellipse, general svg paths) in the longer run.<br>&gt;&nbsp;&nbsp; So it might be good to keep this in mind already when setting<br>&gt;&nbsp;&nbsp; up the database scheme.<br><br>Yes. At least points. Later!<br><br>&gt;<br>
&gt; - Table ImageMetadata:<br>&gt;&nbsp;&nbsp; - lens type (focal range in 35mm equivalent is available in Makernotes)<br><br>This is from Makernote?</blockquote><div><br>focal Length info, is avaialble from standard Exif :<br><br>
==&gt;&nbsp; Exif.Photo.FocalLength&nbsp; Rational&nbsp; The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera.<br><br>==&gt;&nbsp; Exif.Photo.FocalLengthIn35mmFilm&nbsp; Short&nbsp; This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. A value of 0 means the focal length is unknown. Note that this tag differs from the &lt;FocalLength&gt; tag.
</div><br>but _not_ lens type witch is stored by Makernotes. Problem is than all camera maker use a dedicaced way to provide this info. For ex.:<br><br>==&gt; Exif.Nikon3.LensType&nbsp; Byte&nbsp; Lens type<br>==&gt; Exif.Minolta.LensID
&nbsp; Long&nbsp; <br>==&gt; Exif.CanonCs.Lens&nbsp; Short&nbsp; &#39;long&#39; and &#39;short&#39; focal length of lens (in &#39;focal units&#39;) and &#39;focal units&#39; per mm<br><br>In other words, this will be infernal to get this info easily. But... Xmp provide has a tag to simplify this task :
<br><br>==&gt; Xmp.Aux.Lens Text A description of the lens used to take the photograph. For example, &quot;70-200 mm f/2.8-4.0&quot;<br><br>This will be the ultimate solution... when we will have implemented in Exiv2 core (not libkexiv2) a wrapper to import Exif (and Iptc) to Xmp ( and vis-versa)
<br><br>This is not yet done, but it&#39;s planed. This is why i recommend to delay all Makernotes informations extraction dedicaced to fill the new DB contents.<br><br>Note : XMP support all standard Exif/Iptc tags as well (more and better),&nbsp; but not Makernotes in standard. Yes, in this case all metadata will be duplicated but Xmp will become the full replacement of Exif and Iptc. 
<br><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;&nbsp;&nbsp; - focus mode<br><br>= MeteringMode or ExposureProgram?<br>We&#39;ll have both in db
<br><br>&gt;&nbsp;&nbsp; - macro<br><br>We will have SubjectDistanceRange<br><br>&gt;&nbsp;&nbsp; - stabilization</blockquote><div><br>==&gt; Makernote. <br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;&nbsp;&nbsp; - focus point (can be quite camera dependent)</blockquote><div><br>==&gt; Makernote. <br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=138704">http://bugs.kde.org/show_bug.cgi?id=138704</a><br>&gt;&nbsp;&nbsp; - panorama mode</blockquote><div><br>==&gt; Makernote. &nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What is this? Any exif keys?<br><br><br>&gt;&nbsp;&nbsp; - perhaps few original informations from pictures taken from camera as<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; org. size, org. date, org. filename, cmaera serial number,&nbsp;&nbsp;UUID of<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; media, etc. to perform detection of already downloaded pictures for
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; camera gui. This way is under discussion...<br><br>Yes! This is in the works<br><br>&gt;<br>&gt; - Table GPS data<br>&gt;&nbsp;&nbsp; - orientation (compass)<br>&gt;&nbsp;&nbsp; - tilt (nb of degrees with regard to horizontal)<br>
&gt;&nbsp;&nbsp; - roll<br><br>From where do I get these values? Can these be mapped to Exif GPS data? Or<br>where do you get this information from?</blockquote><div><br>From standard Exif :<br><br>Exif.GPSInfo.GPSImgDirection&nbsp; Rational&nbsp; Indicates the direction of the image when it was captured. The range of values is from 
0.00 to 359.99.<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Second, storage format: Is a double floating point number ok?
</blockquote><div><br>yes, certainly...<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;&nbsp;&nbsp; (I.e. to fully specify the position of an image in space,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;horizontal and vertical FOV have to be known, which<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;can be obtained from the lense properties.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;and three angles for the direction and the two possible directions<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;to tilt a camera in space.
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;This can then be used to create photoverlays with googleearth<br>&gt;<br>&gt; <a href="http://code.google.com/apis/kml/documentation/kml_tags_beta1.html#photoover">http://code.google.com/apis/kml/documentation/kml_tags_beta1.html#photoover
</a><br>&gt;lay or make use of gipfel<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.ecademix.com/JohannesHofmann/gipfel.html">http://www.ecademix.com/JohannesHofmann/gipfel.html</a><br>&gt;<br>&gt; - not sure about this one:<br>&gt;<br>
&gt;&nbsp;&nbsp; Without giving it too much thought, I think a date may be a useful field<br>&gt;&nbsp;&nbsp; to store too (thinking ahead to comments pulled in from external sources.<br>&gt;<br>&gt;&nbsp;&nbsp; I&#39;d go for a table along the following lines:
<br>&gt;&nbsp;&nbsp; imageid INTEGER<br>&gt;&nbsp;&nbsp; date DATETIME (optional)<br><br>Date is in the comments table now.<br><br>&gt;&nbsp;&nbsp; lang TEXT (optional)<br>&gt;&nbsp;&nbsp; source TEXT (optional)<br>&gt;&nbsp;&nbsp; author TEXT (optional)<br>&gt;&nbsp;&nbsp; comment TEXT
<br>&gt;<br>&gt; - Another thing which may be important to store in the database is<br>&gt;&nbsp;&nbsp; information concerning movies:<br>&gt;&nbsp;&nbsp; length, frame number of the thumnail used, ....<br><br>-&gt; I want to concentrate and specialize in images. I hope to get such info
<br>from strigi/nepomuk<br><br>&gt;<br>&gt; Generell points:<br>&gt; - Only include displayable files in the database:<br>&gt;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=145743">http://bugs.kde.org/show_bug.cgi?id=145743
</a><br><br>This should already be implemented in trunk.<br><br>&gt;<br>&gt; - Action lists:<br>&gt;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=125387">http://bugs.kde.org/show_bug.cgi?id=125387</a><br>&gt;&nbsp;&nbsp; <a href="http://bugs.kde.org/show_bug.cgi?id=103350">
http://bugs.kde.org/show_bug.cgi?id=103350</a><br>&gt;&nbsp;&nbsp; (presumably some more bugs ...)<br><br>Later, as said above.<br></blockquote></div><br>Marcel, Standard Exif + Makernotes + standard IPTC tags are listed and described at this url :
<br><br><a href="http://www.exiv2.org/metadata.html">http://www.exiv2.org/metadata.html</a><br><br>Supported Xmp tags are not yet listed in this page. Look into this file for details :<br><br><a href="http://dev.robotbattle.com/~cvsuser/cgi-bin/ns_viewcvs.cgi/exiv2/trunk/src/properties.cpp?rev=1251&amp;view=auto">
http://dev.robotbattle.com/~cvsuser/cgi-bin/ns_viewcvs.cgi/exiv2/trunk/src/properties.cpp?rev=1251&amp;view=auto</a><br><br>Gilles<br><br><br>

------=_Part_39638_21665422.1191833996038--


More information about the Digikam-devel mailing list