摘要: 1 import pickle 2 import psycopg2 3 import alphashape 4 import numpy as np 5 import geopandas as gpd 6 import matplotlib.pyplot as plt 7 from shapely. 阅读全文
posted @ 2021-08-08 16:43 土博姜山山 阅读(765) 评论(0) 推荐(0)
摘要: 1 import math 2 3 # visualisation 4 import matplotlib.pyplot as plt 5 import matplotlib.lines as lines 6 # visualisation 7 8 def Sum_points(P1, P2): 9 阅读全文
posted @ 2021-08-08 15:04 土博姜山山 阅读(879) 评论(0) 推荐(0)
摘要: 1 def matrix2gray(mat): 2 """ 3 convert matrix image into gray image 4 :param mat: matrix (n x m) with numpy type 5 :return: mat 6 """ 7 min_v = int(m 阅读全文
posted @ 2021-08-08 14:48 土博姜山山 阅读(106) 评论(0) 推荐(0)