Skip to content

Commit

Permalink
new images
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyedward committed Jan 23, 2024
1 parent 563c851 commit 2ca7159
Show file tree
Hide file tree
Showing 22 changed files with 84 additions and 49 deletions.
3 changes: 2 additions & 1 deletion image_stitching/image_stitching.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ImageStitching:

def __init__(self):
super().__init__()
self.smoothing_window_size = 800
self.smoothing_window_size = 500

def give_gray(self, image):
"""receives an image array and returns grayscaled image
Expand Down Expand Up @@ -131,6 +131,7 @@ def create_mask(self, query_image, train_image, version):
def blending_smoothing(self, query_image, train_image, homography_matrix):
"""blends both query and train image via the homography matrix,
and ensures proper blending and smoothing using masks created in create_masks()
to give a seamless panorama.
Args:
query_image (numpy array)
Expand Down
Binary file added inputs/back/back_01.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added inputs/back/back_02.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added inputs/back/back_03.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed inputs/desk/pa1.jpg
Binary file not shown.
Binary file removed inputs/desk/pa2.jpg
Binary file not shown.
Binary file removed inputs/desk/pa3.jpg
Binary file not shown.
Binary file added inputs/front/front_01.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added inputs/front/front_02.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added inputs/front/front_03.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed inputs/office/q11.jpg
Binary file not shown.
Binary file removed inputs/office/q22.jpg
Binary file not shown.
Binary file added inputs/room/room01.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added inputs/room/room02.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed inputs/singapore/query.jpg
Binary file not shown.
Binary file removed inputs/singapore/train.jpg
Binary file not shown.
130 changes: 82 additions & 48 deletions main.ipynb

Large diffs are not rendered by default.

Binary file added outputs/final_output.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added outputs/keypoints_matched.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified outputs/panorama_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added outputs/sift_features_located.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added outputs/unblended_and_unsmoothed_output.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ca7159

Please sign in to comment.