Difference between revisions of "Code Reference"

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Jump to navigation Jump to search
Line 28: Line 28:
 
==Capture==
 
==Capture==
  
[http://www.emgu.com/wiki/index.php?title=Camera_Capture Capture: Camera] : Shows the use of the camera capture method to acquire images from a web cam or alternative connected device.
+
[http://www.emgu.com/wiki/index.php?title=Camera_Capture Capture: Camera] : Shows the use of the camera capture method to acquire images from a web cam or alternative connected device. This example uses a independent thread to deal with acquiring frames from the device.
  
 
::*<syntaxhighlight lang="csharp">Capture()</syntaxhighlight>
 
::*<syntaxhighlight lang="csharp">Capture()</syntaxhighlight>
Line 35: Line 35:
 
::*<syntaxhighlight lang="csharp">GetCaptureProperty()</syntaxhighlight>
 
::*<syntaxhighlight lang="csharp">GetCaptureProperty()</syntaxhighlight>
 
::*<syntaxhighlight lang="csharp">SetCaptureProperty()</syntaxhighlight>
 
::*<syntaxhighlight lang="csharp">SetCaptureProperty()</syntaxhighlight>
 +
 +
 +
[http://www.emgu.com/wiki/index.php?title=Camera_Capture_-_Legacy Capture: Camera - Legacy] : Shows the use of the older use of the camera capture method to acquire images from a web cam or alternative connected device. This example uses the <code>Application.Idle</code> event to deal with acquiring frames from the device. This method is dependant on processing the form functions first.
 +
 +
::*<syntaxhighlight lang="csharp">Capture()</syntaxhighlight>
 +
::*<syntaxhighlight lang="csharp">RetrieveBgrFrame()</syntaxhighlight>
 +
::*<syntaxhighlight lang="csharp">RetrieveGrayFrame()</syntaxhighlight>
 +
::*<syntaxhighlight lang="csharp">GetCaptureProperty()</syntaxhighlight>
 +
::*<syntaxhighlight lang="csharp">SetCaptureProperty()</syntaxhighlight>
 +
  
 
[http://www.emgu.com/wiki/index.php?title=Video_Files Capture: Video Files] : Shows the use of the capture method to load videos save them from a web cam and look at individual frames.
 
[http://www.emgu.com/wiki/index.php?title=Video_Files Capture: Video Files] : Shows the use of the capture method to load videos save them from a web cam and look at individual frames.

Revision as of 09:02, 21 November 2012


C#

Camera Calibration

Camera Calibration : Shows the use of the camera calibration method within EMGU,

  • Capture()
    
  • CalibrateCamera()
    
  • FindChessboardCorners()
    
  • IntrinsicCameraParameters
    
  • ExtrinsicCameraParameters
    

Stereo Imaging : Shows the use of the camera calibration StereoCalibrate method within EMGU,

  • Capture()
    
  • FindChessboardCorners()
    
  • StereoCalibrate()
    
  • cvStereoRectify()
    
  • IntrinsicCameraParameters
    
  • ExtrinsicCameraParameters
    
  • cvStereoRectify()
    
  • StereoSGBM()
    
  • ReprojectImageTo3D()
    


Capture

Capture: Camera : Shows the use of the camera capture method to acquire images from a web cam or alternative connected device. This example uses a independent thread to deal with acquiring frames from the device.

  • Capture()
    
  • RetrieveBgrFrame()
    
  • RetrieveGrayFrame()
    
  • GetCaptureProperty()
    
  • SetCaptureProperty()
    


Capture: Camera - Legacy : Shows the use of the older use of the camera capture method to acquire images from a web cam or alternative connected device. This example uses the Application.Idle event to deal with acquiring frames from the device. This method is dependant on processing the form functions first.

  • Capture()
    
  • RetrieveBgrFrame()
    
  • RetrieveGrayFrame()
    
  • GetCaptureProperty()
    
  • SetCaptureProperty()
    


Capture: Video Files : Shows the use of the capture method to load videos save them from a web cam and look at individual frames.

In Progress

  • Capture()
    

Capture: Kinect : Shows the use of the camera capture method to acquire images from a Microsoft Kinect Device.

In Progress

  • KinectCapture()
    
  • RetrieveBgrFrame()
    
  • RetrieveGrayFrame()
    
  • RetrieveDisparityMap()
    
  • RetrieveDisparityMap32f()
    
  • RetrieveValidDepthMap()
    
  • RetrieveDepthMap()
    
  • RetrievePointCloudMap()
    
  • GetColorPoints()
    
  • GetMaxDisparity()
    
  • GetOpenNIContext()
    

Color and Image Format

Color Conversion & Correction Shows the use of different image formats. Converting between them, getting image information, and applying colour filtering and correction.

In Progress

  • Bgr
    
  • Bgra
    
  • Gray
    
  • Hls
    
  • Hsv
    
  • IColor
    
  • Lab
    
  • Luv
    
  • Rgb
    
  • Rgba
    
  • Xyz
    
  • Ycc
    

DenseHistogram : Shows the use of OpenCV Dense histogram method

In Progress

  • Calculate etc
    


HistogramShows the use of C# histogram method

In Progress

  • Calculate
    
  • Correction
    
  • Apply