Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bogovicj committed Oct 17, 2024
1 parent 7b4b072 commit de06a76
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 20 deletions.
9 changes: 0 additions & 9 deletions src/main/java/bdv/gui/ExportDisplacementFieldFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.io.File;
import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.function.Consumer;
import java.util.stream.Collectors;
Expand All @@ -29,27 +28,19 @@
import javax.swing.filechooser.FileFilter;
import javax.swing.filechooser.FileNameExtensionFilter;

import org.janelia.saalfeldlab.n5.N5URI;

import com.formdev.flatlaf.util.UIScale;

import bdv.export.ProgressWriterConsole;
import bdv.ij.ApplyBigwarpPlugin;
import bdv.ij.BigWarpToDeformationFieldPlugIn;
import bdv.ij.BigWarpToDeformationFieldPlugIn.DeformationFieldExportParameters;
import bdv.viewer.Source;
import bigwarp.BigWarp;
import bigwarp.BigWarpData;
import bigwarp.BigWarpInit;
import bigwarp.landmarks.LandmarkTableModel;
import bigwarp.transforms.BigWarpTransform;
import ij.IJ;
import ij.ImagePlus;
import ij.Macro;
import ij.plugin.frame.Recorder;
import mpicbg.spim.data.SpimDataException;
import net.imglib2.type.NativeType;
import net.imglib2.type.numeric.RealType;

public class ExportDisplacementFieldFrame extends JFrame
{
Expand Down
9 changes: 1 addition & 8 deletions src/main/java/bigwarp/BigWarp.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import java.io.FileWriter;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
import java.net.URISyntaxException;
import java.text.SimpleDateFormat;
Expand All @@ -51,9 +50,7 @@
import java.util.Optional;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.Executors;
import java.util.concurrent.RejectedExecutionException;
import java.util.function.Supplier;

import javax.swing.ActionMap;
import javax.swing.InputMap;
Expand Down Expand Up @@ -101,7 +98,6 @@
import bdv.gui.BigWarpMessageAnimator;
import bdv.gui.BigWarpViewerFrame;
import bdv.gui.BigWarpViewerOptions;
import bdv.gui.BigwarpLandmarkSelectionPanel;
import bdv.gui.ExportDisplacementFieldFrame;
import bdv.gui.LandmarkKeyboardProcessor;
import bdv.gui.MaskOptionsPanel;
Expand All @@ -110,7 +106,6 @@
import bdv.gui.TransformTypeSelectDialog;
import bdv.ij.ApplyBigwarpPlugin;
import bdv.ij.ApplyBigwarpPlugin.WriteDestinationOptions;
import bdv.ij.BigWarpToDeformationFieldPlugIn;
import bdv.ij.util.ProgressWriterIJ;
import bdv.img.WarpedSource;
import bdv.tools.InitializeViewerState;
Expand Down Expand Up @@ -145,8 +140,6 @@
import bdv.viewer.TransformListener;
import bdv.viewer.ViewerPanel;
import bdv.viewer.ViewerState;
import bdv.viewer.ViewerStateChange;
import bdv.viewer.ViewerStateChangeListener;
import bdv.viewer.WarpNavigationActions;
import bdv.viewer.animate.SimilarityModel3D;
import bdv.viewer.animate.TranslationAnimator;
Expand Down Expand Up @@ -177,7 +170,6 @@

import java.util.LinkedHashMap;
import jitk.spline.ThinPlateR2LogRSplineKernelTransform;
import jitk.spline.XfmUtils;
import mpicbg.models.AbstractModel;
import mpicbg.models.AffineModel2D;
import mpicbg.models.AffineModel3D;
Expand Down Expand Up @@ -232,6 +224,7 @@ public class BigWarp< T >
protected BigWarpData< T > data;

protected final SetupAssignments setupAssignments;

protected final WarpVisFrame warpVisDialog;

protected final HelpDialog helpDialog;
Expand Down
1 change: 0 additions & 1 deletion src/test/java/bigwarp/dfield/DfieldExportTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import bigwarp.source.SourceInfo;
import bigwarp.transforms.BigWarpTransform;
import ij.ImagePlus;
import net.imglib2.Dimensions;
import net.imglib2.FinalRealInterval;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.RealInterval;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
import net.imglib2.util.Intervals;
import net.imglib2.view.Views;


public class SimilarityTransformInterpolationExample {

public static void main(String[] args) {
Expand All @@ -58,7 +57,6 @@ public static void main(String[] args) {

public static void exp() {

double[] zero = new double[]{0, 0, 0};
double[] center = new double[]{252, 76, 70};
double[] centerOfRotation = new double[] { 252, 150, 70 };
AffineTransform3D offset = new AffineTransform3D();
Expand Down

0 comments on commit de06a76

Please sign in to comment.