Difference between revisions of "CompareImages - Difference"
|Line 5:||Line 5:|
[http://www.emgu.com/wiki/files/2..0/html/----.htm EMGU Reference]<br/>
[http://..///.htmlOpenCV Use Reference]<br/>
Revision as of 11:46, 4 December 2012
Compare Image: Difference
The following example shows the use of the
AbsDiff() method within EMGU. The function of this method is to calculate the absolute difference between two images by subtracting one from the other and taking the absolute value.
Software [[File: |Name|300px]] ScreenShot
The code provided should run straight out of the Emgu.Example folder (V2.4.2), extract it to this location. If the code fails to execute re-reference the EMGU libraries and include the required opencv dlls in the bin directory. Note that the project is set to build to the output path "..\..\..\bin\" you may wish to change this if you don't extract to the EMGU.Example folder.
EMGU Coding Level: While the coding is not advanced the rated level for this example is ___TBC____.
Beginer: This example is clearly laid out the code is basic with few methods. Only Basic knowledge of EMGU is Expected Intermediate: This is not designed as a beginners tutorial and general knowledge of the EMGU video capture example is expected. Advanced: This is not designed as a beginners tutorial and general knowledge of the EMGU video capture example is expected. While comments are provided in the code you may find some basic detail missed.
The code provided in this sample is basic there is little or no error checking. Support is available through the Forums but please try and examine the code before saying it doesn't work for you. The code is not optimised instead is better formatted to provided an understanding of the stages involved.
The Code: Variables
What they do...
The Code: Methods
- Numbered list If any