From 06337f0dc8114c70fd0c7767083971a0d091750a Mon Sep 17 00:00:00 2001
From: Sandeep Gupta
Date: Wed, 5 Jul 2017 12:41:25 +0530
Subject: LinearAlgebra and MatrixOperation Update
---
macros/ImageProcessing/core/CV_CreateImage.bin | Bin 0 -> 3604 bytes
macros/ImageProcessing/core/CV_CreateImage.sci | 18 +++----
macros/ImageProcessing/core/CV_GetImgSize.bin | Bin 0 -> 2764 bytes
macros/ImageProcessing/core/CV_GetImgSize.sci | 14 +++---
macros/ImageProcessing/core/lib | Bin 500 -> 480 bytes
macros/ImageProcessing/highgui/CV_LoadImage.bin | Bin 0 -> 2996 bytes
macros/ImageProcessing/highgui/CV_LoadImage.sci | 25 ++++------
macros/ImageProcessing/highgui/CV_SaveImage.bin | Bin 0 -> 2732 bytes
macros/ImageProcessing/highgui/CV_SaveImage.sci | 20 ++++----
macros/ImageProcessing/highgui/CV_ShowImage.bin | Bin 0 -> 2592 bytes
macros/ImageProcessing/highgui/CV_ShowImage.sci | 18 +++----
macros/ImageProcessing/highgui/CV_WaitKey.bin | Bin 0 -> 2528 bytes
macros/ImageProcessing/highgui/CV_WaitKey.sci | 20 ++++----
macros/ImageProcessing/highgui/lib | Bin 560 -> 540 bytes
.../imgproc/CV_AdaptiveThreshold.bin | Bin 0 -> 5504 bytes
.../imgproc/CV_AdaptiveThreshold.sci | 33 +++++++------
macros/ImageProcessing/imgproc/CV_Blur.bin | Bin 0 -> 5044 bytes
macros/ImageProcessing/imgproc/CV_Blur.sci | 41 +++++++---------
macros/ImageProcessing/imgproc/CV_Canny.bin | Bin 0 -> 5220 bytes
macros/ImageProcessing/imgproc/CV_Canny.sci | 36 +++++++-------
macros/ImageProcessing/imgproc/CV_CornerHarris.bin | Bin 0 -> 6200 bytes
macros/ImageProcessing/imgproc/CV_CornerHarris.sci | 49 +++++++++----------
macros/ImageProcessing/imgproc/CV_CvtColor.bin | Bin 0 -> 3952 bytes
macros/ImageProcessing/imgproc/CV_CvtColor.sci | 25 +++++-----
macros/ImageProcessing/imgproc/CV_Dilate.bin | Bin 0 -> 6936 bytes
macros/ImageProcessing/imgproc/CV_Dilate.sci | 53 +++++++++++----------
.../imgproc/CV_DistanceTransform.bin | Bin 0 -> 4012 bytes
.../imgproc/CV_DistanceTransform.sci | 24 +++++-----
macros/ImageProcessing/imgproc/CV_Erode.bin | Bin 0 -> 6880 bytes
macros/ImageProcessing/imgproc/CV_Erode.sci | 52 ++++++++++----------
macros/ImageProcessing/imgproc/CV_GaussianBlur.bin | Bin 0 -> 6004 bytes
macros/ImageProcessing/imgproc/CV_GaussianBlur.sci | 52 ++++++++++----------
macros/ImageProcessing/imgproc/CV_MedianBlur.bin | Bin 0 -> 3936 bytes
macros/ImageProcessing/imgproc/CV_MedianBlur.sci | 25 +++++-----
macros/ImageProcessing/imgproc/CV_Threshold.bin | Bin 0 -> 4052 bytes
macros/ImageProcessing/imgproc/CV_Threshold.sci | 25 +++++-----
macros/ImageProcessing/imgproc/lib | Bin 728 -> 708 bytes
37 files changed, 260 insertions(+), 270 deletions(-)
create mode 100644 macros/ImageProcessing/core/CV_CreateImage.bin
create mode 100644 macros/ImageProcessing/core/CV_GetImgSize.bin
create mode 100644 macros/ImageProcessing/highgui/CV_LoadImage.bin
create mode 100644 macros/ImageProcessing/highgui/CV_SaveImage.bin
create mode 100644 macros/ImageProcessing/highgui/CV_ShowImage.bin
create mode 100644 macros/ImageProcessing/highgui/CV_WaitKey.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_Blur.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_Canny.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_CornerHarris.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_CvtColor.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_Dilate.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_DistanceTransform.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_Erode.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_GaussianBlur.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_MedianBlur.bin
create mode 100644 macros/ImageProcessing/imgproc/CV_Threshold.bin
(limited to 'macros/ImageProcessing')
diff --git a/macros/ImageProcessing/core/CV_CreateImage.bin b/macros/ImageProcessing/core/CV_CreateImage.bin
new file mode 100644
index 0000000..d5aa308
Binary files /dev/null and b/macros/ImageProcessing/core/CV_CreateImage.bin differ
diff --git a/macros/ImageProcessing/core/CV_CreateImage.sci b/macros/ImageProcessing/core/CV_CreateImage.sci
index 90b4578..0275815 100644
--- a/macros/ImageProcessing/core/CV_CreateImage.sci
+++ b/macros/ImageProcessing/core/CV_CreateImage.sci
@@ -17,23 +17,25 @@ function img = CV_CreateImage(width,height,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
+// 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
-//
-// This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for OpenCV
-//
+// 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
+// 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/macros/ImageProcessing/core/CV_GetImgSize.bin b/macros/ImageProcessing/core/CV_GetImgSize.bin
new file mode 100644
index 0000000..ede60e6
Binary files /dev/null and b/macros/ImageProcessing/core/CV_GetImgSize.bin differ
diff --git a/macros/ImageProcessing/core/CV_GetImgSize.sci b/macros/ImageProcessing/core/CV_GetImgSize.sci
index 2b176da..02e018a 100644
--- a/macros/ImageProcessing/core/CV_GetImgSize.sci
+++ b/macros/ImageProcessing/core/CV_GetImgSize.sci
@@ -15,25 +15,23 @@ function imgsize = CV_GetImgSize(img)
// CV_GetImgSize(img)
//
// Parameters
-// img: image whose size is to be returned
+// 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
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
// Examples
-// img = CV_LoadImage('~/test.jpg',0)
-// size = CV_GetImgSize(img)
+// 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/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib
index ab90762..94cf463 100644
Binary files a/macros/ImageProcessing/core/lib and b/macros/ImageProcessing/core/lib differ
diff --git a/macros/ImageProcessing/highgui/CV_LoadImage.bin b/macros/ImageProcessing/highgui/CV_LoadImage.bin
new file mode 100644
index 0000000..f8e1337
Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_LoadImage.bin differ
diff --git a/macros/ImageProcessing/highgui/CV_LoadImage.sci b/macros/ImageProcessing/highgui/CV_LoadImage.sci
index c420c7a..01dda12 100644
--- a/macros/ImageProcessing/highgui/CV_LoadImage.sci
+++ b/macros/ImageProcessing/highgui/CV_LoadImage.sci
@@ -16,30 +16,25 @@ function img = CV_LoadImage(filename,loadtype)
//
// Parameters
// filename: name of file to be opened
-// loadtype: desired load method
+// 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
-//
-// loadtype can take the following values:
-//
-// less than 0 -> image is loaded as is (with alpha channel)
-// 0 -> image is loaded as greyscale
-// greater than 0 -> 3 channel color image is loaded
-//
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// This function can be used for loading a previously stored image
// Examples
-// CV_LoadImage('~/test.jpg',0)
+// 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/macros/ImageProcessing/highgui/CV_SaveImage.bin b/macros/ImageProcessing/highgui/CV_SaveImage.bin
new file mode 100644
index 0000000..8d056bf
Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_SaveImage.bin differ
diff --git a/macros/ImageProcessing/highgui/CV_SaveImage.sci b/macros/ImageProcessing/highgui/CV_SaveImage.sci
index 6c5b0bf..708edff 100644
--- a/macros/ImageProcessing/highgui/CV_SaveImage.sci
+++ b/macros/ImageProcessing/highgui/CV_SaveImage.sci
@@ -15,26 +15,24 @@ function status = CV_SaveImage(filename,img)
// CV_SaveImage(filename,img)
//
// Parameters
-// filename: name of file image to be saved as
-// img: image to be saved
+// 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
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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)
+// 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/macros/ImageProcessing/highgui/CV_ShowImage.bin b/macros/ImageProcessing/highgui/CV_ShowImage.bin
new file mode 100644
index 0000000..c4e00fc
Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_ShowImage.bin differ
diff --git a/macros/ImageProcessing/highgui/CV_ShowImage.sci b/macros/ImageProcessing/highgui/CV_ShowImage.sci
index 2300d25..4bfe591 100644
--- a/macros/ImageProcessing/highgui/CV_ShowImage.sci
+++ b/macros/ImageProcessing/highgui/CV_ShowImage.sci
@@ -12,28 +12,28 @@ function CV_ShowImage(winname,img)
// function to show an image
//
// Calling Sequence
-// CV_ShowImage(img)
+// 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)
+// 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
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
// Examples
-// img = CV_LoadImage('~/test.jpg',0)
-// CV_ShowImage(img)
+// 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/macros/ImageProcessing/highgui/CV_WaitKey.bin b/macros/ImageProcessing/highgui/CV_WaitKey.bin
new file mode 100644
index 0000000..30a42f4
Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_WaitKey.bin differ
diff --git a/macros/ImageProcessing/highgui/CV_WaitKey.sci b/macros/ImageProcessing/highgui/CV_WaitKey.sci
index 46fd91f..0facaaf 100644
--- a/macros/ImageProcessing/highgui/CV_WaitKey.sci
+++ b/macros/ImageProcessing/highgui/CV_WaitKey.sci
@@ -15,25 +15,25 @@ function CV_WaitKey(delay)
// CV_WaitKey(delay)
//
// Parameters
-// delay: waiting delay, if 0 then wait till keypress
+// 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.
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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);
+// 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/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib
index e9714ae..21e6ae8 100644
Binary files a/macros/ImageProcessing/highgui/lib and b/macros/ImageProcessing/highgui/lib differ
diff --git a/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin b/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin
new file mode 100644
index 0000000..26a58c0
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci b/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
index e594f37..a922d79 100644
--- a/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
+++ b/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
@@ -8,26 +8,28 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
-function cvtimg = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method,thresh_type, block_size, C)
+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)
+// 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.
-//
+// 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
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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", ...
@@ -39,7 +41,8 @@ function cvtimg = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method,thresh_t
// 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/macros/ImageProcessing/imgproc/CV_Blur.bin b/macros/ImageProcessing/imgproc/CV_Blur.bin
new file mode 100644
index 0000000..9fc1af4
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Blur.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_Blur.sci b/macros/ImageProcessing/imgproc/CV_Blur.sci
index 784e4c9..b81df49 100644
--- a/macros/ImageProcessing/imgproc/CV_Blur.sci
+++ b/macros/ImageProcessing/imgproc/CV_Blur.sci
@@ -8,34 +8,28 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
-function cvtimg = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y,border_type)
+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)
+// 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
-// border_type : border mode used to extrapolate pixels outside of the image.
-//
+// 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.
-//
-// border_type 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
-//
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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")
@@ -46,7 +40,8 @@ function cvtimg = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y,bord
// 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/macros/ImageProcessing/imgproc/CV_Canny.bin b/macros/ImageProcessing/imgproc/CV_Canny.bin
new file mode 100644
index 0000000..df82478
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Canny.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_Canny.sci b/macros/ImageProcessing/imgproc/CV_Canny.sci
index be1c2cc..b21028a 100644
--- a/macros/ImageProcessing/imgproc/CV_Canny.sci
+++ b/macros/ImageProcessing/imgproc/CV_Canny.sci
@@ -15,33 +15,33 @@ function edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient)
// 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
-//
+// 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.
-//
-// For L2gradient: 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).
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
+// 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);
+// 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/macros/ImageProcessing/imgproc/CV_CornerHarris.bin b/macros/ImageProcessing/imgproc/CV_CornerHarris.bin
new file mode 100644
index 0000000..291d3e4
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_CornerHarris.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_CornerHarris.sci b/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
index ccb83cb..fb25612 100644
--- a/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
+++ b/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
@@ -12,41 +12,42 @@ 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)
+// 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.
-// border_type: border mode used to extrapolate pixels outside of the image.
-//
+// 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.
-//
-// border_type 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
-//
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
+// 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");
+// 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/macros/ImageProcessing/imgproc/CV_CvtColor.bin b/macros/ImageProcessing/imgproc/CV_CvtColor.bin
new file mode 100644
index 0000000..eee1018
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_CvtColor.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_CvtColor.sci b/macros/ImageProcessing/imgproc/CV_CvtColor.sci
index dcf756c..766844b 100644
--- a/macros/ImageProcessing/imgproc/CV_CvtColor.sci
+++ b/macros/ImageProcessing/imgproc/CV_CvtColor.sci
@@ -15,28 +15,27 @@ function cvtimg = CV_CvtColor(srcimg,code)
// 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)
+// 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
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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')
+// 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/macros/ImageProcessing/imgproc/CV_Dilate.bin b/macros/ImageProcessing/imgproc/CV_Dilate.bin
new file mode 100644
index 0000000..3f2d2d9
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Dilate.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_Dilate.sci b/macros/ImageProcessing/imgproc/CV_Dilate.sci
index 25e2c84..196cab8 100644
--- a/macros/ImageProcessing/imgproc/CV_Dilate.sci
+++ b/macros/ImageProcessing/imgproc/CV_Dilate.sci
@@ -8,44 +8,45 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
-function cvtimg = CV_Dilate(srcimg,dilation_type,dilation_size,iterations,border_type,border_value)
+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])
+// 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.
-// border_value : border value in case of a constant border
-//
+// 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.
-//
-// border_type 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
-//
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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);
+// 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/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin b/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin
new file mode 100644
index 0000000..0955b5f
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci b/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
index 1f304a6..e877295 100644
--- a/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
+++ b/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
@@ -15,26 +15,26 @@ function dstimg = CV_DistanceTransform(srcimg,distance_type,mask_size)
// 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
-//
+// 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 floatingpoint, single channel image of the same size as that of source image.
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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)
+// 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/macros/ImageProcessing/imgproc/CV_Erode.bin b/macros/ImageProcessing/imgproc/CV_Erode.bin
new file mode 100644
index 0000000..33d4231
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Erode.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_Erode.sci b/macros/ImageProcessing/imgproc/CV_Erode.sci
index 73f3ee5..d77e9e6 100644
--- a/macros/ImageProcessing/imgproc/CV_Erode.sci
+++ b/macros/ImageProcessing/imgproc/CV_Erode.sci
@@ -8,44 +8,44 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
-function cvtimg = CV_Erode(srcimg,erosion_type,erosion_size,iterations,border_type,border_value)
+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])
+// 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.
-// border_value : border value in case of a constant border
-//
+// 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.
-//
-// border_type 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
-//
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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);
+// 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/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin b/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin
new file mode 100644
index 0000000..b176662
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci b/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
index 814355e..0799c4d 100644
--- a/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
+++ b/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
@@ -8,46 +8,44 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
-function cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_y,border_type)
+function cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_y, ...
+ border_type)
// function to blur image using gaussian filter
//
// Calling Sequence
-// cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_y,border_type)
+// 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;
-// border_type : border mode used to extrapolate pixels outside of the image.
-//
+// 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.
-//
-// For sigmaX and sigmaY : 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.
-//
-// border_type 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
-//
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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")
+// 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/macros/ImageProcessing/imgproc/CV_MedianBlur.bin b/macros/ImageProcessing/imgproc/CV_MedianBlur.bin
new file mode 100644
index 0000000..fdcd23e
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_MedianBlur.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_MedianBlur.sci b/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
index 5f6069a..d8f9a90 100644
--- a/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
+++ b/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
@@ -12,29 +12,30 @@ function cvtimg = CV_MedianBlur(srcimg,ksize)
// function to blur image using median filter
//
// Calling Sequence
-// cvtimg = CV_MedianBlur(srcimg,ksize)
+// 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 ...
-//
+// 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.
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
// Examples
-// img = CV_LoadImage('~/test.jpg',0)
-// dst = CV_MedianBlur(img,3)
+// img = CV_LoadImage('~/test.jpg',0)
+// dst = CV_MedianBlur(img,3)
+//
// See also
-// CV_GaussianBlur, CV_Blur, CV_CvtColor
+// 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/macros/ImageProcessing/imgproc/CV_Threshold.bin b/macros/ImageProcessing/imgproc/CV_Threshold.bin
new file mode 100644
index 0000000..c2ce1c6
Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Threshold.bin differ
diff --git a/macros/ImageProcessing/imgproc/CV_Threshold.sci b/macros/ImageProcessing/imgproc/CV_Threshold.sci
index 0563c36..823a576 100644
--- a/macros/ImageProcessing/imgproc/CV_Threshold.sci
+++ b/macros/ImageProcessing/imgproc/CV_Threshold.sci
@@ -16,27 +16,26 @@ function cvtimg = CV_Threshold(srcimg,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
-//
+// 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
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for OpenCV
-//
+// 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')
+// 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/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib
index 3c25bd7..35c8cc5 100644
Binary files a/macros/ImageProcessing/imgproc/lib and b/macros/ImageProcessing/imgproc/lib differ
--
cgit