How to make a panoramic image from hugin from command line?

2,914 views
Skip to first unread message

Prashanth

unread,
May 3, 2012, 1:37:45 AM5/3/12
to hugi...@googlegroups.com
Hi guys,can anybody tell me how i can make a panoramic image from command line? i want to create a project, and stitch the photos together all this from the command line. Please help.

Stefan Peter

unread,
May 3, 2012, 5:55:31 AM5/3/12
to hugi...@googlegroups.com
Please point your browser to
http://wiki.panotools.org/Panorama_scripting_in_a_nutshell
for more information.

Regards

Stefan Peter


--
In theory there is no difference between theory and practice. In
practice there is.

Prashanth

unread,
May 4, 2012, 1:53:03 AM5/4/12
to hugi...@googlegroups.com
Stefan Thanks for the reply. Can you tell me from where i can get the Pto_gen tool? its not in my hugin directory. I tried searching for it but i could not find it.

Bruno Postle

unread,
May 4, 2012, 5:55:55 PM5/4/12
to Hugin ptx
On Thu 03-May-2012 at 22:53 -0700, Prashanth wrote:
>Stefan Thanks for the reply. Can you tell me from where i can get the
>Pto_gen tool? its not in my hugin directory. I tried searching for it but i
>could not find it.

pto_gen is in the development tip, it is newer than the 2011.4.0
development release. So you need to get a 2011.5.0 snapshot.

Otherwise if you have perl on your system, the match-n-shift tool in
the Panotools::Script perl module does more or less the same thing.

>> http://wiki.panotools.org/Panorama_scripting_in_a_nutshell

--
Bruno

Prashanth

unread,
May 6, 2012, 2:58:09 AM5/6/12
to hugin and other free panoramic software
Hi bruno,I'm running windows,where can i download the 2011.5.0 version
from?

Kornel Benko

unread,
Jul 3, 2012, 6:50:13 AM7/3/12
to hugi...@googlegroups.com

Am Dienstag, 3. Juli 2012 um 02:35:40, schrieb ishralene09 <garcia....@gmail.com>

> Hello Mr Bruno,

>

> I've installed the nightly build (2011.5.0) on my Ubuntu already (11.10)

> and I still can't find pto_gen. I've been looking for it but I still can't

> find it.

 

It is not part of hugin build, but of panotools.

cd <your-source-tree>

svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/Panotools-Script Panotools-Script

cd Panotools-Script

perl Makefile.PL make

make

sudo make install

...

Now "pto_gen" should be under "/usr/local/bin"

 

 

> By the way how can I use the Panotools::Script module?

 

This is a perl module, you could try the documentation with:

perldoc Panotools::Script

 

> Lastly, do you know of a hugin build that would run on an OpenWRT

> distribution? Or can I compile one that can? I'm not very familiar with

> compiling Linux applications but that's what we intend to do, to run the

> hugin tools on an OpenWRT distribution. Thanks.

>

> Regards,

> Ishrael Garcia

Kornel

signature.asc

Kornel Benko

unread,
Jul 3, 2012, 7:09:46 AM7/3/12
to hugi...@googlegroups.com

Am Dienstag, 3. Juli 2012 um 12:50:13, schrieb Kornel Benko <Kornel...@berlin.de>

> > I've installed the nightly build (2011.5.0) on my Ubuntu already (11.10) 

> > and I still can't find pto_gen. I've been looking for it but I still can't 

> > find it.

>

> It is not part of hugin build, but of panotools.

>

 

Sorry, a mistake. It is part of hugin, at least if you compile hugin on your own system

with "make package". I could not find any ubuntu package containing this file.

 

Kornel

 

 

signature.asc

Harry van der Wolf

unread,
Jul 3, 2012, 4:57:43 PM7/3/12
to hugi...@googlegroups.com


2012/7/3 Kornel Benko <Kornel...@berlin.de>

That's not correct. When running "make install" it will install pto_gen. However, "make package"  is missing pto_gen inside CPackConfig.cmake.
I tried last week on Ubuntu.
This should be filed as a bug especially before a 2012.0 (beta) release will take place.

Harry

Austin Godber

unread,
Jul 3, 2012, 6:25:04 PM7/3/12
to hugi...@googlegroups.com
I have reported this as a bug:


Hmm, now that I look at it, I am not sure if that is to the ubuntu packager.

