logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

optimize2bw - automatic thresholder of the ExactImage toolkit

Authors

JakubWilk <jwilk@debian.org>
           Wrote this manual page for the Debian system.

       https://exactcode.com/opensource/exactimage/
           This manual page incorporates texts found on the ExactImage homepage.

Description

       ExactImage is a fast C++ image processing library. Unlike many other library frameworks it allows
       operation in several color spaces and bit depths natively, resulting in low memory and computational
       requirements.

       optimize2bw reads image files and performs automatic thresholding and optional scaling on the data. It is
       useful for long term archiving of documents that have to be stored in sub-byte black and white data to
       reduce storage requirements.

Examples

           $ optimize2bw -i logo.jpg -o logo.tif
           Scale: 0

Name

       optimize2bw - automatic thresholder of the ExactImage toolkit

Options

-ifile, --inputfile
           Read image from the specified file.

       -ofile, --outputfile
           Save output image to the specified file.

       -n, --denoise
           Remove (“denoise”) single bit pixel noise.

       -dn, --dpin
           Scale the image to the specified resolution.

       -hn, --highn
           Set high normalization value.

       -ln, --lown
           Set low normalization value.

       -rn, --radiusn
           Set “unsharp mask” radius. The default is 0.

       -sn, --scalen
           Set output scale factor. The default is 1.0.

       -sdx, --standard-deviationx
           Set standard deviation for Gaussian distribution. The default is 0.0.

       -tn, --thresholdn
           Set threshold value. The default is 0.

       --help
           Display help text and exit.

See Also

exactimage(7)

Synopsis

optimize2bw [option...] {-i | --input} input-file  {-o | --output} output-fileoptimize2bw--help

See Also