Visualization functions
imshow_cv2(img, win_name=None, convert_RGB2BRG=True)
Wrapper for visualizing an image with OpenCV
Parameters: |
|
---|
Returns: |
|
---|
plot_image_pair(imgs, dpi=100, size=6, pad=0.5)
Plot a pair of images.
Parameters: |
|
---|
Returns: |
|
---|
plot_matches(image0, image1, pts0, pts1, color=[0, 255, 0], point_size=1, line_thickness=1, path=None, fast_viz=False)
Plot matching points between two images.
Parameters: |
|
---|
Returns: |
|
---|
plot_matches_cv2(image0, image1, pts0, pts1, pts_col=(0, 0, 255), point_size=2, line_col=(0, 255, 0), line_thickness=1, path=None, margin=10)
Plot matching points between two images using OpenCV.
Parameters: |
|
---|
Returns: |
|
---|
plot_points(image, points, title=None, ax=None, save_path=None, hide_fig=False, zoom_to_features=False, window_size=50, **kwargs)
plot_points Plot points on input image.
Parameters: |
|
---|
Returns: |
|
---|
plot_features(image, features, title=None, ax=None, save_path=None, hide_fig=False, **kwargs)
Wrapper around plot_points to work if the input is a Features object
plot_feature(image, feature, title=None, ax=None, save_path=None, hide_fig=False, zoom_to_feature=False, window_size=50, **kwargs)
Wrapper around plot_points to work if the input is a single Feature object
plot_projections(points3d, camera, image, title=None, ax=None)
Project 3D points to a camera and plot their projections on an image.
Parameters: |
|
---|
Returns: |
|
---|
plot_projection_error(projections, projection_error, image, title=None, ax=None, convert_BRG2RGB=True)
Plot the projection error of 3D points on an image.
Parameters: |
|
---|
Returns: |
|
---|