spatialblockdecode [-fp] [-hp] [-qp] [-ep] [-f1 filter1] [-f2 filter2] [-f3 filter3] [-w wavelet] [-b boundary] [-mv mvfile] [-q] bitstream sequence
Option -w specifies the wavelet, while option -b specifies the boundary extension for DWT used by the algorithm.
The desired bitrate of the output bitstream is specified by rate, which is expressed in bits per pixel of the original image sequence.
spatialblockdecode performs the corresponding decoding using the spatial-block algorithm, decoding the bitstream made by spatialblockencode and producing a reconstructed image sequence, sequence. For sane results, wavelet and boundary should be the same as they were for spatialblockencode.
For both encoding and decoding, sequence should indicate a collection of grayscale images of the same size stored as separate, numbered files; the filename indicated by sequence must contain one printf(3) -style numerical descriptor which will then be filled in the current frame number (e.g., football.%03d.pgm will become football.000.pgm, football.001.pgm, etc.; see QccPackIMG(3) ).
Both spatialblockencode and spatialblockdecode normally print to stdout a small amount of information after each frame is coded/decoded. If the -q (quiet) option is given, all printed output is suppressed.
spatialblockencode and spatialblockdecode call QccVIDSpatialBlockEncode(3) and QccVIDSpatialBlockDecode(3) , respectively, to perform spatial-block encoding and decoding. Refer to the man pages of these functions for more information.
If the -mv option is specified to spatialblockencode, motion vectors are written to mvfile via QccVIDMotionVectorsWriteFile(3) , unless -rmw is also specified, in which case, the motion-estimation process of spatialblockencode is circumvented, and the motion vectors are read from mvfile via QccVIDMotionVectorsReadFile(3) . For spatialblockdecode, if mvfile is specified, motion vectors are read from the file rather than from the encoded bitstream via QccVIDMotionVectorsReadFile(3) . mvfile should have a printf(3) -style numerical descriptor which will be filled in with the current frame number before reading or writing motion vectors.
S. Cui, Y. Wang, and J. E. Fowler, "Motion Compensation Via Redundant-Wavelet Multihypothesis," IEEE Transactions on Image Processing, submitted March 2004. Revised February 2005.