GNOME Bugzilla – Bug 750788
videofilters: Support for unsharp filter
Last modified: 2018-05-06 12:17:30 UTC
There is no support for unsharp filter which is used for enhancement
Created attachment 305068 [details] [review] videofilters: Added support for unsharp filter Added support for unsharp mask in convolution which is used for image and video enhancement. It is tested with below pipeline gst-launch-1.0 filesrc location=pm.mp4 ! decodebin ! videoconvert ! unsharp ! videoconvert ! ximagesink
Created attachment 305069 [details] Input and output images Added input and output images
Review of attachment 305068 [details] [review]: Is this just a blur filter? The matrix looks like guassian blur or similar. Maybe name it like that then, and maybe also add some property to switch between different blur matrices. ::: gst/videofilters/gstunsharp.c @@ +51,3 @@ +#define gst_video_unsharp_filter_parent_class parent_class +G_DEFINE_TYPE (GstVideoUnsharpFilter, gst_video_unsharp_filter, + GST_TYPE_VIDEO_BASE_CONVOLVE_FILTER); I would call the type GstVideoBaseConvolutionFilter, not Convolve
There's already a gaussianblur element in the gaudieffects plugin fwiw.
Sanjay, could you comment how this filter is different from the existing elements?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!