1 | initial version |
I took a quick peek at the stitcher API
it appears that you can run estimateTransform() separately from composePanorama(), with different images. give it a try.
you would split your 5-channel image into its planes (numpy slice, img[..., 0] for first channel plane; if the api complains, try making a copy of the plane to make it contiguous in memory), run them through the composition method, then reassemble them (np.dstack)
2 | No.2 Revision |
I took a quick peek at the stitcher API
it recommends that you familiarize yourself with its pipeline
it appears that you can run estimateTransform() separately from composePanorama(), with different images. give it a try.
you would split your 5-channel image into its planes (numpy slice, img[..., 0] for first channel plane; if the api complains, try making a copy of the plane to make it contiguous in memory), run them through the composition method, then reassemble them (np.dstack)
3 | No.3 Revision |
I took a quick peek at the stitcher API
it recommends that you familiarize yourself with its pipeline
it appears that you can run estimateTransform() separately from composePanorama(), with different images. give it a try.
you would split your 5-channel image into its planes (numpy slice, literally img[...,
0] 0] for first channel plane; if the api complains, try making a copy of the plane to make it contiguous in memory), run them through the composition method, then reassemble them (np.dstack)
4 | No.4 Revision |
I took a quick peek at the stitcher API
it recommends that you familiarize yourself with its pipeline
it appears that you can run estimateTransform() separately from composePanorama(), with different images. give it a try.
you would split your 5-channel image into its planes (numpy slice, literally
for first channel plane; if the api complains, try making a copy of the plane to make it contiguous in memory), run them through the composition method, then reassemble them (np.dstack)img[..., 0]img[:,:,0]