Jump to content

Spherical Video PTZ/User Guide/Quick Start Guide: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:


This wiki introduces a basic use of Spherical Video PTZ for converting equirectangular images to rectilinear format with an engine. It includes a simple example and instructions on how to use the engine for different needs. The engine makes it easy to change panoramic images into a straight view, useful for many projects.
This wiki introduces a basic use of Spherical Video PTZ for converting equirectangular images to rectilinear format with an engine. It includes a simple example and instructions on how to use the engine for different needs. The engine makes it easy to change panoramic images into a straight view, useful for many projects.
<syntaxhighlight>
cd samples
./download_samples.sh
cd ..
</syntaxhighlight>


== Minimal Application  ==
== Minimal Application  ==
Line 20: Line 26:
'''2.''' This example demonstrates the use of the Spherical Video PTZ engine to convert equirectangular images into rectilinear format. This command processes example_image.jpg, converting it from an equirectangular format to a rectilinear view. But you can use any other reference image as long as it is equirectangular. Run the example as:
'''2.''' This example demonstrates the use of the Spherical Video PTZ engine to convert equirectangular images into rectilinear format. This command processes example_image.jpg, converting it from an equirectangular format to a rectilinear view. But you can use any other reference image as long as it is equirectangular. Run the example as:
<syntaxhighlight lang=bash line>
<syntaxhighlight lang=bash line>
cd $LIBPANORAMA_PATH
./builddir/examples/equirectangular_to_rectilinear_npp examples/example_image.jpg  
./builddir/examples/equirectangular_to_rectilinear_npp examples/example_image.jpg  
</syntaxhighlight>
</syntaxhighlight>
264

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.