The analysis of image data was carried out using a
Visual-Basic-based program written for the work presented.[
32] In the version used, the region of the image to
be analyzed was defined by mouse operation. Information
concerning the background color and a white standard was
specified. All pixels that were in the analysis region were
evaluated: If they were part of the product surface, the
RGB-values were extracted and stored; if they were of
the background color, they were discarded. Glossy regions
were identified by their luminosity.