Commit e9d63665 authored by Alexander Mordvintsev's avatar Alexander Mordvintsev

little simplification

parent 15de28b0
......@@ -9,9 +9,8 @@ from common import draw_str
w, h = 512, 512
a = np.zeros((h, w, 1), np.float32)
a = np.zeros((h, w), np.float32)
cv2.randu(a, np.array([0]), np.array([1]))
a.shape = (h, w)
def process_scale(a_lods, lod):
d = a_lods[lod] - cv2.pyrUp(a_lods[lod+1])
......
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