Class ImageOptimizationType


  • public class ImageOptimizationType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin: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 Detail

      • deskew

        protected Boolean deskew
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Straight scans of pages can be created with a slight skew. If this value is set to true, an attempt is made to counter-rotate this skew and thus "deskew" the page. The results of this manipulation are visible in the resulting document.</p>
         
      • despeckle

        protected Boolean despeckle
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this mode is set, impurities and stains are reduced. These are caused, for example, by dust or dirt on the pane of a scanner. It is recommended to activate this optimization.</p>
         
      • reduceDithering

        protected Boolean reduceDithering
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">In black and white images (including black and white scans), color values are often represented by a halftone according to their brightness (dithering / moiré effect). These halftones/hatchings translate a color value into a uniform sequence of black and white areas that visually appear to be a uniform area of the same color/brightness. Such patterns can be very difficult to delineate against actual text that may be in such a "colored" area. Setting this value to true will try to reduce such dithering patterns. This mode should only be set if absolutely necessary, as this process can be very lossy.</p>
         
      • noiseReduction

        protected OptimizationIntensityType noiseReduction
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this mode is set, an attempt is made to remove background noise from the image, which is caused by irregularities in the image background or by artifacts that can result from image compression. Such irregularities - especially around letters - can affect recognition. It is recommended to activate this optimization.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Choose your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with high intensity and accept possible information losses.</li></ul></p>
         
      • noiseReductionValue

        protected Float noiseReductionValue
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the noiseReduction mode "value" the free choice of a value for this optimization. A decimal value greater than 0 indicates the intensity with which the effect is to be applied to the image. The predefined values range between 1.0 (low) and 3.0 (high).</p>
         
      • gammaCorrection

        protected OptimizationIntensityType gammaCorrection
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This value should only be activated for very poorly exposed images. Selective light value spreading (compression) is used to emphasize the dark areas of the image over the light areas (gamma correction) and thus make detection possible at all. This mode should only be activated if absolutely necessary, since it can lead to strong information losses or otherwise make a recognition impossible. Together with an increase in image contrast, this optimization can be used, for example, to remove image backgrounds that would otherwise be difficult to distinguish from the letters applied to them.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Select your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
      • gammaCorrectionValue

        protected Float gammaCorrectionValue
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the gammaCorrection mode "value" the free choice of a value for this optimization. A comma value greater than 0 specifies the value to be applied to the image as gamma correction. The predefined values range between 1.5 (low) and 2.5 (high).</p>
         
      • increaseContrast

        protected OptimizationIntensityType increaseContrast
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This value should only be activated for very poorly exposed images. By increasing the contrast, an attempt is made to emphasize the dark areas of the image over the light ones, thus making detection possible at all. This mode should only be activated if absolutely necessary, as it can lead to severe information loss or otherwise make detection impossible. Together with gamma correction, this optimization can be used, for example, to remove image backgrounds that would otherwise be difficult to distinguish from the letters applied to them.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Choose your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
      • increaseContrastValue

        protected Integer increaseContrastValue
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the increaseContrast mode "value" the free choice of a value for this optimization. An integer value between -100 and +100 specifies the intensity of the contrast enhancement. The predefined values range between 25 (low) and 75 (high).</p>
         
      • edgeAccentuation

        protected OptimizationIntensityType edgeAccentuation
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set, a Marr-Hildreth operator is used to accentuate the edges of the image. This optimization usually leads to significantly better recognition results, but can also lead to information loss.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Choose your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
      • edgeAccentuationValue

        protected Integer edgeAccentuationValue
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the edgeAccentuation mode "value" the free choice of a value for this optimization. An integer percentage value indicates the intensity of the edge accentuation. The actual image is overlaid with a corresponding sharpening filter for the edge accentuation - this percentage value specifies how intensively this effect should be emphasized compared to the original image. The predefined values range between 100 (low) and 200 percent (high).</p>
         
      • sharpen

        protected OptimizationIntensityType sharpen
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set, edge sharpening is applied to the image. This optimization usually leads to significantly better recognition results, but can also lead to information loss.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Select your own value</li><li>low = Apply optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
      • sharpenValue

        protected Float sharpenValue
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the sharpen mode "value" the free choice of a value for this optimization. A comma value greater than 0 indicates the intensity with which the effect is to be applied to the image. The predefined values range between 1.0 (low) and 3.0 (high).</p>
         
      • medianFilter

        protected OptimizationIntensityType medianFilter
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set, the color and brightness diversity of the image is selectively reduced and unified via a median filter. In general, this makes areas more uniform and more clearly distinguishable from their surroundings. This can lead to better recognition results, especially for images with a colored or grayscale background.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Select your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
      • medianFilterValue

        protected Integer medianFilterValue
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows, in combination with the medianFilter mode "value", the free choice of a value for this optimization. An integer value greater than 0 specifies the grid size with which the effect is to be applied to the image. The predefined values range between 1 (low) and 3 (high).</p>
         
    • Constructor Detail

      • ImageOptimizationType

        public ImageOptimizationType()
    • Method Detail

      • isDeskew

        public boolean isDeskew()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Straight scans of pages can be created with a slight skew. If this value is set to true, an attempt is made to counter-rotate this skew and thus "deskew" the page. The results of this manipulation are visible in the resulting document.</p>
         
        Returns:
        possible object is Boolean
      • setDeskew

        public void setDeskew​(boolean value)
        Sets the value of the deskew property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isDeskew()
      • isSetDeskew

        public boolean isSetDeskew()
      • unsetDeskew

        public void unsetDeskew()
      • isDespeckle

        public boolean isDespeckle()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this mode is set, impurities and stains are reduced. These are caused, for example, by dust or dirt on the pane of a scanner. It is recommended to activate this optimization.</p>
         
        Returns:
        possible object is Boolean
      • setDespeckle

        public void setDespeckle​(boolean value)
        Sets the value of the despeckle property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isDespeckle()
      • isSetDespeckle

        public boolean isSetDespeckle()
      • unsetDespeckle

        public void unsetDespeckle()
      • isReduceDithering

        public boolean isReduceDithering()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">In black and white images (including black and white scans), color values are often represented by a halftone according to their brightness (dithering / moiré effect). These halftones/hatchings translate a color value into a uniform sequence of black and white areas that visually appear to be a uniform area of the same color/brightness. Such patterns can be very difficult to delineate against actual text that may be in such a "colored" area. Setting this value to true will try to reduce such dithering patterns. This mode should only be set if absolutely necessary, as this process can be very lossy.</p>
         
        Returns:
        possible object is Boolean
      • setReduceDithering

        public void setReduceDithering​(boolean value)
        Sets the value of the reduceDithering property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isReduceDithering()
      • isSetReduceDithering

        public boolean isSetReduceDithering()
      • unsetReduceDithering

        public void unsetReduceDithering()
      • getNoiseReduction

        public OptimizationIntensityType getNoiseReduction()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this mode is set, an attempt is made to remove background noise from the image, which is caused by irregularities in the image background or by artifacts that can result from image compression. Such irregularities - especially around letters - can affect recognition. It is recommended to activate this optimization.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Choose your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with high intensity and accept possible information losses.</li></ul></p>
         
        Returns:
        possible object is OptimizationIntensityType
      • isSetNoiseReduction

        public boolean isSetNoiseReduction()
      • getNoiseReductionValue

        public float getNoiseReductionValue()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the noiseReduction mode "value" the free choice of a value for this optimization. A decimal value greater than 0 indicates the intensity with which the effect is to be applied to the image. The predefined values range between 1.0 (low) and 3.0 (high).</p>
         
        Returns:
        possible object is Float
      • setNoiseReductionValue

        public void setNoiseReductionValue​(float value)
        Sets the value of the noiseReductionValue property.
        Parameters:
        value - allowed object is Float
        See Also:
        getNoiseReductionValue()
      • isSetNoiseReductionValue

        public boolean isSetNoiseReductionValue()
      • unsetNoiseReductionValue

        public void unsetNoiseReductionValue()
      • getGammaCorrection

        public OptimizationIntensityType getGammaCorrection()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This value should only be activated for very poorly exposed images. Selective light value spreading (compression) is used to emphasize the dark areas of the image over the light areas (gamma correction) and thus make detection possible at all. This mode should only be activated if absolutely necessary, since it can lead to strong information losses or otherwise make a recognition impossible. Together with an increase in image contrast, this optimization can be used, for example, to remove image backgrounds that would otherwise be difficult to distinguish from the letters applied to them.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Select your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
        Returns:
        possible object is OptimizationIntensityType
      • isSetGammaCorrection

        public boolean isSetGammaCorrection()
      • getGammaCorrectionValue

        public float getGammaCorrectionValue()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the gammaCorrection mode "value" the free choice of a value for this optimization. A comma value greater than 0 specifies the value to be applied to the image as gamma correction. The predefined values range between 1.5 (low) and 2.5 (high).</p>
         
        Returns:
        possible object is Float
      • setGammaCorrectionValue

        public void setGammaCorrectionValue​(float value)
        Sets the value of the gammaCorrectionValue property.
        Parameters:
        value - allowed object is Float
        See Also:
        getGammaCorrectionValue()
      • isSetGammaCorrectionValue

        public boolean isSetGammaCorrectionValue()
      • unsetGammaCorrectionValue

        public void unsetGammaCorrectionValue()
      • getIncreaseContrast

        public OptimizationIntensityType getIncreaseContrast()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This value should only be activated for very poorly exposed images. By increasing the contrast, an attempt is made to emphasize the dark areas of the image over the light ones, thus making detection possible at all. This mode should only be activated if absolutely necessary, as it can lead to severe information loss or otherwise make detection impossible. Together with gamma correction, this optimization can be used, for example, to remove image backgrounds that would otherwise be difficult to distinguish from the letters applied to them.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Choose your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
        Returns:
        possible object is OptimizationIntensityType
      • isSetIncreaseContrast

        public boolean isSetIncreaseContrast()
      • getIncreaseContrastValue

        public int getIncreaseContrastValue()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the increaseContrast mode "value" the free choice of a value for this optimization. An integer value between -100 and +100 specifies the intensity of the contrast enhancement. The predefined values range between 25 (low) and 75 (high).</p>
         
        Returns:
        possible object is Integer
      • setIncreaseContrastValue

        public void setIncreaseContrastValue​(int value)
        Sets the value of the increaseContrastValue property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getIncreaseContrastValue()
      • isSetIncreaseContrastValue

        public boolean isSetIncreaseContrastValue()
      • unsetIncreaseContrastValue

        public void unsetIncreaseContrastValue()
      • getEdgeAccentuation

        public OptimizationIntensityType getEdgeAccentuation()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set, a Marr-Hildreth operator is used to accentuate the edges of the image. This optimization usually leads to significantly better recognition results, but can also lead to information loss.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Choose your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
        Returns:
        possible object is OptimizationIntensityType
      • isSetEdgeAccentuation

        public boolean isSetEdgeAccentuation()
      • getEdgeAccentuationValue

        public int getEdgeAccentuationValue()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the edgeAccentuation mode "value" the free choice of a value for this optimization. An integer percentage value indicates the intensity of the edge accentuation. The actual image is overlaid with a corresponding sharpening filter for the edge accentuation - this percentage value specifies how intensively this effect should be emphasized compared to the original image. The predefined values range between 100 (low) and 200 percent (high).</p>
         
        Returns:
        possible object is Integer
      • setEdgeAccentuationValue

        public void setEdgeAccentuationValue​(int value)
        Sets the value of the edgeAccentuationValue property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getEdgeAccentuationValue()
      • isSetEdgeAccentuationValue

        public boolean isSetEdgeAccentuationValue()
      • unsetEdgeAccentuationValue

        public void unsetEdgeAccentuationValue()
      • getSharpen

        public OptimizationIntensityType getSharpen()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set, edge sharpening is applied to the image. This optimization usually leads to significantly better recognition results, but can also lead to information loss.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Select your own value</li><li>low = Apply optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
        Returns:
        possible object is OptimizationIntensityType
      • isSetSharpen

        public boolean isSetSharpen()
      • getSharpenValue

        public float getSharpenValue()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows in combination with the sharpen mode "value" the free choice of a value for this optimization. A comma value greater than 0 indicates the intensity with which the effect is to be applied to the image. The predefined values range between 1.0 (low) and 3.0 (high).</p>
         
        Returns:
        possible object is Float
      • setSharpenValue

        public void setSharpenValue​(float value)
        Sets the value of the sharpenValue property.
        Parameters:
        value - allowed object is Float
        See Also:
        getSharpenValue()
      • isSetSharpenValue

        public boolean isSetSharpenValue()
      • unsetSharpenValue

        public void unsetSharpenValue()
      • getMedianFilter

        public OptimizationIntensityType getMedianFilter()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this value is set, the color and brightness diversity of the image is selectively reduced and unified via a median filter. In general, this makes areas more uniform and more clearly distinguishable from their surroundings. This can lead to better recognition results, especially for images with a colored or grayscale background.
                                 <ul><li>off = Do not apply this optimization</li><li>value = Select your own value</li><li>low = Perform optimization only with low intensity to avoid information loss.</li><li>medium = Perform optimization with medium intensity.</li><li>high = Perform optimization with strong intensity and accept possible information losses.</li></ul></p>
         
        Returns:
        possible object is OptimizationIntensityType
      • isSetMedianFilter

        public boolean isSetMedianFilter()
      • getMedianFilterValue

        public int getMedianFilterValue()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows, in combination with the medianFilter mode "value", the free choice of a value for this optimization. An integer value greater than 0 specifies the grid size with which the effect is to be applied to the image. The predefined values range between 1 (low) and 3 (high).</p>
         
        Returns:
        possible object is Integer
      • setMedianFilterValue

        public void setMedianFilterValue​(int value)
        Sets the value of the medianFilterValue property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getMedianFilterValue()
      • isSetMedianFilterValue

        public boolean isSetMedianFilterValue()
      • unsetMedianFilterValue

        public void unsetMedianFilterValue()