Automated and Adaptive Ridge Extraction for Rotating Machinery Fault Detection