Quantitative image analysis of electrophoretic coatings