How to Install and Uninstall snaphu Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 25,2024

1. Install "snaphu" package

Please follow the guidelines below to install snaphu on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install snaphu

2. Uninstall "snaphu" package

Please follow the steps below to uninstall snaphu on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove snaphu $ sudo apt autoclean && sudo apt autoremove

3. Information about the snaphu package on Ubuntu 20.10 (Groovy Gorilla)

Package: snaphu
Architecture: amd64
Version: 2.0.4-1
Priority: optional
Section: multiverse/science
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 389
Depends: libc6 (>= 2.29)
Filename: pool/multiverse/s/snaphu/snaphu_2.0.4-1_amd64.deb
Size: 149324
MD5sum: aefc1ed266bc9eb58312441a92fdd2fd
SHA1: 258fb77d593bce613ad0c8c9bbb433be7f471375
SHA256: b95a053f7f35623a6fca7913cd99f6dc38d730e4205364094f5cc9b9c67758d4
SHA512: 8604b17667ebbd813b0f47b64f30066fa0f6551f19304bc98387ab8ac1cc04ad4e97f5c32636f3f3549dd8b415618f6f698f7d6ab82c93b4bdc87e3f73ebac6e
Homepage: https://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/
Description-en: Statistical-Cost, Network-Flow Algorithm for 2D Phase Unwrapping
Two-dimensional phase unwrapping is the process of recovering
unambiguous phase data from a 2-D array of phase values known only
modulo 2pi rad.
.
There are many applications, like Magnetic Resonance Imaging (MRI),
Synthetic Aperture Radar (SAR), fringe pattern analysis, tomography
and spectroscopy, which as part of their fundamental operation depend
upon the extraction of a phase signal from their input image. Usually
the phase is available in a form that suffers from 2-pi phase jumps
due to the use of the mathematical arctangent function, which produces
an inherently wrapped output. This wrapped phase is unusable until the
phase discontinuities are removed.
.
SNAPHU is an implementation of the Statistical-cost, Network-flow
Algorithm for Phase Unwrapping particularly suitable for SAR
interferometry applications. This algorithm poses phase unwrapping as
a maximum a posteriori probability (MAP) estimation problem, the
objective of which is to compute the most likely unwrapped solution
given the observable input data. Because the statistics relating the
input data to the solution depend on the measured quantity, SNAPHU
incorporates three built-in statistical models, for topography data,
deformation data, and smooth generic data. The posed optimization
problem is solved approximately with use of network-flow techniques.
.
As SNAPHU uses an iterative optimization procedure, its execution time
depends on the difficulty of the interferogram. In single-tile mode
the required memory is on the order of 100 MB per 1000000 pixels in
the input interferogram.
Description-md5: bd83ead653bb3db50cb0e6dcb869f8bb