Adaptive threshold - No connected components