Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
pnmtofiasco(1)
Edit
PageHistory
Diff
Info
LikePages
pnmmtofiasco !!!pnmmtofiasco NAME SYNOPSIS DESCRIPTION OPTIONS EXAMPLES FILES ENVIRONMENT SEE ALSO AUTHOR ---- !!NAME pnmtofiasco - Convert PNM file to FIASCO compressed file !!SYNOPSIS __pnmtofiasco__ [[''option'']... [[''filename'']... !!DESCRIPTION __pnmtofiasco__ compresses the named pbm, pgm, or ppm image files, or Standard Input if no file is named, and produces a FIASCO file on Standard Output. !!OPTIONS All option names may be abbreviated; for example, --optimize may be written --optim or --opt. For most options a one letter short option is provided. Mandatory or optional arguments to long options are mandatory or optional for short options, too. Both short and long options are case sensitive. The basic options are: __-i__ ''name'', __--input-name=__''name'' Compress the named images, not Standard Input. If ''name'' is __-__, read Standard Input. ''name'' has to be either an image filename or a template of the form: prefix[[start-end{+,-}step]suffix Templates are useful when compressing video streams: e.g., if you specify the template __img0[[12-01-2].pgm__, then __pnmtofiasco__ compresses the images img012.pgm, img010.pgm, ..., img002.pgm. If ''name'' is a relative path, __pnmtofiasco__ searches for the image files in the current directory and in the (colon-separated) list of directories given by the environment variable __FIASCO_IMAGES__. __-o__ ''output-file'', __--output-name=__''name'' Write FIASCO output to the named file, not to Standard Output. If ''name'' is a relative path and the environment variable __FIASCO_DATA__ is a (colon-separated) list of directories, then __pnmtofiasco__ writes the output file to the first (writable) directory of this list. Otherwise, __pnmtofiasco__ write it to the current directory. __-q__ ''N'', __--quality=__''N'' Set quality of compression to ''N''. Quality is 1 (worst) to 100 (best); default is 20. __-v__, __--version__ Print __pnmtofiasco__ version number, then exit. __-V__ ''N'', __--verbose__ ''N'' Set level of verbosity to ''N''. Level is 0 (no output at all), 1 (show progress meter), or 2 (show detailed compression statistics); default is 1. __-B__ ''N'', __--progress-meter__ ''N'' Set type of progress-meter to ''N''. The following types are available; default is 1: __0__: no progress meter __1__: RPM style progress bar using 50 hash marks __2__: percentage meter __-f__ ''name'', __--config=__''name'' Load parameter file ''name'' to initialize the options of __pnmtofiasco__. See file __system.fiascorc__ for an example of the syntax. Options of __pnmtofiasco__ are set by any of the following methods (in the specified order): 1) Global ressource file __/etc/system.fiascorc__ 2) $HOME/.fiascorc 3) command line 4) --config=''name'' __-h__, __--info__ Print brief help, then exit. __-H__, __--help__ Print detailed help, then exit. The options for advanced users are: __-b__ ''name'', __--basis-name=__''name'' Preload compression basis ''name'' into FIASCO. The basis ''name'' provides the initial compression dictionary. Either use one of the files ''pnmtofiasco__ or create a new ASCII basis file. __-z__ ''N'', __--optimize=__''N'' __Set optimization level to__ ''N''. Level is 0 (fastes) to 3 (slowest); default is 1. Be warned, the encoding time dramatically increased when ''N''=__2__ or ''N''=__3__ while the compression performance only slightly improves. __-P__, __--prediction__ Use additional predictive coding. If this optimization is enabled then the image is compressed in two steps. In the first step, a coarse approximation of the image is computed using large unichrome blocks. Finally, the delta image is computed and the prediction error is approximated using the standard FIASCO algorithm. __-D__ ''N'', __--dictionary-size=__''N'' Set size of dictionary that is used when coding the luminance band to ''N''; default is 10000, i.e., the dictionary is not restricted. __-C__ ''N'', __--chroma-dictionary=__''N'' Set size of dictionary that is used when coding chroma bands to ''N''; default is 40. __-Q__ ''N'', __--chroma-qfactor=__''N'' Reduce the quality of chroma band compression ''N''-times with respect to the user defined quality ''q'' of the luminance band compression (__--quality__=''q''); default is 2. __-t__ ''N'', __--tiling-exponent=__''N'' Subdivide the image into 2^''N'' tiles prior coding; default is 4, i.e. the image is subdivided into 16 tiles. The processing order of the individual tiles is defined by the option __--tiling-method=__''name''__.__ __-T__ ''name''__, --tiling-method=__''name'' Order the individual image tiles (the image is subdivided into; see option __--tiling-exponent=__''N'') by method ''name''; default is '' __desc-variance__: Tiles with small variances are processed first. __asc-variance__: Tiles with large variances are processed first. __desc-spiral__: Tiles are process in spiral order starting in the middle. __asc-spiral__: Tiles are process in spiral order starting at the border. __--rpf-mantissa=__''N'' Use ''N'' mantissa bits for quantized coefficients. __--dc-rpf-mantissa=__''N'' Use ''N'' mantissa bits for quantized DC coefficients. __--rpf-range=__''N'' Coefficients outside the quantization interval [[-''N'',+''N''] are set to zero. __--dc-rpf-range=__''N'' DC coefficients outside the quantization interval [[-''N'',+''N''] are set to zero. Additional options for video compression are: __-s__ ''N'', __--smooth=__''N'' Smooth decompressed reference frames along the partitioning borders by the given amount ''N''. ''N'' is 0 (no smoothing) to 100; default is 70. This factor is stored in the FIASCO file. __-m__ ''N'', __--min-level=__''N'' Start prediction (motion compensated prediction or additional prediction) on block level ''N''; default is level 6. I.e., motion compensation is applied to all image blocks of at least 8x8 pixels (binary tree level ''N''=6), 16x8 (''N''=7), 16x16 (''N''=8), etc. __-M__ ''N'', __--max-level=__''N'' Stop prediction (motion compensated prediction or additional prediction) on block level ''N''; default is level 10. I.e., motion compensation is applied to all image blocks of at most 16x16 pixels (''N''=8), 32x16 (''N''=9), 32x32 (''N''=10), etc. __-2__, __--half-pixel__ Use half pixel precise motion compensation. __-F__ ''N'', __--fps=__''N'' Set number of frames per second to ''N''. This value is stored in the FIASCO output file and is used in the decoder dfiasco(1) to control the framerate. __-p__ ''type'', __--pattern=__''type'' Defines the type of inter frame compression which should be applied to individual frames of a video stream. ''type'' is a sequence of characters; default is ''N__ defines the type of predicting which should be used for frame __N__; the frame type pattern is periodically extended. Valid characters are: __I__: intra frame, i.e., no motion compensated prediction is used at all. __P__: predicted frame, i.e., a previously encoded frame is used for prediction (forward prediction). __B__: bidirectional predicted frame, i.e., not only a previously shown frame but also a frame of the future is used for prediction (forward, backward or interpolated prediction). __--cross-B-search__ Instead of using exhaustive search the __--B-as-past-ref__ Also use previously encoded B-frames when prediction the current frame. If this option is not set, only I- and P-frames are used to predict the current frame. !!EXAMPLES pnmtofiasco Compress the still image pnmtofiasco -2 -p Compress the video frames !!FILES __/etc/system.fiascorc__ The systemwide initialization file. $HOME__/.fiascorc__ The personal initialization file. !!ENVIRONMENT __FIASCO_IMAGES__ Search path for image files. Default is __FIASCO_DATA__ Search and save path for FIASCO files. Default is !!SEE ALSO fiascotopnm(1), ppmtojpeg(1), pnmtojbig(1), ppmtogif(1), pnm(5) Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger. __Weighted Finite Automata for Video Compression__, IEEE Journal on Selected Areas In Communications, January 1998 Ullrich Hafner. __Low Bit-Rate Image and Video Coding with Weighted Finite Automata__, Ph.D. thesis, Mensch __ !!AUTHOR Ullrich Hafner ----
2 pages link to
pnmtofiasco(1)
:
fiascotopnm(1)
Man1p
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.