https://github.com/Tanentzapf-Lab/ActinOrganization_CellMorphology_Haage
Revision e031ec0020fe0ef548d9442309e6733593ff0a87 authored by Tanentzapf-Lab on 27 July 2021, 19:42:39 UTC, committed by GitHub on 27 July 2021, 19:42:39 UTC
1 parent 275bb40
Tip revision: e031ec0020fe0ef548d9442309e6733593ff0a87 authored by Tanentzapf-Lab on 27 July 2021, 19:42:39 UTC
Script Files Uploaded
Script Files Uploaded
Tip revision: e031ec0
diff_gauss.m
function dogImg=diff_gauss(img)
%img=imadjust(img);
% if not high res
sigma1 = 1;
sigma2 = 10;
hsize1 = [2,2];
hsize2 = [20,20];
% if high res
% sigma1 = 4;
% sigma2 = 15;
%
% hsize1 = [14, 14];
% hsize2 = [40,40];
h1 = fspecial('gaussian', hsize1, sigma1);
h2 = fspecial('gaussian', hsize2, sigma2);
gauss1 = imfilter(img,h1,'replicate');
gauss2 = imfilter(img,h2,'replicate');
dogImg = gauss1 - gauss2;
Computing file changes ...