Class ImageOptimizationType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ImageOptimizationType
-
public class ImageOptimizationType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p20622_="https://jakarta.ee/xml/ns/jaxb" xmlns:p420076_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The optimization element allows to correct the images of the pages to optimize them for OCR. Except for the "deskew" parameter, none of the optimizations are actually visible in the generated documents. The other optimizations are only used to improve the text recognition.</p>
Java class for ImageOptimizationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ImageOptimizationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="deskew" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="despeckle" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="reduceDithering" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="noiseReduction" type="{http://schema.webpdf.de/1.0/operation}OptimizationIntensityType" default="low" /> <attribute name="noiseReductionValue" default="1.0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0.0"/> </restriction> </simpleType> </attribute> <attribute name="gammaCorrection" type="{http://schema.webpdf.de/1.0/operation}OptimizationIntensityType" default="off" /> <attribute name="gammaCorrectionValue" default="0.0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0.0"/> </restriction> </simpleType> </attribute> <attribute name="increaseContrast" type="{http://schema.webpdf.de/1.0/operation}OptimizationIntensityType" default="off" /> <attribute name="increaseContrastValue" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="-100"/> <maxInclusive value="100"/> </restriction> </simpleType> </attribute> <attribute name="edgeAccentuation" type="{http://schema.webpdf.de/1.0/operation}OptimizationIntensityType" default="low" /> <attribute name="edgeAccentuationValue" default="100"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="sharpen" type="{http://schema.webpdf.de/1.0/operation}OptimizationIntensityType" default="low" /> <attribute name="sharpenValue" default="1.0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0.0"/> </restriction> </simpleType> </attribute> <attribute name="medianFilter" type="{http://schema.webpdf.de/1.0/operation}OptimizationIntensityType" default="low" /> <attribute name="medianFilterValue" default="1"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Booleandeskewprotected Booleandespeckleprotected OptimizationIntensityTypeedgeAccentuationprotected IntegeredgeAccentuationValueprotected OptimizationIntensityTypegammaCorrectionprotected FloatgammaCorrectionValueprotected OptimizationIntensityTypeincreaseContrastprotected IntegerincreaseContrastValueprotected OptimizationIntensityTypemedianFilterprotected IntegermedianFilterValueprotected OptimizationIntensityTypenoiseReductionprotected FloatnoiseReductionValueprotected BooleanreduceDitheringprotected OptimizationIntensityTypesharpenprotected FloatsharpenValue
-
Constructor Summary
Constructors Constructor Description ImageOptimizationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptimizationIntensityTypegetEdgeAccentuation()Gets the value of the edgeAccentuation property.intgetEdgeAccentuationValue()Gets the value of the edgeAccentuationValue property.OptimizationIntensityTypegetGammaCorrection()Gets the value of the gammaCorrection property.floatgetGammaCorrectionValue()Gets the value of the gammaCorrectionValue property.OptimizationIntensityTypegetIncreaseContrast()Gets the value of the increaseContrast property.intgetIncreaseContrastValue()Gets the value of the increaseContrastValue property.OptimizationIntensityTypegetMedianFilter()Gets the value of the medianFilter property.intgetMedianFilterValue()Gets the value of the medianFilterValue property.OptimizationIntensityTypegetNoiseReduction()Gets the value of the noiseReduction property.floatgetNoiseReductionValue()Gets the value of the noiseReductionValue property.OptimizationIntensityTypegetSharpen()Gets the value of the sharpen property.floatgetSharpenValue()Gets the value of the sharpenValue property.booleanisDeskew()Gets the value of the deskew property.booleanisDespeckle()Gets the value of the despeckle property.booleanisReduceDithering()Gets the value of the reduceDithering property.booleanisSetDeskew()booleanisSetDespeckle()booleanisSetEdgeAccentuation()booleanisSetEdgeAccentuationValue()booleanisSetGammaCorrection()booleanisSetGammaCorrectionValue()booleanisSetIncreaseContrast()booleanisSetIncreaseContrastValue()booleanisSetMedianFilter()booleanisSetMedianFilterValue()booleanisSetNoiseReduction()booleanisSetNoiseReductionValue()booleanisSetReduceDithering()booleanisSetSharpen()booleanisSetSharpenValue()voidsetDeskew(boolean value)Sets the value of the deskew property.voidsetDespeckle(boolean value)Sets the value of the despeckle property.voidsetEdgeAccentuation(OptimizationIntensityType value)Sets the value of the edgeAccentuation property.voidsetEdgeAccentuationValue(int value)Sets the value of the edgeAccentuationValue property.voidsetGammaCorrection(OptimizationIntensityType value)Sets the value of the gammaCorrection property.voidsetGammaCorrectionValue(float value)Sets the value of the gammaCorrectionValue property.voidsetIncreaseContrast(OptimizationIntensityType value)Sets the value of the increaseContrast property.voidsetIncreaseContrastValue(int value)Sets the value of the increaseContrastValue property.voidsetMedianFilter(OptimizationIntensityType value)Sets the value of the medianFilter property.voidsetMedianFilterValue(int value)Sets the value of the medianFilterValue property.voidsetNoiseReduction(OptimizationIntensityType value)Sets the value of the noiseReduction property.voidsetNoiseReductionValue(float value)Sets the value of the noiseReductionValue property.voidsetReduceDithering(boolean value)Sets the value of the reduceDithering property.voidsetSharpen(OptimizationIntensityType value)Sets the value of the sharpen property.voidsetSharpenValue(float value)Sets the value of the sharpenValue property.voidunsetDeskew()voidunsetDespeckle()voidunsetEdgeAccentuationValue()voidunsetGammaCorrectionValue()voidunsetIncreaseContrastValue()voidunsetMedianFilterValue()voidunsetNoiseReductionValue()voidunsetReduceDithering()voidunsetSharpenValue()
-
-
-
Field Detail
-
deskew
protected Boolean deskew
-
despeckle
protected Boolean despeckle
-
reduceDithering
protected Boolean reduceDithering
-
noiseReduction
protected OptimizationIntensityType noiseReduction
-
noiseReductionValue
protected Float noiseReductionValue
-
gammaCorrection
protected OptimizationIntensityType gammaCorrection
-
gammaCorrectionValue
protected Float gammaCorrectionValue
-
increaseContrast
protected OptimizationIntensityType increaseContrast
-
increaseContrastValue
protected Integer increaseContrastValue
-
edgeAccentuation
protected OptimizationIntensityType edgeAccentuation
-
edgeAccentuationValue
protected Integer edgeAccentuationValue
-
sharpen
protected OptimizationIntensityType sharpen
-
sharpenValue
protected Float sharpenValue
-
medianFilter
protected OptimizationIntensityType medianFilter
-
medianFilterValue
protected Integer medianFilterValue
-
-
Method Detail
-
isDeskew
public boolean isDeskew()
Gets the value of the deskew property.- Returns:
- possible object is
Boolean
-
setDeskew
public void setDeskew(boolean value)
Sets the value of the deskew property.- Parameters:
value- allowed object isBoolean
-
isSetDeskew
public boolean isSetDeskew()
-
unsetDeskew
public void unsetDeskew()
-
isDespeckle
public boolean isDespeckle()
Gets the value of the despeckle property.- Returns:
- possible object is
Boolean
-
setDespeckle
public void setDespeckle(boolean value)
Sets the value of the despeckle property.- Parameters:
value- allowed object isBoolean
-
isSetDespeckle
public boolean isSetDespeckle()
-
unsetDespeckle
public void unsetDespeckle()
-
isReduceDithering
public boolean isReduceDithering()
Gets the value of the reduceDithering property.- Returns:
- possible object is
Boolean
-
setReduceDithering
public void setReduceDithering(boolean value)
Sets the value of the reduceDithering property.- Parameters:
value- allowed object isBoolean
-
isSetReduceDithering
public boolean isSetReduceDithering()
-
unsetReduceDithering
public void unsetReduceDithering()
-
getNoiseReduction
public OptimizationIntensityType getNoiseReduction()
Gets the value of the noiseReduction property.- Returns:
- possible object is
OptimizationIntensityType
-
setNoiseReduction
public void setNoiseReduction(OptimizationIntensityType value)
Sets the value of the noiseReduction property.- Parameters:
value- allowed object isOptimizationIntensityType
-
isSetNoiseReduction
public boolean isSetNoiseReduction()
-
getNoiseReductionValue
public float getNoiseReductionValue()
Gets the value of the noiseReductionValue property.- Returns:
- possible object is
Float
-
setNoiseReductionValue
public void setNoiseReductionValue(float value)
Sets the value of the noiseReductionValue property.- Parameters:
value- allowed object isFloat
-
isSetNoiseReductionValue
public boolean isSetNoiseReductionValue()
-
unsetNoiseReductionValue
public void unsetNoiseReductionValue()
-
getGammaCorrection
public OptimizationIntensityType getGammaCorrection()
Gets the value of the gammaCorrection property.- Returns:
- possible object is
OptimizationIntensityType
-
setGammaCorrection
public void setGammaCorrection(OptimizationIntensityType value)
Sets the value of the gammaCorrection property.- Parameters:
value- allowed object isOptimizationIntensityType
-
isSetGammaCorrection
public boolean isSetGammaCorrection()
-
getGammaCorrectionValue
public float getGammaCorrectionValue()
Gets the value of the gammaCorrectionValue property.- Returns:
- possible object is
Float
-
setGammaCorrectionValue
public void setGammaCorrectionValue(float value)
Sets the value of the gammaCorrectionValue property.- Parameters:
value- allowed object isFloat
-
isSetGammaCorrectionValue
public boolean isSetGammaCorrectionValue()
-
unsetGammaCorrectionValue
public void unsetGammaCorrectionValue()
-
getIncreaseContrast
public OptimizationIntensityType getIncreaseContrast()
Gets the value of the increaseContrast property.- Returns:
- possible object is
OptimizationIntensityType
-
setIncreaseContrast
public void setIncreaseContrast(OptimizationIntensityType value)
Sets the value of the increaseContrast property.- Parameters:
value- allowed object isOptimizationIntensityType
-
isSetIncreaseContrast
public boolean isSetIncreaseContrast()
-
getIncreaseContrastValue
public int getIncreaseContrastValue()
Gets the value of the increaseContrastValue property.- Returns:
- possible object is
Integer
-
setIncreaseContrastValue
public void setIncreaseContrastValue(int value)
Sets the value of the increaseContrastValue property.- Parameters:
value- allowed object isInteger
-
isSetIncreaseContrastValue
public boolean isSetIncreaseContrastValue()
-
unsetIncreaseContrastValue
public void unsetIncreaseContrastValue()
-
getEdgeAccentuation
public OptimizationIntensityType getEdgeAccentuation()
Gets the value of the edgeAccentuation property.- Returns:
- possible object is
OptimizationIntensityType
-
setEdgeAccentuation
public void setEdgeAccentuation(OptimizationIntensityType value)
Sets the value of the edgeAccentuation property.- Parameters:
value- allowed object isOptimizationIntensityType
-
isSetEdgeAccentuation
public boolean isSetEdgeAccentuation()
-
getEdgeAccentuationValue
public int getEdgeAccentuationValue()
Gets the value of the edgeAccentuationValue property.- Returns:
- possible object is
Integer
-
setEdgeAccentuationValue
public void setEdgeAccentuationValue(int value)
Sets the value of the edgeAccentuationValue property.- Parameters:
value- allowed object isInteger
-
isSetEdgeAccentuationValue
public boolean isSetEdgeAccentuationValue()
-
unsetEdgeAccentuationValue
public void unsetEdgeAccentuationValue()
-
getSharpen
public OptimizationIntensityType getSharpen()
Gets the value of the sharpen property.- Returns:
- possible object is
OptimizationIntensityType
-
setSharpen
public void setSharpen(OptimizationIntensityType value)
Sets the value of the sharpen property.- Parameters:
value- allowed object isOptimizationIntensityType
-
isSetSharpen
public boolean isSetSharpen()
-
getSharpenValue
public float getSharpenValue()
Gets the value of the sharpenValue property.- Returns:
- possible object is
Float
-
setSharpenValue
public void setSharpenValue(float value)
Sets the value of the sharpenValue property.- Parameters:
value- allowed object isFloat
-
isSetSharpenValue
public boolean isSetSharpenValue()
-
unsetSharpenValue
public void unsetSharpenValue()
-
getMedianFilter
public OptimizationIntensityType getMedianFilter()
Gets the value of the medianFilter property.- Returns:
- possible object is
OptimizationIntensityType
-
setMedianFilter
public void setMedianFilter(OptimizationIntensityType value)
Sets the value of the medianFilter property.- Parameters:
value- allowed object isOptimizationIntensityType
-
isSetMedianFilter
public boolean isSetMedianFilter()
-
getMedianFilterValue
public int getMedianFilterValue()
Gets the value of the medianFilterValue property.- Returns:
- possible object is
Integer
-
setMedianFilterValue
public void setMedianFilterValue(int value)
Sets the value of the medianFilterValue property.- Parameters:
value- allowed object isInteger
-
isSetMedianFilterValue
public boolean isSetMedianFilterValue()
-
unsetMedianFilterValue
public void unsetMedianFilterValue()
-
-