A system for embedding information into encoding information, comprising a processor (1),
- a gray transformation module (2), configured to perform gray transformation on a Red-Green-Blue (RGB) or Cyan-Magenta-Yellow (CMY) or Cyan-Magenta-Key-Yellow (CMKY) virtual image A or RGB image information B2 to obtain an image G or image information GB2 after the gray transformation;
- a frequency domain transformation module (3), configured to perform frequency domain transformation on the image G or the image information GB2 after the gray transformation to obtain an amplitude ampG or ampGB2;
- an information embedding module (4), configured to embed embedded information into the amplitude ampG after the frequency domain transformation according to a rule;
- a two-dimensional code image generation module (5), configured to generate a two-dimensional code for given information, the two-dimensional code being a black-white two-dimensional code or a color two-dimensional code, and convert the two-dimensional code into image information B having a needed resolution;
- a spatial domain transformation module (6), configured to perform frequency domain inverse transformation to obtain an gray image G′ of the embedded information, calculate a difference W′ between the G′ and the G, and perform spatial domain processing on the difference W′ to embed into the image information B that needs to be embedded actually to obtain image information B′ of the embedded information;
- a database (7), configured to store the embedded information, the information corresponding to the two-dimensional code, and the amplitude ampGof the gray image G after the frequency domain transformation;
- an image collection module (8), configured to collect the image information B2 of the printed encoding information;
- an image preprocessing module (9), configured to preprocess the image information B2 and then finish image correction to obtain a corrected image B2′;
- an information extracting and checking module (10), configured to perform information extraction and proofreading on the corrected image information B2′, and check with the embedded information in the database;
- and a printing device (11);
- the gray transformation module (2), the frequency domain transformation module (3), the information embedding module (4), the two-dimensional code image generation module (5), the spatial domain transformation module (6), the database (7), the image collection module (8), the image preprocessing module (9), the information extracting and checking module (10) and the printing device (11) all are conducted and are connected with the processor (1).