boofcv.alg.distort
Enum AdjustmentType
- java.lang.Object
-
- java.lang.Enum<AdjustmentType>
-
- boofcv.alg.distort.AdjustmentType
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AdjustmentType>
public enum AdjustmentType extends java.lang.Enum<AdjustmentType>
Types of adjustments that can be done to an undistorted image.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description EXPANDThe undistorted view will be entirely filled with pixels from the distorted view.FULL_VIEWThe undistorted view will contain all the pixels in the original distorted image.NONEDon't adjust the view for visibility
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static AdjustmentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdjustmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AdjustmentType NONE
Don't adjust the view for visibility
-
FULL_VIEW
public static final AdjustmentType FULL_VIEW
The undistorted view will contain all the pixels in the original distorted image. No information is lost but you have black borders to deal with
-
EXPAND
public static final AdjustmentType EXPAND
The undistorted view will be entirely filled with pixels from the distorted view. There will be no black regions around the border. This is accomplished by expanding the image. The advantage is that there are no edge conditions when image processing due to the black border, but you will discard information.
-
-
Method Detail
-
values
public static AdjustmentType[] 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 (AdjustmentType c : AdjustmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdjustmentType 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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG