public enum DefectType extends Enum<DefectType>
| Enum Constant and Description |
|---|
ALL
All supported image defects.
|
BLUR
The image is out of focus.
|
GLARE
Areas in an image caused by uneven lighting, such as spot lights or flash.
|
LOW_CONTRAST
Highlights and shadows typically appearing on curved pages.
|
SALT_PEPPER_NOISE
Random white and black pixels scattered across the area.
|
| Modifier and Type | Method and Description |
|---|---|
static DefectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefectType SALT_PEPPER_NOISE
public static final DefectType LOW_CONTRAST
public static final DefectType BLUR
public static final DefectType GLARE
public static final DefectType ALL
public static DefectType[] values()
for (DefectType c : DefectType.values()) System.out.println(c);
public static DefectType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 Aspose. All rights reserved.