The Multi-Scale Variance Stabilization Transform (MSVST, Starck et al. 2009) is a denoising algorithm based on wavelets suited for astronomical images. Here we provide a C++ implementation of the 2D and 2D+1D versions of the algorithm along with a python wrapper for ease of use.
The original C++ code was developed by CEA Saclay and distributed within the Sparse2D library.
MSVST is distributed as a python package an can be installed via pip. However, for the compilation of the C++ code the following software and libraries should be available in your system:
- C/C++ compiler and make
- CMake
- CFITSIO (>V3.31)
- pkg-config
In Ubuntu (and other Debian based Linux distributions) these dependencies can be installed via apt:
sudo apt install gcc make cmake libcfitsio* pkg-config
If available, the MSVST library will use OpenMPI for parallelization in multi-core systems.
Once the prerequisites are installed:
pip install msvst