public class Param extends Object
Modifier and Type | Field and Description |
---|---|
double |
consistencyWeight
consistency weight
|
double |
curlWeight
curl weight
|
double |
divWeight
divergence weight
|
double |
imageWeight
image similarity weight
|
int |
img_subsamp_fact
image subsampling factor (from 0 to 7, representing 2^0=1 to 2^7 = 128)
|
double |
landmarkWeight
landmark weight
|
int |
max_scale_deformation
maximum scale deformation (0 - Very Coarse, 1 - Coarse, 2 - Fine, 3 - Very Fine, 4 - Super Fine)
|
int |
min_scale_deformation
minimum scale deformation (0 - Very Coarse, 1 - Coarse, 2 - Fine, 3 - Very Fine)
|
int |
mode
mode accuracy mode (0 - Fast, 1 - Accurate, 2 - Mono)
|
protected String[] |
sMaxScaleDeformationChoices
maximum scale deformation choices
|
protected String[] |
sMinScaleDeformationChoices
minimum scale deformation choices
|
protected String[] |
sRegistrationModes
available registration modes
|
double |
stopThreshold
stopping threshold
|
Constructor and Description |
---|
Param()
Empty constructor
|
Param(int mode,
int img_subsamp_fact,
int min_scale_deformation,
int max_scale_deformation,
double divWeight,
double curlWeight,
double landmarkWeight,
double imageWeight,
double consistencyWeight,
double stopThreshold)
Full constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getAnisotropyCorrection() |
double |
getScaleCorrection() |
double |
getShearCorrection() |
void |
setAnisotropyCorrection(double anisotropyCorrection) |
void |
setScaleCorrection(double scaleCorrection) |
void |
setShearCorrection(double shearCorrection) |
boolean |
showDialog()
Show modal dialog to collect bUnwarpJ parameters
|
String |
toString()
Print parameters into a String
|
public int mode
public int img_subsamp_fact
public int min_scale_deformation
public int max_scale_deformation
public double divWeight
public double curlWeight
public double landmarkWeight
public double imageWeight
public double consistencyWeight
public double stopThreshold
protected final String[] sRegistrationModes
protected final String[] sMinScaleDeformationChoices
protected String[] sMaxScaleDeformationChoices
public Param()
public Param(int mode, int img_subsamp_fact, int min_scale_deformation, int max_scale_deformation, double divWeight, double curlWeight, double landmarkWeight, double imageWeight, double consistencyWeight, double stopThreshold)
mode
- mode accuracy mode (0 - Fast, 1 - Accurate, 2 - Mono)img_subsamp_fact
- image subsampling factor (from 0 to 7, representing 2^0=1 to 2^7 = 128)min_scale_deformation
- minimum scale deformation (0 - Very Coarse, 1 - Coarse, 2 - Fine, 3 - Very Fine)max_scale_deformation
- maximum scale deformation (0 - Very Coarse, 1 - Coarse, 2 - Fine, 3 - Very Fine, 4 - Super Fine)divWeight
- divergence weightcurlWeight
- curl weightlandmarkWeight
- landmark weightimageWeight
- image similarity weightconsistencyWeight
- consistency weightstopThreshold
- stopping thresholdpublic boolean showDialog()
public String toString()
public void setShearCorrection(double shearCorrection)
public double getShearCorrection()
public void setScaleCorrection(double scaleCorrection)
public double getScaleCorrection()
public void setAnisotropyCorrection(double anisotropyCorrection)
public double getAnisotropyCorrection()
Copyright © 2015–2021 Fiji. All rights reserved.