from skimage.io import imread
import matplotlib.pyplot as plt
from skimage.color import rgb2gray
import scipy.ndimage as ndi
from terraingrid import TerrainGrid
import numpy as np
import cv2 as cv
from scipy.ndimage.filters import gaussian_filter
rd0 = r"D:\Documents\School\2019-20\ISEF 2020\HighProcessed\r_37ez2.tif"
rd1 = r"D:\Documents\School\2019-20\ISEF 2020\HighProcessed\r_37fz1.tif"
rasdf = r"D:\Documents\School\2019-20\ISEF 2020\HighProcessed\r_37hn2.tif"
ehamr = r"D:\Documents\School\2019-20\ISEF 2020\HighProcessed\r_25dn1.tif"
r2 = r"D:\Documents\School\2019-20\ISEF 2020\HighProcessed\r_37fz2.tif"
path = r"C:\Users\siddh\Documents\DSMS\R_25GN1\r_25gn1.tif"
rotterdam = r"D:\Documents\School\2019-20\ISEF 2020\HighProcessed\r_51bz2.tif"

a = TerrainGrid(rd0, (1,1), 1)
a.show(-5, 50)