function [Ioutput]= marrfilter(I)
I1=im2double(I);
[Izerosmooth]= filtering(I1);
[Ioutput]=zerocrossing(Izerosmooth);
Ioutput1=im2uint8(Ioutput);
Ioutput1= Ioutput1>105;
imshow(Ioutput1);

figure;
  subplot(2,2,1);imshow(I);title('origional image');
  subplot(2,2,2);imshow(Izerosmooth);title('Zerosmooth image');
   subplot(2,2,3);imshow(Ioutput);title('output image');
   subplot(2,2,4);imshow(Ioutput1);title('output image with threshold');


   
Sable
github-repos/MATLAB/Sable-mcbench-benchmarks/mcbench-benchmarks-ba13b2f0296ef49491b95e3f984c7c41fccdb6d8/40808-image-segmentation-using-marr-hilderth-filter/marrfilter.m
mcbench-benchmarks
github-repos/MATLAB/Sable-mcbench-benchmarks
ba13b2f0296ef49491b95e3f984c7c41fccdb6d8