# FreeBSD Manual Pages

WAVELET(1) BRL-CAD WAVELET(1)NAMEwavelet - perform a haar wavelet decomposition/reconstructionSYNOPSISwavelet[-1] [-2] [-d] [-r] [-#channels] [-t [c|d|f|i|l|s]] [-wwidth] [-nscanlines] [-ssquaresize] [-Ssquare_out_size] [-Wwidth_out] _file_waveletDESCRIPTIONThewaveletcommand will perform Haar wavelet decomposition or reconstruction transforms on the input dataset. The command line options are:-dperform decomposition.-rperform reconstruction.-1perform a 1-dimensional (horizontal) transform.-2perform a 1-dimensional (interleaved horizontal and vertical) transform.-#channelsIndicates the number of values in each sample point. For example, to perform a transform on apix(5) file properly, specify "-# 3". This causes the red, green and blue channels to be transformed individually.-t{cdfils}specifies the data type of the input, and hence the data type in which the wavelet calculations will be performed. The letters each stand for the first character of the C programming language data type:character,double,float,int,long,short. Note that if lossless decomposition and reconstruction are desired, then data sets should be converted to the next larger data type before being processed.-wwidthSpecify the number of samples per scanline.-nscanlineSpecify the number of scanlines in the dataset-ssquaresizeSpecify both width and scanlines simultaneously (square image).-Wwidth_outSpecifies the width of the output image. Normally this is 1 for a full decomposition/reconstruction. You may specify a width at which decomposition or reconstruction should stop. This number should be a power of 2. The result will be an "average" image of the specified size, with the remainder of the original data width converted to "detail" coefficients. See also: -R-Ravg_sizeResumes a transform that left off with an average image of avg_size.-Ssquare_out_sizeThis is the same as the-Woption. It implies the square size for a 2D decomposition limit.EXAMPLESThe commanddecompose-#3<img.pix|pix-fbwill display the horizontal decomposition of the file img.pix. The commanddecompose-#3-s1024-l64<img.pix> will decompose a 1024x1024 image. The decomposition will stop when the image has been decomposed to 64x64. The output image will thus have a 64x64 version of the original in the lower left corner of the image, with detail terms in the remainder.SEE ALSObrlcad(1),pix(5),bw(5)AUTHORBRL-CAD TeamCOPYRIGHTThis software is Copyright (c) 1999-2013 by the United States Government as represented by U.S. Army Research Laboratory.BUG REPORTSReports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>. BRL-CAD 07/08/2017 WAVELET(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | AUTHOR | COPYRIGHT | BUG REPORTS

Want to link to this manual page? Use this URL:

<https://www.freebsd.org/cgi/man.cgi?query=wavelet&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>