
oriimg=im2double(oriimg);
figure;
% for cnn
% some other image processing ?

% tf=6 (?), displayTime=1
%diffimg=diffuse(oriimg,6,1);

%oriu = im2double(max(max(oriimg)));
%oril = im2double(min(min(oriimg)));
%oriimg = (oriimg-oril)/(oriu-oril)*2-1;
%subimg=oriimg-diffimg;
%absimg=abs(subimg);
%scaleimg=5*absimg;  % this morning: absimg.*absimg

% tf=100-150 (?)

%better alg. ??

fallimg=falling(oriimg,50,1);
eCnnplain=edge(fallimg,'canny');
figure;imshow(eCnnplain);title('eCnn-plain');


