Control of comminution effectiveness by image analysis