summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ImageProcessing/highgui
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/ImageProcessing/highgui')
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci23
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci19
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci25
-rw-r--r--2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci22
4 files changed, 89 insertions, 0 deletions
diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci
index c420c7a1..48a77fa6 100644
--- a/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.sci
@@ -16,6 +16,7 @@ function img = CV_LoadImage(filename,loadtype)
//
// Parameters
// filename: name of file to be opened
+<<<<<<< HEAD
// loadtype: desired load method
//
// Description
@@ -41,5 +42,27 @@ function img = CV_LoadImage(filename,loadtype)
//
img = 0;
+=======
+// 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
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction
diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci
index 6c5b0bf9..999c634c 100644
--- a/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.sci
@@ -15,6 +15,7 @@ function status = CV_SaveImage(filename,img)
// CV_SaveImage(filename,img)
//
// Parameters
+<<<<<<< HEAD
// filename: name of file image to be saved as
// img: image to be saved
//
@@ -28,13 +29,31 @@ function status = CV_SaveImage(filename,img)
// Examples
// img = CV_LoadImage('~/test.jpg',0)
// CV_SaveImage('test1.png',img)
+=======
+// 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)
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// See also
// CV_LoadImage CV_CreateImage
//
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
status = 0;
+=======
+status = 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/highgui/CV_ShowImage.sci b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci
index 2300d256..24621f39 100644
--- a/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.sci
@@ -12,6 +12,7 @@ function CV_ShowImage(winname,img)
// function to show an image
//
// Calling Sequence
+<<<<<<< HEAD
// CV_ShowImage(img)
// CV_ShowImage(winname,img)
//
@@ -31,9 +32,33 @@ function CV_ShowImage(winname,img)
// See also
// CV_CreateImage CV_LoadImage
//
+=======
+// 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
+//
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
+=======
+// 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/highgui/CV_WaitKey.sci b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci
index 46fd91f1..858ca7a3 100644
--- a/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci
+++ b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.sci
@@ -15,6 +15,7 @@ function CV_WaitKey(delay)
// CV_WaitKey(delay)
//
// Parameters
+<<<<<<< HEAD
// delay: waiting delay, if 0 then wait till keypress
//
// Description
@@ -31,9 +32,30 @@ function CV_WaitKey(delay)
// See also
// CV_LoadImage CV_ShowImage
//
+=======
+// 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
+//
+//
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
// Authors
// Siddhesh Wani
//
+<<<<<<< HEAD
+=======
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for OpenCV
+>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
endfunction