Loading .gitignore +2 −1 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ __pycache__ /.pydevproject attic *.log /compress_start.pyc compress_start.py +6 −2 Original line number Diff line number Diff line Loading @@ -68,7 +68,10 @@ if __name__ == '__main__': tiff3.append(os.path.join(scene, s)) cameras = [tiff0, tiff1, tiff2, tiff3] i = 0 im = Image.open(tiff0[0]) im = np.array(im)[1:,:] print(im) jj = 0 fig, axs = plt.subplots(nrows=2, ncols=2, figsize=(15,12)) for cam, ax in zip(cameras, axs.ravel()): diff = [] Loading @@ -88,7 +91,8 @@ if __name__ == '__main__': surrounding.append(image[ind1+i, ind1+j]) #Add the other 8 pixels to the list diff.append(np.max(surrounding)-np.min(surrounding)) ax.hist(diff) i += 1 ax.set_title(f"tiff {jj}") jj += 1 plt.tight_layout() plt.show() Loading Loading
.gitignore +2 −1 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ __pycache__ /.pydevproject attic *.log /compress_start.pyc
compress_start.py +6 −2 Original line number Diff line number Diff line Loading @@ -68,7 +68,10 @@ if __name__ == '__main__': tiff3.append(os.path.join(scene, s)) cameras = [tiff0, tiff1, tiff2, tiff3] i = 0 im = Image.open(tiff0[0]) im = np.array(im)[1:,:] print(im) jj = 0 fig, axs = plt.subplots(nrows=2, ncols=2, figsize=(15,12)) for cam, ax in zip(cameras, axs.ravel()): diff = [] Loading @@ -88,7 +91,8 @@ if __name__ == '__main__': surrounding.append(image[ind1+i, ind1+j]) #Add the other 8 pixels to the list diff.append(np.max(surrounding)-np.min(surrounding)) ax.hist(diff) i += 1 ax.set_title(f"tiff {jj}") jj += 1 plt.tight_layout() plt.show() Loading