Commit 5a00f3f8 authored by Josef Brandt's avatar Josef Brandt

Fix in Imagestitch

parent 5e79c241
......@@ -24,17 +24,15 @@ import numpy as np
def imageStacking(colimgs):
full = []
images = []
laplacians = []
for img in colimgs:
gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
lap = cv2.Laplacian(gray, cv2.CV_64F)
lap = cv2.Laplacian(gray, cv2.CV_64F, ksize=7)
full.append(img)
images.append(gray)
blurlap = (cv2.GaussianBlur((lap)**2,(25,25),0))
laplacians.append(blurlap)
images = np.array(images)
laplacians = np.array(laplacians)
full = np.array(full)
full = np.uint8(full)
......
Markdown is supported
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