StageDetector improved

- Constructor modified
- Detection method selection
- Threshold for Edge Detection reduced
- ImageDiffKeys test