Reading two images as one image Python
<p>I have a collection of images, one group of "left" images and one group of images "right". My task is to read in the "left-01, left-02 etc." and "right-01,right-02 etc." images two at a time (one left and one right image), combine those images to make a new image (Similar to a view from the left eye and right eye combined) then process that image to find non-linear movement using OpenCV. My current implementation reads in one left and one right file, but i cannot think of how to combine those images so they can be processed later.</p>

<p>Here is my method for reading in one left image and one right image:</p>

<pre><code>def leftRead():
leftList = []
directoryFiles = glob.glob('left*')
for im in directoryFiles:
    leftList.append(cv2.imread(im, 1))
return leftList

def rightRead():
rightList = []
directoryFiles = glob.glob('right*')
for im in directoryFiles:
    rightList.append(cv2.imread(im, 1))
return rightList
</code></pre>

<p>Any help would be much appreciated! :) </p>