diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a0b6f36916d1b7f861bd118f074010ce45d3598d Binary files /dev/null and b/.DS_Store differ diff --git a/compress_start.py b/compress_start.py index 90740ae14b0b050a970df34fd7e06af3a52f9837..c72f0fc1819eaa182b2a429e80c620d9896a4e57 100644 --- a/compress_start.py +++ b/compress_start.py @@ -73,7 +73,7 @@ if __name__ == '__main__': image = np.array(image)[1:,:] #Convert to an array, leaving out the first row because the first row is just housekeeping data ar1, ar2 = image.shape - ind1, ind2 = np.random.randint(0,ar1), np.random.randint(0,ar2) #ind1 randomly selects a row, ind2 randomly selects a column, + ind1, ind2 = np.random.randint(1,ar1-1), np.random.randint(1,ar2-1) #ind1 randomly selects a row, ind2 randomly selects a column, #this is now a random pixel selection within the image surrounding = [] #initialize a list to be filled the 8 surrounding pixels diff --git a/images/.DS_Store b/images/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..af1886789c78deb6f78a70a92ecc5fe13c6ecfcc Binary files /dev/null and b/images/.DS_Store differ