--shape-filter-level=<0-100>

The shape-filter-level option specifies the balance between placing ambiguous shapes in the foreground and background layers. An ambiguous shape has both foreground and background layer characteristics. During segmentation, this shape may appear in the inappropriate layer because Document Express must "guess" where to place it. Objects in the foreground have lower color resolution, so ambiguous shapes placed in this layer may stand out unnaturally. (Eyebrows, for example, will appear as if someone drew them in by hand.) Objects in the background have lower overall resolution, so the edges of ambiguous shapes placed in this layer will appear blurry.

Assign the shape-filter-level option a whole number value between 0 and 100. A value of 0 indicates that every ambiguous shape should be placed in the foreground. A value of 100 indicates that every ambiguous shape should be placed in the background.

Determining which ambiguous shapes appear better in the foreground and background layers requires experimentation. If you are unsatisfied with the appearance of an encoded image, encode it again using the shape-filter-level option with different values to find the appropriate balance between foreground and background shapes.

NOTE: Foreground shapes generally require less storage space, and are the only objects delivered to the OCR module.

For more information about the foreground and background layers, see Segmentation Process.

 

Supporting command:

documenttodjvu