Replace the disk pattern template matching by a simple mass center detection. And the result is brilliant.