Controllable RANSAC-based Anomaly Detection via Hypothesis Testing