Go to the source code of this file.
|
namespace | TestSupport |
| A package of python modules helping to build tests.
|
|
namespace | TestSupport.Image |
| Support functions regarding image handling.
|
|
|
| TestSupport.Image.calculateHashFromImage (fileName, hashMethod='SHA256', encoder='Hex') |
| Calculate the hash of the given image.
|
|
| TestSupport.Image.getVoxelValue (outFieldName, position, coordinateType="Voxel", useStoredValue=False) |
| Get the voxel value of the given field at the given position.
|
|
| TestSupport.Image.compareImages (outFieldA, outFieldB) |
| Compare the two given images (excluding the extention properties).
|
|
| TestSupport.Image.compareImagesProperties (outFieldA, outFieldB) |
| Compare just the properties of the two given images (excluding page extent, the extension properties, and of course the image data).
|
|
| TestSupport.Image.compareImagesData (outFieldA, outFieldB) |
| Compare the two given images (only verifying data).
|
|
| TestSupport.Image.compareImagesAllProps (outFieldA, outFieldB) |
| Compare the two given images.
|
|
| TestSupport.Image.getTrueMinMaxValues (outFieldName) |
| Returns the true min/max range of the image data, which is therefore scanned entirely using a MinMaxScan module.
|
|
| TestSupport.Image.verifyMinMaxPropertyValues (outFieldName, expectedMin=None, expectedMax=None, requireExactMin=False, requireExactMax=False, logOnSuccess=True) |
| Verifies the min/max image property values.
|
|