![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
This module provides functions to facilitate writing tests. More...
Functions | |
CTK_WIDGETS_EXPORT bool | CheckImagesEqual (const QImage ¤t, const QImage &expected, float percentThreshold=0.f) |
This module provides functions to facilitate writing tests.
CTK_WIDGETS_EXPORT bool ctkWidgetsTestingUtilities::CheckImagesEqual | ( | const QImage & | current, |
const QImage & | expected, | ||
float | percentThreshold = 0.f |
||
) |
Check that two images are equal. Allow for the specified percentage of pixels to be different.