Add thresholding source image. Part 1