Code Reference: Difference between revisions
m Removed Syntax Highlights |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Line 7: | Line 8: | ||
[http://www.emgu.com/wiki/index.php/Camera_Calibration Camera Calibration] : Shows the use of the camera calibration method within EMGU, | [http://www.emgu.com/wiki/index.php/Camera_Calibration Camera Calibration] : Shows the use of the camera calibration method within EMGU, | ||
::* | ::*Capture() | ||
::* | ::*CalibrateCamera() | ||
::* | ::*FindChessboardCorners() | ||
::* | ::*IntrinsicCameraParameters | ||
::* | ::*ExtrinsicCameraParameters | ||
[http://www.emgu.com/wiki/index.php?title=Stereo_Imaging Stereo Imaging] : Shows the use of the camera calibration StereoCalibrate method within EMGU, | [http://www.emgu.com/wiki/index.php?title=Stereo_Imaging Stereo Imaging] : Shows the use of the camera calibration StereoCalibrate method within EMGU, | ||
::* | ::*Capture() | ||
::* | ::*FindChessboardCorners() | ||
::* | ::*StereoCalibrate() | ||
::* | ::*cvStereoRectify() | ||
::* | ::*IntrinsicCameraParameters | ||
::* | ::*ExtrinsicCameraParameters | ||
::* | ::*cvStereoRectify() | ||
::* | ::*StereoSGBM() | ||
::* | ::*ReprojectImageTo3D() | ||
==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. | ||
::* | ::*Capture() | ||
::* | ::*RetrieveBgrFrame() | ||
::* | ::*RetrieveGrayFrame() | ||
::* | ::*GetCaptureProperty() | ||
::*SetCaptureProperty() | |||
::* | |||
[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. | |||
::*Capture() | |||
::*RetrieveBgrFrame() | |||
::*RetrieveGrayFrame() | |||
::*GetCaptureProperty() | |||
::*SetCaptureProperty() | |||
[http://www.emgu.com/wiki/index.php?title=Video_Files 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() | |||
[http://www.emgu.com/wiki/index.php?title=Kinect_Capture Capture: Kinect] : Shows the use of the camera capture method to acquire images from a Microsoft Kinect Device. | [http://www.emgu.com/wiki/index.php?title=Kinect_Capture Capture: Kinect] : Shows the use of the camera capture method to acquire images from a Microsoft Kinect Device. | ||
Line 49: | Line 62: | ||
'''In Progress''' | '''In Progress''' | ||
::* | ::*KinectCapture() | ||
::* | ::*RetrieveBgrFrame() | ||
::* | ::*RetrieveGrayFrame() | ||
::* | ::*RetrieveDisparityMap() | ||
::* | ::*RetrieveDisparityMap32f() | ||
::* | ::*RetrieveValidDepthMap() | ||
::* | ::*RetrieveDepthMap() | ||
::* | ::*RetrievePointCloudMap() | ||
::* | ::*GetColorPoints() | ||
::* | ::*GetMaxDisparity() | ||
::* | ::*GetOpenNIContext() | ||
==Color | ==Color== | ||
[http://www.emgu.com/wiki/index.php?title=Color_Correction_&_Conversion Color Conversion & Correction] Shows the use of different image formats. Converting between them, getting image information, and applying colour filtering and correction. | [http://www.emgu.com/wiki/index.php?title=Color_Correction_&_Conversion Color Conversion & Correction] Shows the use of different image formats. Converting between them, getting image information, and applying colour filtering and correction. | ||
Line 67: | Line 81: | ||
'''In Progress''' | '''In Progress''' | ||
::* | ::*Bgr | ||
::* | ::*Bgra | ||
::* | ::*Gray | ||
::* | ::*Hls | ||
::* | ::*Hsv | ||
::* | ::*IColor | ||
::* | ::*Lab | ||
::* | ::*Luv | ||
::* | ::*Rgb | ||
::* | ::*Rgba | ||
::* | ::*Xyz | ||
::* | ::*Ycc | ||
[http://www.emgu.com/wiki/index.php?title=DenseHistogram DenseHistogram] : Shows the use of OpenCV Dense histogram method | [http://www.emgu.com/wiki/index.php?title=DenseHistogram DenseHistogram] : Shows the use of OpenCV Dense histogram method | ||
Line 84: | Line 98: | ||
'''In Progress''' | '''In Progress''' | ||
::* | ::*Calculate etc | ||
Line 90: | Line 104: | ||
'''In Progress''' | '''In Progress''' | ||
::*< | ::*Calculate | ||
::*< | ::*Correction | ||
::* | ::*Apply | ||
==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. | |||
::*AbsDiff() | |||
::*RunningAvg() | |||
::*ThresholdBinary() | |||
::*ToBitmap() | |||
[http://www.emgu.com/wiki/index.php?title=CompareImages_-_Difference Compare Images: Difference]Shows the use of the <code>AbsDiff()</code> to compare two images, in this case the current frame and previous frame from a web camera. This can be used for motion tracking purposes. This example can be combined with the [http://www.emgu.com/wiki/index.php?title=Background_Image Background Image] example. | |||
::*AbsDiff() | |||
::*ThresholdBinary() | |||
::*FindContours() | |||
::*ToBitmap() | |||
==VideoWriter== | |||
See [http://www.emgu.com/wiki/index.php?title=Video_Files 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() |
Latest revision as of 11:30, 5 March 2013
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.
- AbsDiff()
- RunningAvg()
- ThresholdBinary()
- ToBitmap()
Compare Images: DifferenceShows the use of the AbsDiff()
to compare two images, in this case the current frame and previous frame from a web camera. This can be used for motion tracking purposes. This example can be combined with the Background Image example.
- AbsDiff()
- ThresholdBinary()
- FindContours()
- ToBitmap()
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()