diff options
Diffstat (limited to 'macros/ImageProcessing/imgproc/CV_Threshold.sci')
-rw-r--r-- | macros/ImageProcessing/imgproc/CV_Threshold.sci | 25 |
1 files changed, 12 insertions, 13 deletions
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 |