High throughput object recognition and sizing in disperse systems using an image processing tool based on template matching