-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi, I noticed that when adding the spot ROIs to the Roi Manager, their Z-position is not set explicitly, which can lead to this information getting lost in some cases, see related image.sc forum thread: https://forum.image.sc/t/rois-added-to-roi-manager-by-macro-do-not-maintain-all-properties/37533/5
Example issue: Run RS fish including"add ROIs to RoiManager", then save the image using Bio-Formats as ome.tif including the ROIs.
This issue can be solved by setting the spots z positions explicitly by adding a line in RS-FISH/src/main/java/gui/Radial_Symmetry.java after line 344
| imp.setSliceWithoutUpdate( 1 + (int)Math.round( spot.getDoublePosition( 2 ) ) ); |
e.g.:
p.setPosition( 1 + (int)Math.round( spot.getDoublePosition( 2 ) ) );Metadata
Metadata
Assignees
Labels
No labels