Method to measure feed particles by image analysis