Cytomine-ULiege / Cytomine-Web-UI

Cytomine-Web-UI is the graphical user interface for Cytomine. Our fork includes R&D experimental features. See @cytomine for official releases.
Apache License 2.0
5 stars 3 forks source link

Copy-paste an annotation to another image will paste the annotation in the center of the image #4

Closed bathienle closed 2 years ago

bathienle commented 2 years ago

Copying an annotation to an image and pasting it to another image, will paste the annotation in the center of the other image.

In the case where the two image are similar, e.g. one in RGB and one in grayscale, the user wants to have the same annotation on the two images.

Currently, the user has to move and possibly resize the pasted annotation.

To fix by make the paste on the current field of view if the images are not of the same size. If the resolution of the two images is known, automatically rescale the pasted annotation.

bathienle commented 2 years ago

Implemented by 5a4c53170c978460d3b6f4312fffb3f3293bcc40