From 10a1963b12b3f8556d6e1e50e2a3e57b6759e96b Mon Sep 17 00:00:00 2001 From: Alexander Pattyn Date: Fri, 9 Feb 2024 17:34:26 -0500 Subject: [PATCH] Added fix for jpeg path --- CH01/CH01_SEC02.m | 2 +- CH01/CH01_SEC02_production.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);