/tomo/dfi

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/dfi

« back to all changes in this revision

Viewing changes to test_egg.m

  • Committer: Suren A. Chilingaryan
  • Date: 2013-03-22 00:21:41 UTC
  • Revision ID: csa@dside.dyndns.org-20130322002141-40r2i2pfmza3lpfc
Initial release

Show diffs side-by-side

added added

removed removed

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