Constructor and Description |
---|
FinalAction(MainDialog dialog)
Start a thread under the control of the main event loop.
|
Modifier and Type | Method and Description |
---|---|
Thread |
getThread()
Get the thread.
|
ij.ImagePlus[] |
initializeOutputIPs()
Initialize output image plus
|
void |
run()
Perform the registration
|
void |
setup(ij.ImagePlus sourceImp,
ij.ImagePlus targetImp,
BSplineModel source,
BSplineModel target,
PointHandler sourcePh,
PointHandler targetPh,
Mask sourceMsk,
Mask targetMsk,
double[][] sourceAffineMatrix,
double[][] targetAffineMatrix,
int min_scale_deformation,
int max_scale_deformation,
int min_scale_image,
double divWeight,
double curlWeight,
double landmarkWeight,
double imageWeight,
double consistencyWeight,
double stopThreshold,
int outputLevel,
boolean showMarquardtOptim,
int accurate_mode)
Pass parameter from
MainDialog to
FinalAction . |
public FinalAction(MainDialog dialog)
MainDialog
do not because they are
under the control of its own event loop.public Thread getThread()
FinalAction
objectpublic void setup(ij.ImagePlus sourceImp, ij.ImagePlus targetImp, BSplineModel source, BSplineModel target, PointHandler sourcePh, PointHandler targetPh, Mask sourceMsk, Mask targetMsk, double[][] sourceAffineMatrix, double[][] targetAffineMatrix, int min_scale_deformation, int max_scale_deformation, int min_scale_image, double divWeight, double curlWeight, double landmarkWeight, double imageWeight, double consistencyWeight, double stopThreshold, int outputLevel, boolean showMarquardtOptim, int accurate_mode)
MainDialog
to
FinalAction
.sourceImp
- image representation for the sourcetargetImp
- image representation for the targetsource
- source image modeltarget
- target image modelsourcePh
- point handler for the landmarks in the source imagetargetPh
- point handler for the landmarks in the target imagesourceMsk
- source image masktargetMsk
- target image masksourceAffineMatrix
- source initial affine matrixtargetAffineMatrix
- target initial affine matrixmin_scale_deformation
- minimum scale deformationmax_scale_deformation
- maximum scale deformationmin_scale_image
- minimum image scaleoutputLevel
- flag to specify the level of resolution in the outputshowMarquardtOptim
- flag to show the optimizerdivWeight
- divergence weightcurlWeight
- curl weightlandmarkWeight
- landmark weightimageWeight
- weight for image similarityconsistencyWeight
- weight for the deformations consistencystopThreshold
- stopping thresholdaccurate_mode
- level of accuracypublic ij.ImagePlus[] initializeOutputIPs()
Copyright © 2015–2021 Fiji. All rights reserved.