Analysis of different noise applied on synthesis images using SVD compression
Jérôme BUISINE a878769b4f Merge branch 'release/v0.0.4' | il y a 5 ans | |
---|---|---|
analysis | il y a 5 ans | |
display | il y a 5 ans | |
generate | il y a 5 ans | |
generated | il y a 6 ans | |
images | il y a 6 ans | |
modules @ d5de038bdc | il y a 5 ans | |
.gitignore | il y a 5 ans | |
.gitmodules | il y a 5 ans | |
LICENSE | il y a 6 ans | |
README.md | il y a 5 ans | |
custom_config.py | il y a 5 ans | |
data_attributes.py | il y a 5 ans | |
generate_all_noise.sh | il y a 5 ans | |
generate_noise_all_curves.sh | il y a 5 ans | |
noise_computation.py | il y a 5 ans | |
requirements.txt | il y a 6 ans |
Analysis of different noises using singular values vector obtained from SVD compression.
Noise list :
First of all you need to generate all noise of each images in /generated folder.
bash generate_all_noise.sh
Once you had generate all noisy images from synthesis scenes, you need to extract features (SVD singular values) using different metrics.
python generate_all_data.py --metric all --step 40 --color 0
python generate_all_data.py --metric all --step 40 --color 1
You can display curves of each noise for each scene :
bash generate_noise_all_curves.sh
This will give you some information about SVD singular values obtained from noise applied synthesis images. All these curves are available into curves_pictures folder after running script.
This script is used to compute all noise for each image in the images folder.
python noise_computation.py --noise salt_pepper --image path/to/image.png --n 1000 --identical 1 --output image_salt_pepper.png --all 1 --p 0.1
Parameters :
This script is used to display noise for each level of noise of image.
python noise_svd_visualization.py --prefix generated/${image}/${noise} --metric lab --n 1000 --mode svdne --interval "0, 200" --step 40 --norm 0 --ylim "0, 0.05"
Parameters :
Display information about tend of svd values for specific scene
Display threshold information about scene for each noise perceived. It's necessary to have in scene folder one of this file :
These files contains threshold information about a noise such that each row are written like that :