From: WANG Date: Fri, 13 Sep 2013 15:49:20 +0000 (+0200) Subject: Add octave scripts for examples into track list. X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/commitdiff_plain/8e216a8d5f6b094308594009342e53ef122b8062 Add octave scripts for examples into track list. --- diff --git a/examples/2d_fft/hcosine-32.png b/examples/2d_fft/hcosine-32.png new file mode 100644 index 0000000..4b4615e Binary files /dev/null and b/examples/2d_fft/hcosine-32.png differ diff --git a/examples/2d_fft/img_read.m b/examples/2d_fft/img_read.m new file mode 100644 index 0000000..52c8229 --- /dev/null +++ b/examples/2d_fft/img_read.m @@ -0,0 +1,2 @@ +a = imread('hcosine-32.png' ); +csvwrite('hcosine-32.csv', a); diff --git a/examples/2d_fft/img_write.m b/examples/2d_fft/img_write.m new file mode 100644 index 0000000..b2338a7 --- /dev/null +++ b/examples/2d_fft/img_write.m @@ -0,0 +1,4 @@ +a = imread('hcosine-32.png' ); +b = csvread('output1.csv' ); +imwrite(b, 'fft2d.png'); + diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 0000000..66667e1 --- /dev/null +++ b/examples/Makefile @@ -0,0 +1,4 @@ +SOURCES = $(wildcard */*.dsp) + +all: $(SOURCES) + diff --git a/examples/close/img_read.m b/examples/close/img_read.m new file mode 100644 index 0000000..1f1beae --- /dev/null +++ b/examples/close/img_read.m @@ -0,0 +1,2 @@ +a = imread('circbw.png' ); +csvwrite('circbw.csv', a); diff --git a/examples/close/img_write.m b/examples/close/img_write.m new file mode 100644 index 0000000..bd0397f --- /dev/null +++ b/examples/close/img_write.m @@ -0,0 +1,4 @@ +a = imread('circbw.gif' ); +b = csvread('output1.csv' ); +imwrite(b, 'close.png'); + diff --git a/examples/dilation/img_read.m b/examples/dilation/img_read.m new file mode 100644 index 0000000..dd943aa --- /dev/null +++ b/examples/dilation/img_read.m @@ -0,0 +1,2 @@ +a = imread('letter_j.png' ); +csvwrite('letter_j.csv', a); diff --git a/examples/dilation/img_write.m b/examples/dilation/img_write.m new file mode 100644 index 0000000..574f59d --- /dev/null +++ b/examples/dilation/img_write.m @@ -0,0 +1,4 @@ +a = imread('letter_j.png' ); +b = csvread('output1.csv' ); +imwrite(b, 'dilation.png'); + diff --git a/examples/open/img_read.m b/examples/open/img_read.m new file mode 100644 index 0000000..1f1beae --- /dev/null +++ b/examples/open/img_read.m @@ -0,0 +1,2 @@ +a = imread('circbw.png' ); +csvwrite('circbw.csv', a); diff --git a/examples/open/img_write.m b/examples/open/img_write.m new file mode 100644 index 0000000..5eedfec --- /dev/null +++ b/examples/open/img_write.m @@ -0,0 +1,4 @@ +a = imread('circbw.gif' ); +b = csvread('output1.csv' ); +imwrite(b, 'open.png'); +