AdaHC: Adaptive hedge horizontal cross-section center detection algorithm