Removed thresholding from line detection/removal and moved to preprocessing step

Signed-off-by: Jimmy Yu <jimmy.w.j.yu@gmail.com>