-
-
11 May 2019 19:24:26 UTC
- Distribution: Panotools-Script
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (405 / 0 / 0)
- Kwalitee
Bus factor: 0- 67.49% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (160.4KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- File::Copy
- File::Spec
- File::Temp
- Getopt::Long
- Getopt::Std
- Image::ExifTool
- Image::Size
- LWP::UserAgent
- Math::Trig
- Pod::Usage
- Storable
- Test::More
- URI
- bytes
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
nona-svg - stitch a vector panorama image
SYNOPSIS
nona-svg [options] -o output project_file (image files) Options: -o prefix Prefix for output -i num Images to render, can be specified multiple times -h | --help Outputs help documentation.
DESCRIPTION
nona-svg is a drop in replacement for nona that works with SVG vector files.
There are some snags:
The .pto project needs to prepared with the correct w and h (width and height in pixels) parameters for the input SVG files in each i-line. You can specify the SVG filenames using the n parameter, or by appending the SVG filenames on the command-line (similar to nona).
This tool uses regular expressions rather than an SVG parser, so expect it to fail in all sorts of situations. It seems to be ok with simple lines and curves generated by Inkscape.
This tool uses pano_trafo from the Hugin project to do the projection math, the way the connection is done makes it only likely to work on unixy systems.
Expect to see 'ContractViolation' errors from vigra, ignore them, this is a bug in pano_trafo which unnecessarily tries to open image files.
Note that only homography transformations preserve splines, i.e. this only works properly if the input and output projection is rectilinear. Having said that, the error with other projections isn't so noticeable if your lines are short and/or they are converted to 'curves' in Inkscape before remapping.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
SEE ALSO
AUTHOR
Bruno Postle - August 2012
Module Install Instructions
To install Panotools::Script, copy and paste the appropriate command in to your terminal.
cpanm Panotools::Script
perl -MCPAN -e shell install Panotools::Script
For more information on module installation, please visit the detailed CPAN module installation guide.