This page is for information related to the 4th year/CGVI course COMP0114 : Inverse Problems in Imaging.
I have put some lecture notes from last year here (these are liable to change before this years course)
Here is a link to notes and code from
Bangti Jin on Bayesian Methods.
Here are the slides from Felix Lucka on
Total Variation Regularisation Methods in Inverse problems
Here are some refresher notes on Fourier Transforms and Sampling
in case you're a bit rusty on this.
Example of model fitting (over determined) modelfit.m
Example of model fitting (under determined) modelfit_under.m
Example of ill conditioned matrix inversion ip1.m
This script runs a statistical model on the same problem iptoy.m
Second example inverts this matrix with a Gaussian prior with covariance C
ip3.m.
Example call for this : ip3(0.2,0.05,[1 1; 1 -1]);
One dimensional blur of function in interval [0,1] linblur.m
Regularised inversion of linblur using Truncated SVD linsvd_truncsvd.m
Regularised inversion of linblur using Zero-Order Tikhonov linsvd_tk0.m
Here's the toy image deblurring example using Fourier Transforms ToyDeblur2D.m
Here's an example how to use these compare_regselect_script.m
Here are some examples using each method
The Metropolis Hastings algorithm is easily turned into a Simulated Annealing method. Here is one way, and an example
using the above non-linear function
Here are Bangti Jin's examples on
Hand in date is Thursday 6th March 2025, 4.00p.m
Marking will be inline with the standard project guidelines, as described
here.
Hand in date for mini project is Friday 2nd May 2025, 4.00p.m.
Further example, that compares zero-order and first order Tikhonov compare_TK0TK1.m This example requires a first order finite difference derivative operator, such as the one produced by this function
lindf.m
Krylov methods
Here is an example how to do the 1D debluring problem using Krylov Methods. This makes use of a custom built
Conjugate Gradient Method, as well as comparison to
Steepest Descent Method
Here's these applied to the Toy Problem.
Image Priors
Here is the code demonstrating different priors based on the image gradient
We can run these as a diffusion scheme to demonstrate Scale Space.
Here we apply these to a denoising problem.
Here is a demo of drawing from anisotropic priors in 1D.
Nonlinear Optimisation
Here are some examples for nonlinear optimisation of the Rosenbrock function. These make use of the following Line Search Function
Constrained Optimisation
Example applied to a quadratic matrix function quadratic matrix function
2D example with single equality consraint : Lpmin.m
Tomography
Sparsity
Poisson noise
Wavelets
Here's a simple Wavelet Example on image denoising
Sparsity Regularisation
These examples are from Bangti Jin's lecture.
Stochastic Optimisation
The basic tools are the Metropolis-Hasting Sampling Method and the Gibbs Sampling Method
Inpainting
Here's a simple Inpainting Example using Tikhonov priors and a PDE based approach.
Links
Useful list of software for compressive sampling
A famous reference on painless congugate gradients
A useful book
Coursework 1 : Weeks 1-3
These exercises are formally assesed.
Hints for Coursework 1
Hand in date is Thursday 06-Feb-2025, 4p.m
Coursework 2 : weeks 4-7
The second coursework will be handed out in week 4
PDF format
Test Images for use in CW2
Here are some hints for solution.
MiniProjects : Weeks 7-11
The final coursework is a miniproject. It will be handed out in week 7
The coursework has two parts. Part A is compulsory for everyone. Part B has
a number of choices for advanced topics.
Here is the description of part A
Here is the description of Part B
You will need data for this project. Here it is
in Matlab format.
and in Python format.
Here are some hints for part A :
in Matlab format.
and in Python format.