visual-search/scratch.m
2019-12-01 12:25:26 +00:00

10 lines
178 B
Matlab

img = double(imread('dataset/Images/5_15_s.bmp'))./255;
img = getGreyscale(img);
[mag_img, angle_img] = getEdgeInfo(img);
imshow(mag_img > 0.01);
export_fig(mag_img > 0.01);