mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-29 12:58:49 +08:00
Merge pull request #948 from stefanv/bug/plot_matches-cmap-interp
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