Weasis icon indicating copy to clipboard operation
Weasis copied to clipboard

Annotation View not exported

Open gsk1692 opened this issue 4 years ago • 2 comments

Hello,

First of all, thank you for creating a wonderful tool!

So I have imported some DICOM images. I have drawn annotations/boxes on one frame (say nth frame) of the DICOM image. However, when I am exporting as PNG, the annotation is stored as XML. But the drawing is not present in the nth frame PNG image.

I am aware of the export view option. But is there any other way to include this annotation in the PNG image itself while exporting as bulk?

Thank you!

gsk1692 avatar Jun 17 '22 11:06 gsk1692

It is not possible to include graphics into the image except with the export as Current View (like a screenshot). Using DICOM Presentation State, annotations can be shared and viewed with other viewers. For non-dicom, we use an xml file to preserve the image. Otherwise, it becomes image editing which is not the purpose of a viewer.

The release published yesterday fixes the issue of rereading a non-dicom image with xml.

nroduit avatar Jun 18 '22 05:06 nroduit

Thank you for the information.

I understand that your point that this is not an image editor. However, just a feedback request for you to consider. If you can include a checkbox to export the view while exporting the DICOM images to other formats as bulk, it will be a boon to create and annotate datasets for CV tasks such as object detection. Kindly consider this as a future option to include. Thanks!

gsk1692 avatar Jun 20 '22 05:06 gsk1692