Last modified: February 14, 2023
float corelation_sum (Image [OneBit] template, Point offset)
Operates on: | Image [OneBit|GreyScale] |
---|---|
Returns: | float |
Category: | Corelation |
Defined in: | corelation.py |
Author: | Michael Droettboom |
Returns a floating-point value for how well an image is corelated to another image placed at a given origin (x, y). Uses the sum of absolute distance method. A higher value indicates more corelation.
float corelation_sum_squares (Image [OneBit] template, Point offset)
Operates on: | Image [OneBit|GreyScale] |
---|---|
Returns: | float |
Category: | Corelation |
Defined in: | corelation.py |
Author: | Michael Droettboom |
Returns a floating-point value for how well an image is corelated to another image placed at a given origin (x, y). Uses the sum of squares method. A higher value indicates more corelation.
float corelation_weighted (Image [OneBit] template, Point offset, float bb, float bw, float wb, float ww)
Operates on: | Image [OneBit|GreyScale] |
---|---|
Returns: | float |
Category: | Corelation |
Defined in: | corelation.py |
Author: | Michael Droettboom |
Returns a floating-point value for how well an image is corelated to another image placed at a given origin (x, y). Uses the weighted reward/penalty method.
Image | Template | ||
black | white | ||
black | bb | wb | |
white | bw | ww |