Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Help with automated stitching (for scanned images)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ognjen Bezanov  
View profile  
 More options Oct 31 2010, 3:53 pm
From: Ognjen Bezanov <Ogn...@mailshack.com>
Date: Sun, 31 Oct 2010 19:53:31 +0000
Local: Sun, Oct 31 2010 3:53 pm
Subject: Re: [hugin-ptx] Help with automated stitching (for scanned images)
Hey guys, me again!

Just to say that I managed to get it to work! I thought I'd post the
code here in case someone else wants to automatically stitch scans from
the command line.

The below works for me on all the scans, which is excellent!

#!/bin/bash
FOV=10
autopano-sift-c --projection 0,$FOV project.pto ./*.tiff

sync
ptoclean -v --output project.pto project.pto
sync
autooptimiser -a -l -s  -o  project.pto project.pto
sync
ptocentre  -r -p -y -o project.pto ./project.pto
sync
pano_modify --center --fov=AUTO --canvas=AUTO --crop=AUTO--projection=0
-o project.pto ./project.pto
sync
nona -m TIFF_m -o project project.pto
sleep 1 #seems that enblend can start reading before nona finishes (?!)
sync
sleep 2
enblend -w -o project.tif project*.tif
#END CODE

I had to add a lot of syncs and sleeps, because otherwise I'd get random
exceptions and errors.

Once again, thanks for your help, and thanks for this awesome collection
of software!

:)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.