Determining particle size distributions from video images by use of image processing