Expand description
Utils for testing and debugging.
Structs
A difference between two images
Functions
Gives a summary description of a list of pixel diffs for use in error messages.
Gray image to use in benchmarks. This is neither noise nor
similar to natural images - it’s just a convenience method
to produce an image that’s not constant.
Loads image at given path, panicking on failure.
Human readable description of some of the pixels that differ
between left and right, or None if all pixels match.
Lists pixels that differ between left and right images.
RGB image to use in benchmarks. See comment on
gray_bench_image
.Human readable description of some of the pixels that differ
signifcantly (according to provided function) between left
and right, or None if all pixels match.