Image processing method and apparatus, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorsKunihiro Yamamoto, Kentaro Matsumoto, Yasuo Fukuda, Kiyoshi Kusama
Life of this patent
Estimating the term…
Abstract
There are provided an image processing method and apparatus for generating a mosaic image by combining a plurality of material images in a mosaic pattern. The number of material images is increased on the basis of a plurality of stored material images, material images added by capturing a moving image, or the like, and a mosaic image with higher image quality is generated based on such material images.
Claims15
An image processing apparatus for generating a mosaic image by combining a plurality of material images in a mosaic pattern, said apparatus comprising:
- division means for dividing an original image into a plurality of areas;
- calculation means for calculating an average pixel value of each of the plurality of areas divided by said division means:
- storage means for storing the plurality of material images together;
- material image generation means for generating another material image on the basis of a material image stored in said storage means;
- selection means for comparing the average pixel value calculated by said calculation means with the average pixel value of each of the plurality of another material images generated by said material image generation means and stored in said storage means, and selecting a material image for each area, having an average pixel value which is closest to that of each of the plurality of areas;
- and
- mosaic image generation means for generating a mosaic image in which the another material images selected by said selection means are substituted for the plurality of areas.
An image processing method for generating a mosaic image by combining a plurality of material images in a mosaic pattern, comprising:
- a division step, of dividing a original image into a plurality of areas;
- a calculation step, of calculating an average pixel value of each of the plurality of areas divided in said division step;
- a storage step, of storing the plurality of material images together;
- a material image generation step, of generating another material image on the basis of each of the plurality of stored material images;
- a selection step, of comparing the average pixel value calculated in said calculation step with the average pixel value of each of the plurality of another material images generated in said material image generation step and stored in memory means, and selecting a material image for each area, having an average pixel value which is closest to that of each of the plurality of areas;
- and
- a mosaic image generation step, of generating a mosaic image in which the another material images selected in said selection step are substituted for the plurality of areas.
A computer-readable storage medium, which stores a program for implementing an image processing method for generating a mosaic image by combining a plurality of material images in a mosaic pattern, said program comprising:
- code for a division step, of dividing an original image into a plurality of areas;
- code for a calculation step, of calculating an average pixel value of each of the plurality of areas divided in said division step;
- code for a storage step, of storing the plurality of material images together;
- code for a material image generation step, of generating another material image on the basis of each of the plurality of stored material images;
- code for a selection step, of comparing the average pixel value calculated in said calculation step with the average pixel value of each of the plurality of another material images generated in said material image generation step and stored in memory means and selecting a material image for each area, having an average pixel value which is closest to that of each of the plurality of areas;
- and
- code for a mosaic image generation step, of generating a mosaic image in which the plurality of another material images selected in said selection step are substituted for the plurality of areas.
Dependencies are inferred from the claim text.