Implementing CWT_RidgeLineDetector