ImageEn

TImageEnProc.CompareWith Code Samples


Code samples for CompareWith.
Automatically generated by the Every Method demo.
// Automated test of CompareWith - Typical Values
// CompareWith (Comparing left and right of image) - Equality: 81.12%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 1.00 ); // Result: 81.12%



// Automated test of CompareWith_50 - Typical Values
// CompareWith (Comparing left and right of image with 50% coverage) - Equality: 81.08%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.50 ); // Result: 81.08%



// Automated test of CompareWith_10 - Typical Values
// CompareWith (Comparing left and right of image with 10% coverage) - Equality: 81.32%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.10 ); // Result: 81.32%



// Automated test of CompareWith_01 - Typical Values
// CompareWith (Comparing left and right of image with 1% coverage) - Equality: 81.81%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.01 ); // Result: 81.81%



// Automated test of CompareWith - Alpha Channel - Typical Values
// CompareWith (Comparing left and right of image) - Equality: 73.69%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 1.00 ); // Result: 73.69%



// Automated test of CompareWith_50 - Alpha Channel - Typical Values
// CompareWith (Comparing left and right of image with 50% coverage) - Equality: 73.57%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.50 ); // Result: 73.57%



// Automated test of CompareWith_10 - Alpha Channel - Typical Values
// CompareWith (Comparing left and right of image with 10% coverage) - Equality: 73.77%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.10 ); // Result: 73.77%



// Automated test of CompareWith_01 - Alpha Channel - Typical Values
// CompareWith (Comparing left and right of image with 1% coverage) - Equality: 73.03%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.01 ); // Result: 73.03%



// Automated test of CompareWith - 32-Bit RGBA - Typical Values
// CompareWith (Comparing left and right of image) - Equality: 66.90%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 1.00 ); // Result: 66.90%



// Automated test of CompareWith_50 - 32-Bit RGBA - Typical Values
// CompareWith (Comparing left and right of image with 50% coverage) - Equality: 66.94%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.50 ); // Result: 66.94%



// Automated test of CompareWith_10 - 32-Bit RGBA - Typical Values
// CompareWith (Comparing left and right of image with 10% coverage) - Equality: 67.91%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.10 ); // Result: 67.91%



// Automated test of CompareWith_01 - 32-Bit RGBA - Typical Values
// CompareWith (Comparing left and right of image with 1% coverage) - Equality: 73.43%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.01 ); // Result: 73.43%



// Automated test of CompareWith - 1-bit - Typical Values
// CompareWith (Comparing left and right of image) - Equality: 75.39%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 1.00 ); // Result: 75.39%



// Automated test of CompareWith_50 - 1-bit - Typical Values
// CompareWith (Comparing left and right of image with 50% coverage) - Equality: 75.38%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.50 ); // Result: 75.38%



// Automated test of CompareWith_10 - 1-bit - Typical Values
// CompareWith (Comparing left and right of image with 10% coverage) - Equality: 74.84%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.10 ); // Result: 74.84%



// Automated test of CompareWith_01 - 1-bit - Typical Values
// CompareWith (Comparing left and right of image with 1% coverage) - Equality: 74.56%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.01 ); // Result: 74.56%



// Automated test of CompareWith - Random Values
// CompareWith (Comparing left and right of image with 51% coverage) - Equality: 81.45%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.51 ); // Result: 81.45%



// Automated test of CompareWith - Alpha Channel - Random Values
// CompareWith (Comparing left and right of image with 51% coverage) - Equality: 74.08%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.51 ); // Result: 74.08%



// Automated test of CompareWith - 32-Bit RGBA - Random Values
// CompareWith (Comparing left and right of image with 51% coverage) - Equality: 67.59%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.51 ); // Result: 67.59%



// Automated test of CompareWith - 1-bit - Random Values
// CompareWith (Comparing left and right of image with 51% coverage) - Equality: 75.86%
dd := ImageEnView1.Proc.CompareWith( Rect( 0, 0, 199, 399 ), ImageEnView1.IEBitmap, Rect( 200, 0, 399, 399 ), bmp, 0.51 ); // Result: 75.86%