public class Stitching_Grid extends Object implements ij.plugin.PlugIn
Constructor and Description |
---|
Stitching_Grid() |
Modifier and Type | Method and Description |
---|---|
protected void |
generateRois(double[] offsets,
ArrayList<ImagePlusTimePoint> optimizedImages)
Generates a ROI for each tile in the list of optimized images.
|
protected ArrayList<ImageCollectionElement> |
getAllFilesInDirectory(String directory,
boolean confirmFiles) |
protected ArrayList<ImageCollectionElement> |
getGridLayout(GridType grid,
int gridSizeX,
int gridSizeY,
double overlapX,
double overlapY,
String directory,
String filenames,
int startI,
int startX,
int startY,
boolean virtual,
Downsampler ds) |
protected ArrayList<ImageCollectionElement> |
getLayoutFromFile(String directory,
String layoutFile,
Downsampler ds) |
protected ArrayList<ImageCollectionElement> |
getLayoutFromMultiSeriesFile(String multiSeriesFile,
double increaseOverlap,
boolean ignoreCalibration,
boolean invertX,
boolean invertY,
boolean ignoreZStage,
Downsampler ds) |
static String |
getLeadingZeros(int zeros,
int number) |
protected void |
getPosition(int[] currentPosition,
int i,
int gridType,
int gridOrder,
int sizeX,
int sizeY) |
protected IFormatReader |
initializeReader(IFormatReader in,
String file)
Initializes an
ImageReader if the provided reader is null, or
does not match the given file id. |
protected ij.ImagePlus[] |
openBF(String multiSeriesFileName,
boolean splitC,
boolean splitT,
boolean splitZ,
boolean autoScale,
boolean crop,
boolean allSeries) |
protected ij.ImagePlus[] |
openBFDefault(String multiSeriesFileName) |
void |
run(String arg0) |
protected void |
writeRegisteredTileConfiguration(File file,
ArrayList<ImageCollectionElement> elements) |
protected void |
writeTileConfiguration(File file,
ArrayList<ImageCollectionElement> elements) |
public static final String version
public static boolean seperateOverlapY
public static int defaultGridChoice1
public static int defaultGridChoice2
public static int defaultGridSizeX
public static int defaultGridSizeY
public static double defaultOverlapX
public static double defaultOverlapY
public static String defaultDirectory
public static String defaultSeriesFile
public static boolean defaultConfirmFiles
public static String defaultFileNames
public static String defaultTileConfiguration
public static boolean defaultAddTilesAsRois
public static boolean defaultComputeOverlap
public static boolean defaultInvertX
public static boolean defaultInvertY
public static boolean defaultIgnoreZStage
public static boolean defaultSubpixelAccuracy
public static boolean defaultDownSample
public static boolean defaultDisplayFusion
public static boolean writeOnlyTileConfStatic
public static boolean defaultIgnoreCalibration
public static double defaultIncreaseOverlap
public static boolean defaultVirtualInput
public static int defaultStartI
public static int defaultStartX
public static int defaultStartY
public static int defaultFusionMethod
public static double defaultR
public static double defaultRegressionThreshold
public static double defaultDisplacementThresholdRelative
public static double defaultDisplacementThresholdAbsolute
public static boolean defaultOnlyPreview
public static int defaultMemorySpeedChoice
public static double defaultSeqRange
public static boolean defaultQuickFusion
public static String[] resultChoices
public static int defaultResult
public static String defaultOutputDirectory
public void run(String arg0)
run
in interface ij.plugin.PlugIn
protected void generateRois(double[] offsets, ArrayList<ImagePlusTimePoint> optimizedImages)
protected IFormatReader initializeReader(IFormatReader in, String file)
ImageReader
if the provided reader is null, or
does not match the given file id.
NB: All exceptions are handled in this method. If an exception is caught, null will be returned.
protected ij.ImagePlus[] openBF(String multiSeriesFileName, boolean splitC, boolean splitT, boolean splitZ, boolean autoScale, boolean crop, boolean allSeries)
protected ij.ImagePlus[] openBFDefault(String multiSeriesFileName)
protected ArrayList<ImageCollectionElement> getLayoutFromMultiSeriesFile(String multiSeriesFile, double increaseOverlap, boolean ignoreCalibration, boolean invertX, boolean invertY, boolean ignoreZStage, Downsampler ds)
protected ArrayList<ImageCollectionElement> getLayoutFromFile(String directory, String layoutFile, Downsampler ds)
protected ArrayList<ImageCollectionElement> getAllFilesInDirectory(String directory, boolean confirmFiles)
protected ArrayList<ImageCollectionElement> getGridLayout(GridType grid, int gridSizeX, int gridSizeY, double overlapX, double overlapY, String directory, String filenames, int startI, int startX, int startY, boolean virtual, Downsampler ds)
protected void writeTileConfiguration(File file, ArrayList<ImageCollectionElement> elements)
protected void writeRegisteredTileConfiguration(File file, ArrayList<ImageCollectionElement> elements)
protected void getPosition(int[] currentPosition, int i, int gridType, int gridOrder, int sizeX, int sizeY)
public static String getLeadingZeros(int zeros, int number)
Copyright © 2015–2021 Fiji. All rights reserved.