Page 1 of 1

Combine two complementary parts of images - Spherical pictures

Posted: 2019-10-04T03:45:03-07:00
by max72
I would like to ask for a suggestion about the command that could be used to combine two 360 images in one.
Being impossible to hide I would take two pictures from the same point, in each one I would occupy a different half.
The two images are vertically split in two halves, one with me on the left part and one with me on the right.
Then I would like to be able to take the good left and right parts of the two pictures and combine them in one, with no more me hanging around.
Could you suggest a possible workflow?
Thanks in advance,
Massimo

Re: Combine two complementary parts of images - Spherical pictures

Posted: 2019-10-04T05:53:10-07:00
by snibgo
What version of IM, on what platform?

Please show sample input images.

If the only change is the position of you, the photographer, then the task is simple: the output will be one of the photos, composited with part of the other photo. The boundary between the two might be a straight line, or with a transition area, or whatever.

If the camera is hand-held then you first need to align the photos. For 360-degree photos, this won't be simple.

Re: Combine two complementary parts of images - Spherical pictures

Posted: 2019-10-04T06:42:15-07:00
by max72
Thanks,
I use a tripod, so alignment should not be a problem.
A 360 photo can be seen here:
Image
I’ll try to upload some sample pictures later.
Thanks,
Massimo

Re: Combine two complementary parts of images - Spherical pictures

Posted: 2019-10-04T07:38:40-07:00
by snibgo
What version of IM, on what platform? I will assume v7 on Windows BAT. I suggest:

Code: Select all

magick inA.png ( inB.png -crop 50x100%%+0+0 +repage ) -compose Over -composite out.png

Re: Combine two complementary parts of images - Spherical pictures

Posted: 2019-10-05T00:08:38-07:00
by max72
Sorry for the partial informations.
It's 7 on windows, and it worked perfectly.
Now I only have to create a small script in order to process multiple sets at once, but it won't be a problem.
Many thanks again.
Massimo