summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ImageProcessing
diff options
context:
space:
mode:
authorSandeep Gupta2017-06-18 23:55:40 +0530
committerSandeep Gupta2017-06-18 23:55:40 +0530
commitb43eccd4cffed5bd1017c5821524fb6e49202f78 (patch)
tree4c53d798252cbeae9bcf7dc9604524b20bb10f27 /2.3-1/macros/ImageProcessing
downloadScilab2C-b43eccd4cffed5bd1017c5821524fb6e49202f78.tar.gz
Scilab2C-b43eccd4cffed5bd1017c5821524fb6e49202f78.tar.bz2
Scilab2C-b43eccd4cffed5bd1017c5821524fb6e49202f78.zip
First commit
Diffstat (limited to '2.3-1/macros/ImageProcessing')
-rw-r--r--2.3-1/macros/ImageProcessing/buildmacros.sce26
-rw-r--r--2.3-1/macros/ImageProcessing/core/CV_CreateImage.binbin0 -> 3604 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/core/CV_CreateImage.sci41
-rw-r--r--2.3-1/macros/ImageProcessing/core/CV_GetImgSize.binbin0 -> 2764 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/core/CV_GetImgSize.sci37
-rw-r--r--2.3-1/macros/ImageProcessing/core/buildmacros.sce15
-rw-r--r--2.3-1/macros/ImageProcessing/core/libbin0 -> 480 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/core/names2
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.binbin0 -> 2996 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci40
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.binbin0 -> 2732 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci38
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.binbin0 -> 2592 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci39
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.binbin0 -> 2528 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci39
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/buildmacros.sce15
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/libbin0 -> 540 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/names4
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.binbin0 -> 5504 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci48
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Blur.binbin0 -> 5044 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci47
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Canny.binbin0 -> 5220 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci47
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.binbin0 -> 6200 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci53
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.binbin0 -> 3952 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci41
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.binbin0 -> 6936 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci52
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.binbin0 -> 4012 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci40
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Erode.binbin0 -> 6880 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci51
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.binbin0 -> 6004 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci51
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.binbin0 -> 3936 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci41
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.binbin0 -> 4052 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci41
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/buildmacros.sce15
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/libbin0 -> 708 bytes
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/names11
44 files changed, 834 insertions, 0 deletions
diff --git a/2.3-1/macros/ImageProcessing/buildmacros.sce b/2.3-1/macros/ImageProcessing/buildmacros.sce
new file mode 100644
index 00000000..6431a7df
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/buildmacros.sce
@@ -0,0 +1,26 @@
+// 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
+
+OpencvDirs = [ "core", ...
+ "highgui", ...
+ "imgproc"];
+
+
+ current_path = get_absolute_file_path("buildmacros.sce");
+
+ for L=1:size(OpencvDirs,"*")
+ myfile = current_path + filesep() + OpencvDirs(L) + filesep() + "buildmacros.sce";
+ if isfile(myfile) then
+ exec(myfile);
+ end
+end
+
+clear current_path;
diff --git a/2.3-1/macros/ImageProcessing/core/CV_CreateImage.bin b/2.3-1/macros/ImageProcessing/core/CV_CreateImage.bin
new file mode 100644
index 00000000..d5aa3080
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/core/CV_CreateImage.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/core/CV_CreateImage.sci b/2.3-1/macros/ImageProcessing/core/CV_CreateImage.sci
new file mode 100644
index 00000000..02758154
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/core/CV_CreateImage.sci
@@ -0,0 +1,41 @@
+// 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 img = CV_CreateImage(width,height,bit_depth,no_of_channels)
+// function to create an image object of given size and type
+//
+// Calling Sequence
+// CV_CreateImage(image_size,bit_depth,no_of_channels)
+//
+// Parameters
+// image_size: width and height of image
+// bit_depth: Bit depth of image elements
+// no_of_channels: no of channels per pixels
+//
+// Description
+// This function can be used to create opencv image object. For more info
+// about bit depth and channels,please refer to OpenCV documentation
+// Examples
+// CV_CreateImage([320 240], "IPL_DEPTH_8U", 1) //to create image of the size 320*240
+// pixels with 8 bit unsigned each pixels and gray scale image
+//
+// See also
+// CV_LoadImage
+//
+//
+// Authors
+// Siddhesh Wani
+//
+img = 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/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.bin b/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.bin
new file mode 100644
index 00000000..ede60e6f
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.sci b/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.sci
new file mode 100644
index 00000000..02e018a7
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.sci
@@ -0,0 +1,37 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function imgsize = CV_GetImgSize(img)
+// function to get size of the image (width*height)
+//
+// Calling Sequence
+// CV_GetImgSize(img)
+//
+// Parameters
+// img: image whose size is to be returned
+//
+// Description
+// This function can be used for retriving size information of the image.
+// It returs an array with first image element as width and second as height
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// size = CV_GetImgSize(img)
+//
+// See also
+// CV_LoadImage CV_CreateImage
+//
+// Authors
+// Siddhesh Wani
+//
+imgsize = [0 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/2.3-1/macros/ImageProcessing/core/buildmacros.sce b/2.3-1/macros/ImageProcessing/core/buildmacros.sce
new file mode 100644
index 00000000..60fd2843
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/core/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/2.3-1/macros/ImageProcessing/core/lib b/2.3-1/macros/ImageProcessing/core/lib
new file mode 100644
index 00000000..94cf463f
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/core/lib
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/core/names b/2.3-1/macros/ImageProcessing/core/names
new file mode 100644
index 00000000..f56c951c
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/core/names
@@ -0,0 +1,2 @@
+CV_CreateImage
+CV_GetImgSize
diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.bin b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.bin
new file mode 100644
index 00000000..f8e13375
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci
new file mode 100644
index 00000000..01dda125
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci
@@ -0,0 +1,40 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function img = CV_LoadImage(filename,loadtype)
+// function to load an image object from given filename
+//
+// Calling Sequence
+// CV_LoadImage(filename,loadtype)
+//
+// Parameters
+// filename: name of file to be opened
+// loadtype: desired load method
+// <0 --> image is loaded as is (with alpha channel)
+// =0 --> image is loaded as greyscale
+// >0 --> 3 channel color image is loaded
+//
+// Description
+// This function can be used for loading a previously stored image
+// Examples
+// CV_LoadImage('~/test.jpg',0)
+//
+// See also
+// CV_CreateImage
+//
+//
+// Authors
+// Siddhesh Wani
+//
+img = 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/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.bin b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.bin
new file mode 100644
index 00000000..8d056bf1
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci
new file mode 100644
index 00000000..708edff0
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci
@@ -0,0 +1,38 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function status = CV_SaveImage(filename,img)
+// function to save an image object as a given filename
+//
+// Calling Sequence
+// CV_SaveImage(filename,img)
+//
+// Parameters
+// filename: name of file image to be saved as
+// img: image to be saved
+//
+// Description
+// This function can be used for saving image. File format is detected
+// from file extension
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// CV_SaveImage('test1.png',img)
+//
+// 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/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.bin b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.bin
new file mode 100644
index 00000000..c4e00fc7
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci
new file mode 100644
index 00000000..4bfe5913
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci
@@ -0,0 +1,39 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function CV_ShowImage(winname,img)
+// function to show an image
+//
+// Calling Sequence
+// CV_ShowImage(img)
+// CV_ShowImage(winname,img)
+//
+// Parameters
+// winname: name of window in which img is to be shown
+// img: image to be shown already acquired (from file/camera)
+//
+// Description
+// This function can be used for showing images
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// CV_ShowImage(img)
+//
+// See also
+// CV_CreateImage CV_LoadImage
+//
+//
+// Authors
+// Siddhesh Wani
+//
+
+// 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/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.bin b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.bin
new file mode 100644
index 00000000..30a42f41
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci
new file mode 100644
index 00000000..0facaafe
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci
@@ -0,0 +1,39 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function CV_WaitKey(delay)
+// function similar to cvWaitKey
+//
+// Calling Sequence
+// CV_WaitKey(delay)
+//
+// Parameters
+// delay: waiting delay, if 0 then wait till keypress
+//
+// Description
+// This function can be used for inseting some delay. This function must
+// follow CV_ShowImage to display image.
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// CV_ShowImage('',img)
+// CV_WaitKey(0);
+//
+// See also
+// CV_LoadImage CV_ShowImage
+//
+//
+// Authors
+// Siddhesh Wani
+//
+
+// 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/2.3-1/macros/ImageProcessing/highgui/buildmacros.sce b/2.3-1/macros/ImageProcessing/highgui/buildmacros.sce
new file mode 100644
index 00000000..60fd2843
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/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/2.3-1/macros/ImageProcessing/highgui/lib b/2.3-1/macros/ImageProcessing/highgui/lib
new file mode 100644
index 00000000..21e6ae81
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/lib
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/highgui/names b/2.3-1/macros/ImageProcessing/highgui/names
new file mode 100644
index 00000000..a717164a
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/highgui/names
@@ -0,0 +1,4 @@
+CV_LoadImage
+CV_SaveImage
+CV_ShowImage
+CV_WaitKey
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin
new file mode 100644
index 00000000..26a58c0c
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
new file mode 100644
index 00000000..a922d798
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
@@ -0,0 +1,48 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method, ...
+ thresh_type, block_size, C)
+// function to adaptively threshold input image
+//
+// Calling Sequence
+// dst = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method, ...
+// thresh_type,blk_size,c)
+//
+// Parameters
+// src -> Source 8-bit single-channel image.
+// max_value -> Non-zero value assigned to the pixels for which the
+// condition is satisfied. See the details below.
+// adaptive_method -> Adaptive thresholding algorithm to use,
+// ADAPTIVE_THRESH_MEAN_C or ADAPTIVE_THRESH_GAUSSIAN_C .
+// thresh_type -> Thresholding type that must be either THRESH_BINARY
+// or THRESH_BINARY_INV .
+// blockSize -> Size of a pixel neighborhood that is used to calculate
+// a threshold value for the pixel: 3, 5, 7, and so on.
+// C -> Constant subtracted from the mean or weighted mean.Normally,
+// it is positive but may be zero or negative as well.
+// Description
+// This function can be used for adaptively threshold given image
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_AdaptiveThreshold(img,255,"ADAPTIVE_THRESH_MEAN_C", ...
+// "THRESH_BINARY",5,0)
+//
+// See also
+// CV_LoadImage CV_CreateImage
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin
new file mode 100644
index 00000000..9fc1af49
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci
new file mode 100644
index 00000000..b81df491
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci
@@ -0,0 +1,47 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y, ...
+ border_type)
+// function to blur image using normalised box filter
+//
+// Calling Sequence
+// dst = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y, ...
+// border_type)
+//
+// Parameters
+// srcimg -> Source image.
+// ksize_width, ksize_height -> blurring kernel size.
+// anchor_x, anchor_y -> x,y coordinates of anchor point
+// borderType -> border mode used to extrapolate pixels outside of the
+// image. Can be :
+// BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
+// BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
+// BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
+// BORDER_WRAP: cdefgh|abcdefgh|abcdefg
+// BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii
+// Description
+// This function can be used for blurring image using normalised box
+// filter. Image can be of any depth and have any no of channels.
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_Blur(img,3,3,-1,-1,"BORDER_CONSTANT")
+//
+// See also
+// CV_LoadImage CV_Threshold, CV_CvtColor
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin
new file mode 100644
index 00000000..df824781
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci
new file mode 100644
index 00000000..b21028a0
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci
@@ -0,0 +1,47 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient)
+//Finds edges in image using Canny algorithm
+//
+// Calling Sequence
+// edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient)
+//
+// Parameters
+// srcimg -> single-channel 8-bit input image.
+// threshold1 -> first threshold for the hysteresis procedure.
+// threshold2 -> second threshold for the hysteresis procedure.
+// aperture_size -> aperture size for the Sobel() operator.
+// L2gradient -> a flag, indicating whether a more accurate
+// L_2 norm =sqrt{(dI/dx)^2 + (dI/dy)^2} should be used to
+// calculate the image gradient magnitude ( L2gradient=1 ),
+// or whether the default L_1 norm =|dI/dx|+|dI/dy| is enough
+// ( L2gradient=0).
+// Description
+// This function can be used for finding edes in single channel 8 bit
+// image. 'aperture_size' and 'L2gradient' are optionals. By default,
+// aperture_size is 3 and L2gradient is false.
+//
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_CvtColor(img,"CV_RGB2GRAY");
+// edge = CV_Canny(dst,50,100,3,0);
+//
+// See also
+// CV_LoadImage CV_CvtColor
+//
+// Authors
+// Siddhesh Wani
+//
+edges = 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/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.bin
new file mode 100644
index 00000000..291d3e4d
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
new file mode 100644
index 00000000..fb25612b
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
@@ -0,0 +1,53 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function edges = CV_CornerHarris(srcimg,blocksize,ksize,k,border_type)
+//Finds edges in image using Harris algorithm
+//
+// Calling Sequence
+// edges = CV_CornerHarris(srcimg,blocksize,ksize,k,border_type)
+//
+// Parameters
+// srcimg -> Input single-channel 8-bit or floating-point image.
+// blockSize -> Neighborhood size
+// ksize -> Aperture parameter for the Sobel() operator.
+// k -> Harris detector free parameter.
+// borderType -> border mode used to extrapolate pixels outside of the
+// image. It can be :
+// BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
+// BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
+// BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
+// BORDER_WRAP: cdefgh|abcdefgh|abcdefg
+// BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii
+// Description
+// The function runs the Harris edge detector on the image. For each
+// pixel (x, y) it calculates a 2 * 2 gradient covariance matrix M(x,y)
+// over a blockSize * blockSize neighborhood. Then, it computes the
+// following characteristic:
+// dst(x,y) = det(M(x,y)) - k .tr(M(x,y))^2
+// Corners in the image can be found as the local maxima of this
+// response map
+//
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_CvtColor(img,"CV_RGB2GRAY");
+// edge = CV_CornerHarris(dst,5,3,1,"BORDER_REPLICATE");
+//
+// See also
+// CV_LoadImage CV_CvtColor
+//
+// Authors
+// Siddhesh Wani
+//
+edges = 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/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.bin
new file mode 100644
index 00000000..eee1018f
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci
new file mode 100644
index 00000000..766844bf
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci
@@ -0,0 +1,41 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_CvtColor(srcimg,code)
+// function to convert image from one colorspace to other colorspace
+//
+// Calling Sequence
+// CV_CvtColor(srcimg,code)
+//
+// 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_CvtColor(img,'CV_RGB2GRAY')
+//
+// See also
+// CV_LoadImage CV_CreateImage
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin
new file mode 100644
index 00000000..3f2d2d99
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci
new file mode 100644
index 00000000..196cab85
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci
@@ -0,0 +1,52 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_Dilate(srcimg,dilation_type,dilation_size,iterations, ...
+ border_type,border_value)
+// dilates an image by using a specific structuring element.
+//
+// Calling Sequence
+// cvtimg = CV_Dilate(srcimg,dilation_type,dilation_size,[iterations, ...
+// border_type,border_value])
+// Parameters
+// src -> input image; the number of channels can be arbitrary, but the
+// depth should be one of CV_8U, CV_16U, CV_16S, CV_32F or CV_64F.
+// dilation_type -> can be one of : MORPH_RECT, MORPH_CROSS,
+// MORPH_ELLIPSE
+// dilation_size -> size of kernel to be used for erosion. Must be odd
+// iterations -> number of times erosion is applied.
+// border_type -> pixel extrapolation method. It can be:
+// BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
+// BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
+// BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
+// BORDER_WRAP: cdefgh|abcdefgh|abcdefg
+// BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii
+// border_value -> border value in case of a constant border
+// Description
+// This function can be used for eroding an image. Kernel used for erosion
+// is decided by type and size. Size must always be odd. Anchor pint of
+// kernel is always center of kernel. Input arguements 'iterations(1),
+// border_type(BORDER_CONSTANT) and border_value' are optionals. Whwn not
+// specified, default values as as mentioned in brackets.
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_Erode(img,"MORPH_RECT",3,1,"BORDER_CONSTANT",0);
+//
+// See also
+// CV_LoadImage CV_Erode
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin
new file mode 100644
index 00000000..0955b5f0
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
new file mode 100644
index 00000000..e8772958
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
@@ -0,0 +1,40 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function dstimg = CV_DistanceTransform(srcimg,distance_type,mask_size)
+// function to calculate distance to closest zero pixels for each pixel
+//
+// Calling Sequence
+// dst = CV_DistanceTransform(srcimg,distance_type,mask_size)
+//
+// Parameters
+// srcimg -> Source 8-bit single-channel image.
+// distance_type -> Type of distance. It can be
+// CV_DIST_L1, CV_DIST_L2 , or CV_DIST_C
+// mask_size -> Size of the distance transform mask
+// Description
+// This function can be used to calculate distance to closest zero
+// pixel for each pixel of the source image. Output is 32 bit floating
+// point, single channel image of the same size as that of source image.
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_DistanceTransform(img,"CV_DIST_L1",3)
+//
+// See also
+// CV_LoadImage CV_CreateImage CV_CvtColor
+//
+// Authors
+// Siddhesh Wani
+//
+dstimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin
new file mode 100644
index 00000000..33d42312
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci
new file mode 100644
index 00000000..d77e9e69
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci
@@ -0,0 +1,51 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_Erode(srcimg,erosion_type,erosion_size,iterations, ...
+ border_type,border_value)
+// Erodes an image by using a specific structuring element.
+//
+// Calling Sequence
+// cvtimg = CV_Erode(srcimg,erosion_type,erosion_size,[iterations, ...
+// border_type,border_value])
+// Parameters
+// src -> input image; the number of channels can be arbitrary, but the
+// depth should be one of CV_8U, CV_16U, CV_16S, CV_32F or CV_64F.
+// erosion_type -> can be one of : MORPH_RECT, MORPH_CROSS, MORPH_ELLIPSE
+// erosion_size -> size of kernel to be used for erosion. Must be odd
+// iterations -> number of times erosion is applied.
+// border_type -> pixel extrapolation method. It can be:
+// BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
+// BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
+// BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
+// BORDER_WRAP: cdefgh|abcdefgh|abcdefg
+// BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii
+// border_value -> border value in case of a constant border
+// Description
+// This function can be used for eroding an image. Kernel used for erosion
+// is decided by type and size. Size must always be odd. Anchor pint of
+// kernel is always center of kernel. Input arguements 'iterations(1),
+// border_type(BORDER_CONSTANT) and border_value' are optionals. Whwn not
+// specified, default values as as mentioned in brackets.
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_Erode(img,"MORPH_RECT",3,1,"BORDER_CONSTANT",0);
+//
+// See also
+// CV_LoadImage CV_Dilate
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin
new file mode 100644
index 00000000..b1766626
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
new file mode 100644
index 00000000..0799c4dd
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
@@ -0,0 +1,51 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_y, ...
+ border_type)
+// function to blur image using gaussian filter
+//
+// Calling Sequence
+// dst = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y, ...
+// border_type)
+//
+// Parameters
+// srcimg -> Source image.
+// ksize_width, ksize_height -> blurring kernel size. must be odd.
+// sigmaX -> Gaussian kernel standard deviation in X direction.
+// sigmaY -> Gaussian kernel standard deviation in Y direction;
+// if sigmaY is zero, it is set to be equal to sigmaX,
+// if both sigmas are zeros, they are computed from
+// ksize.width and ksize.height , respectively
+// borderType -> border mode used to extrapolate pixels outside of the
+// image. Can be :
+// BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
+// BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
+// BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
+// BORDER_WRAP: cdefgh|abcdefgh|abcdefg
+// BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii
+// Description
+// This function can be used for blurring image using gaussian
+// filter. Image can be of any depth and have any no of channels.
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_GaussianBlur(img,3,3,0,0,"BORDER_CONSTANT")
+//
+// See also
+// CV_LoadImage CV_Blur, CV_CvtColor
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.bin
new file mode 100644
index 00000000..fdcd23ed
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
new file mode 100644
index 00000000..d8f9a900
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
@@ -0,0 +1,41 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_MedianBlur(srcimg,ksize)
+// function to blur image using median filter
+//
+// Calling Sequence
+// dst = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y, ...
+// border_type)
+//
+// Parameters
+// srcimg -> input 1-, 3-, or 4-channel image; when ksize is 3 or 5,
+// the image depth should be CV_8U, CV_16U, or CV_32F, for
+// larger aperture sizes, it can only be CV_8U.
+// ksize_width -> aperture linear size; it must be odd and greater than 1,
+// for example: 3, 5, 7 ...
+// Description
+// This function can be used for blurring image using median
+// filter. Image can be of any depth and have any no of channels.
+// Examples
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_MedianBlur(img,3)
+//
+// See also
+// CV_GaussianBlur CV_Blur, CV_CvtColor
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.bin
new file mode 100644
index 00000000..c2ce1c60
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.bin
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci
new file mode 100644
index 00000000..823a5768
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci
@@ -0,0 +1,41 @@
+// 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
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+function cvtimg = CV_Threshold(srcimg,threshold,max_value,thresh_type)
+// function to threshold input image
+//
+// Calling Sequence
+// dst = CV_Threshold(srcimg,code,threshold,max_value,thresh_type)
+//
+// Parameters
+// srcimg: source image to be converted
+// threshold: threshold value
+// max_value: maximum value to be used with THRESH_BINARY and THRESH_BINARY_INV
+// thresh_type: Type for threshold. It can one of the following:
+// THRESH_BINARY, THRESH_BINARY_INV, THRESH_TRUNC,
+// THRESH_TOZERO, THRESH_TOZERO_INV
+// 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_Threshold(img,100,255,'THRESH_BINARY')
+//
+// See also
+// CV_LoadImage CV_CreateImage
+//
+// Authors
+// Siddhesh Wani
+//
+cvtimg = 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/2.3-1/macros/ImageProcessing/imgproc/buildmacros.sce b/2.3-1/macros/ImageProcessing/imgproc/buildmacros.sce
new file mode 100644
index 00000000..60fd2843
--- /dev/null
+++ b/2.3-1/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/2.3-1/macros/ImageProcessing/imgproc/lib b/2.3-1/macros/ImageProcessing/imgproc/lib
new file mode 100644
index 00000000..35c8cc53
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/lib
Binary files differ
diff --git a/2.3-1/macros/ImageProcessing/imgproc/names b/2.3-1/macros/ImageProcessing/imgproc/names
new file mode 100644
index 00000000..16240f53
--- /dev/null
+++ b/2.3-1/macros/ImageProcessing/imgproc/names
@@ -0,0 +1,11 @@
+CV_AdaptiveThreshold
+CV_Blur
+CV_Canny
+CV_CornerHarris
+CV_CvtColor
+CV_Dilate
+CV_DistanceTransform
+CV_Erode
+CV_GaussianBlur
+CV_MedianBlur
+CV_Threshold