📄 readme
字号:
SNAPHUStatistical-Cost, Netowrk-Flow Algorithm for Phase UnwrappingAuthor: Curtis W. ChenVersion 1.4.2, January 2003Contents-------- 1. Bugs and Bug Reporting 2. Notes on Compiling 3. Run-Time Configuration Files 4. Copyright Bugs And Bug Reporting----------------------Not all parts of snaphu have been well tested, so your bug reports andfeedback are appreciated. Please email them to curtis@nova.stanford.eduThe man page included with the distribution lists known issues aswell. Thanks, and good luck with the unwrapping.Notes on Compiling------------------To compile, edit the Makefile in the src directory to specify yourcompiler, the optimization flags, and the desired directory for theexecutable. After that, run make and see what happens.Most of the code should be pretty standard, but a few of the libraryfunctions that are used may be unavailable on some systems. In somecases, the problem code may only perform error checking, so you mightbe able to comment out the unavailable functions without ill effects.For example, the IsFinite() function in snaphu_util.c is a wrapper forcalling the library function finite(), which is unavailable on somesystems. You can modify IsFinite() to use an alternate implementationthat you do have, or you can have it always return TRUE.The code was developed mainly with gcc, but has been tested with anumber of vendor C compilers. The latter tend to produce fasterexecutables.I have not experimented with parallelizing compilers. The code iswritten to use multiple processors in tile mode by forking copies ofitself to unwrap each tile. The structure of the solver does not lenditself to easy parallelization for a single tile, however.The CS2 MCF solver module is governed by the terms of the originalauthors (see the README.copyright file). In order to compile snaphuwithout this module, specify -D NO_CS2 as a compiler option in theMakefile.Run-Time Configuration Files----------------------------Two template run-time configuration files are provided in the configdirectory. The file snaphu.conf.brief contains the configurationparameters that a beginning user might need to specify. The filesnaphu.conf.full contains all the options that the program willaccept.Copyright---------Copyright 2002 Board of Trustees, Leland Stanford Jr. UniversityExcept as noted below, permission to use, copy, modify, anddistribute, this software and its documentation for any purpose ishereby granted without fee, provided that the above copyright noticeappear in all copies and that both that copyright notice and thispermission notice appear in supporting documentation, and that thename of the copyright holders be used in advertising or publicitypertaining to distribution of the software with specific, writtenprior permission, and that no fee is charged for further distributionof this software, or any modifications thereof. The copyright holdermakes no representations about the suitability of this software forany purpose. It is provided "as is" without express or impliedwarranty.THE COPYRIGHT HOLDER DISCLAIMS ALL WARRANTIES WITH REGARD TO THISSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ANDFITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANYSPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVERRESULTING FROM LOSS OF USE, DATA, PROFITS, QPA OR GPA, WHETHER IN ANACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUTOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.The parts of this software derived from the CS2 minimum cost flowsolver written by A. V. Goldberg and B. Cherkassky are governed by theterms of the copyright holder of that software. Permission has beengranted to use and distrubute that software for strictly noncommercialpurposes as part of this package, provided that the followingcopyright notice from the original distribution and URL accompany thesoftware: COPYRIGHT C 1995 IG Systems, Inc. Permission to use for evaluation purposes is granted provided that proper acknowledgments are given. For a commercial licence, contact igsys@eclipse.net. This software comes with NO WARRANTY, expressed or implied. By way of example, but not limitation, we make no representations of warranties of merchantability or fitness for any particular purpose or that the use of the software components or documentation will not infringe any patents, copyrights, trademarks, or other rights. http://www.igsystems.com/cs2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -