summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ImageProcessing/imgproc
diff options
context:
space:
mode:
authoryash11122017-07-07 22:34:47 +0530
committeryash11122017-07-07 22:34:47 +0530
commit2a6c003c67faafd257984f4ae632e40bc6fa9a32 (patch)
tree5eecfb962980f7c32cd167bd7e124166e4741343 /2.3-1/macros/ImageProcessing/imgproc
parentce61940a1398e66d9d09b81241789576c1ceca01 (diff)
parent640f9fcf3f64298c7958f4bde5a7e6a7602a690d (diff)
downloadScilab2C-2a6c003c67faafd257984f4ae632e40bc6fa9a32.tar.gz
Scilab2C-2a6c003c67faafd257984f4ae632e40bc6fa9a32.tar.bz2
Scilab2C-2a6c003c67faafd257984f4ae632e40bc6fa9a32.zip
1.Sci2cDeps updated 2.Windows compatibility resolved
Diffstat (limited to '2.3-1/macros/ImageProcessing/imgproc')
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci31
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci31
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci28
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci37
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci22
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci40
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci21
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci39
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci39
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci27
-rw-r--r--2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci21
11 files changed, 336 insertions, 0 deletions
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
index e594f372..ff6731a4 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.sci
@@ -8,6 +8,7 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
+<<<<<<< HEAD
function cvtimg = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method,thresh_type, block_size, C)
// function to adaptively threshold input image
//
@@ -28,6 +29,30 @@ function cvtimg = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method,thresh_t
// This is curretly dummy function. It provides no functionality but is required
// for providing support for generating C code for OpenCV
//
+=======
+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
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_AdaptiveThreshold(img,255,"ADAPTIVE_THRESH_MEAN_C", ...
@@ -39,7 +64,13 @@ function cvtimg = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method,thresh_t
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci
index 784e4c96..9a163963 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.sci
@@ -8,6 +8,7 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
+<<<<<<< HEAD
function cvtimg = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y,border_type)
// function to blur image using normalised box filter
//
@@ -36,6 +37,30 @@ function cvtimg = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y,bord
// This is curretly dummy function. It provides no functionality but is required
// for providing support for generating C code for OpenCV
//
+=======
+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.
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_Blur(img,3,3,-1,-1,"BORDER_CONSTANT")
@@ -46,7 +71,13 @@ function cvtimg = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y,bord
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci
index be1c2ccb..1adb11ec 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.sci
@@ -15,6 +15,7 @@ function edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient)
// edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient)
//
// Parameters
+<<<<<<< HEAD
// srcimg : single-channel 8-bit input image.
// threshold1 : first threshold for the hysteresis procedure.
// threshold2 : second threshold for the hysteresis procedure.
@@ -35,13 +36,40 @@ function edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient)
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_CvtColor(img,"CV_RGB2GRAY");
// edge = CV_Canny(dst,50,100,3,0);
+=======
+// 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);
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_CvtColor
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
edges = 0
+=======
+edges = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
index ccb83cb7..741dc2ba 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.sci
@@ -12,6 +12,7 @@ function edges = CV_CornerHarris(srcimg,blocksize,ksize,k,border_type)
//Finds edges in image using Harris algorithm
//
// Calling Sequence
+<<<<<<< HEAD
// edges = CV_CornerHarris(srcimg,blocksize,ksize,k,border_type)
//
// Parameters
@@ -40,13 +41,49 @@ function edges = CV_CornerHarris(srcimg,blocksize,ksize,k,border_type)
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_CvtColor(img,"CV_RGB2GRAY");
// edge = CV_CornerHarris(dst,5,3,1,"BORDER_REPLICATE");
+=======
+// 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");
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_CvtColor
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
edges = 0
+=======
+edges = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci
index dcf756c0..3252c122 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.sci
@@ -15,6 +15,7 @@ function cvtimg = CV_CvtColor(srcimg,code)
// CV_CvtColor(srcimg,code)
//
// Parameters
+<<<<<<< HEAD
// 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
@@ -30,13 +31,34 @@ function cvtimg = CV_CvtColor(srcimg,code)
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_CvtColor(img,'CV_RGB2GRAY')
+=======
+// 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')
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_CreateImage
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci
index 25e2c844..124ec897 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.sci
@@ -8,6 +8,7 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
+<<<<<<< HEAD
function cvtimg = CV_Dilate(srcimg,dilation_type,dilation_size,iterations,border_type,border_value)
// dilates an image by using a specific structuring element.
//
@@ -39,13 +40,52 @@ function cvtimg = CV_Dilate(srcimg,dilation_type,dilation_size,iterations,border
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_Erode(img,"MORPH_RECT",3,1,"BORDER_CONSTANT",0);
+=======
+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);
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_Erode
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
index 1f304a68..811d8f42 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.sci
@@ -15,6 +15,7 @@ function dstimg = CV_DistanceTransform(srcimg,distance_type,mask_size)
// dst = CV_DistanceTransform(srcimg,distance_type,mask_size)
//
// Parameters
+<<<<<<< HEAD
// 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
@@ -28,13 +29,33 @@ function dstimg = CV_DistanceTransform(srcimg,distance_type,mask_size)
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_DistanceTransform(img,"CV_DIST_L1",3)
+=======
+// 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)
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_CreateImage CV_CvtColor
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
dstimg = 0
+=======
+dstimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci
index 73f3ee59..8ae8ca58 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.sci
@@ -8,6 +8,7 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
+<<<<<<< HEAD
function cvtimg = CV_Erode(srcimg,erosion_type,erosion_size,iterations,border_type,border_value)
// Erodes an image by using a specific structuring element.
//
@@ -39,13 +40,51 @@ function cvtimg = CV_Erode(srcimg,erosion_type,erosion_size,iterations,border_ty
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_Erode(img,"MORPH_RECT",3,1,"BORDER_CONSTANT",0);
+=======
+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);
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_Dilate
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
index 814355e0..99ba008a 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.sci
@@ -8,6 +8,7 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
+<<<<<<< HEAD
function cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_y,border_type)
// function to blur image using gaussian filter
//
@@ -41,13 +42,51 @@ function cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_GaussianBlur(img,3,3,0,0,"BORDER_CONSTANT")
+=======
+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")
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_Blur, CV_CvtColor
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
index 5f6069a7..eb20f53f 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.sci
@@ -12,6 +12,7 @@ function cvtimg = CV_MedianBlur(srcimg,ksize)
// function to blur image using median filter
//
// Calling Sequence
+<<<<<<< HEAD
// cvtimg = CV_MedianBlur(srcimg,ksize)
//
// Parameters
@@ -30,11 +31,37 @@ function cvtimg = CV_MedianBlur(srcimg,ksize)
// dst = CV_MedianBlur(img,3)
// See also
// CV_GaussianBlur, CV_Blur, CV_CvtColor
+=======
+// 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
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci
index 0563c360..2364e2e5 100644
--- a/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci
+++ b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.sci
@@ -16,6 +16,7 @@ function cvtimg = CV_Threshold(srcimg,threshold,max_value,thresh_type)
//
// Parameters
// srcimg: source image to be converted
+<<<<<<< HEAD
// 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
@@ -30,13 +31,33 @@ function cvtimg = CV_Threshold(srcimg,threshold,max_value,thresh_type)
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// dst = CV_Threshold(img,100,255,'THRESH_BINARY')
+=======
+// 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')
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_CreateImage
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
cvtimg = 0
+=======
+cvtimg = 0
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction