GStreamer Pan Tilt Zoom and Rotate Element - GstPTZR Basics
GStreamer PTZR |
---|
GstPTZR Basics |
User Guide |
Getting Started |
Examples |
Contact Us |
This page describes the fundamentals of RidgeRun's GStreamer digital Pan, Tilt, Zoom and Rotate Element. After reading this page it should be clear if the plug-in meets your application requirements by using any of its different configurations.
PTZR Camera
GstPTZR is a GStreamer plug-in that emulates a PTZR camera using digital image transformations. PTZR stands for Pan, Tilt, Zoom and Rotate. They represent physical degrees of freedom in which the camera may rotate in order to capture different parts of the scene. Pan and Tilt correspond to rotations along the horizontal and vertical axis, respectively. Figures 1 and 2 show these movements.
Similarly, Zoom represents the level of magnification of the image a camera is able to take thanks to different lens configurations. Figure 3 represents graphically this concept. Note that there is no movement of the camera carcass, but a modification in the lens configuration.
Finally, very small amount of cameras may also expose a Rotation factor. This is represented by a rotation in the depth axis. Figure 4 shows this concept.
Digital PTZR Emulation
GstPTZR emulates PTZR by taking a subimage of the input frame. By varying the origin of this subimage a pan and tilt effect is achieved. Figure 5 shows the emulated pan & tilt.
By taking a bigger/smaller subimage, a zoom-out/zoom-in effect is achieved. Figure 6 shows such concept.
Finally, by rotating the subimage within the input frame, the rotation effect is achieved. Figure 7 exemplifies this rotation.