bzr branch
http://suren.me/webbzr/tomo/dfi
1 2 3 4 5 6 7 8 9 10 11 12 13 |
function [res]=test() % sino=imread('/pdv/data/tomo/egg/sinograms/sino00531.tif'); sino=imread('/pdv/data/tomo/egg/sino-egg.tif'); f=pack_sinogram(sino, 462, 2); g=simple_interpolate(f, 0.225, 2, 1); slice=unpack_slice(g, 1024); res=slice; imagesc(slice); colormap(gray); end |