---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
C:\Miniconda3\lib\site-packages\skimage\viewer\plugins\base.py in _update_original_image(self, image)
183 self.arguments[0] = image
184 self._on_new_image(image)
--> 185 self.filter_image()
186
187 def _on_new_image(self, image):
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in filter_image(self, **kwargs)
89 "Filter if plugin enabled and we have image."
90 if self.enabled and len(self.arguments):
---> 91 super(EnablePlugin, self).filter_image(**kwargs)
92 elif len(self.arguments):
93 self.display_filtered_image(self.arguments[0])
C:\Miniconda3\lib\site-packages\skimage\viewer\plugins\base.py in filter_image(self, *widget_arg)
167 kwargs = dict([(name, self._get_value(a))
168 for name, a in self.keyword_arguments.items()])
--> 169 filtered = self.image_filter(*arguments, **kwargs)
170
171 self.display_filtered_image(filtered)
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in image_filter(self, img)
247 # draw circle around regions of interest
248 rr, cc = draw.circle(*region.centroid + (r,))
--> 249 self.circles[rr, cc] = region.label
250 # creat .x and .y property for easy access
251 region.y, region.x, region.y_end, region.x_end = region.bbox
IndexError: index 4115 is out of bounds for axis 1 with size 4115
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
C:\Miniconda3\lib\site-packages\skimage\viewer\widgets\core.py in _value_changed(self, value)
41
42 def _value_changed(self, value):
---> 43 self.callback(self.name, value)
44
45
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in update_plugin(self, name, val)
84 def update_plugin(self, name, val):
85 super(EnablePlugin, self).update_plugin(name,val)
---> 86 self.filter_image()
87
88 def filter_image(self, **kwargs):
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in filter_image(self, **kwargs)
89 "Filter if plugin enabled and we have image."
90 if self.enabled and len(self.arguments):
---> 91 super(EnablePlugin, self).filter_image(**kwargs)
92 elif len(self.arguments):
93 self.display_filtered_image(self.arguments[0])
C:\Miniconda3\lib\site-packages\skimage\viewer\plugins\base.py in filter_image(self, *widget_arg)
167 kwargs = dict([(name, self._get_value(a))
168 for name, a in self.keyword_arguments.items()])
--> 169 filtered = self.image_filter(*arguments, **kwargs)
170
171 self.display_filtered_image(filtered)
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in image_filter(self, img)
247 # draw circle around regions of interest
248 rr, cc = draw.circle(*region.centroid + (r,))
--> 249 self.circles[rr, cc] = region.label
250 # creat .x and .y property for easy access
251 region.y, region.x, region.y_end, region.x_end = region.bbox
IndexError: index 4115 is out of bounds for axis 1 with size 4115
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
C:\Miniconda3\lib\site-packages\skimage\viewer\widgets\core.py in _value_changed(self, value)
41
42 def _value_changed(self, value):
---> 43 self.callback(self.name, value)
44
45
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in update_plugin(self, name, val)
84 def update_plugin(self, name, val):
85 super(EnablePlugin, self).update_plugin(name,val)
---> 86 self.filter_image()
87
88 def filter_image(self, **kwargs):
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in filter_image(self, **kwargs)
89 "Filter if plugin enabled and we have image."
90 if self.enabled and len(self.arguments):
---> 91 super(EnablePlugin, self).filter_image(**kwargs)
92 elif len(self.arguments):
93 self.display_filtered_image(self.arguments[0])
C:\Miniconda3\lib\site-packages\skimage\viewer\plugins\base.py in filter_image(self, *widget_arg)
167 kwargs = dict([(name, self._get_value(a))
168 for name, a in self.keyword_arguments.items()])
--> 169 filtered = self.image_filter(*arguments, **kwargs)
170
171 self.display_filtered_image(filtered)
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in image_filter(self, img)
247 # draw circle around regions of interest
248 rr, cc = draw.circle(*region.centroid + (r,))
--> 249 self.circles[rr, cc] = region.label
250 # creat .x and .y property for easy access
251 region.y, region.x, region.y_end, region.x_end = region.bbox
IndexError: index 4115 is out of bounds for axis 1 with size 4115
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
C:\Miniconda3\lib\site-packages\skimage\viewer\widgets\core.py in _value_changed(self, value)
41
42 def _value_changed(self, value):
---> 43 self.callback(self.name, value)
44
45
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in update_plugin(self, name, val)
84 def update_plugin(self, name, val):
85 super(EnablePlugin, self).update_plugin(name,val)
---> 86 self.filter_image()
87
88 def filter_image(self, **kwargs):
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in filter_image(self, **kwargs)
89 "Filter if plugin enabled and we have image."
90 if self.enabled and len(self.arguments):
---> 91 super(EnablePlugin, self).filter_image(**kwargs)
92 elif len(self.arguments):
93 self.display_filtered_image(self.arguments[0])
C:\Miniconda3\lib\site-packages\skimage\viewer\plugins\base.py in filter_image(self, *widget_arg)
167 kwargs = dict([(name, self._get_value(a))
168 for name, a in self.keyword_arguments.items()])
--> 169 filtered = self.image_filter(*arguments, **kwargs)
170
171 self.display_filtered_image(filtered)
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\viewer.py in image_filter(self, img)
247 # draw circle around regions of interest
248 rr, cc = draw.circle(*region.centroid + (r,))
--> 249 self.circles[rr, cc] = region.label
250 # creat .x and .y property for easy access
251 region.y, region.x, region.y_end, region.x_end = region.bbox
IndexError: index 4115 is out of bounds for axis 1 with size 4115
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-44-fffc7cd810f3> in <module>()
----> 1 regions = find_spots(experiment)
c:\users\tcs-user\downloads\leicaautomator\leicaautomator\automator.py in find_spots(experiment)
113
114 for region in regions:
--> 115 region.real_x = real_x_start + region.x*x_px_size
116 region.real_y = real_y_start + region.y*y_px_size
117
AttributeError: '_RegionProperties' object has no attribute 'x'