Skip to main content
michael e stern
Known Participant
February 13, 2015
Question

Photmerge as a Batch Action

  • February 13, 2015
  • 2 replies
  • 1482 views

Hello all,

I design, shoot and produce time lapse narrative short films. I'm currently shooting a project that involves a two-camera set-up. They are taking photos simultaneously via a custom made trigger cable. Ultimately I want to merge consecutive files from each camera in chronological order.

In order to that I think I need a script made that will launch Photomerge, look into each of the two folders, pull out the top two files, select auto, merge and save as a psd into a third folder. Then repeat with the next two files. There will be approx. 12,000 files.

Does this exist?

Thank you.

Michael

This topic has been closed for replies.

2 replies

Inspiring
August 14, 2016

A year old, and still an interesting thread.  Mind if I chime in?

I too am thinking of trying this with several motion cameras.  If I can output the footage at the same rate and push the record buttons simultaneously (wireless remote anyone?), they should line up.

Process:

First, output your two folders of images.  You can do this from after effects, premiere, media encoder, prelude; it depends on what you shoot with for what path you'll have to take.  If you have OIS on (any image stabilization really), you won't be able to do this with every set.  It will fail once for every reframe.  If you think you can stitch these yourself, try.  You might also try reframing them yourself, then stitching.  It will vary a lot more with the quality of your tripod, and the quality of your camera.

My way:

Prelude to images, find reframes by playing at a slow frame rate and stopping in after effects or premiere.  Noting which frame you're on, you can merge two frames to create a new one, or even overlay data from a good frame from the other camera.  Once you have your reframes marked and redone, you can begin stitching sets of images.  This is unbearably long, but if you know any extendscript, and can read the phoshop script for stitching, you can probably have it repeat the stitching as you need much the same as any other action.  It is already a batch action by nature, but if you were to alter it slightly with nested looping, you could have it pull from two folders and stitch two images before moving on to the next.  You'd have to save the images with the same numerical name to another folder of images that has twice the space.

They also have to overlap about 1\6 to 1\3 of the image.  I'd love to do this with some shots.  I could turn medium distance angles into wider angles without much work, and I could still use the closer angle at native resolution.

JJMack
Community Expert
Community Expert
February 13, 2015

Photomerge is a Photoshop Script with a dialog.  The Script is not a programed as a Photoshop Plug-in therefore it will always display its interactive dialog. So Photomerge can not be batch.   Product do exist that can do what you want.  From what I have read you can point a product like AutoPano Pro at a folder of images and it will create as many stitched panoramas as possible from that image set.  If you point it at a folder containing 12,000 images it need to process 12000 files. Stitching all that  can be stitched. I dont have such a product.  I think the images would be processed in picture order and when an inage can not be stitched to the prior image  the product will save out what it has stitched as a panorama. And start working on the next panorama using the image just opened as its first image.  Processing 12000 Images files without creating panoramas would take quite a long time even when done with an automated batch process.

JJMack
michael e stern
Known Participant
February 13, 2015

Thanks for writing back but I don't think you quite understand what I've asked. AutoPano Pro is not the answer. I need a step and repeat process for multiple files of the same scene shot from two cameras, not multiple files from a single camera.

This I think is the big difference.

I'll keep looking.

JJMack
Community Expert
Community Expert
February 13, 2015

As I wrote I do not have such a product.  I do not know exactly what AutoPano Pro or other products features are. They may use names or dates or times then again they may not.

I know that Photoshop  automate Photomerge can not be batched.. 


You may be able to automate the process with scriptingPhotomerge is a script. However you have to select the files to be stitched for Photomerge.  There is not automated process or feature in Photoshop to to select which images can be stitched  in a set of images.   You would need to create such a process.

I only mentioned that are other products designed to do stitching their main function.  They do a better job of stitching then Photomerge and they have many controls and features not found in Photoshop.  Some can even stitch fish eye lens captured images.  One of Autopano Pro features is the capability of detect which images in a set of images can be stitched. I do not know how that is done or what the requirements are.  I feel you have a better chance of finding a solution for you requirements in a product other then Photoshop.

JJMack