Skip to content
Snippets Groups Projects
Commit 644e1da5 authored by willap's avatar willap
Browse files

updates to layered surface detection notebook

parent 7eb32c02
Branches
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -129,7 +129,7 @@ class MeanEstimatorTool:
self.line_width = 20
self.radius = self.line_width / 2
self.canvas = MultiCanvas(2, width=background_image.shape[0], height=background_image.shape[1])
self.canvas = MultiCanvas(2, width=background_image.shape[1], height=background_image.shape[0])
self.canvas[1].sync_image_data = True
self.canvas[0].put_image_data(background_image, 0, 0)
......@@ -176,6 +176,7 @@ class MeanEstimatorTool:
def _on_mouse_down(self, x, y):
self.drawing = True
self.canvas[1].fill_circle(x, y, self.radius)
self.ix = x
self.iy = y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment