The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home ![]() ![]() ![]() ![]() |
|||||||||||
See also: TImgCompareMode | |||||||||||
CalcImgCorrelation |
|||||||||||
The function CalcImgCorrelation calculates the correlation of two image areas. The correlation is based on the calculation of the correlation coefficient of all pixel values in the two areas. The images are referenced by the parameters Img1 and Img2. The areas to be compared are specified by the rectangles Range1 and Range2, which have to be of equal size. In the case of unequal rectangles, an exception is generated. The parameter CompareMode determines how the correlation coefficient is calculated (see TImgCompareMode for details).
|