Commit 97bfba00 authored by luroth's avatar luroth
Browse files

cleanup

parent 92065c73
......@@ -10,8 +10,7 @@ from scipy.ndimage.measurements import center_of_mass, label
from skimage.morphology import watershed
from scipy.sparse import csr_matrix
import math
from scipy.interpolate import UnivariateSpline, interp1d
from sklearn.linear_model import LinearRegression
from matplotlib import pyplot as plt
from skimage.morphology import disk
from skimage.filters import rank
......@@ -371,6 +370,9 @@ def process_NadirCC_LCCC_LA_AI(path_campaign, GSD):
for LA_image in LA_images:
parts = LA_image.name.split("_")
if(len(parts)==3):
if parts[1] == "lp01":
print(LA_image, " is lp01 overview image, skip")
continue
design_label = parts[0] + "_" + parts[1]
plot_label = parts[2][:-4]
elif(len(parts)==2):
......@@ -382,6 +384,7 @@ def process_NadirCC_LCCC_LA_AI(path_campaign, GSD):
else:
raise Exception("Do not know how to parse name " + LA_image.name)
print("Process LA image for plot", plot_label)
LA_img = imageio.imread(LA_image)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment