https://redmine.openatlas.eu/https://redmine.openatlas.eu/favicon.ico?17112826112022-12-02T11:13:22ZRedmineOpenAtlas - Question #1883: Image annotationshttps://redmine.openatlas.eu/issues/1883?journal_id=88852022-12-02T11:13:22ZAndreas Olschnögger
<ul></ul><p>1) I don't know much about this area myself. <br />What I can think of in this regard is IIIF(<a class="external" href="https://iiif.io/">https://iiif.io/</a>).<br />IIIF are basically standards on how to make images available online. Here there are several tools that can be used.<br />Basically, you run an image server on which all the images are stored. <br />IIIF offers additional standards, if you want to link the images together. So you can create a so-called manifest that can contain several images. An example for a manifest could be a book that contains single photos (scans) of the pages.<br />Now there are also annotation tools with which you can leave annotations on the images, but also references to other objects. <br />As far as I have read, these annotations are run on a separate annotation server. <br />I have never taken a closer look and can't really say much about the different tools.</p>
<p>This page contains a workshop on IIIF that explains pretty well how it all works:<br /><a class="external" href="https://training.iiif.io/iiif-online-workshop/">https://training.iiif.io/iiif-online-workshop/</a><br />This link lists several tools / software and tutorials for the different areas of IIIF: <br /><a class="external" href="https://github.com/IIIF/awesome-iiif#official-resources">https://github.com/IIIF/awesome-iiif#official-resources</a></p>
<p>2)<br />Regarding the implementation it depends of course on the concrete case, I haven't worked with annotations and images yet, but since IIIF provides a standardized api there are already frameworks that support the visualization of IIIF manifests (e.g. Mirador <a class="external" href="https://projectmirador.org/">https://projectmirador.org/</a>)</p> OpenAtlas - Question #1883: Image annotationshttps://redmine.openatlas.eu/issues/1883?journal_id=88862022-12-02T12:15:05ZAlexander Watzingeralexander.watzinger@oeaw.ac.at
<ul><li><strong>Assignee</strong> changed from <i>Andreas Olschnögger</i> to <i>Christoph Hoffmann</i></li></ul><p>Thank you Andi for your feedback. We thought about using IIIF quite some time but mostly because it helps with viewing of big images.<br />I'm not sure if this would help with annotating parts of an image too and was hoping for a solution that doesn't involve other services.<br />Anyway, assigning this to Christoph and kindly asking him for feedback about this.</p> OpenAtlas - Question #1883: Image annotationshttps://redmine.openatlas.eu/issues/1883?journal_id=88872022-12-02T13:39:49ZChristoph Hoffmann
<ul><li><strong>Assignee</strong> changed from <i>Christoph Hoffmann</i> to <i>Andreas Olschnögger</i></li></ul><p>Without knowing too much about the Subject, in my Oppinion there would be 3 things/functionalities to consider:</p>
1. the annotation of the image (=> where the user draws a shape/point/... on the image and connects data to this)
<ul>
<li>where should this be done?
<ul>
<li>if within the openatlas UI the existing leaflet setup would be an obvious point to start, basically drawing shapes on the map is nothing but annotating an image (just that the final reference frame is a coordinate system and the data format is geojson)</li>
<li>alternately it can be done with various existing IIIF Viewers (ie <a href="https://training.iiif.io/iiif-5-day-workshop/day-three/annotations-exercises.html" class="external">Mirador</a> )</li>
</ul></li>
</ul>
2. where and in wich format to save said annotation data
<ul>
<li>in the file - any information can be saved to an images XMP header, however this has many considerations such as image size/format, editing tool, sync to the OA-Database, ... - so I would not recommend it and I only know of scenarios where this is used in archiving procedures, but not for active ongoing editing</li>
<li>the openatlas database - if annotations were created through the OpenAtlas UI using leaflet, it would be easiest to save the annotation data as a json object to the database</li>
<li>in a separate json-file accompanying the image</li>
<li>in what format
<ul>
<li>to me the most obvious candidate would be the <a href="https://www.w3.org/TR/annotation-model/" class="external">Web Annotation Model</a> in conjunction with <a href="https://iiif.io/api/annex/openannotation/" class="external">IIIF</a> there's a nice example using leaflet <a href="https://gist.github.com/mejackreed/2724146adfe91233c74120b9056fba06" class="external">here</a> parsing resources in this model that look like <a href="https://dms-data.stanford.edu/data/manifests/BnF/jr903ng8662/list/text-Ar.json" class="external">this</a> - it is limited to rectangular annotations, but maybe that would be enough? - found another example like this in the IIIF cookbook: <a class="external" href="https://iiif.io/api/cookbook/recipe/0021-tagging/">https://iiif.io/api/cookbook/recipe/0021-tagging/</a></li>
<li>the IIIF cookbook suggests an <a href="https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/" class="external">embedded svg overlay</a>, wich would allow for more complex shapes, but I also thing this would be much more complex to implement</li>
</ul></li>
</ul>
3. display the file with its annotations - once 1 and 2 are established this will probably be easiest,
<ul>
<li>either through leaflet (as in the example in 2. and as andi has already proven in the SHAHI frontend once</li>
<li>or through a IIIF viewer wich should be easy to integrate in the vue frontend and would also work with the first example from 2</li>
</ul> OpenAtlas - Question #1883: Image annotationshttps://redmine.openatlas.eu/issues/1883?journal_id=89142022-12-07T15:20:58ZAlexander Watzingeralexander.watzinger@oeaw.ac.at
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/1909">Feature #1909</a>: IIIF image API server</i> added</li></ul> OpenAtlas - Question #1883: Image annotationshttps://redmine.openatlas.eu/issues/1883?journal_id=89172022-12-07T15:24:04ZAlexander Watzingeralexander.watzinger@oeaw.ac.at
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/1910">Feature #1910</a>: IIIF: Image annotation</i> added</li></ul> OpenAtlas - Question #1883: Image annotationshttps://redmine.openatlas.eu/issues/1883?journal_id=89222022-12-07T15:32:39ZAlexander Watzingeralexander.watzinger@oeaw.ac.at
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>Assignee</strong> deleted (<del><i>Andreas Olschnögger</i></del>)</li></ul><p>After discussing it in our <a class="wiki-page" href="https://redmine.openatlas.eu/projects/uni/wiki/Meeting_2022-12-06">developer meeting</a> yesterday we decided to invest some time to try to implement this. See related issues <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: IIIF: Image annotation (Closed)" href="https://redmine.openatlas.eu/issues/1910">#1910</a> and <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: IIIF image API server (Closed)" href="https://redmine.openatlas.eu/issues/1909">#1909</a>.<br />We will close this question but but keep it for reference. In case it goes as planned only thing left at the end is to learn how to annotate images, Christoph already suggested <a href="https://training.iiif.io/iiif-5-day-workshop/day-three/annotations-exercises.html" class="external">Mirador</a> for it but we can take a closer look when we come that far.</p>
<p>Thank you again Nicholas for this very interesting and useful request. You are already added as watcher to the respective issues.</p>