Code samples for CompareHistogramWith.
Automatically generated by the Every Method demo.
// Automated test of CompareHistogramWith - Typical Values
// CompareHistogramWith/RMSE (Comparing left and right) - Equality: 82.94% / 82.65% (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, False ); // Result: 0.83
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, True ); // Result: 0.83

// Automated test of CompareHistogramWith - Alpha Channel - Typical Values
// CompareHistogramWith/RMSE (Comparing left and right) - Equality: 98.85% / 98.87% (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, False ); // Result: 0.99
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, True ); // Result: 0.99

// Automated test of CompareHistogramWith - 32-Bit RGBA - Typical Values
// CompareHistogramWith/RMSE (Comparing left and right) - Equality: 97.97% / 97.09% (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, False ); // Result: 0.98
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, True ); // Result: 0.97

// Automated test of CompareHistogramWith - 1-bit - Typical Values
// CompareHistogramWith/RMSE (Comparing left and right) - Equality: 98.68% / 98.68% (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, False ); // Result: 0.99
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpRMSE, True ); // Result: 0.99

// Automated test of CompareHistogramWith - Random Values
// CompareHistogramWith/Hamming (Comparing left and right) - Distance: 0.14 / 0.18 (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, False ); // Result: 0.14
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, True ); // Result: 0.18

// Automated test of CompareHistogramWith - Alpha Channel - Random Values
// CompareHistogramWith/Hamming (Comparing left and right) - Distance: 0.00 / 0.01 (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, False ); // Result: 0.00
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, True ); // Result: 0.01

// Automated test of CompareHistogramWith - 32-Bit RGBA - Random Values
// CompareHistogramWith/Hamming (Comparing left and right) - Distance: 0.07 / 0.08 (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, False ); // Result: 0.07
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, True ); // Result: 0.08

// Automated test of CompareHistogramWith - 1-bit - Random Values
// CompareHistogramWith/Hamming (Comparing left and right) - Distance: 0.99 / 0.99 (Gray)
dd := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, False ); // Result: 0.99
dd2 := ImageEnView1.Proc.CompareHistogramWith( bmp2, iecmpHamming, True ); // Result: 0.99
