Re: [hugin-ptx] Hugin: FOV calculation with crop
On Sun 08-Dec-2013 at 23:42 +0100, Johannes Wienke wrote: On 08.12.13 23:26 schrieb Bruno Postle: There is a reason for this, the default TIFF output is the full size of the canvas, the cropped area just represents the part of the canvas that has visible data. JPEG doesn't support the offset parameters needed to do this, so you just get the cropped area. For testing I have currently generated a TIFF. How can I find the real size vs. the visible size inside that file? At least from the EXIF data I can't find anything and also the size of the file is a lot less when using a tight crop. Different software will respect or ignore these offsets, you can read them using the tiffinfo tool. There is a tool in Panotools::Script called pto2gpano that does all these calculations to tag arbitrary cropped partial panoramas as Google 'photospheres'. How exactly would I use this as a naive user? It's a command-line tool and Panotools::Script is a perl library. You are on OS X, so you can probably install it from CPAN using this command-line: cpan Panotools::Script After that you need both the JPEG file and the PTO that created it, you can then tag the JPEG file on the command-line like so (this assumes the JPEG is called 'project.jpg'): pto2gpano project.pto -- Bruno -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/20131208225932.GG16984%40postle.net. For more options, visit https://groups.google.com/groups/opt_out.
Re: [hugin-ptx] Hugin: FOV calculation with crop
Hi, On 08.12.13 23:26 schrieb Bruno Postle: > There is a reason for this, the default TIFF output is the full size of > the canvas, the cropped area just represents the part of the canvas that > has visible data. JPEG doesn't support the offset parameters needed to > do this, so you just get the cropped area. For testing I have currently generated a TIFF. How can I find the real size vs. the visible size inside that file? At least from the EXIF data I can't find anything and also the size of the file is a lot less when using a tight crop. > For this JPEG output, figuring out the horizontal angle for cropped > equirectangular panoramas is simply: > >panorama angle of view * crop pixel width / panorama pixel width > > The vertical angle is similar, but unless your crop is exactly in the > middle or full height you will get strange results. > > There is a tool in Panotools::Script called pto2gpano that does all > these calculations to tag arbitrary cropped partial panoramas as Google > 'photospheres'. How exactly would I use this as a naive user? Cheers, Johannes signature.asc Description: OpenPGP digital signature
Re: [hugin-ptx] Hugin: FOV calculation with crop
Hi, On 08.12.13 23:12 schrieb Terry Duell: > OK. I don't know how it is meant to behave, but just checked here > (2013.1.0-current default branch) and the FOV values appear to reflect > the settings of the FOV sliders in the Fast Panorama Window. > Unfortunately adjusting those extents doesn't allow the flexibility of > selecting a crop Ok, so the current workaround would be to use these numbers instead of a real crop. However, I would say this is at least worth a feature request. I don't see a real reason in putting numbers into the EXIF data of an image that do not reflect the real size of the image after the cropping process? Cheers, Johannes signature.asc Description: OpenPGP digital signature
Re: [hugin-ptx] Hugin: FOV calculation with crop
On Sun 08-Dec-2013 at 11:12 -0800, Johannes Wienke wrote: if I stitch a panorama with Hugin, the FOV is automatically calculated and inserted into the image exif data. However, it seems this does not reflect the crop chosen inside hugin. Is there a chance to get the numbers for the selected crop? Otherwise I have no idea how to parametrize panorama viewers to correctly show my panoramas. There is a reason for this, the default TIFF output is the full size of the canvas, the cropped area just represents the part of the canvas that has visible data. JPEG doesn't support the offset parameters needed to do this, so you just get the cropped area. For this JPEG output, figuring out the horizontal angle for cropped equirectangular panoramas is simply: panorama angle of view * crop pixel width / panorama pixel width The vertical angle is similar, but unless your crop is exactly in the middle or full height you will get strange results. There is a tool in Panotools::Script called pto2gpano that does all these calculations to tag arbitrary cropped partial panoramas as Google 'photospheres'. -- Bruno -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/20131208222653.GF16984%40postle.net. For more options, visit https://groups.google.com/groups/opt_out.
Re: [hugin-ptx] Hugin: FOV calculation with crop
On Mon, 09 Dec 2013 08:38:11 +1100, Johannes Wienke wrote: Hi, On 08.12.13 22:35 schrieb Terry Duell: On Mon, 09 Dec 2013 06:12:02 +1100, Johannes Wienke wrote: if I stitch a panorama with Hugin, the FOV is automatically calculated and inserted into the image exif data. However, it seems this does not reflect the crop chosen inside hugin. Is there a chance to get the numbers for the selected crop? Otherwise I have no idea how to parametrize panorama viewers to correctly show my panoramas. Have you tried "Calculate Field of View" and "Calculate Optimal Size" in the Stitcher tab? Yes, the FOV does not change with varying crops. Neither the optimal size. OK. I don't know how it is meant to behave, but just checked here (2013.1.0-current default branch) and the FOV values appear to reflect the settings of the FOV sliders in the Fast Panorama Window. Unfortunately adjusting those extents doesn't allow the flexibility of selecting a crop Cheers, -- Regards, Terry Duell -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/op.w7snyp16rs0ygh%40localhost. For more options, visit https://groups.google.com/groups/opt_out.
Re: [hugin-ptx] Hugin: FOV calculation with crop
Hi, On 08.12.13 22:35 schrieb Terry Duell: > On Mon, 09 Dec 2013 06:12:02 +1100, Johannes Wienke > wrote: >> if I stitch a panorama with Hugin, the FOV is automatically calculated >> and inserted into the image exif data. However, it seems this does not >> reflect the crop chosen inside hugin. Is there a chance to get the >> numbers for the selected crop? Otherwise I have no idea how to >> parametrize panorama viewers to correctly show my panoramas. >> > > Have you tried "Calculate Field of View" and "Calculate Optimal Size" in > the Stitcher tab? Yes, the FOV does not change with varying crops. Neither the optimal size. Cheers, Johannes signature.asc Description: OpenPGP digital signature
Re: [hugin-ptx] Hugin: FOV calculation with crop
Hello Johannes, On Mon, 09 Dec 2013 06:12:02 +1100, Johannes Wienke wrote: Hi everyone, if I stitch a panorama with Hugin, the FOV is automatically calculated and inserted into the image exif data. However, it seems this does not reflect the crop chosen inside hugin. Is there a chance to get the numbers for the selected crop? Otherwise I have no idea how to parametrize panorama viewers to correctly show my panoramas. Have you tried "Calculate Field of View" and "Calculate Optimal Size" in the Stitcher tab? Cheers, -- Regards, Terry Duell -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/op.w7sl90tsrs0ygh%40localhost. For more options, visit https://groups.google.com/groups/opt_out.
[hugin-ptx] Hugin: FOV calculation with crop
Hi everyone, if I stitch a panorama with Hugin, the FOV is automatically calculated and inserted into the image exif data. However, it seems this does not reflect the crop chosen inside hugin. Is there a chance to get the numbers for the selected crop? Otherwise I have no idea how to parametrize panorama viewers to correctly show my panoramas. Cheers, Johannes -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/52c01876-0181-42cc-9293-05a32a4c6032%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [hugin-ptx] Re: Crash on image load Windows 7 64 bit
Am Sonntag, 8. Dezember 2013 15:33:50 UTC+1 schrieb Frederic Da Vitoria: > > > ... but the fast preview bug seems quite distinct from this crash. > If the crash is related to the fast preview window, start Hugin with pressed ctrl key and deactivate the fast preview window. Then some functions are not accessible. But when you can load the images now, the crash is related to the fast preview window. -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/0609-feec-49d5-8a03-2521b41787d1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [hugin-ptx] Re: Crash on image load Windows 7 64 bit
2013/12/8 Frederic Da Vitoria > 2013/12/8 namklim > >> As indicated in another thread here *Hugin 2013 problem with Fast >> preview on Intel HD 4600 (Windows 7) * >> https://groups.google.com/forum/#!topic/hugin-ptx/EC-DShQjDus three of >> us do not have problems loading images or aligning them on Win 7 64-bit but >> we do have problems with various parts of the fast preview. Those problems >> also exist with Hugin 2012. >> >> I have an i7 4771 with 8Gb and HD4600 graphics. >> > > I just reported the bug in launchpad: > https://bugs.launchpad.net/hugin/+bug/1258925 > ... but the fast preview bug seems quite distinct from this crash. -- Frederic Da Vitoria (davitof) Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/CANe_y9SqVbE4sbtXV4BVimqjVnfjp7xnVw%2B%3DeacL-jrYsCK3jw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [hugin-ptx] Re: Crash on image load Windows 7 64 bit
2013/12/8 namklim > As indicated in another thread here *Hugin 2013 problem with Fast preview > on Intel HD 4600 (Windows 7) * > https://groups.google.com/forum/#!topic/hugin-ptx/EC-DShQjDus three of > us do not have problems loading images or aligning them on Win 7 64-bit but > we do have problems with various parts of the fast preview. Those problems > also exist with Hugin 2012. > > I have an i7 4771 with 8Gb and HD4600 graphics. > I just reported the bug in launchpad: https://bugs.launchpad.net/hugin/+bug/1258925 -- Frederic Da Vitoria (davitof) Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/CANe_y9Sd7Q9CgyA%2B4nqqi5AHXgJ7WZWqRM7v1ncWp9Ls%2BPce-Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [hugin-ptx] Hugin 2013 problem with Fast preview on Intel HD 4600 (Windows 7)
Le vendredi 15 novembre 2013 13:07:30 UTC+1, Frederic Da Vitoria a écrit : > > 2013/11/15 Stepan Hasek > > I have big problem with Hugin on my new PC. >> In Fast preview window when I click "show control points" no control >> points are shown and left-bottom half of panorama goes black. >> Similarly in Layout tab no lines connecting pictures are drawn. >> >> I also tried Hugin 2012 and it was same. >> And installed newest drivers for graphic card. >> >> Does anyone else encounter this? >> Is this problem of graphic card? I am planing to buy graphic card and >> hope it helps. >> > > I don't know if it helps to find where your problem comes from, but on my > Win7 64bits with Intel HD 4000 I don't see anything wrong. > I don't know if something changed since I tested or if I did not test thoroughly enough, but here are my findings now: On a 3 images 82 CPs optimised panorama, when I check "Show control points", I get only 2 CPs, and these are wrong, they are not where actual CPs are. Furthermore, when I click on an image button to hide one of the images, a strange part of the complete image turns to black, so that I see less than what the 2 remaining images should amount to. This happens only when "Show control points" is checked. When it is unchecked, hiding an image behaves as expected. If I mask 2 images, than I see only a part of the remaining image. This looks a little like if the image masking used a Xor where it should use an Or. Hiding or revealing an image moves the 2 CPs, but there are always 2 CPs. The behaviour is not consistent: checking and unchecking "Show control points" when only image 2 is visible show 2 different results, both wrong, which come back in a 3 step cycle. Doing the same with image 1 shows 3 different results, all wrong, which also come back in a cycle. Doing the same with image 3 has the same pattern as with image 1. I added a 4th image to the panorama, but without generating new CPs, nothing changed and when this 4th image is dispalyed alone, I don't see anything strange in it's shape (but it shows completely white :-/ ) I am creating a bug in launchpad for this: https://bugs.launchpad.net/hugin/+bug/1258925 -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/68cd5f9a-c2cf-4cf4-87a4-c1f002af7244%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[hugin-ptx] Re: Crash on image load Windows 7 64 bit
As indicated in another thread here *Hugin 2013 problem with Fast preview on Intel HD 4600 (Windows 7) * https://groups.google.com/forum/#!topic/hugin-ptx/EC-DShQjDus three of us do not have problems loading images or aligning them on Win 7 64-bit but we do have problems with various parts of the fast preview. Those problems also exist with Hugin 2012. I have an i7 4771 with 8Gb and HD4600 graphics. On Thursday, 5 December 2013 09:32:09 UTC+1, Chris Mellinger wrote: > > Hi, I'm having the exact same issue. I looked for updates, but it looks > like I have everything current. Here's my specs: > > Hugin 2013.0.0 > Lenovo Z560 > Intel i3 M 380 > 4 Gb RAM > Windows 7 64 > Intel HD integrated graphics > > It's strange because Hugin never gets to the point of actually aligning > the photos. As mrf said, it's immediately after clicking "Ok" on the FOV > dialog. I can't even test the alignment because I can't get images into the > program. > > Thanks to anyone who has an idea about this! > > On Saturday, November 30, 2013 3:57:02 PM UTC+9, mrf wrote: >> >> Every time I load an image I get a crash. >> >> I had installed over an older version (unknown version). >> >> I tried >> >>- rebooting >>- resetting all the defaults in each tab of Preferences >>- uninstalling and re-installing >>- loading different JPGs from different cameras >>- changing the default Control Point to Autopano-SIFT-C or to >>- converting to PNG before loading - asks for focal length and then >>crashes on Ok press >>- toggling all the checkboxes (Align image after loading etc.) in the >>Preferences/Assistant tab >>- switching to Advanced and Expert mode >> >> None of the above help. >> Details from the crash dialog: >> >> Problem signature: >> Problem Event Name:APPCRASH >> Application Name:hugin.exe >> Application Version:0.0.0.0 >> Application Timestamp:523cb338 >> Fault Module Name:StackHash_ac8d >> Fault Module Version:6.1.7601.18247 >> Fault Module Timestamp:521eaf24 >> Exception Code:c374 >> Exception Offset:000c4102 >> OS Version:6.1.7601.2.1.0.256.48 >> Locale ID:5129 >> Additional Information 1:ac8d >> Additional Information 2:ac8d7bc04980805de53396cfaeda9dbb >> Additional Information 3:84e6 >> Additional Information 4:84e6441859e1c67096e24f26f4cab6b1 >> >> Any suggestions please? >> > -- 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 hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/ad2a2d5e-ebc8-419e-87a1-2c5dc5e101ad%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.