Skip to content

Commit

Permalink
fix bounding box extraction calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
ekatrukha committed Jun 28, 2024
1 parent 6589587 commit 33dafa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/java/bigtrace/BigTraceData.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

import bigtrace.gui.BCsettings;
import bigtrace.gui.RenderSettings;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/bigtrace/volume/ExtractROIBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ protected Void doInBackground() throws Exception {
//output calibration
cal.setUnit(bt.btData.sVoxelUnit);
cal.setTimeUnit(bt.btData.sTimeUnit);
cal.pixelWidth = BigTraceData.dMinVoxelSize;
cal.pixelHeight= BigTraceData.dMinVoxelSize;
cal.pixelDepth = BigTraceData.dMinVoxelSize;
cal.pixelWidth = BigTraceData.globCal[0];
cal.pixelHeight= BigTraceData.globCal[1];
cal.pixelDepth = BigTraceData.globCal[2];
final int nTotROIs = listROIs.size();
if(nTotROIs == 0)
return null;
Expand Down

0 comments on commit 33dafa2

Please sign in to comment.