Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vcatbands(1vi) [debian man page]

vcatbands(1Vi)															    vcatbands(1Vi)

NAME
vcatbands - concatenate image bands into a single image SYNOPSIS
vcatbands [-option ...] [infile ...] [> outfile] DESCRIPTION
vcatbands concatenates one or more images to produce a single, multi-band image. All images read from all input files are combined to pro- duce a single image, which is written to the output file. The input images must all have the same number of rows, number of columns, and pixel representation. COMMAND LINE OPTIONS
vcatbands accepts the following options: -help Print a message describing options. -in infile ... Specifies one or more Vista data files containing images. -out outfile Specifies where to write the output as a Vista data file. -name name Specifies the name to be given the created image. Default: ``image''. -frame_interp none -viewpoint_interp none | stereo_pair -color_interp none | rgb -component_interp none | complex | gradient | intensity | orientation Specify values for band interpretation attributes given to the new image. All default to none. -nframes nframes -nviewpoints nviewpoints -ncolors ncolors -ncomponents ncomponents Specify the number of frames, viewpoints, colors, and components represented by bands of the new image. If not specified nframes is deduced from the number of bands in the image; the others have defaults based on what the various -..._interp options have specified. Input files can be specified on the command line or allowed to default to the standard input stream. The output file can be specified by the -out option or allowed to default to the standard output stream. SEE ALSO
vcat(1Vi), VImage(3Vi), Vista(7Vi) NOTES
All input files are read before the output file is opened and written. AUTHOR
Art Pope <pope@cs.ubc.ca> Vista Version 1.12 3 June 1994 vcatbands(1Vi)

Check Out this Related Man Page

vconvert(1Vi)															     vconvert(1Vi)

NAME
vconvert - convert an image's pixel representation SYNOPSIS
vconvert [-repn repn] [-option ...] [infile] [outfile] DESCRIPTION
vconvert converts Vista images to a specified pixel representation. The images are read from an input file, converted to the representa- tion specified by the -repn command-line option, then written to an output file. vconvert knows several ways of mapping input pixels to output pixels. You can choose the mapping you want by means of a -map command line option. If you don't specify that option, however, then you'll get a default mapping that is usually appropriate. The default mapping is one that retains an image's appearance as accurately as possible -- i.e., a particular shade of gray in the input image will be mapped to nearly the same shade in the output image. Alternatively, you can use -map to specify some other mapping that may change the brightness or contrast of an image while converting it to its new representation. The following describes, in some detail, the various mappings supported by vconvert. Here the full range of pixel values capable of being represented in the source image is denoted [Smin,Smax]; the actual range of pixel values present in the source image is denoted [Amin,Amax]; and the full range of pixel values capable of being represented in the destination image is denoted [Dmin,Dmax]. (For float and double pixels, the ranges [Smin,Smax] and [Dmin,Dmax] are taken to be [-1,+1].) Define Sabs = max ( |Smin|, |Smax| ), and similarly define Aabs. Then the various mappings supported by vconvert are: range This is vconvert's default mapping, which preserves the appearance of an image. It maps [-Sabs,Sabs] to [-Dmax,Dmax]. For example, a ubyte image is converted to an sbyte image by dividing each pixel value by 2. copy This copies pixels unchanged without scaling them according to their new representation. It maps [-Sabs,Sabs] to [-Sabs,Sabs]. For example, a ubyte image is converted to an sbyte image by copying pixel values that are less than or equal to 127, and setting to 127 those that are greater than 127. opt1 This enhances the contrast of an image while increasing all intensity levels by a constant multiple. It maps [-Aabs,Aabs] to [-Dmax,Dmax]. opt2 This enhances the contrast of an image. It not only increases intensity levels by a constant multiple, it also shifts the range of intensity levels by subtracting a constant term. The exact mapping depends on the values of Amin and Amax: when Amin = Amax < 0 each destination pixel is Dmin. when Amin = Amax = 0 each destination pixel is 0. when 0 < Amin = Amax each destination pixel is Dmax. when Amin < Amax < 0 it maps [Amin,Amax] to [Dmin,-e]. when Amin < Amax = 0 it maps [Amin,0] to [Dmin,0]. when Amin < 0 < Amax it maps [-Aabs,Aabs] to [-Dmax,Dmax]. when 0 = Amin < Amax it maps [0,Amax] to [0,Dmax]. when 0 < Amin < Amax it maps [Amin,Amax] to [e,Dmax]. Here, e is 1 / (Amax - Amin + 1) if destination pixels are float or double, and it is 1 otherwise. opt3 This enhances the contrast of an image but, unlike opt1 and opt2 it doesn't necessarily preserve the signs of pixel values. The exact mapping depends on the values of Amin and Amax: when Amin = Amax < 0 each destination pixel is Dmin. when Amin = Amax = 0 each destination pixel is 0. when 0 < Amin = Amax each destination pixel is Dmax. when Amin < Amax it maps [Amin,Amax] to [Dmin,Dmax]. linear This is an arbitrary mapping of the form: destination-pixel := source-pixel * a + b where the values a and b are specified by command line options. When floating point pixel values are converted to an integer representation each is rounded to the nearest integer after being mapped. Also, if a destination pixel value falls outside the range [Dmin,Dmax], it is set to Dmin or Dmax and a warning message is issued. COMMAND LINE OPTIONS
vconvert accepts the following options: -help Prints a message describing options. -in infile Specifies the Vista data file containing the images to be converted. -out outfile Specifies where the converted images should be written as a Vista data file. -repn bit | ubyte | sbyte | short | long | float | double Specifies the pixel representation to which images should be converted. Default: ubyte. -map range | copy | opt1 | opt2 | op3 | linear Specifies the mapping of input pixel values to output pixel values. Default: range. -a a and -b b Specify the values a and b to be used when -map linear is the chosen mapping. Input and output files can be specified on the command line or allowed to default to the standard input and output streams. SEE ALSO
VConvertImageCopy(3Vi), VConvertImageLinear(3Vi), VConvertImageOpt(3Vi), VConvertImageRange(3Vi) VImage(3Vi), Vista(7Vi) AUTHOR
Art Pope <pope@cs.ubc.ca> Vista Version 1.12 24 April 1993 vconvert(1Vi)
Man Page