Ejemplo n.º 1
0
 public int CalculateDifference(Bitmap bitmap, Point centerLocation)
 {
     return(BitmapComparer.CalculateDifference(bitmap, GetCompareLocation(centerLocation), Bitmap, ColorComparer));
 }
Ejemplo n.º 2
0
 public bool IsMatch(Bitmap bitmap, Point centerLocation)
 {
     return(BitmapComparer.CalculateDifference(bitmap, GetCompareLocation(centerLocation), Bitmap, ColorComparer, m_maxDifference) <= m_maxDifference);
 }