Supplementary code to the paper O Sidorov, JY Hardeberg. Deep Hyperspectral Prior: Denoising, Inpainting, Super-Resolution in ICCV 2019 Workshops.
The implementation is based on original Deep Image Prior code by Dmitry Ulyanov.
The framework was modified to process hyperspectral data using 2D or 3D convolutions:
- python = 3.6
- pytorch = 0.4
- numpy
- scipy
- matplotlib
- scikit-image
- jupyter
- Input and output hyperspectral data is contained in
*.matfiles. - Specify a path to the file and name of the variable to read.
For example, if data is contained in variableimage:file_name = 'data/inpainting/inpainting192.mat' mat = scipy.io.loadmat(file_name) img_np = mat["image"] - Use custom code or one of the
*.mfiles located atdata/%task%/to generate*.matfile.
- Follow one of the proposed notebook files to get the results.
* 2D versions tend to demonstrate better accuracy. - Try to modify parameters. Have fun.
Denoising:
Super-Resolution:
Inpainting:




