📄 image.1
字号:
is rendered as white,and anything less than 1 dB below the maximium in the time sliceis rendered as black.These limits can be chosen to improve the appearance of a spectrogram.Lowering the lower limit will bring out more faint detailbut will also permit more intrusion of grayinto the spaces between formants.Lowering the upper limit will broaden the high-level formant tracksbut wil also introduce more gray..IPIn the absence of.BR \-G ,the lower and upper limits on data values,corresponding to white and black,are globally determined, either explicitly with.B \-lor by default from the global maximum data value.When.B \-Gis used,there are additional adjustments to keep the limits determined by.B \-Gfrom overstepping the bounds given by the global limits..TP.BR \-L { prs }.IPLabel the.IR x -axisin terms of.RB `` p oints''.RI ( i.e.tag values),.BR r ecordnumbers, or.BR s econds.wIf this option is not specified,and if the parameter file does not specify a value for.I label_units,the axis is labeled in the unitsin which the range was specified with the.BI \-p ,.BI \-r ,or.B \-soption.If none of those three were used, the final default is.BR \-Lr .If.B \-Lpis used, the file must be tagged.If.B \-Lsis used, it must be possible to associate times with recordsas described for the.B \-soption..TP.BI \-M " magnification" " \fR[1]\fP"This option if effective for laser-printer output via.BR \-Timagen ,.BR \-Tpostscript ,or.BR \-ThpThe option causes each pixel of the image to be rendered as an.IR m \(mu mblock of device resolution cells, where.I mis the magnification;thus a magnification greater than 1 causes output at a coarser resolutionthan the finest the device is capable of.The default magnification of 1 gives full-resolution images.When the lower resolution is acceptable, a magnification greater than 1can greatly speed up the printing of images by reducing the number ofbits that must be sent to the printer.Acceptable magnifications are 1, 2, and 4 for an Imagen;any positive integer for Postscript;and 1, 2, 3, and 4 for an HP printer..TP.BI \-P " param" " \fR[param]\fP"The name of the parameter file..TP.BI \-S " width" : "height" "\fR[(device-dependent)].TP.BI \-S " width"The size in pixels of the image.The second form implies a square image.For a graphics display, the default size depends on the size of the screenor window..TP.BI \-T " device" " \fR[x11 \fIor\fR mcd]"Output device.The default valuecalls for displaying the image on the user's graphics terminal.A value of.B x11calls for use of the X Window System (Version 11),which is usually the default on systems where it is available.Otherwise the default is.BR mcd ,which calls for use of a system's native graphics system, if any.A value of.B imagencauses output on.I stdoutsuitable for an Imagen laser printer.The output may be piped directly to.IR ipr (1).A value of.B postscriptcauses PostScript output on.I stdout,and.B hpcauses output on.I stdoutsuitable for a Hewlett-Packard printer.A value of.B rascauses output on.I stdoutin Sun raster-file format;this may be viewed on the Sun by piping into the program.IR showras (ESPS-1).A value of.B typecauses a crude Ascii typewriter plot to be sent to.I stdout..TP.BI \-V " text" "\fR [(none)]"Title to be printed along the left edge of the page (running upward)..TP.BI \-W " X_geometry"For versions of this program that use X-window graphics,this option is used to specify the location and size of theplot. The standard X windows syntax is used: "=<width>x<height>{+-}<xoffset>{+-}<yoffset>, where items enclosed in "<>" are integers and items enclosed in "{}"are a set from which one is allowed.If this option is not specified, internally generated defaultsare used, as is the case for non X-window based systems..SH "ESPS PARAMETERS".PPThe parameter file is not required to be present, as there are defaultvalues for all parameters.If the file exists, the following parameters may be readif they are not determined by command-line options..TP.I elements \- integer arrayThe element positions selected in each record.This parameter is not read if the command-line option.B \-f(or.BR \-e )is specified.If the set of element positions is specified neither with theoption nor in the parameter file,the default is as described for the option..TP.I minlevel \- realData value corresponding to the lower limit of the grayscale.This parameter is not read if the.B \-loption is specified.If the command-line option is not specifiedand the paramter is not present in the parameter file,the default used is the lowest data value to be represented..TP.I maxlevel \- realData value corresponding to the upper limit of the grayscale.This parameter is not read if the.B \-loption is specified.If the option is not specified and the paramter is not present,the default used is the greatest data value to be represented..TP.I orientation \- stringThe orientation of the image.This parameter is not read if the.B \-ooption is specified.Two values are recognized: "default" and "rotated".The string "default" refers to the default orientation as described for the.B \-ooption,and assigning this value is equivalent to omitting the parameter entirely.The string "rotated" refers to the orientation obtained when the.B \-ooption is specified..TP.I startrec \- integerThe record number of the first record to be processed.This parameter is not read if the.BR \-p ,.BR \-r ,or.BR \-soption is specified.The default value is 1 in case these options are not specified and theparameter is omitted from the parameter file..TP.I nrecs \- integerThe number of record to be processed.This parameter is not read if the.BR \-p ,.BR \-r ,or.BR \-soption is specified.The default is to continue processing until the end of the filein case these options are not specified and theparameter is omitted from the parameter file..TP.I x_text \- stringText to b printed at the bottom of the page.This parameter is not read if the.B \-toption is specified.If no text is specified either with the option or in the parameter file,none is printed..TP.I algorithm \- stringGray-scale algorithm.The possible values are arguments for.B \-Alisted under Options.This parameter is not read if the.B \-Aoption is specified.The default is "fs" (Floyd-Steinberg) in case no algorithm is specifiedwith either the command-line option or this parameter..TP.I b_scale \- integerScale factor that determines the sizes and spacing of tick marks, axislabels, titles, and other features that occupy the border around theactual image.This parameter is not read if the.B \-Boption is specified.If the option is not specified and the parameter is not present,the plot consists of the image alone, and the border is omitted.A value of 0 for the option calls for a default appropriate tothe output device..TP.I colormap_file \- stringThe name of a file to be read for colormap entries.As in the argument to the.B \-Coption, the file name may be followed by a bracked.I grangespecification indicating a list of line numbers.This parameter is not read if the.B \-Coption is specified.If no colormap file is specifiedwith either the command-line option or in the parameter file,the default is an internally computed scale of graysranging between white and black..TP.I function \- stringA function to be applied to the data before the gray-scale algortihm isapplied.The possible values are the arguments to.B \-Flisted under Options.This parameter is not read if the.B \-Foption is specified.In case no function is specified with either the command-line option or inthe parameter file, the default is "log" (convert to dB) for FEA_SPEC filesand "NONE" for other types..TP.I gain_low_lim \- real.TP.I gain_high_lim \- realLimits used in normalizing gains as described for the.B \-Goption.This parameter is not read if the.B \-Goption is specified.If the option is not specified and these parameters are not in theparameter file, no gain normalization is done.If the option is not specified and either of these parameters is present,the other must be present also..TP.I label_units \- charAllowed values are 'p', 'r', and 's', indicating whether to label the.IR x -axisin terms of ``points''.RI ( i.e.tag values), record numbers, or seconds.This parameter is not read if the.B \-Loption is specified.The default when the option is not specifiedand the parameter is not presentis as described for the.B \-Loption..TP.I magnification \- integerMagnification factor to control the resolutionof "imagen", "postscript", and "hp" laser-printer images.This parameter is not read if the.B \-Moption is specified.The default is 1 when the option is not specifiedand the parameter is not present..TP.I width \- integer.TP.I height \- integerThe dimensions in pixels of the image.These parameters are not read if the.B \-Soption is specified.The default dimensions,used when the option is not specified and the parameter is not present,depend on the output device..TP.I device \- stringThe name of the output device.This parameter is not read if the.B \-Toption is specified.The default,used when the option is not specified and the parameter is omitted,is "x11" or "mcd", depending on what is available on a particular system.Other possible values are as described under.B \-Tin the Options section..TP.I y_text \- stringText to be printed up the left side of the page.This parameter is not read if the.B \-Voption is specified.If no text is specified either with the option or in the parameter file,none is printed..SH "ESPS COMMON".PPThe ESPS common file is not accessed..SH "ESPS HEADERS".PP.SH "EXAMPLES".PPOn a black-and-white display, try the following on a sampled-data file.I speech.sdcontaining a half-second or second of speech..PP.nffilter \-Ppreemp_params speech.sd \- \\ | fft \-o6 \-l32 \-S10 \-p1:2000000000 \- \- \\ | image \-t"Time (seconds)" \-V"Freq. (Hz)" \-s: \-Afs2 \-B0 \-G\-20:0 \-.fi.PPOn a multiplane color display, try changing "\-Afs2" to "\-A16od1_2"or "\-A16od1_3"..PPThe file preemp_params may contain the following..PP.nf# parameter file for preemphasis with filter(1-ESPS) programfloat filter_num = {1.0, -1.0}: "Preemphasis filter numerator";float filter_den = {1.0}: "Preemphasis filter denominator";int filter_nsiz = 2: "Number of numerator coefficients";int filter_dsiz = 0: "Number of denominator coefficients";.fi.SH "SEE ALSO".PP.SH "DIAGNOSTICS".PP.nfimage: unknown option \-<\fIletter\fP>Usage: image [\-{ef} range] . . . [\-l range][\-o][\-{prs} range][\-t text] [\-x debug_level][\-A algorithm[\-B scale][\-C colormap][\-F function][\-G range] [\-L{prs}][\-M mag][\-P param][\-S width[:height]][\-T device][\-V text] fileimage: too many file names specified.image: no input file name specified.image: only one of \-p, \-r, and \-s may be used at one timeimage: named fields allowed only with FEA filesimage: if any \-f option argument has a field name, all must.image: unrecognized function name.image: header item "spec_type" undefined or not CODEDimage: unknown spectral typeimage: header item \"num_freqs\" undefined or not LONGimage: use \-f option unless file is FEA file.image: axis label units must be given as p, r, or s.image: \-p option or axis labeling in points requires tagged fileimage: \-s option or axis labeling in seconds requires nonzero sampling or record frequency.image: initial tag not positiveimage: initial tag not less than final tagimage: initial record number not positiveimage: initial record number not less than final record numberimage: starting time before start of fileimage: starting time not less than ending timeimage: starting record number not positiveimage: span of records in file doesn't overlap given rangeimage: unrecognized value for "orientation" parameterimage: magnification must be positive.image: header item "freq_format" undefined or not CODEDimage: header item "sf" undefined or not FLOATimage: freq format ARB_VAR not yet supported.image: unrecognized freq format <\fIcode number\fP>.image: just one of "gain_low_lim" and "gain_high_lim" definedimage: field "<\fIname\fP>" not defined in feature file headerimage: first record doesn't precede end of rangeimage: last record doesn't follow beginning of rangeimage: can't open colormap file <\fIfile name\fP>.image: no line <\fInumber\fP> in colormap file.SPS assertion failed: <\fImessage\fP>.br with any of the following messages.can't allocate space for field name listcan't allocate space for element array from symbol tablecan't get "elements" parameter--may be too longcan't allocate space for array of element numberscan't allocate space for input FEA_SPEC recordcan't allocate space for input data vectorcan't reallocate space for vector of element numberscan't allocate space for buffer to make temp filecan't allocate space for 3 rows of interpolated valuescan't reallocate space for 3 rows of interpolated valuescan't allocate space for colormapcan't reallocate space for colormapcan't allocate space for subset of colormapcan't allocate space to interpolate colormap.fi.SH "BUGS".PP.SH WARNINGS.PP.SH "FUTURE CHANGES".PPSupport for fields with complex data types in FEA files.New device types will be added..SH "AUTHOR"Rodney Johnson.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -