Python implementation of different types of masks for image subsampling.
The following pictures show different subsampling masks generated by the functions in subsampling.py
, including annular mask, disk-shaped mask, radial mask, ripple-like mask and Archimedes spiral mask. Each of them represents a certain subsampling pattern in medical image reconstruction and can be obtained by running demo.py
(just remember to set your local path correctly to save the pictures).
For detailed information, please see the comments in subsampling.py
.
- python==3.7
- skimage==0.19.2
- numpy==1.21.6
- matplotlib==3.5.1
- Code optimization
- Implementations of other subsampling masks generation (e.g. poisson disk, uniform, ...)