Difference between revisions of "Code Reference"

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Jump to navigation Jump to search
m (Added more refrences)
Line 110: Line 110:
 
==Image==
 
==Image==
  
[http://www.emgu.com/wiki/index.php?title=Background Image Background Image]Shows the use of the <code>RunningAvg()</code> to forms a background image of stationary objects within a camera field of view. This can be used for motion tracking purposes with background subtraction.
+
[http://www.emgu.com/wiki/index.php?title=Background_Image Background Image]Shows the use of the <code>RunningAvg()</code> to forms a background image of stationary objects within a camera field of view. This can be used for motion tracking purposes with background subtraction.
  
 
'''In Progress'''
 
'''In Progress'''
 
::*<syntaxhighlight lang="csharp">AbsDiff()</syntaxhighlight>
 
::*<syntaxhighlight lang="csharp">AbsDiff()</syntaxhighlight>
 
::*<syntaxhighlight lang="csharp">RunningAvg()</syntaxhighlight>
 
::*<syntaxhighlight lang="csharp">RunningAvg()</syntaxhighlight>
 
  
 
==VideoWriter==
 
==VideoWriter==

Revision as of 13:56, 29 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 Capture : Shows the use of the capture method to load videos save them from a web cam and look at individual frames. It also demostrates the use of the VideoWriter class.

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


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

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
    


Image

Background ImageShows the use of the RunningAvg() to forms a background image of stationary objects within a camera field of view. This can be used for motion tracking purposes with background subtraction.

In Progress

  • AbsDiff()
    
  • RunningAvg()
    

VideoWriter

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

  • VideoWriter
    
  • WriteFrame()