cropped_im=im(1:561, 1:969);
figure;
imagesc(cropped_im);
imc_patch=mat2tiles(cropped_im,[51 51]);
patch_output=zeros(11,19);
for i=1:11
for j=1:19
patch_output(i,j)=sum((gabor2D.*imc_patch{i,j}),'all')
end
end
patch_output_rectified=rectify(patch_output)
imagesc(patch_output_rectified)
this is currently what I am using