public class TurboRegTransformer extends Object
Constructor and Description |
---|
TurboRegTransformer(TurboRegImage sourceImg,
TurboRegMask sourceMsk,
TurboRegPointHandler sourcePh,
TurboRegImage targetImg,
TurboRegMask targetMsk,
TurboRegPointHandler targetPh,
TurboRegTransformationType transformation,
boolean accelerated,
boolean interactive)
Keep a local copy of most everything.
|
Modifier and Type | Method and Description |
---|---|
void |
appendTransformation(String pathAndFilename)
Append the current landmarks into a text file.
|
void |
doBatchFinalTransform(float[] pixels)
Compute the final image.
|
ij.ImagePlus |
doFinalTransform(int width,
int height)
Compute the final image.
|
float[] |
doFinalTransform(TurboRegImage sourceImg,
TurboRegPointHandler sourcePh,
TurboRegImage targetImg,
TurboRegPointHandler targetPh,
TurboRegTransformationType transformation,
boolean accelerated)
Compute the final image.
|
void |
doRegistration()
Refine the landmarks.
|
String |
saveTransformation(String filename)
Save the current landmarks into a text file and return the path
and name of the file.
|
public TurboRegTransformer(TurboRegImage sourceImg, TurboRegMask sourceMsk, TurboRegPointHandler sourcePh, TurboRegImage targetImg, TurboRegMask targetMsk, TurboRegPointHandler targetPh, TurboRegTransformationType transformation, boolean accelerated, boolean interactive)
targetImg
- Target image pyramid.targetMsk
- Target mask pyramid.sourceImg
- Source image pyramid.sourceMsk
- Source mask pyramid.targetPh
- Target TurboRegPointHandler
object.sourcePh
- Source TurboRegPointHandler
object.transformation
- Transformation code.accelerated
- Trade-off between speed and accuracy.interactive
- Shows or hides the resulting image.public void appendTransformation(String pathAndFilename)
pathAndFilename
- Path and name of the file where batch results
are being written.public void doBatchFinalTransform(float[] pixels)
public ij.ImagePlus doFinalTransform(int width, int height)
public float[] doFinalTransform(TurboRegImage sourceImg, TurboRegPointHandler sourcePh, TurboRegImage targetImg, TurboRegPointHandler targetPh, TurboRegTransformationType transformation, boolean accelerated)
public void doRegistration()
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.