Enum SoImageRegistrationTransform.MetricTypes

    • Enum Constant Detail

      • EUCLIDIAN

        public static final SoImageRegistrationTransform.MetricTypes EUCLIDIAN
        Euclidean means the Euclidean distance, i.e., the mean squared difference between the gray values of model and reference. This metric computes values between and 0. Images closer to each other will have a metric closer to 0. where are the individual voxels and is the voxel count.
      • CORRELATION

        public static final SoImageRegistrationTransform.MetricTypes CORRELATION
        Correlation measures the correlation ratio of the registered images. This metric computes values between 0 and 1. The case correlation ratio = 1 corresponds to the case of two identical and registered images. where is the voxel mean.
      • NORMALIZED_MUTUAL_INFORMATION

        public static final SoImageRegistrationTransform.MetricTypes NORMALIZED_MUTUAL_INFORMATION
        The mutual information measures the information shared by both images. This metric computes values between 0 and . 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.

    • Method Detail

      • values

        public static SoImageRegistrationTransform.MetricTypes[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SoImageRegistrationTransform.MetricTypes c : SoImageRegistrationTransform.MetricTypes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SoImageRegistrationTransform.MetricTypes valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static SoImageRegistrationTransform.MetricTypes valueOf​(int val)
        Returns the enum constant of this type with the specified integer value
        Returns:
        the enum constant of this type with the specified integer value.
      • getValue

        public int getValue()
        Description copied from interface: IntegerValuedEnum
        Returns the integer value of the enum constant.
        Specified by:
        getValue in interface IntegerValuedEnum
        Returns:
        the integer value of the enum constant.