Hello everybody and especialy the qupath experts,
I need to export a RoiSet from ImageJ into QuPath. All
Rois are defined in pixel coordinates of the original image (highest resolution level).
To convert from
PathObject, this line is used:
PathObject object = PathObjects.createAnnotationObject(IJTools.convertToROI(roi, 0, 0, 1, null));
This works fine if the import is done in a ‘normal Image Server’. However, if I use a rotated image server (180 degrees for instance), then the converted Rois are upside down:
So : how can I import a
Roi (defined in the original pixel coordinates in the highest resolution level) properly into a QuPath image, taking into account the rotations from the image server ?