Questions tagged [image-stitching]

References the process of combining, or stitching together, one or more images.

361 questions
2
votes
1 answer

Using OpenCV and Python to stitch puzzle images together

I am trying to use OpenCV and Python to stitch together several hundred puzzle piece images into one large, complete image. All of the images are digitized and are in a PNG format. The pieces were originally from a scan and extracted into…
gozargozarian
  • 65
  • 1
  • 8
2
votes
1 answer

How to concat (merge) images in Python OpenCV Cuda?

I am very newbie on this topic and I need same simplified answers. I am trying to concat/merge images together in GPU by using cv2.cuda. I have understood that space needs to be allocate for new, merged image and then tiles can be placed by using…
JanneI
  • 63
  • 5
2
votes
0 answers

Image stitching / texture blending in OpenGL (or OpenGL ES)

I've got two YUV images (YUV 420 SP), which have been loaded in fragment shader as textures. These textures are having an overlapping area. Now, I am trying to blend these two textures such that there should not be any difference visible in the…
2
votes
0 answers

Python Code Image Stitching not working - Mac M1

so a friend of mine sent me this code that worked for him to stitch images together vertically. However, when I try to run it, it gives me this: Traceback (most recent call last): File "/Users/usr/Downloads/Test/Concat.py", line 15, in
Darkling
  • 31
  • 2
2
votes
1 answer

Image stitching problem using Python and OpenCV

I got output like below after stitching result of 24 stitched images to next 25th image. Before that stitching was good. Is anyone aware of why/when output of stitching comes like this? What are the possibilities of output coming like that? What…
ganesh
  • 416
  • 1
  • 11
  • 32
2
votes
1 answer

Image Alignment of Multispectral Images Fails with ECC

I am trying to align an RGB image with an IR image (single channel). The goal is to create a 4 channel image R,G,B,IR. In order to do this, I am using cv2.findTransformECC as described in this very neat guide. The code is unchanged for now, except…
Clex
  • 43
  • 8
2
votes
1 answer

Multi band blending makes seams brighter and more visible

I'm trying to stitch two pre-warped images together seamlessly using multi-band blending. I have two input images (that have already been warped) and one mask. However, when I apply MBB, the area surrounding the seams glow brighter and as a result,…
2
votes
0 answers

Finding relative image offsets for image stitching with stitching class in openCV, python

Using the Stitching class in python, I'd like to discover the offsets used after successfully stitching. For example: import cv2 img1=cv2.imread() img2=cv2.imread() stitcher = cv2.Stitcher.create(cv2.Stitcher_SCANS) …
Emu
  • 21
  • 1
2
votes
0 answers

How to convert a video to a long panorama using opencv or any stitcher algorithm?

I want to create a linear video into a long panorama either directly into one long panorama or brokeninto many smaller panoramas stacked together. The video looks like this. What is the best approach? I have tried stitching a few frames at a time…
2
votes
2 answers

OpenCV Stitcher class not working in Python, always returns ERR_NEED_MORE_IMGS

I'm trying to use the OpenCV Stitcher class for putting two images together. I ran the simple example provided in the answer to this question with the same koala images, but it returns (1, None) every time. I've tried this on opencv-python version…
Andy K
  • 151
  • 1
  • 9
2
votes
1 answer

Compute Homography Matrix based on intrinsic and extrinsic camera parameters

I am willing to perform a 360° Panorama stitching for 6 fish-eye cameras. In order to find the relation among cameras I need to compute the Homography Matrix. The latter is usually computed by finding features in the images and matching…
2
votes
1 answer

Live 360° Panorama Image Stitching implementation

I am planning to implement a live 360° panorama stitcher having 6 cameras of the same model. I came across the stitching_detailed.cpp implementation from OpenCV. The problem is that it takes around 1 second to stitch only 2 images together using my…
2
votes
1 answer

OpenCV detect and compute image features

Recently upgraded OpenCV from 3.4.5. to OpenCV 4.2.0. Before I followed this stitching example: https://github.com/opencv/opencv/blob/5131619a1a4d1d3a860b5da431742cc6be945332/samples/cpp/stitching_detailed.cpp (particularly line 480). After…
2
votes
0 answers

Is it possible to select blending type in OpenCV stitcher python

I'm using open-cv==3.4.2 for stitching images in python. import cv2 stitcher = cv2.createStitcher() (status, stitched_panorama) = stitcher.stitch(image_array) In the file blenders from opencv source code, I see there are implementations of both…
2
votes
0 answers

Stitching aerial images in python with open cv

I'm trying to stitch drone images with Open CV ive put together the code below which adds padding to the image to avoid clipping the edges. The unpadded image should be overlayed over the padded one but I don't have a good enough understanding of…
Alex Jones
  • 41
  • 1
  • 6