Remove old visualization
This commit is contained in:
parent
93d9a94c67
commit
5acd52c1ae
1 changed files with 0 additions and 19 deletions
|
@ -177,25 +177,6 @@ class Plate:
|
|||
x = [ taken_point[1] for taken_point in taken_points ]
|
||||
y = [ taken_point[0] for taken_point in taken_points ]
|
||||
|
||||
"""
|
||||
matrix = ones( compressed.shape )
|
||||
for taken_point in taken_points:
|
||||
matrix[ taken_point[0] , taken_point[1] ] = 0
|
||||
import matplotlib.pyplot as plt
|
||||
plt.plot(
|
||||
[ point[1] ] ,
|
||||
[ point[0] ] ,
|
||||
linestyle = '' ,
|
||||
marker = 'x' ,
|
||||
markersize = 15 ,
|
||||
markeredgecolor = 'red',
|
||||
markeredgewidth = 5 ,
|
||||
)
|
||||
plt.imshow( compressed , aspect = 'auto' )
|
||||
plt.imshow( matrix , aspect = 'auto' , alpha = 0.5 )
|
||||
plt.show()
|
||||
"""
|
||||
|
||||
if len( x ) > 5 and len( y ) > 5:
|
||||
if max( x ) < x_half:
|
||||
if self.border.x.min < max( x ):
|
||||
|
|
Loading…
Reference in a new issue