| genre | Test |
| status | stable |
| author | Wolf Spindler |
| package | MeVisLab/Standard |
| dll | MLMiscModules |
| definition | MLMiscModules.def |
| see also | Arithmetic2 |
| keywords | compare, images, check, equality, comparison |
The module ImageCompare compares two ML input images.
The comparison can be limited to a certain set of features, e.g. to avoid that different data types or page extents are considered as a real difference.
If the second input image is not connected, the second image is assumed to have identical properties as the first input image with voxel values given by Input 1 Value ; this is useful to compare an entire image against a specific value.
The module has two inputs whose properties and/or contents are to be compared.
Both input voxel types can be of any fully operational scalar or non scalar voxel type.
If input voxel types differ they are implicitly cast to a matching larger/higher precison data type which can hold both input types before they are compared.
| CDimInfos: Bool | Input 1 Value: Double | TDimInfos: Bool |
| Compare: Trigger | IsWorldMatrixValid: Bool | Test Passed: Bool |
| Compare if second input is not connected: Bool | MaxVoxVal: Bool | UDimInfos: Bool |
| CompareAllVoxels: Bool | MinVoxVal: Bool | Update Mode: Enum |
| DataType: Bool | PageExt: Bool | UpToDate: Bool |
| Epsilon: Double | Post error if difference is found: Bool | VoxelData: Bool |
| ImgExt: Bool | Precision of Seconds: Integer | VoxelSize: Bool |
| ImgPropExts: Bool | Status: String | WorldMatrix: Bool |
Shows test results or information about failure.
Shows whether there were differences found in a comparison.
Sets the maximum difference between values in voxel size and the world matrix before they are considered different.
Sets the number of digits after decimal point to be compared on DateTime comparisons.
If checked, the data type of voxels of both images are being compared.
If checked, the image extents of both images are being compared.
If checked, the page extents of both images are being compared.
If checked, the minimum voxel values of both images are being compared.
If checked, the maximum voxel values of both images are being compared.
If checked, the up-to-date flags of both images are being compared.
If checked, the voxel sizes of both images are being compared.
If checked, the world matrices of both images are being compared.
If checked, the validity flags of world matrices of both images are being compared.
If checked, the cDimInfos of both images are being compared.
If checked, the tDimInfos of both images are being compared.
If checked, the uDimInfos of both images are being compared.
If checked, the string values of ImagePropertyExtensions are being compared.
If checked, the values of image voxels are being compared.
If checked, an error message is send to the ML error manager if any differences are found on comparisons.
If checked, all voxels are being compared even if a difference has already been found.
If unchecked, the comparison stops at the first difference.
Sets a value used for emulated image input 1 voxel values.
Only used if Compare if second input is not connected is checked and input 1 is unconnected.
If checked, the module compares only the voxel values of the first input image against the value set in Input 1 Value.