Austin

On Tuesday, July 3, 2012 1:57:43 PM UTC-7, Harry van der Wolf wrote:


2012/7/3 Kornel Benko <Kornel...de>

Am Dienstag, 3. Juli 2012 um 12:50:13, schrieb Kornel Benko <Kornel...de>

> > I've installed the nightly build (2011.5.0) on my Ubuntu already (11.10) 

> > and I still can't find pto_gen. I've been looking for it but I still can't 

> > find it.

>

> It is not part of hugin build, but of panotools.

>

 

Sorry, a mistake. It is part of hugin, at least if you compile hugin on your own system

with "make package". I could not find any ubuntu package containing this file.

 

Kornel

 

 

Kornel Benko

unread,
Jul 4, 2012, 4:48:25 AM7/4/12
to hugi...@googlegroups.com

Am Dienstag, 3. Juli 2012 um 22:57:43, schrieb Harry van der Wolf <hvd...@gmail.com>

> > > It is not part of hugin build, but of panotools.

> >

> > >

> >

> >

> >

> > Sorry, a mistake. It is part of hugin, at least if you compile hugin on

> > your own system

> >

> > with "make package". I could not find any ubuntu package containing this

> > file.

> >

> >

> >

> > Kornel

> >

> >

> >

> >

> >

>

> That's not correct. When running "make install" it will install pto_gen.

> However, "make package"  is missing pto_gen inside CPackConfig.cmake.

 

That's true, but ... why should it be there?

 

> I tried last week on Ubuntu.

> This should be filed as a bug especially before a 2012.0 (beta) release

> will take place.

>

> Harry

 

Than there may be an error in making a package on OS X?

 

Here it is part at least of "Pre-Release 2011.5.0.dfd9dc55c39a",

created package was "/usr/BUILD/BuildHugin_hg/hugin-2011.5.0.5885-Linux.deb"

# dpkg -L hugin | grep pto_gen

/usr/local/bin/pto_gen

/usr/local/share/applications/pto_gen.desktop

/usr/local/share/man/man1/pto_gen.1.gz

 

Kornel

 

signature.asc

Kornel Benko

unread,
Jul 4, 2012, 4:51:02 AM7/4/12
to hugi...@googlegroups.com

Am Dienstag, 3. Juli 2012 um 15:25:04, schrieb Austin Godber <god...@gmail.com>

> I have reported this as a bug:

>

> https://bugs.launchpad.net/hugin/+bug/1020755

>

> Hmm, now that I look at it, I am not sure if that is to the ubuntu packager.

>

> Austin

 

I don't understand why it works here.

 

Kornel

signature.asc

Harry van der Wolf

unread,
Jul 4, 2012, 6:04:46 AM7/4/12
to hugi...@googlegroups.com


2012/7/4 Kornel Benko <Kornel...@berlin.de>

I will check it again. I'm currently occupied with other things. That's also the reason I didn't work it out last week (now that I'm also on Ubuntu again).
 
Harry

Carlos Eduardo G. Carvalho (Cartola)

unread,
Aug 28, 2012, 2:42:47 PM8/28/12
to hugi...@googlegroups.com
Take a look at the "bin" folder under hugin installation. You might find all you need there. Panotools:script are perl tools you can use on windows, there are free portable perl distributions you can download and install to use them.

Cheers,

Carlos E G Carvalho (Cartola)
http://cartola.org/360
http://www.panoforum.com.br/



2012/8/28 Thiago Delgado <thiagode...@gmail.com>
Hello guys, im using PanoTools to generate a panorama image, actually, im using panomatic to generate .pto file and cpfind to create the control-points.

The sequence is:

-panomatic
-cpfind
-autooptimiser
-pano_modify
-pto2mk
-make

My big problem at this moment is that panomatic create some undesirable control-points, but when I use cpfind only, it gives me the perfect panorama. (I did it using hugin to create the .pto then just deleted all control-points and runned cpfind )

I couldnt find pto_gen and i dont have perl support. Could somebody explain how can i get pto_gen?


On Thursday, May 3, 2012 2:37:45 AM UTC-3, Prashanth wrote:
Hi guys,can anybody tell me how i can make a panoramic image from command line? i want to create a project, and stitch the photos together all this from the command line. Please help.

--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply all
Reply to author
Forward
0 new messages