Запис е-пошти: A New Gradient Based Surface Defect Detection Method for the Ceramic Tile