DISPOSITIF D'AIDE À L'INSPECTION DE MÉDICAMENT, DISPOSITIF D'IDENTIFICATION DE MÉDICAMENT, DISPOSITIF DE TRAITEMENT D'IMAGE, PROCÉDÉ DE TRAITEMENT D'IMAGE ET PROGRAMME
A drug inspection assistance device, a drug identification device, an image processing device, an image processing method, and a program are provided in which information such as a pattern, a scar and the like on a surface of a drug which are other than an engraved mark and are smaller than a width of a groove of the engraved mark, are reduced to accurately extract the engraved mark. The problem is solved by an image processing device, including: an obtaining unit configured to obtain a plurality of images of a drug having an engraved mark on a surface of the drug, with emitting directions of light to the surface different from each other; an edge image generating unit configured to apply respectively to the plurality of images, edge extracting filters in directions in conformity with the emitting directions, the edge extracting filters having a size in conformity with a width of a groove of the engraved mark, and generate a plurality of edge images; and an image composing unit configured to compose the plurality of edge images and generate a composite image.