Skip to content

Commit

Permalink
Added all files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Jorgensen committed Feb 6, 2018
1 parent 2e5c1d6 commit 159808c
Show file tree
Hide file tree
Showing 27 changed files with 8,982 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Amf.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
function y = Amf(A, x, direction)
%
% Evaluates the following based on direction
%
% direction = 0 : return size(A)
% direction = 1 : returns A*x
% direction = 2 : returns A'*x
%

if direction == 0
y = size(A);
elseif direction == 1
y = A*x;
elseif direction == 2
y = A'*x;
else
warning('Amf: No such direction');
end


64 changes: 64 additions & 0 deletions Contents.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
% TVReg.
% Version 1.1 2015-04-05.
% Version 0.8 2009-08-31.
% Copyright (c) 2010 by T.L. Jensen, J.H. Jorgensen,
% P.C. Hansen and S.H. Jensen
%
% Requires Matlab version 7.5 or later versions.
%
% These functions accompany the paper
% Practical Implementation of Optimal First-Order Method
% for Total Variation Regularization in Tomography
%
% Demonstration.
% tvreg_demo1 - Demonstration for a tomography problem
% tvreg_demo2 - Demonstrates for a deblurring problem
% tvreg_demo3 - Demonstration for a tomography problem using
% a call back function
%
% Pirate.tif - Test image
%
% TV reconstruction functions.
% tvreg_gpbb - Uses a gradient projection algorithm with
% Borzilai-Borwein strategy
% tvreg_upn - Based on an optimal first-order method as
% as described by Yurii Nesterov with modification
% for unknown parameters.
%
%
% Files from tomobox by J.H. Jorgensen
% tomobox/buildSystemMatrix - Setup system matrix for 3D parallel beam
% tomography
% tomobox/getNoise - Create white noise with specified relative
% noise level
% tomobox/phantom3d - Three-dimensional analogue of MATLAB
% Shepp-Logan phantom
% tomobox/plotLayers - Show the layers of 3D array in subplots
% tomobpx/tomoboxDemo1 - Demo script for tomobox
% tomobox/traceRays - Determine voxels and path lengts for
% parallel rays (auxiliary function for
% buildSystemMatrix)
%
% Files for choosing projection directions
% lebdir/getLebedevDirections - Get unit vectors well spread
% out over sphere
% lebdir/getHalf - Discard duplicate vectors
% differing only by the sign
% (auxiliary function for
% getLebedevDirections)
% lebdir/getLebedevSphere - function to compute normalized
% points and weights for Lebedev
% quadratures on the surface of
% the unit sphere at double
% precision. (auxiliary function
% for getLebedevDirections)
%
% Auxiliary files.
% install - Installation script for all platforms
%
% Directories.
% c - The C functions for TV reconstruction
% externlib - Contains the library file libut.lib
% lebdir - Contains files for computing the Lebedec directions used in
% the tomography demo
% tomobox - Contains the tomography simulation files
Binary file added Pirate.tif
Binary file not shown.
Loading

0 comments on commit 159808c

Please sign in to comment.