Colour image in 2D and 3D microscopy for the automation of pollen rate measurement