Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires In

  Enroll Now

Image Registration

Now that we found the homography for transformation, we can now proceed to warp and display the right-side image in an orientation suitable to be stitched with the left image. This is also known as image registration.

Note:

cv2.warpPerspective applies a perspective transformation to an image, given the image, homography matrix, and size of the output image and returns the transformed output image.

INSTRUCTIONS
  • Use cv2.warpPerspective method to apply perspective transformation of the img_right.

    dst = cv2.<< your code comes here >>(img_right,H,(img_left.shape[1] + img_right.shape[1], img_left.shape[0]))
    
  • Visualize the output image dst.

    plt.figure(figsize=(30,20))
    plt.title('Warped Image') 
    plt.imshow(fixColor(dst))
    

No hints are availble for this assesment

Answer is not availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...