diff --git a/CH01/CH01_SEC02.m b/CH01/CH01_SEC02.m index 99bf0e7..a241a71 100644 --- a/CH01/CH01_SEC02.m +++ b/CH01/CH01_SEC02.m @@ -1,6 +1,6 @@ clear all, close all, clc -A=imread('../DATA/dog.jpg'); +A=imread('CH01/dog.jpg'); X=double(rgb2gray(A)); % Convert RBG->gray, 256 bit->double. nx = size(X,1); ny = size(X,2); imagesc(X), axis off, colormap gray diff --git a/CH01/CH01_SEC02_production.m b/CH01/CH01_SEC02_production.m index 055dafe..1cd70d8 100644 --- a/CH01/CH01_SEC02_production.m +++ b/CH01/CH01_SEC02_production.m @@ -1,6 +1,6 @@ clear all, close all, clc -A=imread('../DATA/dog.jpg'); +A=imread('CH01/dog.jpg'); X=double(rgb2gray(A)); % Convert RBG to gray, 256 bit to double. nx = size(X,1); ny = size(X,2);