Assembly: AForge.Imaging (in AForge.Imaging.dll) Version: 188.8.131.52 (184.108.40.206)
public class ThresholdedEuclideanDifference : BaseFilter2
The filter produces similar to ThresholdedDifference, however it uses Euclidean distance for finding difference between pixel values instead of Manhattan distance. Result of this image processing routine may be useful in motion detection applications or finding areas of significant difference.
The filter accepts 8 and 24/32color images for processing.
// create filter ThresholdedEuclideanDifference filter = new ThresholdedEuclideanDifference( 60 ); // apply the filter filter.OverlayImage = backgroundImage; Bitmap resultImage = filter.Apply( sourceImage );