CN102214352B - Method and device for embedding information in input image and extracting information from input image - Google Patents

Method and device for embedding information in input image and extracting information from input image Download PDF

Info

Publication number
CN102214352B
CN102214352B CN 201010162839 CN201010162839A CN102214352B CN 102214352 B CN102214352 B CN 102214352B CN 201010162839 CN201010162839 CN 201010162839 CN 201010162839 A CN201010162839 A CN 201010162839A CN 102214352 B CN102214352 B CN 102214352B
Authority
CN
China
Prior art keywords
symbol
data segment
information
order
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201010162839
Other languages
Chinese (zh)
Other versions
CN102214352A (en
Inventor
黄英杰
彭博俞
王圣斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Primax Electronics Ltd
Original Assignee
Primax Electronics Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Primax Electronics Ltd filed Critical Primax Electronics Ltd
Priority to CN 201010162839 priority Critical patent/CN102214352B/en
Publication of CN102214352A publication Critical patent/CN102214352A/en
Application granted granted Critical
Publication of CN102214352B publication Critical patent/CN102214352B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and device for embedding information in an input image and extracting information from the input image. Information embedded in the input image in the method includes a plurality of characters, and the method comprises the steps of receiving the information by using one processing circuit, and converting each character in the information into one corresponding symbol according to a conversion contrast table; according to a sequence contrast table, setting the symbol corresponding to each character in the information, in the conversion contrast table, at the position of a data block to generate the data block; and adding the data block in the input image at least. The invention provides a simple and fast method and device, which can embed information in the input image of a file and extract information from the input image of the file on the premise of not influencing the readability of the file.

Description

Embedding information is in input picture, from the method and apparatus of input picture information extraction
Technical field
The present invention relates to image and process, relate in particular to a kind of information that embeds in the method for an input picture, from method and the relevant apparatus of an input picture information extraction.
Background technology
In general printing technology, the user often need to encrypt the confidentiality of guaranteeing file in the file that prints, and prevent that vital document is stolen or copy, in known technology, normally be difficult for finding under prerequisite at human eye, pixel in one image is modified, such as: the minimum bit value of pixel slightly changed, or quantity and the specific pixel location arrangement of arranging in pairs or groups of increase and decrease pixel are completed.Yet, known technology usually only have minimum information capacity or need to by a large amount of computings even the readability of sacrificial property file just can reach above-mentioned effect.The mode of how using simply and fast guarantees that the confidentiality of file remains a large problem in this field.
In addition, in the middle of some known technologies, the information of encryption is to be distributed in the image of whole file, and after the file process that prints is cut out, because document image itself is no longer complete, therefore the function of encryption also can't be applied in through on the file of cutting out.
Summary of the invention
One of purpose of the present invention is to provide a kind of simple and easy and mode rapidly under the prerequisite that does not affect file readability, embeds/extract an information in the middle of the input picture of file.
According to one first embodiment of the present invention, it provides a kind of embedding one information in the method for an input picture, wherein this packets of information contains a plurality of characters, the method includes: use a treatment circuit, receive this information, and convert each character in this information to a corresponding symbol according to a conversion table of comparisons; According to an order table of comparisons, set that in this information, each character corresponding this symbol position in a data segment in this conversion table of comparisons produces this data segment; And this data segment adds in this input picture at least.
According to one second embodiment of the present invention, it provides a kind of method that extracts an information in an input picture, wherein this packets of information contains a plurality of characters, include at least one data segment in this input picture, this at least one data segment includes a plurality of symbols, in described a plurality of symbol, each symbol includes to indicate a special symbol unit of the position of this symbol, this data segment includes to indicate a plurality of special symbols of the position of this data segment, and the method includes: this input picture is carried out a prospect remove program to obtain a background image; Decide the scope of this at least one data segment according to described a plurality of special symbols in this background image; Obtain a symbol order to a plurality of symbols that should information according to the order table of comparisons and a described a plurality of special symbol; And use a treatment circuit, with according to a conversion table of comparisons and this symbol order, described a plurality of symbols are converted to respectively corresponding described a plurality of characters.
According to one the 3rd embodiment of the present invention, it provides a kind of embedding one information in the device of an input picture, and wherein this packets of information contains a plurality of characters, and this device includes: a treatment circuit, a data segment produce circuit and an output circuit.This treatment circuit is in order to receiving this information, and according to a conversion table of comparisons and convert each character in this information to a corresponding symbol.This data segment produces circuit in order to according to an order table of comparisons, sets that in this information, each character corresponding this symbol position in a data segment in this conversion table of comparisons produces this data segment.This output circuit adds in this input picture in order to this data segment at least.
according to one the 4th embodiment of the present invention, it provides a kind of device that extracts an information in an input picture, wherein this packets of information contains a plurality of characters, include at least one data segment in this input picture, this at least one data segment includes a plurality of symbols, in described a plurality of symbol, each symbol includes to indicate a special symbol unit of the position of this symbol, this data segment includes to indicate a plurality of special symbols of the position of this data segment, this device includes a background generator, one data segment positioning circuit, one symbol location circuit and a treatment circuit.This background generator removes program to obtain a background image in order to this input picture is carried out a prospect.This data segment positioning circuit is in order to decide the scope of this at least one data segment according to described a plurality of special symbols in this background image.This symbol location circuit is in order to obtain the symbol order to a plurality of symbols that should information according to the order table of comparisons and a described a plurality of special symbol.This treatment circuit is converted to respectively corresponding described a plurality of characters in order to according to a conversion table of comparisons and this symbol order with described a plurality of symbols.
The invention provides a kind of simple and easy and method and apparatus rapidly, under the prerequisite that does not affect file readability, embedding information is in the central of the input picture of file and extract information in the input picture of file.Use specific symbol pattern in the watermark design of symbol formula, can be when scanning document calibration file image and solution are read the information of being hidden fast and correctly.
Description of drawings
Fig. 1 is the schematic diagram of the image output device realized according to one embodiment of the invention.
Fig. 2 is the composition schematic diagram according to a symbol of one embodiment of the invention.
Fig. 3 is for converting one of them character of an input message " A " to according to one embodiment of the invention the schematic diagram of a symbol.
Fig. 4 is the schematic diagram of the symbolic unit realized according to one embodiment of the invention.
Fig. 5 is for distributing the schematic diagram of symbol relative position in a data segment according to one embodiment of the invention.
Fig. 6 is the schematic diagram of the image received device realized according to another embodiment of the present invention.
Fig. 7 removes for according to one embodiment of the invention, one image being carried out a prospect schematic diagram that program obtains a background image.
Fig. 8 is that a symbolic unit shown in Figure 4 is through the schematic diagram of a deflection.
Fig. 9 is the schematic diagram of the binary conversion treatment circuit realized according to one embodiment of the invention.
Figure 10 processes the schematic diagram of a background image for symbol pattern unit application one shade of realizing according to one embodiment of the invention.
The gradient information that Figure 11 detects a shade for the shade adjustment unit according to one embodiment of the invention comes selectivity to adjust the schematic diagram of this shade position.
Figure 12 is for passing through the schematic diagram of a document image that cuts according to one embodiment of the invention.
Description of reference numerals in above-mentioned accompanying drawing is as follows:
100 image output devices
110 treatment circuits
111 symbolic unit generation units
112 symbol generation units
120 data segments produce circuit
130 output circuits
600 image received devices
610 background generators
611 alignment units
612 background output units
620 binary conversion treatment circuit
621 brightness processed unit
622 symbol pattern unit
622A gradient processing unit
622B shade Circuit tuning
630 data segment positioning circuits
640 symbol location circuit
650 treatment circuits
S inInput message
S WMImage
S BGBackground image
S AImage after calibration
S A1The first luminance picture
S A2The second luminance picture
S BResult
S WM' document image
SYM ASymbol
K0, K1, K2 setting mark
The F primary sign
L terminal point symbol
The S stop element
D 1~D 6Data symbol
The M shade
Embodiment
Please refer to Fig. 1, it is the schematic diagram of the image output device 100 realized according to one embodiment of the invention.Image output device 100 includes a treatment circuit 110, a data segment produces circuit 120 and an output circuit 130.Treatment circuit 110 receives an input message S in, and according to a conversion table of comparisons T1 and with input message S inIn each character convert a corresponding symbol (symbol) S1 to.In the present embodiment, conversion table of comparisons T1 is an ASCII(American Standard Code for information interchange) (AmericanStandard Code for Information Interchange, ASCII) table of comparisons, yet, this is not to limit category of the present invention, so long as can in order to represent the code of character, all can be used to use as conversion table of comparisons T1.The data segment produces 120, circuit in order to foundation input message S inLength decide the size of a data segment B1, and use an order table of comparisons T2, set input message S inIn each character corresponding this symbol S1 position in data segment B1 in conversion table of comparisons T1 produce data segment B1, in the present embodiment, order table of comparisons T2 is a Random-number Table, and the data segment produces circuit 120 and decides input message S according to one group of random number that this Random-number Table produces inIn the relative position of the corresponding symbol S1 of all characters in data segment B1, wherein data segment B1 separately includes a plurality of special symbols in order to the position of unlabeled data segment B1.130 of output circuits are after data segment B1 repeat replication, then add one to include in an image of a file, and are last, then the image S of output after encrypting WM
Referring again to Fig. 1, treatment circuit 110 includes a symbolic unit generation unit 111 and a symbol generation unit 112.Symbolic unit generation unit 111 can be used conversion table of comparisons T1 produce corresponding wherein a plurality of symbolic units of all characters, and wherein said a plurality of symbolic units include to indicate a special symbol unit of the position of described a plurality of symbolic units.In addition, the described a plurality of symbolic units of 112 foundations of symbol generation unit produce this symbol S1 that should character.
Please refer to the operation that Fig. 2 and Fig. 3 further understand treatment circuit 110, Fig. 2 is the composition schematic diagram according to a symbol of one embodiment of the invention, and Fig. 3 is with input message S according to one embodiment of the invention inOne of them character " A " converts a symbol SYM to ASchematic diagram.As shown in Figure 2, symbol is comprised of the symbolic unit of the quartern, be respectively the A part of upper left, the B part of upper right, the C part of lower-left and the D part of bottom right, wherein, each symbolic unit all has corresponding code pattern A_1~A_4, B_1~B_3, C_1~C_3 and D_1~D_3 separately.Referring again to Fig. 3, at first, symbolic unit generation unit 111 can be with input message S inIn a character convert one group of code to, in the present embodiment, the code of character " A " is " 2132 ", symbolic unit generation unit 111 can determine symbol S respectively AUpper left, upper right, lower-left and bottom right represent 2,1,3,2 symbolic unit (the namely A_2 shown in Fig. 2, B_1, C_3 and D_2).Then, symbol generation unit 112 can sequentially synthesize A_2, B_1, C_3 and D_2 to produce the symbol SYM of represention character element " A " AFor convenience's sake, the present embodiment has been used the symbolic unit of corresponding code pattern A_1~A_4, B_1~B_3, C_1~C_3 and D_1~D_3 and has been used as conversion table of comparisons T1, yet, in other embodiments, the user also can select other code to be used as conversion table of comparisons T1 according to different demands, within the variation in this design also drops on category of the present invention.
Yet, can clearly locate and judge each symbol in order to make receiving end, the present invention adds some predetermined conditions in the design of symbol and code pattern, to can allow each symbol of receiving end identification under the prerequisite that does not affect file readability.Please refer to Fig. 4, Fig. 4 is the schematic diagram of the symbolic unit A0 that realizes according to one embodiment of the invention.In the present embodiment, symbolic unit A0 is the pattern of one 32 pixels that are distributed in a symbol upper left corner A part * 32 pixels, and A is used for locating the position of each symbol partly for including a special symbol unit of a specific pattern.As seen from the figure, the upper left corner of symbolic unit A0 includes setting mark K0, the K1 of three location use and K2 (in this example, a setting mark is namely a pixel), wherein setting mark K0 is positioned at the upper left corner of symbolic unit A0, and thereunder reach a right-hand specific range d1 (in this example, specific range d1 equals the distance of seven pixels) part, a setting mark K1 and K2 are arranged respectively respectively.Yet except above-mentioned three setting marks, symbolic unit A0 includes four in order to represent the data mark of code, and wherein the bee-line between each data mark all is designed to greater than specific range d1.For instance, wherein the bee-line between two data marks is d2, and d2 will inevitably be designed to distance greater than seven pixels to avoid these two data marks to be mistaken for setting mark.Thus, receiving end can be after the relative position that picks out three setting marks, determine rapidly the relative position of the symbol under symbolic unit A0, and the relative position of finding out all data marks goes out the code of symbolic unit A0 representative with interpretation.In addition, the data mark in each symbolic unit all can design according to specific range d1, with the distance between each data mark of guaranteeing the symbolic unit that each is adjacent all greater than specific range d1.In the present embodiment, the distance between any two data marks all is designed to greater than nine pixel distances.
In obtaining input message Sin after the corresponding symbol S1 of all characters, the data segment produces circuit 120 can use one group of random number that random number seeds (random seed) produce with as table of comparisons T2 sequentially, then decides input message S according to this group random number inIn the relative position of the corresponding symbol S1 of all characters in a data segment.Please refer to Fig. 5 and further understand the operation that the data segment produces circuit 120, Fig. 5 is for distributing the schematic diagram of described a plurality of symbol relative position in this data segment according to one embodiment of the invention.In Fig. 5, this data segment includes 9 * 13 (also namely 117) individual symbol wherein contains three in order to the special symbol of the position that indicates this data segment: be positioned at primary sign F, the terminal point symbol L of last cell in the upper left corner and the stop element S of expression end of message (EOM).Via interpretation primary sign F and terminal point symbol L, the data segment produces position and the size that circuit 120 can be determined this data segment, afterwards, then from primary sign F, sequentially distributes corresponding input message S according to this group random number in order table of comparisons T2 inIn the symbol of each character.for instance, in this example, first two numerals of this group random number are 76, 101, the data segment produces circuit 120 and just can be risen by primary sign F, begin counting to the right, when often counting down to the low order end of every delegation, just the high order end from next column continues counting, until calculate corresponding numeral, and when counting down to the terminal point symbol L of last cell, just can continue counting by the primary sign F in the upper right corner, when counting is completed, just the corresponding symbol of first character is configured in herein, again be the distribution locations that starting point continues to seek next symbol by primary sign F again.In this embodiment, by primary sign F rise counted 76 after, just can find the position of first data symbol D1, then work as starting point by primary sign F equally, after having counted 101, just can find the position of second data symbol D2, by that analogy, the data segment produces circuit 120 and sequentially distributes D 1~D 6Deng the position of six data symbols, find again at last the distribution locations of stop element S, the data segment produces circuit 120 and just stop element S is arranged on the position of this distribution with expression input message S inFinish.Yet, above-mentioned counting mode only is used for illustrating this example, in other embodiment, the data segment produces circuit 120 and distributes the position of each data symbol with different counting modes, distributes the position of symbol all to be under the jurisdiction of category of the present invention as long as use the mode of random number.
Yet, according to nyquist sampling theorem (Nyquist Sampling Theorem), in any sampling system (sampling system), its sampling frequency will have two times of highest frequency at least, just can be the signal integrity ground reduction of highest frequency.For instance, if receiving end is to use the resolution of 600dpi (dot per inch) that the image transitions of inputting is electronic signal when information extraction, therefore, output terminal need to be exported with the resolution of 300dpi when output image.Therefore, in the present embodiment, output circuit 130 can zoom into twice with the image of data segment B1 and be processed after determining data segment B1.In addition, for the file that prevents from printing might be because taking out through cutting out the information of wherein hiding, after output circuit 130 can copy many parts with data segment B1, then repeat duplicated data segment B1 spaced apart is processed and output image S at last WM
Please refer to Fig. 6, Fig. 6 explains orally for convenient for the schematic diagram of the image received device 600 realized according to another embodiment of the present invention, and image received device 600 receives the image S that image output devices 100 are exported WMProcessed.Image received device 600 includes a background generator 610, a binary conversion treatment circuit 620, a data segment positioning circuit 630, a symbol location circuit 640 and a treatment circuit 650.610 couples of image S of background generator WMCarry out a prospect and remove program to obtain a background image S BGBinary conversion treatment circuit 620 is in order to background image S BGCarry out a binary conversion treatment with the result S of the binaryzation that obtains including data segment B1 BData segment positioning circuit 630 is result S then B, and decide the scope of data segment B1 according to the described a plurality of special symbols in data segment B1.The same order table of comparisons T2 of 640 foundations of symbol location circuit (also namely, image output device 100 produced with same random number seed this group random number) and described a plurality of special symbol obtain corresponding input message S inA symbol order of a plurality of symbols.Conversion table of comparisons T1 (also namely, 100 same tables of comparisons that use of image output device) and this symbol order that 650 foundations for the treatment of circuit are same are converted to respectively corresponding described a plurality of characters with described a plurality of symbols.
In the present embodiment, image received device 600 can be the one scan device, is used for the image of a file is scanned, and is processed for the image after scanning more afterwards.Yet, when scanning this document, the image S that might cause image received device 600 to receive because the position that this document is put is crooked WMAlso deflection to some extent, and then make follow-up processing produce mistake, therefore, image received device 600 is receiving image S WMAfter, usually need to process further image S WMTo guarantee that follow-up handling procedure can carry out smoothly.
Referring again to Fig. 6, background generator 610 includes an alignment unit 611 and a background output unit 612.612 of background output units can be to image S WMCarry out a prospect and remove program to obtain background image S BGPlease refer to the step that the further understanding prospect of Fig. 7 removes program.Fig. 7 is to image S according to one embodiment of the invention WMCarrying out this prospect removes program and obtains background image S BGSchematic diagram.At first, background output unit 612 can be used one first brightness threshold value LTH1 and extract image S WMMiddle brightness obtains one first luminance picture S lower than the pixel of the first brightness threshold value LTH1 A1Then use again one second brightness threshold value LTH2 and extract image S WMMiddle brightness is lower than the pixel of the second brightness threshold value LTH2, and the described a plurality of pixels that extract are carried out expansion (dilation) program obtains one second luminance picture S A2, wherein the second brightness threshold value LTH2 is lower than the first brightness threshold value LTH1 (also namely, LTH2<LTH1).As seen from the figure, can include prospect and background image via suitable setting background output unit 612, the first luminance picture SA1, and the second luminance picture S A2Only include foreground image.Therefore, background output unit 612 can be used the second luminance picture S further A2With the first luminance picture S A1In prospect remove, to obtain background image S BG
Alignment unit 611 can be then according to background image S BGIn special symbol unit come background image S BGCalibration is to obtain a rear image S of calibration APlease be simultaneously with reference to Fig. 4 and Fig. 8, Fig. 8 is that symbolic unit A0 shown in Figure 4 is through the schematic diagram of a deflection.To image S WM(or background image S BG) in each symbol, be positioned at setting mark K0, K1 and K2 that the special symbol unit in the upper left corner (being the A part) wherein all can include three location use, in Fig. 8, the setting mark K1 of this symbol and the line of K2 are L1, the line that is connected to the L1 mid point by setting mark K0 is defined as L2, in general, at background image S BGDo not occur under the situation of deflection, the slope of L2 can be-45 °, yet the slope of the L2 of this symbolic unit in Fig. 8 is but-60 °, therefore via background image S BGIn the slope of the corresponding L2 of each symbol, alignment unit 611 just can determine whether according to a slope mean value of described a plurality of slopes will be to background image S BGCalibrate.For instance, when picking out background image S BGIn the average gradient of slope of L2 of all symbols when being-60 °, alignment unit 611 just can be with background image S BGBe rotated counterclockwise 15 ° and produce the rear image S of calibration A, with guarantee follow-up handled be to place the correct image in orientation.
At last, please refer to the operation that Fig. 9 further understands binary conversion treatment circuit 620 shown in Figure 6, Fig. 9 is the schematic diagram of the binary conversion treatment circuit 620 realized according to one embodiment of the invention.Binary conversion treatment circuit 620 includes a brightness processed unit 621 and a symbol pattern unit 622.Brightness processed unit 621 can be for background image S BGIn each symbol deal with, a plurality of special symbol units according to this symbol obtain a brightness threshold value TH, for instance, in the middle of this example, brightness processed unit 621 can be for setting mark K0, K1 and K2 in each symbol, respectively in the image with described a plurality of setting marks, 27 the darkest pixel brightness values of brightness take out and calculate an average brightness according to these 27 pixel brightness values and are used as brightness threshold value TH, thus, just can avoid image because being subjected to the inhomogeneous interpretation mistake that causes of light.
Yet, as previous narration, image S WMIn data segment B1 be a result after amplifying, therefore image received device 600 must be reduced into original resolution in order to follow-up processing with data segment B1 further.Therefore, symbol pattern unit 622 use one shade M and brightness threshold value TH search the monochrome information of each pixel, to obtain the symbol pattern of all symbols in corresponding data segment B1, wherein symbol pattern unit 622 includes again a gradient processing unit 622A and a shade Circuit tuning 622B.Due in this embodiment, image output device 100 is exported script as the data segment B1 of 600dpi take the resolution of 300dpi, wherein each symbol all zooms into twice, so the symbol pattern unit 622 shade M that just to have used a size be 2 pixels * 2 pixels comes restoring data segment B1.
Please refer to the operation that Figure 10 further understands symbol pattern shown in Figure 9 unit 622, Figure 10 uses for the symbol pattern unit 622 of realizing according to one embodiment of the invention the schematic diagram that shade M process background image SBG.As shown in figure 10, symbol pattern unit 622 can be used shade M and sequentially collect background image S BGIn the pixel intensity of each symbol data segment B1 is reduced into original resolution.Yet, in the process of restoring data segment B1, still have and may cause going back primary failure because of the reference position mistake of shade M, so symbol pattern unit 622 still needs to use other mechanism and guarantees correctly restoring data segment B1.The variation of a plurality of monochrome informations that gradient processing unit 622A can search according to shade M obtains a plurality of gradients (gradient) information, and shade adjustment unit 622B optionally moves (shift) shade M according to described a plurality of gradient informations again.Please refer to Figure 11, Figure 11 comes selectivity to adjust the schematic diagram of the position of shade M for the gradient information that the shade adjustment unit 622B according to one embodiment of the invention detects shade M.in Figure 11, two monochrome informations that gradient processing unit 622A is searched continuously according to shade M obtain gradient (gradient) information, as seen from the figure, originally the starting point of shade M has been offset a pixel, just can judge in gradient information changing in the opposite direction of a violent graded and both all arranged in the middle of the sample position at continuous two shade M, therefore shade adjustment unit 622B judges according to this just that the position of shade M needs to be adjusted and with pixel of position movement of shade M, just can avoid thus the reduction result distortion of data segment B1.After determining the correct position of shade M, shade M and brightness threshold value TH just can sequentially be used with background image S in symbol pattern unit 622 BGThe binaryzation that is reduced into data segment B1 is S as a result B, the average brightness value in shade M is lower than brightness threshold value TH, represent in shade M should the zone image system should be reduced into a black picture element; Otherwise the average brightness value in shade M is higher than brightness threshold value TH, represent in shade M should the zone image should be reduced into a white pixel, thus, just can obtain including the result S of data segment B1 B
Through after above-mentioned processing, data segment positioning circuit 630 shown in Figure 6 just can be from result S BMiddle according to the described a plurality of special symbols in data segment B1: as to be positioned at primary sign F, the terminal point symbol L of last cell in the upper left corner, to decide the scope of data segment B1.640 foundations of symbol location circuit order table of comparisons T2 (this group random number of also namely, with same random number seed being produced) and described a plurality of special symbol same with image output device 100 obtains corresponding input message S inA symbol order of a plurality of symbols, and it is roughly the same with the generation of the data segment in image output device 100 circuit 120 to seek the flow process that the symbol order follows, therefore just repeat no more at this.650 for the treatment of circuits are according to conversion table of comparisons T1 same in image output device 100 and this symbol order, described a plurality of symbols are converted to respectively corresponding described a plurality of characters, it is also each symbolic unit for the treatment of circuit 650 first each symbol of interpretation of meeting, again according to described a plurality of symbolic units corresponding codes with obtain the corresponding character of this symbol, and detailed process just repeats no more at this.
Referring again to Figure 12, the document image S of Figure 12 for cutting according to one embodiment of the invention process WM' schematic diagram.Document image S WM' in the data segment of a plurality of repetitions is arranged, wherein complete data segment has specific symbol: primary sign F, terminal point symbol L and stop element S.As seen from the figure, document image S WM' because of through cutting, the data segment of part is imperfect, but through collecting a plurality of data segments and wherein after the information of each special symbol, data sink 600 still can therefrom extract complete information.
The invention provides a kind of simple and easy and method and apparatus rapidly, under the prerequisite that does not affect file readability, embedding information is in the central of the input picture of file and extract information in the input picture of file.Use specific symbol pattern in the watermark design of symbol formula, can be when scanning document calibration file image and solution are read the information of being hidden fast and correctly.
The above is only preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (22)

1. one kind embeds an information in the method for an input picture, and wherein this packets of information contains a plurality of characters, and the method includes:
Use a treatment circuit, receive this information, and convert each character in this information to a corresponding symbol according to a conversion table of comparisons;
According to an order table of comparisons, set that in this information, each character corresponding this symbol position in a data segment in this conversion table of comparisons produces this data segment; And
At least this data segment adds in this input picture;
Wherein, the step that according to this conversion table of comparisons, each character in this information is converted to this corresponding symbol includes:
For each character in this information:
Use this conversion table of comparisons and produce a plurality of symbolic units that should character, wherein said a plurality of symbolic units include to indicate a special symbol unit of the position of described a plurality of symbolic units; And
Produce this symbol that should character according to described a plurality of symbolic units.
2. the method for claim 1, wherein this symbol is a watermark.
3. the method for claim 1, wherein this special symbol unit includes a plurality of setting marks that consist of according to a specific range and a specific pattern.
4. method as claimed in claim 3, wherein each symbolic unit includes a plurality of marks that consist of according to this specific range.
5. the method for claim 1, wherein this order table of comparisons is a Random-number Table.
6. method as claimed in claim 5, wherein set the step that each character corresponding this symbol position in this data segment in this conversion table of comparisons in this information produces this data segment and include:
The one group of random number that produces according to this Random-number Table decides the relative position of the corresponding symbol of all characters in this data segment in this information, and wherein this data segment separately includes to indicate a plurality of special symbols of the position of this data segment.
7. method that extracts an information in an input picture, wherein this packets of information contains a plurality of characters, include at least one data segment in this input picture, this at least one data segment includes a plurality of symbols, in described a plurality of symbol, each symbol includes to indicate a special symbol unit of the position of this symbol, this data segment includes to indicate a plurality of special symbols of the position of this data segment, and the method includes:
This input picture is carried out a prospect remove program to obtain a background image;
Decide the scope of this at least one data segment according to described a plurality of special symbols in this background image;
Obtain a symbol order to a plurality of symbols that should information according to the order table of comparisons and a described a plurality of special symbol; And
Use a treatment circuit, with according to a conversion table of comparisons and this symbol order, described a plurality of symbols are converted to respectively corresponding described a plurality of characters.
8. method as claimed in claim 7, the wherein result of this at least one data segment part that is this background image after via a binary conversion treatment.
9. method as claimed in claim 8, wherein:
This binary conversion treatment includes:
For each symbol in this background image:
This special symbol unit according to this symbol obtains a brightness threshold value; And
Search monochrome information that should symbol with a shade and this brightness threshold value, to obtain a symbol pattern that should symbol; And
Decide the step of the scope of this at least one data segment to include according to described a plurality of special symbols in this background image:
Decide the scope of this at least one data segment according to a plurality of symbol patterns of corresponding described a plurality of special symbols.
10. method as claimed in claim 9, wherein this binary conversion treatment separately includes:
A plurality of monochrome informations that search according to this shade obtain a plurality of gradient informations; And
Optionally move this shade according to described a plurality of gradient informations.
11. method as claimed in claim 7 is wherein carried out this prospect to this input picture and is removed program and include with the step that obtains this background image:
Calibrate this input picture to obtain a rear image of calibration according at least one special symbol unit; And
Image after this calibration is carried out this prospect remove program to obtain this background image.
12. one kind embeds an information in the device of an input picture, wherein this packets of information contains a plurality of characters, and this device includes:
One treatment circuit, in order to receiving this information, and according to a conversion table of comparisons and convert each character in this information to a corresponding symbol;
One data segment produces circuit, is coupled to this treatment circuit, in order to according to an order table of comparisons, sets that in this information, each character corresponding this symbol position in a data segment in this conversion table of comparisons produces this data segment; And
One output circuit is coupled to this data segment and produces circuit, adds in this input picture in order to this data segment at least;
Wherein this treatment circuit includes:
One symbolic unit generation unit, in order to deal with for each character in this information, use this conversion table of comparisons and produce a plurality of symbolic units that should character, wherein said a plurality of symbolic units include to indicate a special symbol unit of the position of described a plurality of symbolic units; And
One symbol generation unit is coupled to this symbolic unit generation unit, in order to produce according to described a plurality of symbolic units this symbol that should character.
13. device as claimed in claim 12, wherein this symbol is a watermark.
14. device as claimed in claim 12, wherein this special symbol unit includes a plurality of setting marks that consist of according to a specific range and a specific pattern.
15. device as claimed in claim 14, wherein each symbolic unit includes a plurality of marks that consist of according to this specific range.
16. device as claimed in claim 12, wherein this order table of comparisons is a Random-number Table.
17. device as claimed in claim 16, wherein this data segment produces one group of random number that circuit produces for this Random-number Table and decides the relative position of the corresponding symbol of all characters in this data segment in this information, and wherein this data segment separately includes to indicate a plurality of special symbols of the position of this data segment.
18. device that extracts an information in an input picture, wherein this packets of information contains a plurality of characters, include at least one data segment in this input picture, this at least one data segment includes a plurality of symbols, in described a plurality of symbol, each symbol includes to indicate a special symbol unit of the position of this symbol, this data segment includes to indicate a plurality of special symbols of the position of this data segment, and this device includes:
One background generator removes program to obtain a background image in order to this input picture is carried out a prospect;
One data segment positioning circuit is coupled to this background generator, in order to decide the scope of this at least one data segment according to described a plurality of special symbols in this background image;
One symbol location circuit is coupled to this data segment positioning circuit, in order to obtain the symbol order to a plurality of symbols that should information according to the order table of comparisons and a described a plurality of special symbol; And
One treatment circuit is coupled to this symbol location circuit, in order to according to a conversion table of comparisons and this symbol order, described a plurality of symbols is converted to respectively corresponding described a plurality of characters.
19. device as claimed in claim 18, it separately includes:
One binary conversion treatment circuit is in order to carry out a binary conversion treatment to obtain this at least one data segment to the part of this background image.
20. device as claimed in claim 19, wherein:
This binary conversion treatment circuit includes:
One brightness processed unit in order to dealing with for each symbol in this background image, obtains a brightness threshold value according to this special symbol unit of this symbol; And
One symbol pattern unit is coupled to this brightness processed unit, in order to searching with a shade and this brightness threshold value monochrome information that should symbol, to obtain a symbol pattern that should symbol; And
This data segment positioning circuit includes:
One decision-making circuit decides the scope of this at least one data segment in order to a plurality of symbol patterns according to corresponding described a plurality of special symbols.
21. device as claimed in claim 20, wherein this binary conversion treatment circuit separately includes:
One gradient processing unit obtains a plurality of gradient informations in order to a plurality of monochrome informations that search according to this shade; And
One shade adjustment unit is coupled to this gradient processing unit, in order to optionally to move this shade according to described a plurality of gradient informations.
22. device as claimed in claim 18, wherein this background generator includes:
One alignment unit is in order to calibrate this input picture to obtain a rear image of calibration according at least one special symbol unit; And
One background output unit is coupled to this alignment unit, removes program to obtain this background image in order to image after this calibration is carried out this prospect.
CN 201010162839 2010-04-09 2010-04-09 Method and device for embedding information in input image and extracting information from input image Expired - Fee Related CN102214352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010162839 CN102214352B (en) 2010-04-09 2010-04-09 Method and device for embedding information in input image and extracting information from input image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010162839 CN102214352B (en) 2010-04-09 2010-04-09 Method and device for embedding information in input image and extracting information from input image

Publications (2)

Publication Number Publication Date
CN102214352A CN102214352A (en) 2011-10-12
CN102214352B true CN102214352B (en) 2013-06-12

Family

ID=44745648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010162839 Expired - Fee Related CN102214352B (en) 2010-04-09 2010-04-09 Method and device for embedding information in input image and extracting information from input image

Country Status (1)

Country Link
CN (1) CN102214352B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945277A (en) * 2012-11-09 2013-02-27 华为技术有限公司 Image file retrieval method and image file retrieval device
JP6289425B2 (en) * 2015-09-25 2018-03-07 キヤノン株式会社 IMAGING ELEMENT AND MANUFACTURING METHOD THEREOF, IMAGING DEVICE, IMAGING METHOD, AND PROGRAM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002037418A1 (en) * 2000-11-02 2002-05-10 Markany Inc. Watermarking system and method for protecting a digital image from forgery or alteration
CN1396569A (en) * 2001-07-13 2003-02-12 佳程防伪科技(深圳)有限公司 Method for adding or extracting digital watermark to or from digital image signals
JP3944490B2 (en) * 2004-02-17 2007-07-11 株式会社東芝 Digital watermark embedding device, digital watermark detection device, digital watermark embedding method, digital watermark detection method, digital watermark embedding program, and digital watermark detection program
CN1322433C (en) * 2004-08-12 2007-06-20 西南交通大学 Positioning vulnerable water print generating and recognizing method capable of distigushing image and watermark distortion
CN101556578B (en) * 2009-05-12 2011-04-27 南京师范大学 Method for controlling file access of GIS vector data

Also Published As

Publication number Publication date
CN102214352A (en) 2011-10-12

Similar Documents

Publication Publication Date Title
CN101540823B (en) Image processing apparatus and image processing system and method
RU2606056C2 (en) Documents protection and authentication method and device
CN101627620B (en) Electronic document encryption system, decoding system, and method
Amano et al. A feature calibration method for watermarking of document images
CN110766594B (en) Information hiding method and device, detection method and device and anti-counterfeiting tracing method
US7729018B2 (en) Image processing system, image forming apparatus, image processing method and program recording medium
US9152810B2 (en) Information output system, method, and program for tampering detection
US8810862B2 (en) Paper medium information encrypting system, decrypting system, program and method
EP3410685B1 (en) Image processing device, image processing method, and program
Bhattacharjya et al. Data embedding in text for a copier system
AU2004326049B2 (en) Information input/output method using dot pattern
RU2458395C2 (en) Methods and apparatus for ensuring integrity and authenticity of documents
MXPA06001533A (en) Machine readable data.
JP2007179111A (en) Code pattern, printed matter, image forming device, image processor, image forming method, and information specifying method
US8508793B2 (en) System and method for calibrating a document processing device from a composite document
CN102214352B (en) Method and device for embedding information in input image and extracting information from input image
EP2088553A1 (en) Apparatus, system, and method for identifying embedded information
CN108960387A (en) A kind of anti-counterfeiting two dimensional code and its generation and recognition methods
US20140312120A1 (en) Method for detecting reorgination of barcodes
KR20070052332A (en) Image processing method and image processing device
US20160217358A1 (en) Data-bearing medium
EP2372996B1 (en) Image processing system, image processing device, and image processing method
US8374385B2 (en) Method of embedding information in input image, method of extracting information from input image, and related apparatus
CN103927572B (en) By coding segment to form the method and apparatus of dot pattern
CN104539953A (en) Method and system for transmitting files in image recognition mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130612

Termination date: 20160409

CF01 Termination of patent right due to non-payment of annual fee