Declaration function CompareWith(SecondImage:TIEBitmap; DiffBitmap:TIEBitmap):double;
Description Compares current image with SecondImage and returns a floating point value from 0 to 1 which specifies the percentage of equality. 1 means that two images are equal. The algorithm compares only the intensity of the pixels, not the colors.
The DiffBitmap can be nil, otherwise it must be an 8 bit bitmap (ie8g or ie8p PixelFormat) which will contain a bitmap with the differences.
Images must have same size and have PixelFormat=ie24RGB.
See 'motiondetector' example for more info.
Example Eq := ImageEnView1.CompareWith( ImageEnView2.IEBitmap, nil );