Development of a solution for automatic quality classification of cubic zirconia gemstones.