Enum ImageChannelDataType

    • Method Detail

      • values

        public static ImageChannelDataType[] 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 (ImageChannelDataType c : ImageChannelDataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImageChannelDataType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNativeType

        public net.haesleinhuepf.clij.coremem.enums.NativeTypeEnum getNativeType()
        Return correspodning native type.
        Returns:
        native type.
      • isNormalized

        public boolean isNormalized()
        Returns true if this image channel data type is normalized
        Returns:
        true if normalized, false otherwise
      • isFloat

        public boolean isFloat()
        Returns true if this is a float channel data type.
        Returns:
        true if float data type, false otherwise
      • isInteger

        public boolean isInteger()
        Returns true if this is an integer channel data type.
        Returns:
        true if integer data type, false otherwise
      • isSigned

        public boolean isSigned()
        Returns true if this is channel data type has a sign.
        Returns:
        true if data type has sign, false otherwise
      • isUnSigned

        public boolean isUnSigned()
        Returns true if this is channel data type is unsigned.
        Returns:
        true if data type is unsigned, false otherwise