public class Transform_Virtual_Stack_MT extends Object implements ij.plugin.PlugIn
Requires:
Performs: transformation of the sequence of images by applying the transform files.
Outputs: the list of new images, one for slice, into a output directory as .tif files.
For a detailed documentation, please visit the plugin website at:
| Modifier and Type | Field and Description |
|---|---|
static boolean |
interpolate
interpolate?
|
static String |
outputDirectory
output directory
|
static String |
sourceDirectory
source directory
|
static String |
transformsDirectory
transforms directory
|
| Constructor and Description |
|---|
Transform_Virtual_Stack_MT() |
| Modifier and Type | Method and Description |
|---|---|
static ij.ImagePlus |
applyCoordinateTransform(ij.ImagePlus imp,
CoordinateTransform transform,
int meshResolution,
boolean interpolate,
int[] worldOrigin)
Apply a coordinate transform to a given image
|
static boolean |
exec(String source_dir,
String target_dir,
String transf_dir,
boolean interpolate)
Transform images in the source directory applying transform files from a specific directory.
|
static boolean |
exec(String source_dir,
String target_dir,
String transf_dir,
int first,
int last,
boolean interpolate)
Transform range of images in the source directory applying transform
files from a specific directory.
|
static CoordinateTransform |
readCoordinateTransform(String filename)
Read coordinate transform from file (generated in Register_Virtual_Stack)
|
void |
run(String arg)
Plug-in run method
|
public static String sourceDirectory
public static String outputDirectory
public static String transformsDirectory
public static boolean interpolate
public void run(String arg)
run in interface ij.plugin.PlugInarg - plug-in argumentspublic static boolean exec(String source_dir, String target_dir, String transf_dir, boolean interpolate)
source_dir - folder with input (source) images.target_dir - folder to store output (transformed) images.transf_dir - folder with transform files.interpolate - boolean flag to interpolate the results or notpublic static boolean exec(String source_dir, String target_dir, String transf_dir, int first, int last, boolean interpolate)
source_dir - folder with input (source) images.target_dir - folder to store output (transformed) images.transf_dir - folder with transform files.interpolate - boolean flag to interpolate the results or notpublic static CoordinateTransform readCoordinateTransform(String filename)
filename - complete file name (including path)public static ij.ImagePlus applyCoordinateTransform(ij.ImagePlus imp,
CoordinateTransform transform,
int meshResolution,
boolean interpolate,
int[] worldOrigin)
imp - image to be transformedtransform - transform to be appliedmeshResolution - number of vertices per row in transform meshinterpolate - flag to interpolate pixel valuesworldOrigin - image world origin coordinates after transformCopyright © 2015–2021 Fiji. All rights reserved.