mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-06 13:30:21 +08:00
Addition of examples in the harris and peak local max function
This commit is contained in:
@@ -41,10 +41,8 @@ plt.title('Maximum filter')
|
||||
|
||||
plt.subplot(133)
|
||||
plt.imshow(im, cmap=plt.cm.gray)
|
||||
a, b = im.shape
|
||||
plt.autoscale(False)
|
||||
plt.plot([p[1] for p in coordinates], [p[0] for p in coordinates], 'r.')
|
||||
plt.xlim(0, b)
|
||||
plt.ylim(a, 0)
|
||||
plt.axis('off')
|
||||
plt.title('Peak local max')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user