[Digikam-devel] [Bug 146337] Tag regions of an image

Arnd Baecker arnd.baecker at web.de
Sat May 1 14:16:13 BST 2010


https://bugs.kde.org/show_bug.cgi?id=146337





--- Comment #16 from Arnd Baecker <arnd baecker web de>  2010-05-01 15:16:08 ---
Hi Aditya, 

great that you are working on this wish - I think it has
a lot of applications, way beyond its need for face detection/recognition
(eg, I often have in mind to mark the position of mountains in a photo .. ;-)

The mockup in c#13 looks very good to me (and ImageAnnotation.odt
also addresses many important points).
For a start it might be good, to just implement something
using CTRL+drag (or CTRL+SHIFT+drag, or ...)
and associate tags, as suggested by Fri13, just to the selected region.
Then there should be a possibility to select regions ("active selection")
and unselect (eg. by another mouse-click) and provide a visual feedback
for this (dashed/non-dashed/highlighted etc.).
All the visual details (and mouse/keyboard short-cuts) can be adapted
later, if necessary at all. Usually, after something like this is implemented,
one will see how it works, and whether it feels "good"/"right".

An important issue will be how this information is stored in the database.
One possibility would be to leave the tags part as before, i.e
any tag associated with a region is also a tag of the whole image.
Then only an additional block of data corresponding to each region
will be needed. This might carry
- bounding box   (llx, lly, urx, ury)
  or, more generally, a sequence of (x0, y0, x1, y1, ...) to form a polygon
- image size
- tag name
- region comment
- ... anything more? ...

Then all the other things (display variants, eg. including the tag,
resizing the region by moving the sides/corners,
behaviour on resizing images, ...) could be added later,
once the basic stuff looks right.
For the very beginning, even no additional side bar with the regions
would be necessary (maybe adding a region comment
is not possible then).

Unfortunately, I don't have much time for coding at the moment,
but I look forward to testing anything which comes up ...;-).

Best, Arnd

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list