2009-05-08 06:25:20 +00:00
|
|
|
plugin_LTLIBRARIES = libgstopencv.la
|
|
|
|
|
|
|
|
# sources used to compile this plug-in
|
2010-09-08 17:59:54 +00:00
|
|
|
libgstopencv_la_SOURCES = gstopencv.c \
|
|
|
|
gstopencvvideofilter.c \
|
|
|
|
gstopencvutils.c \
|
|
|
|
gstcvdilate.c \
|
|
|
|
gstcvdilateerode.c \
|
|
|
|
gstcvequalizehist.c \
|
|
|
|
gstcverode.c \
|
|
|
|
gstcvlaplace.c \
|
|
|
|
gstcvsmooth.c \
|
|
|
|
gstcvsobel.c \
|
|
|
|
gstedgedetect.c \
|
|
|
|
gstfaceblur.c \
|
|
|
|
gstfacedetect.c \
|
2013-01-30 12:37:18 +00:00
|
|
|
gsthanddetect.c \
|
2010-09-08 17:59:54 +00:00
|
|
|
gstpyramidsegment.c \
|
|
|
|
gsttemplatematch.c \
|
2011-07-27 16:58:15 +00:00
|
|
|
gsttextoverlay.c \
|
|
|
|
gstmotioncells.c \
|
2013-05-23 09:04:57 +00:00
|
|
|
gstskindetect.c \
|
opencv: Add colour image enhancement element based on Retinex algorithm
Add colour image enhancement element based on Retinex algorithm. Two types
exist, namely basic and multiscale; both are described in this article:
Rahman, Zia-ur, Daniel J. Jobson, and Glenn A. Woodell. "Multi-scale retinex
for color image enhancement." Image Processing, 1996. Proceedings.,
International Conference on. Vol. 3. IEEE, 1996
Visually speaking the result looks a bit funny, but is pretty invariable to
lightning changes, which is good for some applications, like image
segmentation.
https://bugzilla.gnome.org/show_bug.cgi?id=700977
2013-05-27 09:20:07 +00:00
|
|
|
gstretinex.c \
|
2013-06-11 12:32:43 +00:00
|
|
|
gstsegmentation.cpp \
|
2011-07-27 16:58:15 +00:00
|
|
|
motioncells_wrapper.cpp \
|
|
|
|
MotionCells.cpp
|
|
|
|
|
2013-06-18 11:46:07 +00:00
|
|
|
libgstopencv_la_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(OPENCV_CFLAGS)
|
2009-05-08 06:25:20 +00:00
|
|
|
|
|
|
|
# flags used to compile this facedetect
|
|
|
|
# add other _CFLAGS and _LIBS as needed
|
2010-09-09 10:07:47 +00:00
|
|
|
#
|
|
|
|
# override CV_INLINE: GLib will take care of defining 'inline' sufficiently and
|
|
|
|
# OpenCV's define isn't good enough to avoid 'unused' gcc warnings (at v2.1.0)
|
2013-06-18 11:46:07 +00:00
|
|
|
libgstopencv_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_CFLAGS) $(OPENCV_CFLAGS) \
|
2013-03-01 00:10:46 +00:00
|
|
|
-DGST_HAAR_CASCADES_DIR=\"$(pkgdatadir)/@GST_API_VERSION@/opencv_haarcascades\" \
|
|
|
|
-DCV_INLINE="static inline" \
|
2010-09-09 14:03:24 +00:00
|
|
|
-DCV_NO_BACKWARD_COMPATIBILITY
|
2009-05-08 06:25:20 +00:00
|
|
|
|
2010-05-05 04:24:54 +00:00
|
|
|
libgstopencv_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(OPENCV_LIBS) \
|
2012-04-04 12:41:22 +00:00
|
|
|
$(GSTPB_BASE_LIBS) -lgstvideo-$(GST_API_VERSION)
|
2009-05-08 06:25:20 +00:00
|
|
|
|
|
|
|
libgstopencv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2012-10-24 10:16:39 +00:00
|
|
|
libgstopencv_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
2009-05-08 06:25:20 +00:00
|
|
|
|
|
|
|
# headers we need but don't want installed
|
2010-09-08 17:59:54 +00:00
|
|
|
noinst_HEADERS = gstopencvvideofilter.h gstopencvutils.h \
|
|
|
|
gstcvdilateerode.h \
|
|
|
|
gstcvdilate.h \
|
|
|
|
gstcvequalizehist.h \
|
|
|
|
gstcverode.h \
|
|
|
|
gstcvlaplace.h \
|
|
|
|
gstcvsmooth.h \
|
|
|
|
gstcvsobel.h \
|
|
|
|
gstedgedetect.h \
|
|
|
|
gstfaceblur.h \
|
|
|
|
gstfacedetect.h \
|
2013-01-30 12:37:18 +00:00
|
|
|
gsthanddetect.h \
|
2010-09-08 17:59:54 +00:00
|
|
|
gstpyramidsegment.h \
|
|
|
|
gsttemplatematch.h \
|
2011-07-27 16:58:15 +00:00
|
|
|
gsttextoverlay.h \
|
2013-06-11 12:32:43 +00:00
|
|
|
gstskindetect.h \
|
|
|
|
gstretinex.h \
|
|
|
|
gstsegmentation.h \
|
2011-07-27 16:58:15 +00:00
|
|
|
gstmotioncells.h \
|
|
|
|
motioncells_wrapper.h \
|
|
|
|
MotionCells.h
|
2013-01-30 12:37:18 +00:00
|
|
|
|
2013-03-01 00:10:46 +00:00
|
|
|
opencv_haarcascadesdir = $(pkgdatadir)/$(GST_API_VERSION)/opencv_haarcascades
|
2013-01-30 12:37:18 +00:00
|
|
|
opencv_haarcascades_DATA = fist.xml palm.xml
|
|
|
|
|
|
|
|
EXTRA_DIST = $(opencv_haarcascades_DATA)
|