A method of analyzing an image of a substance deposited onto a substrate, the
image
comprising a plurality of pixels, includes defining a region of interest in the
image, associating the region of interest with first and second perpendicular axis,
wherein a set of pixels in the image lie along the first axis, converting the pixels
in the region of interest to a single dimensional array aligned with the first
axis and projecting along the second axis, and applying at least one threshold
to the single dimensional array, the threshold based at least in part on a predetermined limit.