https://doi.org/10.5201/ipol.2012.g-tvdc
Raw File
Tip revision: 13cac45f201f2e0e4a336450abb835be0ddd9359 authored by Software Heritage on 12 June 2012, 00:00:00 UTC
ipol: Deposit 1194 in collection ipol
Tip revision: 13cac45
example.sh
#! /bin/bash
# TV deconvolution example BASH shell script

# Echo shell commands
set -v

# Generate Gaussian noise with standard deviation 15 on "einstein.bmp"
# and save the result to "blurry.bmp".
./imblur K:disk:1 noise:gaussian:5 einstein.bmp blurry.bmp

# Perform TV regularized deconvolution with the split Bregman algorithm
# on "blurry.bmp" and save the result to "deconv.bmp".
./tvdeconv K:disk:1 lambda:50 blurry.bmp deconv.bmp

# Compare the original to the restored image
./imdiff einstein.bmp deconv.bmp

back to top