Commit 821e679e authored by Daniel Bourgault's avatar Daniel Bourgault

Very minor change made.

parent 5da9ec7c
......@@ -67,7 +67,10 @@ for i = 1:N_img
img = imread(img_fname(i).name);
% Convert to gray scale
img = rgb2gray(img);
[m n p] = size(img);
if p > 1
img = rgb2gray(img);
end
img = double(img);
img = img';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment