Class 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>
     
    • Constructor Detail

      • ImageOptimizationType

        public ImageOptimizationType()
    • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • isSetReduceDithering

        public boolean isSetReduceDithering()
      • unsetReduceDithering

        public void unsetReduceDithering()
      • 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 is Float
      • isSetNoiseReductionValue

        public boolean isSetNoiseReductionValue()
      • unsetNoiseReductionValue

        public void unsetNoiseReductionValue()
      • 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 is Float
      • isSetGammaCorrectionValue

        public boolean isSetGammaCorrectionValue()
      • unsetGammaCorrectionValue

        public void unsetGammaCorrectionValue()
      • 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 is Integer
      • isSetIncreaseContrastValue

        public boolean isSetIncreaseContrastValue()
      • unsetIncreaseContrastValue

        public void unsetIncreaseContrastValue()
      • 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 is Integer
      • isSetEdgeAccentuationValue

        public boolean isSetEdgeAccentuationValue()
      • unsetEdgeAccentuationValue

        public void unsetEdgeAccentuationValue()
      • 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 is Float
      • isSetSharpenValue

        public boolean isSetSharpenValue()
      • unsetSharpenValue

        public void unsetSharpenValue()
      • 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 is Integer
      • isSetMedianFilterValue

        public boolean isSetMedianFilterValue()
      • unsetMedianFilterValue

        public void unsetMedianFilterValue()