Changes between Initial Version and Version 1 of PhotoSelectionAndAdjustments


Ignore:
Timestamp:
2019-06-10T21:07:39+02:00 (5 years ago)
Author:
holgermappt
Comment:

Create photo selection work page

Legend:

Unmodified
Added
Removed
Modified
  • PhotoSelectionAndAdjustments

    v1 v1  
     1= Photo Selection and Adjustments =
     2This page lists the current JOSM behavior regarding image/photo selection, placement, and other adjustments and potential enhancements listed in ticket:11905 (''Option to move multiple images at once''). Everything marked with ''new'' is in planning phase and not yet decided.
     3
     4== Use Cases ==
     5* Sort and/or select photos based on different attributes. Next/previous based on that criteria, i.e. not by file name as it is now. E.g. a list/table view with sortable columns. The list would reflect the select state.
     6* Select one or multiple photos to delete them (e.g. they are not needed for mapping).
     7* Select one photo on the map to move it.
     8* Select multiple photos on the map to move them, e.g. to adjust an offset.
     9  * Should there be an option to select all images of an image layer?
     10* Set direction for one or multiple photos. E.g. all photos that show the same object.
     11* Select one or multiple photos to create a new geo image layer with them. E.g. to create different sets of photos. Not sure if that is a real use case.
     12* Place (untagged) photos one by one by stepping through the image panel (next, place, next, ...).
     13* Change a property like speed or altitude for one or multiple photos (in the photoadjust property dialog). Either set all to same value or add an offset.
     14* Geometrical operations. There are some operations I can think of:
     15  * Distribute between first and last with equal distance between photos.
     16  * Distribute between first and last with distance proportional to photo capture time difference (i.e. assuming constant speed while taking photos).
     17  * Move to selected line (perpendicular), e.g. to move to a street.
     18
     19== Limitations and Restrictions ==
     20* Alt+click is used to move the window in KDE, i.e. it can not be used to position photos.
     21* It is not possible to combine regular keys (a-z, 0-9) with clicks, e.g. p+click to place an image on the map. Currently single keys are used for operation on the data layer, no matter what layer or map mode is active. However, there might be some unassigned keys left.
     22
     23== JOSM Core Functionality ==
     24* current:
     25  * Select single image
     26  * View selected image in image viewer
     27* new:
     28  * Select multiple images
     29  * Image list view
     30  * Image display TBD
     31
     32=== Ways to Select Images ===
     33* In image viewer
     34  * current:
     35    * First/previous/next/last buttons
     36  * new (in addition to current):
     37    * List view, selection the usual way
     38* On map
     39  * current:
     40    * Click on image, deselects currently selected photo, works in any map mode
     41  * new:
     42    * Click: Select single image, deselects currently selected photos
     43    * Add/remove image to/from selection
     44      * Add clicked image to selection or remove it if it was selected before
     45      * If no photo was selected then select current photo
     46      * If photo of other image layer is clicked:
     47        * Option a: Select single image, deselects currently selected photos
     48        * Option b: All image layers are treated like one combined layer
     49    * Select multiple
     50      * Select all photos from the last selected to the current photo
     51      * If no photo was selected then select current photo
     52      * Photo sequence depends on image layer sort order
     53      * A line to indicate the image order could be displayed
     54      * If photo of other image layer is clicked:
     55        * Option a: Select single image, deselects currently selected photos
     56        * Option b: All image layers are treated like one combined layer
     57
     58=== Image Viewer Panel ===
     59* current: Show selected photo, on-screen display (OSD) with image information, first/previous/next/last buttons, delete from layer button, delete physically button
     60* new:
     61  * Option 1:
     62    * Same as current if no or only one image is selected
     63    * Image overlay if multiple images are selected, no OSD
     64  * Option 2:
     65    * Same as current if no or only one image is selected
     66    * List view if multiple photos are selected or if that mode was switched on
     67    * List view toggle button to enable list view even if no/one image is selected (also toggle option in image layer context menu)
     68
     69=== List View ===
     70Photo list view with different sort options (name, time, speed, ...).
     71
     72This is either a new panel or it is displayed in the image viewer panel if multiple photos are selected or if that mode was switched on. If it is a separate panel the image is displayed in the image viewer. If this is the image viewer then we need a way to display the images, e.g. with an image preview zoom like in a file manager.
     73
     74== Photoadjust Plugin Functionality ==
     75* Place image that is currently selected in image viewer on map
     76  * current: Shift+click
     77  * new (see below for select keys):
     78    * One image selected in image viewer: Place at clicked position
     79    * Multiple images selected in image viewer:
     80      * Option A: Get the center of selected photos, then translate them with the new center at the mouse position. I.e. click position is center of selected images.
     81      * Option B: Place all at clicked position. This does not make much sense, but a small offset could be added to each image to place them at different locations to be able to select individual photos in high zoom levels. The offset could depend on the number of selected images, or it could be configurable. E.g. all images in a circle around the clicked position.
     82* Set direction of currently selected image (if it has a position)
     83  * current: Control+click
     84  * new (see below for select keys):
     85    * One image selected: Set direction to clicked position
     86    * Multiple images selected: Set direction to clicked position
     87* Edit photo properties in property editor
     88  * current: Edit selected image
     89  * new: Edit selected images
     90    * If a value is the same for all photos: Display the value as is, editing the value changes it for all images
     91    * If value differs: Display something like "<values differ>", editing the value changes it for all images (the value is displayed after the edit)
     92    * Image preview is replaced with image overlay (same image as in image viewer option 1)
     93    * The external coordinate editor might get the middle position as initial value
     94
     95== Select Keys and Clicks ==
     96Select function to hotkey or mouse click mapping.
     97
     98* Select multiple (new)
     99  * Shift+click
     100* Add/remove single (new)
     101  * Control+click
     102* Place image on map (if map mode or image layer active)
     103  * current: Shift+click
     104  * new: ??? (Shift+alt+click?)
     105* Set direction (if map mode or image layer active)
     106  * current: Control+click
     107  * new: ??? (Control+alt+click?)
     108* Move images
     109  * Click+drag
     110
     111== Open Issues ==
     112* What shall happen if multiple image layers are present? Do they act as individual layers or as one combined layer? E.g. if images are to be added to the selection, does adding an image from an other layer add that image too or does it clear the current selection?
     113* Implement "add multiple"?
     114* How to place an image on the map and set the direction (photoadjust plugin).
     115* Decide how multiple images are displayed in the image viewer.