brianpinto91 / image-stitching

A python package to stitch multiple images either horizontally or vertically
https://brianpinto91.github.io/image-stitching/
BSD 3-Clause "New" or "Revised" License
64 stars 21 forks source link

Can it stitch images in horizontal and vertical directions both. #3

Open ceyxasm opened 1 year ago

ceyxasm commented 1 year ago

I am working on multiple image stitching where my image is images taken from drone and I need to stitch to create a map. However, most of the implementations i saw can only stitch dominantly in one orientation.

phamminhhanhuet commented 7 months ago

I had this problem here, and I solved it easily by modifying stitch_images function in source code. Instead of defining stitch_direction as int type, let change stitch_direction to list of directions that each couple of images be stitched. I modified as:

pivot_img = utils.stitch_image_pair(pivot_img, join_img, stitch_direc=stitch_direction[i - 1])