public class Align_Image extends Object implements ij.plugin.PlugIn
Stacks are not explicitly supported, but a macro can easily use this plugin for the purpose by iterating over all slices.
Modifier and Type | Class and Description |
---|---|
protected static class |
Align_Image.BilinearInterpolator |
protected static class |
Align_Image.Interpolator |
Constructor and Description |
---|
Align_Image() |
Modifier and Type | Method and Description |
---|---|
static ij.process.ImageProcessor |
align(ij.process.ImageProcessor source,
Line line1,
ij.process.ImageProcessor target,
Line line2)
Align an image to another image given line selections in each.
|
static ij.process.ImageProcessor |
align(ij.process.ImageProcessor source,
Line line1,
ij.process.ImageProcessor target,
Line line2,
boolean withScaling,
boolean withRotation)
Align an image to another image given line selections in each.
|
void |
run(String arg) |
public void run(String arg)
run
in interface ij.plugin.PlugIn
public static ij.process.ImageProcessor align(ij.process.ImageProcessor source, Line line1, ij.process.ImageProcessor target, Line line2)
source
- the image to alignline1
- the line selection in the source imagetarget
- the image to align toline2
- the line selection in the target imagepublic static ij.process.ImageProcessor align(ij.process.ImageProcessor source, Line line1, ij.process.ImageProcessor target, Line line2, boolean withScaling, boolean withRotation)
source
- the image to alignline1
- the line selection in the source imagetarget
- the image to align toline2
- the line selection in the target imagewithScaling
- scale the image if necessarywithRotation
- rotate the image if necessaryCopyright © 2015–2021 Fiji. All rights reserved.