Skip to content

GStreamer 1.0 element for smoothing an image with a Gaussian low pass filter.

License

Notifications You must be signed in to change notification settings

atdgroup/gst-plugin-smoothing

Repository files navigation

Image Smoothing plugin
======================

What it is
----------

This is a filter element for GStreamer 1.0 for applying some smoothing (low pass filtering) to the image. It uses a Gaussian kernel and you are able to set the kernelsize (e.g. 3x3 pixels) and Gaussain sigma. 

Comments
--------

 - Includes ability to apply smoothing on the linear intensity scale even if the vidoe feed has gamma applied. See src/gstsmoothingfilter.h for the GAMMA factor. Set this to 1 (one) to disable this feature.

Building
--------

Building on linux is tested using the autogen script.

First run autogen.sh
	$ chmod a+x autogen.sh
	$ ./autogen.sh
This will use autotools to setup the dev environment, and complete with the line:
"Now type 'make' to compile this module."
You can do that.
	$ make

	$ sudo make install 
will put install the lo file for use with GStreamer, in /usr/local/lib/gstreamer-1.0
To use this in a pipeline you need to tell gstreamer where to find the .lo file.
use:
	$ export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0

See the INSTALL file for advanced setup.

To import into the Eclipse IDE, use "existing code as Makefile project", and the file EclipseSymbolsAndIncludePaths.xml is included here
to import the library locations into the project (Properties -> C/C++ General -> Paths and symbols).

Libraries
---------

Example commands for installing the GStreamer development libraries on Ubuntu 12.04sudo add-apt-repository -y ppa:gstreamer-developers/ppa
	sudo apt-get update
	sudo apt-get install -y dpkg-dev devscripts
	sudo apt-get install -y gstreamer1.0*
	sudo apt-get install -y libgstreamer-plugins-base1.0-dev
	echo "export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0" >> ~/.profile
	sudo apt-get install -y build-essential libgtk-3-dev

pipelines
---------

	gst-launch-1.0 videotestsrc smoothingfilter ! videoconvert ! xvimagesink
	gst-inspect-1.0 smoothingfilter

Locations
---------

Gstreamer plugin locations:
/usr/lib/i386-linux-gnu/gstreamer-1.0
/usr/local/lib/gstreamer-1.0



About

GStreamer 1.0 element for smoothing an image with a Gaussian low pass filter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published