mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 12:03:20 +08:00
Use nearest neighbor interpolation and a gray-level color map for plotting feature matches
This commit is contained in:
@@ -105,7 +105,7 @@ def plot_matches(ax, image1, image2, keypoints1, keypoints2, matches,
|
||||
ax.scatter(keypoints2[:, 1] + offset[1], keypoints2[:, 0],
|
||||
facecolors='none', edgecolors=keypoints_color)
|
||||
|
||||
ax.imshow(image)
|
||||
ax.imshow(image, interpolation='nearest', cmap='gray')
|
||||
ax.axis((0, 2 * offset[1], offset[0], 0))
|
||||
|
||||
for i in range(matches.shape[0]):
|
||||
|
||||
Reference in New Issue
Block a user