3. How to install?a) Open notepad or any text editorb) Copy the following code (remove the "Code:" part)c) Paste that in the text editord) Save it with a name (like pw_360_preset.html)e) Double click on the name. It will be opened in the default browser.f) You can create a shortcut as well (see Picture 1).

4. What is the system requirement?A modern browser - latest version of any browser. I wrote it in html/javascript combination so that it works in most of the browsers. I tested it in IE and Firefox. It works find on these browsers. The javascript needs to be enabled on the browser. The script uses very premitive javascript so it should work in most browsers without any modifications. If you find that it is not running in a browser, please post it in this thread to figure out a solution.

5. What are the fields on the screen?a) Crop Factor: This dropdown box shows all the possible sensor crop for the DSLR currently available.Some example, choose 1.0 for full frame DSLR/film cameras irrespective of camera maker choose 1.3 for Canon 1D series choose 1.5 for Nikon crop cameras like D40 etc choose 1.6 for Canon Rebel series choose 2.0 for 4/3 and micro 4/3 system Note that if you use any point and shoot camera, use the crop factor of 1.0 and its 35mm equivalent focal length. For example, Canon A590 has 140mm (35mm equivalent) at tele end. So use crop factor of 1.0 and focal length of 140mm.b) Aspect Ratio: Choose the maximum sensor aspect ratio for a given camera. Mostly it is 3:2 ration for DSLR.Some camera offer in camera crop of 4:3 and 16:9. It is best to use the native aspect of the sensor.c) Overlap: This is the overlap percentage between the adjustant shots in yaw and pitch axis.d) Orientation: Orientation of the camera when taking the mosaic - Landscape or Portrait.e) Focal Length: The focal length of the lens used. Don't do any conversion here. If you use 50mm lens on a 1.6 crop body, just enter 50 and not 80.f) Width in Pixels: Source Camera sensor width in pixels. The default value is populated with Rebel XSI sensor width 4272.g) Height in Pixels: Source camera sensor height in pixels. The default value is populated with Rebel XSI Sensor height 2848.h) Generate (button): Press this button to generate the preset.i) Preset (text area): The generated preset will be shown here.

6. How to use it?Select a value that matches your camera.Select the correct aspect ratio for your camera.Select an overlap percentage.Select the orientation of the camera.Enter the focal length of the lens.Enter the Source Camera sensor width in pixels (whole number)Enter the Source camera sensor height in pixels (whole number)Press the "Generate" button.

This creates a preset in the bottom text area. The preset name will be 35<2 digit crop factor><orientation>_<focal length>_<rows>_<columns>. Now copy this to a file same as the preset name with an extension of .xml.For example, you use Canon 450D in portrait with 50 mm lens. The preset name will be 3516P_100_17_57.

Load this preset file into the PW using File->Import Preset File menu.

Once you set the home position correctly, then select the preset (3516P_100_17_57) and take the mosaic.

7) what is in the tooltip?a) The tooltip has a Source section where the format used, focal length used, rows and columns are mentioned.b) The tooltip also has a Target section which shows the resultant horizontal, vertical FOV and sizes for the mosaic and for 360/180.

<!-- ! This program is to generate preset for the Papywizard ! program. This program can be used for commercial and/or ! non-commercial use for free. ! ! Author: Jones Henry Subbiah (C) 2009. ! ! Disclaimer: The user assumes the responsibility of any ! any demage using the preset. The author is not responsible ! for anything. ! ! The preset generated assumes top-center (zenith) corner of the pano ! is the home position that is yaw = 0, and pitch = 0. The ! name of the preset will be 35mmformat_focallength_rows_columns ! ! History of changes: ! ==================== ! 0.1 Initial public version ! 0.2 Fixed a bug in yaw_skip_pos, pitch_skip_pos ! (affected only when Portrait as source orientation) ! 0.3 Fixed a bug in calculating the vertical shots required ! 0.4 Added history of changes ! 0.5 Removed the base exclusion logic for the 180 degrees !-->

/* * This function rounds a number to a single decimal precision. * The trick to is to add 0.05 to the number and truncate at the first * decimal position. */ function round21 ( number ) { nnum = number + 0.05; nums = nnum.toString(); numa = nums.split('.'); return ( numa[0] + '.' + numa[1].charAt(0) ); }

I just tried the calculation with crop 2 and 9mm FL, my uncomfortable xls-calc ends in 5-7-5 shots at +55 0 -55 degree, I decrease the no of pics for the tilted rows with cosine of angle. The diff is 7 pics.

Do you assume homeposition at Zenith?

Last edited by Paul on Mon Jul 20, 2009 7:51 am, edited 1 time in total.

sjhenry wrote:Paul,I updated the script to generate correct number of pictures for the 360/180. The current script shows me 2X8 pictures in portrait or 3X5 for landscape mode with crop factor 2 and 9mm lens.

Yes. It is around 180 degrees. The reason is that I exclude about 20 degrees from 180 degrees due to the large head. I can remove that restriction. The reason I put that restriction is for larger focal length where it does not make any sense to take 2 or more rows of 30 plus shots taking the base of the head. Let me know if you want to remove the restriction.

1. I choose with the preset generator the focal length of my lens used to correct value, lets say 18mm. 2. important: the matrix register of pw contains a focal length lets say 111.1mm (IMAGE 02)3. use this preset to take my pano (IMAGE 01)4. the pw produces a logfile, containing a block <focal> wich hold the value set by matrix register and not set by preset. (IMAGE03)

autopano import does not affect this. using both version of logfiles (focal 18.0 and focal 111.1) for pw import module gives me same (correct) result.

Liebe Gruesse,Georg

Last edited by gkaefer on Sun Jul 26, 2009 4:55 pm, edited 1 time in total.

A preset file does not contain any focal information; then, when Papywizard writes the header of the xml data file, it reads its internal informations. If you didn't change the focal according to the one you are really using, then the header is wrong.

But this header is not used by APP; instead, it reads the real focal from the EXIF of the pictures, which is a much precious information.

As you found out, the current preset generator assumes the 360/180 as a rectangular sheet with the top-left as the 0 yaw and 0 pitch. You can change the values of yaw, pitch by changing the code in initialize_positions function. It starts with 0 yaw and 0 pitch. You can add your offset of 90 degree before the for loop.

I am also thinking of changing the assumption of "360/180 as a rectangular sheet with the top-left as the 0 yaw and 0 pitch" to take nadir shot, zenith shot and the rest of the FOV as a cylinder - the classical manual head way of doing things. I'll find sometime to do it and upload the script.

The reason I ask is it appears to me to be usefull for having some canned coverages, but it doesnt take into account the coverage at the poles as needing a lot less images, so in the end it gives you a preset, but wont necessarily speed the shooting of the first and last rows.

Amy I mistaken?

Can such a generator be made to make the first and last rows account for the lower necessary shots??