hausdorff: Test images with single-region pixels.
Hausdorff: Improve variable naming.
Hausdorff: Use numpy functions where possible.