Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
so where is it doing the exposure + white balance optimization? On Friday, December 16, 2011 12:11:10 AM UTC+1, Bruno Postle wrote: It is using the equivalent of pto_gen, cpfind, celeste_standalone, linefind, cpclean, autooptimiser, vig_optimize, pano_modify, pto2mk, nona and enblend (not necessarily in that order), note that the cpfind command-line tool now includes celeste functionality and autooptimiser includes vig_optimize functionality. -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
If it came down to it, I could use this. However, when I run the processor, it says that there are no possible matches. Would there be something wrong with the exif data? If there is, how can I fix it? I have all of the images in one folder (and not in separate sub folders) On Dec 10, 6:52 am, Harry van der Wolf hvdw...@gmail.com wrote: Why not use PTBatcherGui for bulk processing of several sets of panorama images? You use a batch file for multi-pano automation but PTBatcherGui can do the same. Take a look athttp://wiki.panotools.org/Hugin_Batch_Processor#Automation Note: Until quite recently (don't ask me a specific time frame) this did not always work correctly.* In an off-group mail exchange about gen_pto Thomas told me that all current PTBatcherGui versions do it correctly. This function is most helpful. (Thanks Thomas for this tip). I myself just dumped 7 sets of images in a folder and let PTBatcherGui did the job. Only one set, containing incorrect exif-info, was not detected. The others were all detected. PTO's were created (for finetuning in Hugin) and if you check the Automatic Stitch after Assistant it will even create the panos for you. Harry *: I did try it a couple of times in the past year without much succes. Now it works great. -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
On Fri 16-Dec-2011 at 04:33 -0800, Jeffrey Martin wrote: so where is it doing the exposure + white balance optimization? Each of these tools is documented: http://wiki.panotools.org/Vig_optimize http://wiki.panotools.org/Autooptimiser -- Bruno On Friday, December 16, 2011 12:11:10 AM UTC+1, Bruno Postle wrote: It is using the equivalent of pto_gen, cpfind, celeste_standalone, linefind, cpclean, autooptimiser, vig_optimize, pano_modify, pto2mk, nona and enblend (not necessarily in that order), note that the cpfind command-line tool now includes celeste functionality and autooptimiser includes vig_optimize functionality. -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
On Wed 14-Dec-2011 at 08:44 -0800, Gitominoti wrote: Okay then. What is the default code that Hugin is running if I use the GUI? If I just load 3 pictures in it, use 50 as the default and click create panorama, it makes a seamless photo. What plugins is it using to do this? It is using the equivalent of pto_gen, cpfind, celeste_standalone, linefind, cpclean, autooptimiser, vig_optimize, pano_modify, pto2mk, nona and enblend (not necessarily in that order), note that the cpfind command-line tool now includes celeste functionality and autooptimiser includes vig_optimize functionality. -- Bruno -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Does the order matter? I'm using all of the ones you listed minus pto_gen (because I can't find an .exe) and pto2mk. What exactly does pto2mk do? I'm reading the Wiki right now and it is rather confusing. For example, what would this line do: pto2mk -o myproject.pto.mk -p myproject myproject.pto On Dec 15, 6:11 pm, Bruno Postle br...@postle.net wrote: On Wed 14-Dec-2011 at 08:44 -0800, Gitominoti wrote: Okay then. What is the default code that Hugin is running if I use the GUI? If I just load 3 pictures in it, use 50 as the default and click create panorama, it makes a seamless photo. What plugins is it using to do this? It is using the equivalent of pto_gen, cpfind, celeste_standalone, linefind, cpclean, autooptimiser, vig_optimize, pano_modify, pto2mk, nona and enblend (not necessarily in that order), note that the cpfind command-line tool now includes celeste functionality and autooptimiser includes vig_optimize functionality. -- Bruno -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Okay then. What is the default code that Hugin is running if I use the GUI? If I just load 3 pictures in it, use 50 as the default and click create panorama, it makes a seamless photo. What plugins is it using to do this? -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Could someone please post a link to where I can find pto_gen? I've looked everywhere, but I can't find it. I've downloaded match-n-shift from the SouceForge site, but it is warping the panorama. Thanks -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
2011/12/12 Gitominoti gitomin...@gmail.com Could someone please post a link to where I can find pto_gen? I've looked everywhere, but I can't find it. I've downloaded match-n-shift from the SouceForge site, but it is warping the panorama. Thanks You need a very recent development build of Hugin. I think there is no such a build yet for windows. You could try to build it yourself. Harry -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
On Tue, 13 Dec 2011 08:03:41 +1100, Gitominoti gitomin...@gmail.com wrote: Could someone please post a link to where I can find pto_gen? I've looked everywhere, but I can't find it. I've downloaded match-n-shift from the SouceForge site, but it is warping the panorama. pto_gen was only recently added to the hugin source. You will need to build the latest default branch if you can't get hold of a built version. Cheers, -- Regards, Terry Duell -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
I have thousands of images that I need turned into panoramas, so it will take a lot of processing power. If I can use a .bat file, I can time it so it processes through the images at, let's say, 2am On Dec 10, 6:52 am, Harry van der Wolf hvdw...@gmail.com wrote: Why not use PTBatcherGui for bulk processing of several sets of panorama images? You use a batch file for multi-pano automation but PTBatcherGui can do the same. Take a look athttp://wiki.panotools.org/Hugin_Batch_Processor#Automation Note: Until quite recently (don't ask me a specific time frame) this did not always work correctly.* In an off-group mail exchange about gen_pto Thomas told me that all current PTBatcherGui versions do it correctly. This function is most helpful. (Thanks Thomas for this tip). I myself just dumped 7 sets of images in a folder and let PTBatcherGui did the job. Only one set, containing incorrect exif-info, was not detected. The others were all detected. PTO's were created (for finetuning in Hugin) and if you check the Automatic Stitch after Assistant it will even create the panos for you. Harry *: I did try it a couple of times in the past year without much succes. Now it works great. -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
One last question. I have to use match-n-shift to make my .pto templates so that I can specify what photos need to be in the panorama. I found that to call it you need: match-n-shift [options] --output project.pto image1 image2 [...] So for my code (with the images in separate folders), I have this code: match-n-shift --output test.pto folder1/1.jpg folder2/1.jpg folder3/ jpg However, I get a lot of errors. 'generatekeys' is not recognized as an internal or external command, operable program or batch file. ^ is repeated 3 times 'autopano' is not recognized as an internal or external command, operable program or batch file. Use of unintialized value in division (/) at loader /loader/0x1471490/ match-n-shift.pl line 168 ^ repeated dozens of times for several other lines Do I have the right match-n-shift? Or am I calling it wrong? You say I have to have Perl. Te place that I downloaded match-n-shift from came with a file called perl58.dll. Is that all I need, or is there something else? Thanks -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Actually, the line should be match-n-shift -o test.pto folder1/1.jpg folder2/1.jpg folder3/1.jpg I've even tried taking the picture out of the folders, but that didn't work either. -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
On Fri 09-Dec-2011 at 11:09 -0800, Gitominoti wrote: Do I have the right match-n-shift? Or am I calling it wrong? You say I have to have Perl. This is an ancient match-n-shift (it runs some tools from autopano-sift-c directly). There was a current Windows version of all the Panotools::Script tools posted to this list recently. -- Bruno -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Where can I find it then? I downloaded the one at your cpan (http:// search.cpan.org/dist/Panotools-Script/bin/match-n-shift), but all of the files included in the bin folder are .file types (and not .exe so I can't open/use them). The one I'm using now is from here: http://www.panoguide.com/forums/qna/4942/ . I'm having a really hard time just trying to track down the .exe's for any of the plugins that are mentioned in the wiki, let alone find good documentation for them. Even that pto_gen file you mentioned, is nowhere to be found. I was fiddling around with what I had earlier today, and I got it to work somewhat (not really). It recognized the pictures, but it destroyed the panorama (completely distorted it, some parts were flipped and it wouldn't crop properly). I also still needed to keep a .pto file that I had made in Hugin in the folder with the .bat file so it wouldn't crash. Again, thanks for the help On Dec 9, 5:24 pm, Bruno Postle br...@postle.net wrote: On Fri 09-Dec-2011 at 11:09 -0800, Gitominoti wrote: Do I have the right match-n-shift? Or am I calling it wrong? You say I have to have Perl. This is an ancient match-n-shift (it runs some tools from autopano-sift-c directly). There was a current Windows version of all the Panotools::Script tools posted to this list recently. -- Bruno -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
So I found that the command for cpfind --celeste is cpfind --celeste -o test.pto test.pto and the pano_modify code is this pano_modify -c --crop=AUTO --output=test.pto test.pto But that doesn't say where to find the photos that you want in the panorama. My entire code is now: cpfind --celeste -o test.pto test.pto autooptimiser -a -l -s -o test.pto test.pto nona -o test test.pto enblend -o test.tif test.tif test0001.tif test0002.tif ... pano_modify -c --crop=AUTO --output=test.pto test.pto I ran this, and I got these errors HuginBase::Panorama::readData(): Failed to read from dataInput. ERROR: couldn't parse panos tool script: 'test.pto'! autoptimiser -a-l-s-o test.pto test.pto could not open script : test.pto HuginBase::Panorama::readData(): Failed to read from dataInput. ERROR: couldn't parse panos tool script: 'test.pto'! enblend: no input files specified pano_modify -c --crop=AUTO --output=test.pto test.pto could not open script : test.pto I'm guessing that because they all mention input, that it is becauseI don't specify where to get the pictures from On Dec 5, 3:55 pm, Bruno Postle br...@postle.net wrote: On Mon 05-Dec-2011 at 12:23 -0800, Gitominoti wrote: So I'm trying to create several panoramas that are 3 pictures each from a .bat file. I've so far found very little tutorials, besides the one that is on the PanoTools Wiki page. I have Hugin, and I have downloaded autopano-sift-2.3. I created a .bat file from the wiki page, but the file isn't being made (or if it is, I don't know where it is saving it) Here is everything that is in the file: autopano-sift --projection 0,50 test.pto folder1/pic.JPG folder2/pic.JPG folder3/pic.JPG celeste_standalone -i test.pto -o test.pto autooptimiser -a -l -s -m -o test.pto test.pto enblend -o test.jpg test.jpg test0001.jpg test0002.jpg ... The way to test it is to run the commands one at a time on the command-line and see what happens at each stage. If you use cpfind you don't need to run celeste_standalone, since there is now a cpfind --celeste option. Also, is there a way to do batch cropping? I want to crop all of my photos to the same size so you don't see any black. You can do this with the pano_modify tool. -- Bruno -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Thank you very much. For those who also didn't know how to make one, I used the code from above cpfind --celeste -o test.pto test.pto autooptimiser -a -l -s -o test.pto test.pto nona -o test test.pto enblend -o test.tif test.tif test0001.tif test0002.tif ... pano_modify -c --crop=AUTO --output=test.pto test.pto When into the Hugin GUI, and made a panorama. I took the .pto and saved it in the folder with the .bat. Ran it, and it worked. One question though. I see that it also spits out 3 other images (test.tif, test0001.tif and test0002.tif) They aren't needed since they are just the individual warped sections of the panorama. How can I stop it from making these files? I'm see that it is enblend that is doing it. Do I just need another line using the DEL command, or is there a way to stop it without having it do that? -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
On Wed 07-Dec-2011 at 12:45 -0800, Gitominoti wrote: One question though. I see that it also spits out 3 other images (test.tif, test0001.tif and test0002.tif) They aren't needed since they are just the individual warped sections of the panorama. How can I stop it from making these files? I'm see that it is enblend that is doing it. These are created by nona, and are used as input by enblend. You can delete them after the enblend stage. -- Bruno -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
On 5 Dez., 21:23, Gitominoti gitomin...@gmail.com wrote: autopano-sift --projection 0,50 test.pto folder1/pic.JPG folder2/ pic.JPG folder3/pic.JPG celeste_standalone -i test.pto -o test.pto autooptimiser -a -l -s -m -o test.pto test.pto hang on... I think you're missing something right here. The commands so far create the pto and optimize the image positions to fit the control points. But you haven't got the 'warped' images yet. You need a call to nona with the optimized pto to produce the images test.jpg etc. - with a call like nona -o test test.pto once you have them you can proceed to the next step and call enblend: enblend -o test.jpg test.jpg test0001.jpg test0002.jpg ... Kay -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Actually, I'm using CPFind to make the control points instead of autopano-sift -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
[hugin-ptx] Re: Creating multiple panoramas from a .bat file
Okay so do I run these lines in cmd to test them? When I run them right now by double clicking the .bat file, a cmd pops up, runs through so code so fast I can't read it, then it closes. I have no idea what it is doing. When I type it into a cmd, it says that the command is unknown, or something along those lines I'm new to batch files, so sorry if these are dumb questions -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx
Re: [hugin-ptx] Re: Creating multiple panoramas from a .bat file
2011/12/5 Gitominoti gitomin...@gmail.com Okay so do I run these lines in cmd to test them? When I run them right now by double clicking the .bat file, a cmd pops up, runs through so code so fast I can't read it, then it closes. I have no idea what it is doing. When I type it into a cmd, it says that the command is unknown, or something along those lines I'm new to batch files, so sorry if these are dumb questions You can insert a pause (without the quotes) after each command. When it reaches each pause, the .bat will wait until you press a key so you will have the time to see the output. But you won't be able to scroll if the output is larger than your screen's length, you'll only see the last part of the output. So if you want to inspect all the results, you'll have to use a redirect command (I'm not sure it works with Hugin's sets of tools but I have a hunch it does) with the operator. Or maybe the Hugin tools offer a switch to log the output to a file? -- Frederic Da Vitoria (davitof) Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx