summaryrefslogtreecommitdiff
path: root/macros/ImageProcessing/highgui
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ImageProcessing/highgui')
-rw-r--r--macros/ImageProcessing/highgui/CV_LoadImage.sci25
-rw-r--r--macros/ImageProcessing/highgui/CV_SaveImage.sci20
-rw-r--r--macros/ImageProcessing/highgui/CV_ShowImage.sci18
-rw-r--r--macros/ImageProcessing/highgui/CV_WaitKey.sci20
-rw-r--r--macros/ImageProcessing/highgui/libbin616 -> 560 bytes
5 files changed, 45 insertions, 38 deletions
diff --git a/macros/ImageProcessing/highgui/CV_LoadImage.sci b/macros/ImageProcessing/highgui/CV_LoadImage.sci
index 01dda12..c420c7a 100644
--- a/macros/ImageProcessing/highgui/CV_LoadImage.sci
+++ b/macros/ImageProcessing/highgui/CV_LoadImage.sci
@@ -16,25 +16,30 @@ function img = 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
+// loadtype: desired load method
//
// Description
-// This function can be used for loading a previously stored image
-// Examples
-// CV_LoadImage('~/test.jpg',0)
+// This function can be used for loading a previously stored image
+//
+// loadtype can take the following values:
+// <itemizedlist>
+// <listitem><para> less than 0 -> image is loaded as is (with alpha channel)</para></listitem>
+// <listitem><para> 0 -> image is loaded as greyscale</para></listitem>
+// <listitem><para> greater than 0 -> 3 channel color image is loaded</para></listitem>
+// </itemizedlist>
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+//
+// 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/macros/ImageProcessing/highgui/CV_SaveImage.sci b/macros/ImageProcessing/highgui/CV_SaveImage.sci
index 708edff..6c5b0bf 100644
--- a/macros/ImageProcessing/highgui/CV_SaveImage.sci
+++ b/macros/ImageProcessing/highgui/CV_SaveImage.sci
@@ -15,24 +15,26 @@ 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
-// Examples
-// img = CV_LoadImage('~/test.jpg',0)
-// CV_SaveImage('test1.png',img)
+// 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
//
+// 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/macros/ImageProcessing/highgui/CV_ShowImage.sci b/macros/ImageProcessing/highgui/CV_ShowImage.sci
index 4bfe591..2300d25 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
-// Examples
-// img = CV_LoadImage('~/test.jpg',0)
-// CV_ShowImage(img)
//
+// 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)
// 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.sci b/macros/ImageProcessing/highgui/CV_WaitKey.sci
index 0facaaf..46fd91f 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.
-// Examples
-// img = CV_LoadImage('~/test.jpg',0)
-// CV_ShowImage('',img)
-// CV_WaitKey(0);
+// 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
//
+// 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/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib
index 64253e0..e9714ae 100644
--- a/macros/ImageProcessing/highgui/lib
+++ b/macros/ImageProcessing/highgui/lib
Binary files differ