Support for stitching multi channel images (e.g. as numpy arrays instead of filenames) #86
Replies: 7 comments 6 replies
-
Can you give me some more details on your use case? How many bands do the images to bei stitched have? Having the "raw" numpy arrays in memory as Input can leed to memory issues on high resolution Images, thats why its not supported (yet) (Sorry for closing, that was by mistake) |
Beta Was this translation helpful? Give feedback.
-
any updates? |
Beta Was this translation helpful? Give feedback.
-
Hi sorry, For example if each image has the shape (channels, height, width), would it be possible to stitch together each of the first channels. So:
or
or maybe some channel flag to specify which channels to stitch? |
Beta Was this translation helpful? Give feedback.
-
On which channels do you want to perform the image registration (Feature Detection, Matching)? Do you have an example dataset? I think that we should be able to utilize the obtained cameras to stitch all channels together. I don't think that we can perform the image registration part on more or less than three bands (but we need to check this). |
Beta Was this translation helpful? Give feedback.
-
I unfortunately do not have a sample dataset right now but will look into creating one. For the registration, I think it should be possible since we can register two images with (height, width) independently, at least in packages like skimage. I think the same should be possible with opencv. |
Beta Was this translation helpful? Give feedback.
-
Hello, I just found this package and had also the same question. Currently, only filenames are valid as for the input of the stitcher. In my use case, I directly read in frames from two webcams and want to pass these frames into the stitcher. Because of that, my frames have no filename or whatsoever. I am fairly new to programming and am now trying to implement this feature by myself, but it would be great if it was an official feature. Maybe an important question for me would be, if this package is even suitable to perform image stitching for multiple images (later I am aiming for 4 cameras) in real time with decent fps. Would be happy to get some feedback if this would be even possible. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am also interested in stitching multi-channel images provided as 3d numpy arrays. I shared some code on StackOverflow how I process a single channel of 2d data that is provided as numpy array, but wonder how feature matching could be achieved between two or more images with multiple channels, where the matcher bundles all hits from one image to another while mapping each channel to its respective counterpart. I uploaded some test data as 3d numpy arrays in the community image repo which can be loaded with |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for this package. I was trying it out and noticed that currently
Stitcher.stich()
only supports a list of filenames.I was wondering whether it could be possible to support a list of
NumPy
arrays instead, for instance. This would be useful for example in cases where you only want to stitch specific channels of different images.Currently, it also seems to fail with multiple channel images with the error:
Thank you and apologies if you've tackled this issue already elsewhere.
NelsonGon
Beta Was this translation helpful? Give feedback.
All reactions