nanomesh.utilsο
Functions:
|
Compare mesh with image. |
|
s -> (s0,s1), (s1,s2), (s2, s3), ... |
- nanomesh.utils.compare_mesh_with_image(image: np.ndarray, mesh: TriangleMesh, cmap: str = None, **kwargs)[source]ο
Compare mesh with image.
- Parameters
image (2D array) β Image to compare mesh with
mesh (TriangleMesh) β Triangle mesh to plot on image
cmap (str) β Matplotlib color map for
matplotlib.pyplot.imshow()
**kwargs β These parameters are passed on to plotting function.
- Returns
ax
- Return type