🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #115

Photomerge and time-lapse

#115
From: Johan Stäck
Date: Thu, 12 Mar 2009 07:30
56 lines
2920 bytes
Hello all!

At a construction site I have a PC and two Canon digital cameras.
For four years, the two cameras will take a picture at 10 minute 
intervals (during work hours).
(of course I can run into various kinds of trouble, but at least this is 
the plan)
The cameras are operated under control of custom-built software that I 
wrote.

The two cameras are set to identical focal length etc, and the two 
pictures overlap with the intent to be able to stitch the two pictures 
together forming a partial panorama.

Initial tests show that it is indeed possible to stitch the pictures 
together with good results.

However, as anyone can imagine, the whole process need to be automated.

Therefore, I started to do some experiments with Photoshop CS3.
It seems that the Photomerge function does an exceptional job stitching 
together the picture pairs that my cameras produce.
So, I went on and learned about Photoshop scripting.
Now I have a VB6 program that can parse the picture folders and execute 
a  Javascript that executes the actual scripting/Photomerge.

However, all is not perfect yet.

Photoshop does a very good job with every picture pair that I feed it 
for stitching, and it goes fast.
However, since each picture pair is new to Photoshop, it seems that the 
merging algorithm makes slightly different decisions for each picture 
pair. (The cameras are mounted rock-steady, but objects on the site are 
of course moving)

The effect of this is that when a series of merged panoramas is viewed 
in rapid succession (or even transformed to a video file)the picture is 
"unstable" reminding of an old worn out old-fashioned film projector 
(anyone remembers?).

So, now I am thinking like this:

-Run a photomerge (non-scripted) of a good picture pair
-Somehow (and that the the big question for me...) make Photoshop apply 
the same transformation on all following picture pairs

I know far to little about Photoshop to know if this is a feasible 
solution, or if there is perhaps another track that I should follow.

All thoughts and ideas are welcome!

Tia,

/Johan St�ck
Stockholm
Sweden
Technical Details
Message-ID: <71rs0pFm28raU1@mid.individual.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,54dd4b286005bb38,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Johan Stäck <johan@stack.se>
Newsgroups: adobe.photoshop.scripting
Subject: Photomerge and time-lapse
Date: Thu, 12 Mar 2009 08:30:18 +0100
Lines: 56
Message-ID: <71rs0pFm28raU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net dsKl49p93R2nq6bwzthRrQGAE22v8+DcVXoOL5P/uEMM9XYJEc
Cancel-Lock: sha1:KRMKi3jlhYCqrH15VFLrVGE0T5E=
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)