📄 icbdist.1
字号:
.TH ICBDIST 1 "QCCPACK" "".SH NAMEicbdist \- calculate the distortion between two image cubes.SH SYNOPSIS.B icbdist.RB "[\|" \-vo "\|]".RB "[\|" \-mse "\|]".RB "[\|" \-snr "\|]".RB "[\|" \-mae "\|]".RB "[\|" \-m.IR mask "\|]".I icbfile1.I icbfile2.SH OPTIONS.TP.B \-voOutput only the value of the distortion (terse output)..TP.B \-mseExpress the distortion in terms of MSE..TP.B \-snrExpress the distortion in terms of SNR..TP.B \-maeExpress the distortion in terms of MAE..TP.BI \-m " mask"String. Name of file containing the transparency mask forshape-adaptive distortion..SH DESCRIPTION.LP.B icbdistprintsthe mean square error (MSE), signal-to-noise ratio (SNR),or maximum absolute error (MAE)between two image-cube files,.I icbfile1and.IR icbfile2 ,to stdout..IR icbfile1and.IR icbfile2are both ICB-format files..LPThe options.BR \-mse ,.BR \-snr ,and.BR \-maeindicate in which form the distortion should be expressed.If none of theseoptions are specified, .B icbdistprints the distortion in all forms..LPIf the option.B \-vois specified,then .B icbdistprints a terse output, consisting of only the value of the distortion,to stdout. One of the options.BR \-mse ,.BR \-snr ,or.BR \-maemust be specified in this case..LPFor the calculation of SNR,.B icbfile1is considered to be the original signal; .B icbdistthus finds the variance of.B icbfile1for use in the SNR calculation..LPThe distortion calculation can be made "shape-adaptive"by specification of the.B \-m option, in which case.I maskgives the name of an image-cube file (ICB format) that indicates thetransparency mask for the image.Withing.IR mask ,values less than or equal to.BR QCCALPHA_TRANSPARENTindicate transparency (see.BR QccAlpha (3)).This transparency mask indicates which regions in.I icbfile1and .I icbfile2are to be taken into consideration in the distortion calculation---voxelsthat are marked as transparent by.I maskare ignored and are not included in either thecalculation of voxel differences or in the total count of voxels as usedin the averaging of the differences..I maskmust be the same size as both.I icbfile1and.IR icbfile2 ..SH "NOTES"For 2D images,Jain defines the SNR in terms of thelog of the ratio of the signal variance to the MSE. However, Clarkeindicates that, historically, the SNR has not been defined consistently,and describes slightly different variants, including thevariance-based definition used by Jain, as well as the log of the ratio ofthe mean squared signal to the MSE, a definition popular with someother authors. Clarke cautions that one must be sure of the definitionof the measure when comparing SNRsas the various definitions yield different values..B icbdistis an obvious extension ofJain's definition of a variance-based SNR from 2D images to3D image cubes..SH "SEE ALSO".BR QccIMGImageCubeMSE (3),.BR QccIMGImageCubeMAE (3),.BR QccIMGImageCubeShapeAdaptiveMSE (3),.BR QccIMGImageCubeShapeAdaptiveMAE (3),.BR QccIMGImageCube (3),.BR QccPackIMG (3),.BR QccPack (3)Anil K. Jain, "Fundamentals of Digital Image Processing."Englewood Cliffs, NJ: Prentice Hall, 1989. (See Chapter 3).Roger J. Clarke, "Digital Compression of Still Images and Video."London: Academic Press Ltd., 1995. (see Section 1.2.7)..SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them and/or.\" modify them under the terms of the GNU General Public License.\" as published by the Free Software Foundation; either version 2.\" of the License, or (at your option) any later version..\" .\" These programs are distributed in the hope that they will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\" .\" You should have received a copy of the GNU General Public License.\" along with these programs; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -