summaryrefslogtreecommitdiff
path: root/macros/ImageProcessing/imgproc
diff options
context:
space:
mode:
authorsiddhu89902016-08-25 10:29:32 +0530
committersiddhu89902016-08-25 10:29:32 +0530
commitea1e22e36a9559448919d7ae2dd24a25743861ec (patch)
tree08126b46fe4fbeccdbc323af2c260ab9836a235f /macros/ImageProcessing/imgproc
parentfbd135ca716c6f5ee8f91425cff6bef3c27dc6b6 (diff)
downloadscilab2c-ea1e22e36a9559448919d7ae2dd24a25743861ec.tar.gz
scilab2c-ea1e22e36a9559448919d7ae2dd24a25743861ec.tar.bz2
scilab2c-ea1e22e36a9559448919d7ae2dd24a25743861ec.zip
Basic image prcessing working for RPi
Diffstat (limited to 'macros/ImageProcessing/imgproc')
-rw-r--r--macros/ImageProcessing/imgproc/CV_CvtColor.binbin0 -> 4224 bytes
-rw-r--r--macros/ImageProcessing/imgproc/CV_CvtColor.sci43
-rw-r--r--macros/ImageProcessing/imgproc/buildmacros.sce15
-rw-r--r--macros/ImageProcessing/imgproc/libbin0 -> 688 bytes
-rw-r--r--macros/ImageProcessing/imgproc/names1
5 files changed, 59 insertions, 0 deletions
diff --git a/macros/ImageProcessing/imgproc/CV_CvtColor.bin b/macros/ImageProcessing/imgproc/CV_CvtColor.bin
new file mode 100644
index 00000000..6ca6ea46
--- /dev/null
+++ b/macros/ImageProcessing/imgproc/CV_CvtColor.bin
Binary files differ
diff --git a/macros/ImageProcessing/imgproc/CV_CvtColor.sci b/macros/ImageProcessing/imgproc/CV_CvtColor.sci
new file mode 100644
index 00000000..8baa3865
--- /dev/null
+++ b/macros/ImageProcessing/imgproc/CV_CvtColor.sci
@@ -0,0 +1,43 @@
+// Copyright (C) 2016 - IIT Bombay - FOSSEE
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Siddhesh Wani
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function status = CV_CvtColor(srcimg,dstimg,code)
+// function to convert image from one colorspace to other colorspace
+//
+// Calling Sequence
+// CV_CvtColor(srcimg,dstimg,code,dstCn)
+//
+// Parameters
+// srcimg: source image to be converted
+// dstimg: destination image in which to store converted image
+// code: String specifying conversion type. Same as defined in OpenCV
+// for eg. 'CV_RGB2GRAY' for conversion from RGB image to grayscale image
+// dstCn: no of channels in destination image (0 by default)
+//
+// Description
+// This function can be used for converting an image to other colorspace.
+// Refer OpenCV documentation for list of available conversions
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_CreateImage(320,240,"IPL_DEPTH_8U",1)
+// CV_CvtColor(img,dst,'CV_RGB2GRAY')
+//
+// See also
+// CV_LoadImage CV_CreateImage
+//
+// Authors
+// Siddhesh Wani
+//
+status = 0;
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+
+endfunction
diff --git a/macros/ImageProcessing/imgproc/buildmacros.sce b/macros/ImageProcessing/imgproc/buildmacros.sce
new file mode 100644
index 00000000..60fd2843
--- /dev/null
+++ b/macros/ImageProcessing/imgproc/buildmacros.sce
@@ -0,0 +1,15 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009-2009 - DIGITEO - Bruno JOFRET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+//
+//
+
+tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce'));
+
+clear tbx_build_macros;
diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib
new file mode 100644
index 00000000..601946ed
--- /dev/null
+++ b/macros/ImageProcessing/imgproc/lib
Binary files differ
diff --git a/macros/ImageProcessing/imgproc/names b/macros/ImageProcessing/imgproc/names
new file mode 100644
index 00000000..537af898
--- /dev/null
+++ b/macros/ImageProcessing/imgproc/names
@@ -0,0 +1 @@
+CV_CvtColor