~gerald-mwangi/+junk/ThesisMatlab

« back to all changes in this revision

Viewing changes to Matlab/TVSmoothPyramid.m

  • Committer: gerald.mwangi at gmx
  • Date: 2017-10-05 12:14:48 UTC
  • Revision ID: gerald.mwangi@gmx.de-20171005121448-wesl3srbemcec5eg
Added code for extension of chambolle pock

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
impyr={};
7
7
imlap={};
8
 
im0=double(imread('/home/gmwangi/Edevis-Data/Data/CFRP-Data/Heck-Vorne/rectified/Thermo-Vis/Thermo-Vis-cfrp1.png'));
9
 
thermo=double(imread('/home/gmwangi/Edevis-Data/Data/CFRP-Data/Heck-Vorne/rectified/Thermo-Vis/Thermo-Vis-cfrp0.png'));
 
8
im0=double(imread('/home/gerald/Charon/data/Middleburry/eval_data_gray/Army/frame10.png'));
 
9
%thermo=double(imread('/home/gmwangi/Edevis-Data/Data/CFRP-Data/Heck-Vorne/rectified/Thermo-Vis/Thermo-Vis-cfrp0.png'));
 
10
im0=im0+(rand(size(im0)).*2-1).*100;
10
11
impyr{1}=im0;
11
12
imnext=im0;
12
13
figure();imshow(uint8(impyr{1}));
74
75
[texture smim0] = structure_texture_decomposition_rof(im0, 0.5, 200, 0.95);
75
76
 figure();imshow(uint8(smim0));
76
77
  figure();imshow(uint8(texture));
77
 
  imwrite(uint8(smim0),'/home/gmwangi/Edevis-Data/Data/CFRP-Data/Heck-Vorne/rectified/Thermo-Vis/Thermo-Vis-smooth-cfrp1.png');
 
 
b'\\ No newline at end of file'
 
78
  %imwrite(uint8(smim0),'/home/gmwangi/Edevis-Data/Data/CFRP-Data/Heck-Vorne/rectified/Thermo-Vis/Thermo-Vis-smooth-cfrp1.png');
 
 
b'\\ No newline at end of file'