| By setting the window in an X direction and averaging the pixel data in a Y (vertical) direction for every row, changes in concentration can be plotted. Assuming that the brightest and darkest data of this graph represent 100 and 0 respectively, an edge recognition threshold can be set within this range. If the threshold set is too low, small changes in brightness will also be recognized as an edge, while setting it too high, close to 100, means that small changes in brightness are not recognized as an edge. |