Defect classification on semiconductor wafers using Fisher vector and visual vocabularies coding