m-tassano / fastdvdnet

FastDVDnet: A Very Fast Deep Video Denoising algorithm
MIT License
572 stars 123 forks source link

How to read the sequence of images and obtained the gaussin? #43

Closed vimalchawda closed 2 years ago

vimalchawda commented 2 years ago

I have a set of images which is a number of frames of video. How to read it and work on it? Thanks I have script and code in Matlab, but I am not expert in python so want to learn it.

m-tassano commented 2 years ago

Hi,

I find that the question is not very clear. However, you can have at the README to have an idea on how to use the algorithm. In particular

If you want to denoise an image sequence using the pretrained model you can execute


python test_fastdvdnet.py \
    --test_path <path_to_input_sequence> \
    --noise_sigma 30 \
    --save_path results
NOTES

The image sequence should be stored under <path_to_input_sequence>
The model has been trained for values of noise in [5, 55]
run with --no_gpu to run on CPU instead of GPU
run with --save_noisy to save noisy frames
set max_num_fr_per_seq to set the max number of frames to load per sequence
to denoise clipped AWGN run with --model_file model_clipped_noise.pth
run with --help to see details on all input parameters