摘要 |
PROBLEM TO BE SOLVED: To provide an image conversion method and apparatus, and a pattern identification method and apparatus which allow converted values having dimensions lower to some extent to preferably express the difference between conversion source patterns in image conversion using LBP or vector quantization.SOLUTION: In an image conversion method for converting the pixel value of an input image, and for generating a converted image, a value which reflects the mutual relationship between the classes of pixel patterns each formed of a pixel classified as one of a plurality of classes and peripheral pixels is set as a converted value corresponding to each of the plurality of classes, and a pixel of interest is sequentially selected from the input image, and a pixel pattern formed of the selected pixel of interest and a predetermined number of pixels around it is classified as one of the plurality of classes in accordance with a neighboring pattern obtained based on the relationship between the value of the pixel of interest and the values of peripheral pixels located at predetermined relative positions with respect to the pixel of interest. The value of the pixel of interest is converted into a converted value set for a class to which the pixel of interest has been classified. |