O'Reilly logo

Visual Media Processing Using MATLAB Beginner's Guide by George Siogkas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – basic approach to panorama stitching

In this example, we will use three photographs taken from the same point in space, just by rotating the camera in the horizontal axis. Let's see the steps needed:

  1. First, as always, we will load and display our images:
    >> L = imread('Left.jpg');
    >> M = imread('Middle.jpg');
    >> R = imread('Right.jpg');
    >> subplot(1,3,1);imshow(L);title('Left image')
    >> subplot(1,3,2);imshow(M);title('Middle image')
    >> subplot(1,3,3);imshow(R);title('Right image')
    Time for action – basic approach to panorama stitching
  2. Now, let's pick two pairs of points that we will use for the connections (remember: we will not use any geometric transformations here). For the selection, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required