Beruflich Dokumente
Kultur Dokumente
2005 Thomas R. Metcalf Permission is granted to copy, distribute and/or modify this document under the terms of the !" #ree $ocumentation %icense, &ersion '.2 or any later (ersion published by the #ree )oft*are #oundation+ *ith no ,n(ariant )ections, no #ront-.o(er Te/ts, and no 0ac1-.o(er Te/ts.
History
(ersion 0.2, 2005 3une 4
Introduction
Stitch Panorama is a ,MP plug-in *hich ta1es t*o digital images and o(erlays one atop the other to ma1e a panorama. 5ith multiple applications of stitch panorama, any number of images can be combined into a large panorama. This documentation assumes that you are already familiar *ith ,MP. )ome things you *ill need to 1no* to run Stitch Panorama are ho* to load and sa(e images, ho* to 6oom and pan around an image, ho* to ma1e a selection in an image, ho* to crop an image, and ho* to flatten an image.
Installation
Requirements:
,MP (ersion 2.2 compiled to include python support. The plug-in *as de(eloped using ,MP (ersion 2.2.2 on a #edora .ore 7 %inu/ system. The plug-in may *or1 *ith other (ersions of ,MP or other operating systems, but this has not been tested.
Installation Procedure: !ote8 ,n the distribution, the plug-in code name includes the (ersion number. , drop the (ersion number belo* for clarity and call the program stitch.py, though in the distribution it *ill be called stitch_0.9.3.py 9or *hate(er the latest (ersion is:. Linux: Remo(e any old (ersions of stitch.py from your plug-in directory. .opy stitch.py to your gimp plug-in directory, e.g. ;/.gimp-2.2/plug-ins, then restart gimp and stitch panorama should appear in the <tns/"tils menu. Ma1e sure stitch.py is e/ecutable 9chmod =/ stitch.py:. Windows: %i1ely something similar to %inu/, but , don>t 1no* for sure since , don>t run *indo*s. ?ou *ill probably ha(e to edit the (ery first line of stitch.py to point to python on your system.
Making a Panorama
Step 1: Run Stitch Panorama
,f stitch.py *as installed correctly, and if your ,MP has python support compiled in, then Stitch Panorama should appear in the ,MP <tns/"tils menu. )elect Stitch Panorama to run the plug-in.
panorama *ill be. ,f you thin1 you might need to refer to the control points again in a future ,MP session, you can sa(e them in a file *ith the Sa%e button. 0e sure to note *hich images 9reference and transformed: the file corresponds to. ,f you &estore a control point file for the *rong images, or if you s*ap the reference and transformed images, the panorama *ill be completely *rong. ?ou can chec1 the Duality of the control points using the #orr and !rror columns in the control point table. The correlation 9#orr: should be close to one. ,f it is less than 0.F5 or so, the control point is suspect and you should consider deleting and redoing it. To delete a control point, select it *ith the button ne/t to it in the control point list and press 'elete. The !rror column is al*ays 0.0 until you ha(e set at least four control points. The error column sho*s ho* far off each control point is from the *arping computed using all the control points. ,f the Duality of the control points is good, the error comes from distortion in the images, or a change in perspecti(e bet*een the images, and should be smaller than '0 or 20 pi/els for most decent camera lenses. ,f you erroneously set a control point using features in the t*o images *hich are not the same, the errors *ill be much larger. The last column, labeled color, includes a chec1bo/ for each control point. The chec1bo/ indicates *hether or not that control point *ill be used in color balancing. ,f it is chec1ed, the color at that control point *ill be used to match colors bet*een the reference and transformed images. ,f it is not chec1ed, it *ill not be used for color matching, but *ill still be used in o(erlaying the transformed image onto the reference image. There is a limit of '5 control points that can be chec1ed for use in the color balance. ,f a chec1bo/ is labeled (edge), that control point is close to the edge of one of the images, and using that control point in the color balance is not recommended. 5hen you are satisfied *ith the control points, press $ccept to close the control point editor.
Interpolation Method. %ea(e this set to cu*ic. Linear or +one are faster, but you *ill not be happy *ith the result. Blend Size. ,f you plan to blend the image edges 9belo*:, this sets the si6e, as a fraction of the image o(erlap, of the blended region. Color Radius. 5hen balancing color bet*een the images, the colors at the control points are used. The color radius sets the si6e of the region around the control points *hich is a(eraged to deri(e the colors used in the color matching. Supersample. This should almost al*ays be set. ,t gi(es the *arping of the transformed image onto the reference image a better Duality. Color balance. ,f set, the colors at the control points *ill be matched so that the colors of the t*o images are corrected for any discrepancies 9such as
e/posure differences:. ,f the colors are o(ercorrected, it may help to redo the panorama *ith a larger (alue of the color radius.
Blend images. ,f set, the t*o images in the panorama *ill be smoothly blended together using layer mas1s. ,f this is not set, there can be harsh edges in the panorama. Remove distortion. ,f set, remo(e the distortion in the images. This can be (ery time consuming. ,f you are in a hurry, unchec1 this option. Ao*e(er, the resulting panorama may not be acceptable if the distortion errors in the control points are substantial.
Support
)orry, there is none. ?ou are on your o*n. Aopefully, by playing around *ith a fe* panoramas, you *ill Duic1ly get the hang of the plug-in. ,f you find this plug-in useful, you may use PayPal to contribute to future de(elopment efforts 9send to helicity7'2-stitchHyahoo.com:. This is neither reDuired nor e/pected, but *ould be appreciated. )orry, but you *ill get nothing for your money other than the 1no*ledge that you are supporting the de(elopment of free soft*are. ?ou are still on your o*n 8-:.