Skip to content

Commit

Permalink
Merge pull request #7 from CellKai/set-spot-z-position-in-roimanager
Browse files Browse the repository at this point in the history
explicitly sets the spots z-positions in the RoiManager
  • Loading branch information
StephanPreibisch authored Oct 4, 2022
2 parents 2915fc7 + b5ae1c0 commit 4381328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/gui/Radial_Symmetry.java
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ else if ( mode == 1 ) { // advanced
if (spot.getIntensity() >= params.intensityThreshold) {
PointRoi p = new PointRoi( spot.getDoublePosition( 0 ), spot.getDoublePosition( 1 ) );
imp.setSliceWithoutUpdate( 1 + (int)Math.round( spot.getDoublePosition( 2 ) ) );
p.setPosition( 1 + (int)Math.round( spot.getDoublePosition( 2 ) ) );
imp.unlock();
roim.addRoi( p );
}
Expand Down

0 comments on commit 4381328

Please sign in to comment.