summaryrefslogtreecommitdiffstats
path: root/demos/data
diff options
context:
space:
mode:
authorDaniil Kazantsev <dkazanc@hotmail.com>2019-06-02 13:35:52 +0100
committerDaniil Kazantsev <dkazanc@hotmail.com>2019-06-02 13:35:52 +0100
commita532c5efb8f20a8eb400fdad0edc00dad50a5c46 (patch)
tree8716aa2a793e525692e2516133d438e97c124f4f /demos/data
parent7c07fde6955537085c7f7e563054aefac219a63c (diff)
downloadregularization-a532c5efb8f20a8eb400fdad0edc00dad50a5c46.tar.gz
regularization-a532c5efb8f20a8eb400fdad0edc00dad50a5c46.tar.bz2
regularization-a532c5efb8f20a8eb400fdad0edc00dad50a5c46.tar.xz
regularization-a532c5efb8f20a8eb400fdad0edc00dad50a5c46.zip
tests run without pillow
Diffstat (limited to 'demos/data')
-rw-r--r--demos/data/binary_save.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/data/binary_save.py b/demos/data/binary_save.py
index 3fb2162..06b5eb2 100644
--- a/demos/data/binary_save.py
+++ b/demos/data/binary_save.py
@@ -1,9 +1,9 @@
import numpy as np
-outfile = open('my_file.bin', 'wb') # Open a file for binary write
-outfile.write(im) # Write it
+outfile = open('test_imageLena.bin', 'wb') # Open a file for binary write
+outfile.write(Im) # Write it
outfile.flush() # Optional but a good idea
outfile.close()
-
+#%%
# Define width and height
w, h = 256, 256
# Read file using numpy "fromfile()"