Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires InEnroll Now
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.
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.
cv2.warpPerspective method to apply perspective transformation of the
dst = cv2.<< your code comes here >>(img_right,H,(img_left.shape + img_right.shape, img_left.shape))
Visualize the output image
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