Adds tifffile support for image assertions

This commit is contained in:
Leonid Kostrykin
2024-03-20 10:12:17 +01:00
parent 477a454014
commit 45a819ebc8
3 changed files with 70 additions and 41 deletions
@@ -93,6 +93,18 @@
</assert_contents>
</output>
</test>
<!-- Tests with float TIFF images -->
<test>
<param name="input" value="im4_float.tif" />
<output name="output">
<assert_contents>
<has_image_width width="25" />
<has_image_height height="25" />
<has_image_channels channels="1" />
<has_image_center_of_mass center_of_mass="11.75, 11.75" />
</assert_contents>
</output>
</test>
<!-- Tests with label images -->
<test>
<param name="input" value="im2_b.png" />