I have the following code,
my question is, what is the algorithm that the function mesh works on?
I have got great results after exporting the mesh into an obj file, so I need an explanation for that.
a = imread('spect2.jpg');
f = ones(5) * 1/25;
a = imfilter(a, f, "symmetric");
b = rgb2gray(a);
b = im2double(b);