Remove debug code
This commit is contained in:
parent
10cd0778b8
commit
a817bf6642
@ -252,11 +252,6 @@ class Shape(metaclass=ABCMeta):
|
|||||||
binary_rastered = (rastered >= 0.5)
|
binary_rastered = (rastered >= 0.5)
|
||||||
supersampled = binary_rastered.repeat(2, axis=0).repeat(2, axis=1)
|
supersampled = binary_rastered.repeat(2, axis=0).repeat(2, axis=1)
|
||||||
|
|
||||||
from matplotlib import pyplot
|
|
||||||
pyplot.pcolormesh(binary_rastered)
|
|
||||||
pyplot.colorbar()
|
|
||||||
pyplot.show()
|
|
||||||
|
|
||||||
contours = skimage.measure.find_contours(supersampled, 0.5)
|
contours = skimage.measure.find_contours(supersampled, 0.5)
|
||||||
polygon_contours.append((offset, contours))
|
polygon_contours.append((offset, contours))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user