My object is a cuboid, and two sides can be seen in the image. In order to find the edges, first, I use edge detection Vi(Sobel) to detect, and the result is shown in Figure 1. But one of the edge is not clear, so I use IMAQ Threshold to use pixel value 255 instead of the value between 70~255, shown in Figure 2. We can find the edges become thicker. Why it happens? and how to avoid it?