Enum InterpolationFlagsEnum
- java.lang.Object
-
- java.lang.Enum<InterpolationFlagsEnum>
-
- edu.wpi.grip.generated.opencv_imgproc.enumeration.InterpolationFlagsEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InterpolationFlagsEnum>
public enum InterpolationFlagsEnum extends java.lang.Enum<InterpolationFlagsEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTER_AREA
resampling using pixel area relation.INTER_CUBIC
bicubic interpolationINTER_LANCZOS4
Lanczos interpolation over 8x8 neighborhoodINTER_LINEAR
bilinear interpolationINTER_MAX
mask for interpolation codesINTER_NEAREST
nearest neighbor interpolationWARP_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.
-
-
-
Enum Constant Detail
-
INTER_NEAREST
public static final InterpolationFlagsEnum INTER_NEAREST
nearest neighbor interpolation
-
INTER_LINEAR
public static final InterpolationFlagsEnum INTER_LINEAR
bilinear interpolation
-
INTER_CUBIC
public static final InterpolationFlagsEnum INTER_CUBIC
bicubic interpolation
-
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
-
INTER_MAX
public static final InterpolationFlagsEnum INTER_MAX
mask for interpolation codes
-
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$
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-