Final output panorama is smaller than the original; keeping the resolution 100% relative to original?

569 views
Skip to first unread message

Mike Sopalla

unread,
Oct 18, 2014, 3:02:36 PM10/18/14
to hugi...@googlegroups.com
Hello all,

When I process the panorama I usually save the pto file and open it with the hugin_stitch_project.exe because the batch processor is broken (I'm on XP SP3).
The question I have is what command line command can I type to tell the stitcher, I guess enblend to output the final panorama at the same resolution as the original. I know that the
resolution must be smaller because when I open the panorama in GIMP and try overlapping part of the panorama with an image (used for making the panorama) I find the scale has changed.


Mike

Terry Duell

unread,
Oct 18, 2014, 9:07:32 PM10/18/14
to hugi...@googlegroups.com
Hello Mike,

On Sun, 19 Oct 2014 06:02:36 +1100, Mike Sopalla <fasm...@gmail.com>
wrote:
If I understand this correctly, I would run "pano_modify -o output.pto
--canvas=AUTO input.pto", then run "hugin_stitch_project output.pto".
The pano_modify command will do the same as "select optimal size" in the
stitcher tab and will set this in output.pto.

The other thing to look at is in Preferences > Assistant, "Downscale final
pano". The default is 70% I think. This suggests it applies to Auto align
but may apply to other modes...I have never checked this. You could try
setting this 100%.

Cheers,
--
Regards,
Terry Duell

Mike Sopalla

unread,
Oct 20, 2014, 5:25:11 AM10/20/14
to hugi...@googlegroups.com



Hi Terry,

You understood me fine  although I'm not sure where I would run this part


If I understand this correctly, I would run "pano_modify -o output.pto  
--canvas=AUTO input.pto", 

Do I add that as a command line statement under enblend in the gui? I did set the assistant properties for final pano for 100% but that didn't change much, hope that this

"pano_modify -o output.pto  
--canvas=AUTO input.pto"

changes things.

Mike

Terry Duell

unread,
Oct 20, 2014, 5:38:43 PM10/20/14
to hugi...@googlegroups.com
Hello Mike,

On Mon, 20 Oct 2014 20:25:11 +1100, Mike Sopalla <fasm...@gmail.com>
wrote:

[snip]

>> > The question I have is what command line command can I type to tell
>> the
>> > stitcher, I guess enblend to output the final panorama at the same

The above suggested to me that you wanted to run hugin_stitch_project from
the command line, and needed to have some command line modifier to achieve
a full sized stitch image.

>
> You understood me fine although I'm not sure where I would run this part
>
> If I understand this correctly, I would run "pano_modify -o output.pto
> --canvas=AUTO input.pto",
>


> Do I add that as a command line statement under enblend in the gui? I did
> set the assistant properties for final pano for 100% but that didn't
> change much, hope that this
> "pano_modify -o output.pto
> --canvas=AUTO input.pto"
> changes things.
>

You would run it as a command line instruction within a console window,
followed by "hugin_stitch_project output.pto", but I assumed you were
looking for console/terminal command line solution.

I suspect the simplest solution is for you to set "hugin_stitch_project"
as your Processor in your Preferences > Stitching tab, then when wanting
to stitch use the
Stitcher tab to "Calculate Optimal Size", then either stitch or save your
.pto for later.
When wanting to stitch later, simply open the .pto in hugin and stitch.
Does that get you the result you are looking for?

Mike Sopalla

unread,
Oct 21, 2014, 1:48:08 AM10/21/14
to hugi...@googlegroups.com
Hi Tduell,

I figured it was probably command line not the GUI, anyways I got it to work by changing the pano size in the assistant properties after all, I just had to restart Hugin and then run the assistant again (to update the canvas to 100%), but the final output is 100% the original.

thanks,

Mike

Reply all
Reply to author
Forward
0 new messages