retinex: Change retinex to C++
authorVanessa Chipirrás Navalón <vchipirras6@gmail.com>
Fri, 2 Oct 2015 16:48:47 +0000 (17:48 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Fri, 2 Oct 2015 17:07:06 +0000 (18:07 +0100)
Change the gstretinex.c file to cpp and add it into Makefile.
It is necessary to migrate the retinex element to C++,
because new Opencv API leaves obsolete functions like cvSmooth.
This element uses this function.

You can see in this link:
http://docs.opencv.org/modules/imgproc/doc/filtering.html?
highlight=cvsmooth#void cvSmooth(const CvArr* src, CvArr* dst,
int smoothtype, int size1, int size2, double sigma1, double sigma2)

https://bugzilla.gnome.org/show_bug.cgi?id=754148

ext/opencv/Makefile.am
ext/opencv/gstretinex.cpp [moved from ext/opencv/gstretinex.c with 100% similarity]

index 140d044..05c7b52 100644 (file)
@@ -19,7 +19,7 @@ libgstopencv_la_SOURCES = gstopencv.cpp \
                        gsttextoverlay.c \
                        gstmotioncells.c \
                        gstskindetect.c \
-                       gstretinex.c \
+                       gstretinex.cpp \
                        gstfacedetect.cpp \
                        gstsegmentation.cpp \
                        gstgrabcut.cpp \