Enum InterpolationFlagsEnum

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      INTER_AREA
      resampling using pixel area relation.
      INTER_CUBIC
      bicubic interpolation
      INTER_LANCZOS4
      Lanczos interpolation over 8x8 neighborhood
      INTER_LINEAR
      bilinear interpolation
      INTER_MAX
      mask for interpolation codes
      INTER_NEAREST
      nearest neighbor interpolation
      WARP_FILL_OUTLIERS
      flag, fills all of the destination image pixels.
      WARP_INVERSE_MAP
      flag, inverse transformation For example, polar transforms: - flag is __not__ set: \f$dst( \phi , \rho ) = src(x,y)\f$ - flag is set: \f$dst(x,y) = src( \phi , \rho )\f$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int value  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InterpolationFlagsEnum valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static InterpolationFlagsEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • INTER_AREA

        public static final InterpolationFlagsEnum INTER_AREA
        resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire'-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.
      • INTER_LANCZOS4

        public static final InterpolationFlagsEnum INTER_LANCZOS4
        Lanczos interpolation over 8x8 neighborhood
      • WARP_FILL_OUTLIERS

        public static final InterpolationFlagsEnum WARP_FILL_OUTLIERS
        flag, fills all of the destination image pixels. If some of them correspond to outliers in the source image, they are set to zero
      • WARP_INVERSE_MAP

        public static final InterpolationFlagsEnum WARP_INVERSE_MAP
        flag, inverse transformation For example, polar transforms: - flag is __not__ set: \f$dst( \phi , \rho ) = src(x,y)\f$ - flag is set: \f$dst(x,y) = src( \phi , \rho )\f$
    • Field Detail

      • value

        public final int value
    • Method Detail

      • values

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

        public static InterpolationFlagsEnum 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