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

Line 55: Line 55:




Next, configure the parameters to be manipulated using the properties of the Spherical Video PTZ. Instantiate them as demonstrated in the code below. The initial parameters, represented as <code>{{0.0f, 0.0f}, 2.0f}</code>, control the panning, tilting, and zooming of the image in the format <code>{{pan, tilt}, zoom}</code>. Additionally, <code>{dst.GetSize()}</code> is used for data normalization in <code>{x, y}</code> format, while <code>{io.GetSize()}</code> is utilized for data denormalization, also in <code>{x, y}</code> format.
Next, configure the parameters to be manipulated using the properties of the Spherical Video PTZ. Instantiate them as demonstrated in the code below. The initial parameters, represented as <code>{{0.0f, 0.0f}, 2.0f}</code>, control the panning, tilting, and zooming of the image in the format <code>{{pan, tilt}, zoom}</code>. Additionally, <code>{dst.GetSize()}</code> is used for data normalization in <code>{width, height}</code> format, while <code>{io.GetSize()}</code> is utilized for data denormalization, also in <code>{width, height}</code> format.


<syntaxhighlight lang=cpp>
<syntaxhighlight lang=cpp>
102

edits