public static enum SoImageRegistrationTransform.MetricTypes extends java.lang.Enum<SoImageRegistrationTransform.MetricTypes> implements IntegerValuedEnum
| Enum Constant and Description |
|---|
CORRELATION
Correlation measures the correlation ratio of the registered images.
|
EUCLIDIAN
Euclidean means the Euclidean distance, i.e., the mean squared difference between the gray values of model and reference.
|
NORMALIZED_MUTUAL_INFORMATION
The mutual information measures the information shared by both images.
|
| Modifier and Type | Method and Description |
|---|---|
static SoImageRegistrationTransform.MetricTypes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoImageRegistrationTransform.MetricTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoImageRegistrationTransform.MetricTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoImageRegistrationTransform.MetricTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoImageRegistrationTransform.MetricTypes EUCLIDIAN
and 0. Images closer to each other will have a metric closer to 0.
where
are the individual voxels and
is the voxel count.
Warning, this mode is temporary disabled, its selection will run the mutual information metric.
public static final SoImageRegistrationTransform.MetricTypes CORRELATION
where
is the voxel mean.public static final SoImageRegistrationTransform.MetricTypes NORMALIZED_MUTUAL_INFORMATION
. For instance, if images are independent, knowing
does not give any information about
and vice versa, so their mutual information is zero.
The mutual information metrics, especially the normalized one, are recommended when images from different modalities, e.g., CT and MRT, are to be registered.
The mutual information is:
Where
and
are the marginal entropies of the image histrograms and
is the joint entropy of the image histograms.
public static SoImageRegistrationTransform.MetricTypes[] values()
for (SoImageRegistrationTransform.MetricTypes c : SoImageRegistrationTransform.MetricTypes.values()) System.out.println(c);
public static SoImageRegistrationTransform.MetricTypes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static SoImageRegistrationTransform.MetricTypes fromValue(int val)
valueOf(int) instead.public static SoImageRegistrationTransform.MetricTypes valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com