⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 snaphu_man1.html

📁 phase unwrapping algorithm for SAR interferometry
💻 HTML
📖 第 1 页 / 共 4 页
字号:
       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Assemble the tile-mode temporary files in the specifieddirectory. Most configuration options (from the command lineand any configuration files) must be specified. This optionis useful if the user wishes to modify tile-assemblyparameters without unwrapping the individual tiles overagain.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--copyright, --info</b></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Print the software copyright notice and bug report info,then exit.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--costinfile</b> <i>costfile</i></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Read statistical cost arrays from file <i>costfile</i>. Thisfile should be in the format written by the<b>--costoutfile</b> option. The cost file does not controlwhether <b>snaphu</b> runs in topography, deformation, orsmooth-solution mode; the latter two must be specifiedexplicitly even if <i>costfile</i> was generated whilerunning in those modes.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--costoutfile</b> <i>costfile</i></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Write statistical cost arrays to file <i>costfile</i>. Thisoption can be used with the <b>--costinfile</b> option tosave the time of generating statistical costs if the samecosts are used multiple times.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--debug, --dumpall</b></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Dump all sorts of intermediate arrays to files.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--mst</b></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Use a minimum spanning tree (MST) algorithm for theinitialization. This is the default.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--mcf</b></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Use a minimum cost flow (MCF) algorithm for theinitialization. The cs2 solver by Goldberg and Cherkassky isused. The modified network-simplex solver in L1 mode maygive different results than the cs2 solver, though inprinciple both should be L1 optimal.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--nproc</b> <i>n</i></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Use <i>n</i> parallel processes when in tile mode. Theprogram forks a new process for each tile so that tiles canbe unwrapped in parallel; at most <i>n</i> processes willrun concurrently. Forking is done before data is read. Thestandard output streams of child processes are directed tolog files in the temporary tile directory.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--piece</b> <i>firstrow firstcol nrowncol</i></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Read and unwrap only a subset or part of the inputinterferogram. The read piece is the <i>nrow</i> by<i>ncol</i> rectangle whose upper left corner is the pixelat row <i>firstrow</i> and column <i>firstcol</i> (indexedfrom 1). All input files (such as amplitude, coherence,etc.) are assumed to be the same size as the input phasefile. All output files are <i>nrow</i> by<i>ncol</i>.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><b>--tile</b> <i>ntilerow ntilecol rowovrlpcolovrlp</i></td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Unwrap the interferogram in tile mode. The interferogram ispartitioned into <i>ntilerow</i> by <i>ntilecol</i> tiles,each of which is unwrapped independently. Tiles overlap by<i>rowovrlp</i> and <i>colovrlp</i> pixels in the row andcolumn directions. The tiles are then segmented intoreliable regions based on the cost functions, and theregions are reassembled. The program creates a subdirectoryfor temporary files in the directory of the eventual outputfile. This option is currently enabled only for statisticalcost functions.</td></table><p><a name="FILE FORMATS"></a><h2>FILE FORMATS</h2><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%">The formats of input files may be specified in aconfiguration file. All of these formats are composed ofraster, single-precision (float, real*4, or complex*8)floating-point data types in the platform's native byteorder. Data are read line by line (across then down).Regardless of the file format, all input data arrays shouldhave the same number of samples in width and depth andshould be coregistered to one another. Note that weightfiles and cost files have their own formats. The allowableformats for other data files are describedbelow.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%">COMPLEX_DATA</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Alternating floats correspond to the real (in-phase) andimaginary (quadrature) components of complex data samples.The specified line length should be the number of complexsamples (pairs of real and imaginary samples) perline.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%">ALT_LINE_DATA</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Alternating lines (rows) of data correspond to lines ofpurely real data from two separate arrays. The first arrayis often the magnitude of the interferogram, and the secondmay be unwrapped phase, coherence, etc. This is alsosometimes called <b>hgt</b> or line-interleavedformat.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%">ALT_SAMPLE_DATA</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">Alternating samples correspond to purely real samples fromtwo separate arrays. This format is sometimes used for theamplitudes of the two SAR images.</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%">FLOAT_DATA</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="21%"></td><td width="79%">The file contains data for only one channel or array, andthe data are purely real.</td></table><p><a name="EXAMPLES"></a><h2>EXAMPLES</h2><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%">Unwrap a wrapped topographic interferogram called``wrappedfile'' whose line length is 1024 complex samples(output will be written to a file whose name is compiledinto the program):</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><pre>     snaphu wrappedfile 1024</pre>Unwrap the same file as above, but use brightness information from the file ``ampfile,'' set the perpendicular baseline to -165 m at midswath, and place the output in a file called ``unwrappedfile'' (coherence data are generated automatically if ``wrappedfile'' contains complex data and ``ampfile'' contains amplitude data from both SAR images):</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><pre>     snaphu wrappedfile 1024 -a ampfile \          -b -165 -o unwrappedfile</pre>Unwrap the interferogram as above, but read correlation information from the file ``corrfile'' instead of generating it from the interferogram and amplitude data:</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><pre>     snaphu wrappedfile 1024 -a ampfile -c corrfile \          -b -165 -o unwrappedfile</pre>The following is equivalent to the previous example, but input parameters are read from a configuration file, and verbose output is displayed:</td></table><p><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="10%"></td><td width="90%"><pre>     cat &gt; configfile     # This is a comment line which will be ignored     AMPFILE      ampfile     CORRFILE     corrfile     BPERP        -165     OUTFILE      unwrappedfile     &lt;Ctrl-D&gt;     snaphu -v -f configfile wrappedfile 1024</pre>Unwrap the same interferogram, but use only the MST initialization (with scalar statistical weights) and write the output to ``mstfile'':</td></table><p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -