Patent Document ID: 20150324946
Application ID: 14701822
Patent Status: 0

Claim One:
1. A method for generating an embedded image comprising a two dimensional code image embedded within a graphic image, the method comprising the steps of: obtaining, by a processor, the graphic image, wherein the graphic image is represented as a matrix with M rows and N columns of pixels, each pixel having a respective value from a range of values and row and column coordinates within the M by N matrix; obtaining the two dimensional code image, wherein the two dimensional code is represented as a matrix with M rows and N columns of pixels, each two dimensional code image pixel having either a first value or a second value and row and column coordinates within the M by N matrix; subdividing the M by N graphic image matrix into subblocks of m rows and n columns of pixels, where m is less than M and n is less than N; subdividing the M by N two dimensional code image matrix into sub-blocks of m rows and n columns of pixels; where m is less than M and n is less than N, wherein each subblock of the two dimensional code corresponds to a subblock of the graphic image having an identical pixel row and column coordinates as the two dimensional code subblock; identifying pixels in each graphic image subblock that are suitable for value modification based pixels in the obtained two dimensional code image, wherein each identified pixel corresponds to a pixel in a subblock of the two dimensional code with an identical pixel row and column coordinates; modifying values of the identified pixels in each graphic image subblock based on a probability of detection model related to the obtained two dimensional code image; and for each subblock of the two dimensional code, replacing pixel values in the two dimensional code subblock with the modified pixel value of the identical pixel row and column coordinate from the graphic image subblock.