Am 22.03.21 um 13:54 schrieb Harry van der Wolf:


Op ma 22 mrt. 2021 om 10:47 schreef 'Kay F. Jahnke' via hugin and other free panoramic software <[email protected] <mailto:[email protected]>>:


    This is done with --snapshot_magnification=..., as described in my post.
    If your screen is 1920X1080, you work fullscreen,  and you have
    --snapshot_magnification=10, your output on pressing 'p' will be
    19200X10800


Yes, I must admit I skipped too fast over that, but I was looking for a "screen command". Your command line option requires me to first check the approximate size of the image, then give the magnification on the command line, and then press the "p" once you are zoomed out. How do I do that in the live view without specifying all kind of things on the command line (which you always need to remember)?

You can inject additional command-line arguments in the 'override line'. Open the GUI, click on the text field in it's lower right. There you can enter additional command line arguments which take effect as soon as you commit with 'Return' and cumulate until you open another image/pto/ini file.

Doing more of that with the (G)UI instead would require extending it, which is on my list, but will take some time. I think for the time being rendering to the size given in the PTO's p-line will be a reasonable option, so you won't have to pass too many CL arguments, I'll implement that soon.

Keep in mind that exposure fusion, faux brackets, image stitching and quorate blending are new features in lux. Testing them may be a bit awkward, because it may require using additional CL arguments. Once it's established that the functionality performs as expected, the GUI can follow.

And if you simply pass, for example, --snapshot_magnification=6 with the initial invocation of lux, the parameter will be used for every snapshot/stitch/fusion in the session. If your initial estimate turns out wrong for a specific image, use the override.

Let me point out once again that lux is designed as an image and panorama viewer. The new functionality may give it a new 'spin'. Don't think of it as a new stitching/fusing program which shows you some sort of preview until you hit the stitch button. It's the other way round: You look at images and if you want to share something you take a snapshot. If you look at a PTO and a snapshot of the live view isn't nice enough, you do a stitch or fusion with 'p' or 'u'. I added batch capability for extensive testing and to, for example, fuse many brackets without manual intervention, but this is quite new and not so well-integrated as one might wish for.

There is another feature I'd like to point out to you: it's the second function of ini files. You can just gather a specific set of parameters in an ini file, try '6Xstitching.ini':

blending=ranked
snapshot_magnification=6
snapshot_extension=exr
fullscreen=no
window_width=1600
window_height=600

Note how this ini file does not contain any images. Then you launch lux like this:

lux --ini_file=6Xstitching.ini

It has the same effect as if you had passed all the arguments on the command line. All images you subsequently open during this session will have these values set - only the window size and fullscreen will be changed if you interact with them.

So then assuming you have a bunch of panoramas to process, you can do

lux --ini_file=6Xstitching.ini *.pto

And all that's left to do is to get the fit right and hit 'p'.

Kay

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/be8fcd00-4ea7-7165-b44f-6b2b6d828eab%40yahoo.com.

Reply via email to