Constructor and Description |
---|
TurboRegImage(ij.ImagePlus imp,
TurboRegTransformationType transformation,
boolean isTarget)
Converts the pixel array of the incoming
ImagePlus
object into a local float array. |
Modifier and Type | Method and Description |
---|---|
float[] |
getCoefficient()
Return the B-spline coefficients of the full-size image.
|
int |
getHeight()
Return the full-size image height.
|
float[] |
getImage()
Return the full-size image array.
|
Stack<Object> |
getPyramid() |
int |
getPyramidDepth()
Return the depth of the image pyramid.
|
int |
getWidth()
Return the full-size image width.
|
float[] |
getXGradient()
Return the full-size horizontal gradient of the image, if available.
|
float[] |
getYGradient()
Return the full-size vertical gradient of the image, if available.
|
void |
run()
Start the image precomputations.
|
void |
setPyramidDepth(int pyramidDepth)
Sets the depth up to which the pyramids should be computed.
|
void |
setTransformation(TurboRegTransformationType transformation)
Set or modify the transformation.
|
public TurboRegImage(ij.ImagePlus imp, TurboRegTransformationType transformation, boolean isTarget)
ImagePlus
object into a local float
array.imp
- ImagePlus
object to preprocess.transformation
- Transformation code.isTarget
- Tags the current object as a target or source image.public float[] getCoefficient()
public int getHeight()
public float[] getImage()
public int getPyramidDepth()
1
means
that one coarse resolution level is present in the stack. The
full-size level is not placed on the stack.public void setPyramidDepth(int pyramidDepth)
getImage()
public int getWidth()
public float[] getXGradient()
getPyramid()
public float[] getYGradient()
getImage()
public void run()
public void setTransformation(TurboRegTransformationType transformation)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.