blob_Hausdorff_symmetry labels the rotated blob image, then centers around the blob with the greatest area before performing the geometric transformations used to compute modified Hausdorff self-distance.
In the rotated blob image, the major axis of the blob with the greatest area (the "largest" blob) is horizontal. Unfortunately, in the case where there is a tie or near-tie between the areas of the largest blobs, the largest blob in the rotated image may not be the same blob as the largest blob in the non-rotated image. The reflections and rotations in the Hausdorff symmetry calculation are then performed around the wrong centroid, producing incorrect results.
blob_Hausdorff_symmetry labels the rotated blob image, then centers around the blob with the greatest area before performing the geometric transformations used to compute modified Hausdorff self-distance.
In the rotated blob image, the major axis of the blob with the greatest area (the "largest" blob) is horizontal. Unfortunately, in the case where there is a tie or near-tie between the areas of the largest blobs, the largest blob in the rotated image may not be the same blob as the largest blob in the non-rotated image. The reflections and rotations in the Hausdorff symmetry calculation are then performed around the wrong centroid, producing incorrect results.