Tried threshold value of 80; concluded that the output had too much edge. Trying with threshold of 240