dewarp
Dewarp fisheye images
Example launch line
gst-launch-1.0 videotestsrc ! videoconvert ! circle radius=0.1 height=80 ! dewarp outer-radius=0.35 inner-radius=0.1 ! videoconvert ! xvimagesink
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstVideoFilter ╰──GstOpencvVideoFilter ╰──dewarp
Factory details
Authors: – Nicola Murino
Classification: – Filter/Effect/Video
Rank – none
Plugin – opencv
Package – GStreamer Bad Plug-ins
Pad Templates
sink
video/x-raw:
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
src
video/x-raw:
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Properties
display-mode
“display-mode” Dewarp-display-mode *
How to display the dewarped image
Flags : Read / Write
Default value : single-panorama (0)
inner-radius
“inner-radius” gdouble
Inner radius of the fisheye image donut. If outer radius <= inner radius the element will work in passthrough mode
Flags : Read / Write
Default value : 0
interpolation-method
“interpolation-method” Dewarp-interpolation-mode *
Interpolation method to use
Flags : Read / Write
Default value : bilinear (1)
outer-radius
“outer-radius” gdouble
Outer radius of the fisheye image donut. If outer radius <= inner radius the element will work in passthrough mode
Flags : Read / Write
Default value : 0
x-center
“x-center” gdouble
X axis center of the fisheye image
Flags : Read / Write
Default value : 0.5
x-remap-correction
“x-remap-correction” gdouble
Correction factor for remapping on x axis. A correction is needed if the fisheye image is not inside a circle
Flags : Read / Write
Default value : 1
y-center
“y-center” gdouble
Y axis center of the fisheye image
Flags : Read / Write
Default value : 0.5
y-remap-correction
“y-remap-correction” gdouble
Correction factor for remapping on y axis. A correction is needed if the fisheye image is not inside a circle
Flags : Read / Write
Default value : 1
Named constants
Dewarp-display-mode
Members
single-panorama
(0) – Single panorama image
double-panorama
(1) – Dewarped image is split in two images displayed one below the other
quad-view
(2) – Dewarped image is split in four images dysplayed as a quad view
Dewarp-interpolation-mode
Members
nearest
(0) – A nearest-neighbor interpolation
bilinear
(1) – A bilinear interpolation
bicubic
(2) – A bicubic interpolation over 4x4 pixel neighborhood
Lanczos
(3) – A Lanczos interpolation over 8x8 pixel neighborhood
The results of the search are