US20050063018A1 - Image processor unit, image processing method, and storage medium - Google Patents

Image processor unit, image processing method, and storage medium Download PDF

Info

Publication number
US20050063018A1
US20050063018A1 US10/981,669 US98166904A US2005063018A1 US 20050063018 A1 US20050063018 A1 US 20050063018A1 US 98166904 A US98166904 A US 98166904A US 2005063018 A1 US2005063018 A1 US 2005063018A1
Authority
US
United States
Prior art keywords
quantization
image
information
threshold setting
setting means
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.)
Abandoned
Application number
US10/981,669
Inventor
Nobutaka Miyake
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to US10/981,669 priority Critical patent/US20050063018A1/en
Publication of US20050063018A1 publication Critical patent/US20050063018A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/0028Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32203Spatial or amplitude domain methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32203Spatial or amplitude domain methods
    • H04N1/32256Spatial or amplitude domain methods in halftone data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00281Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a telecommunication apparatus, e.g. a switched network of teleprinters for the distribution of text-based information, a selective call terminal
    • H04N1/00283Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a telecommunication apparatus, e.g. a switched network of teleprinters for the distribution of text-based information, a selective call terminal with a television apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3269Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of machine readable codes or marks, e.g. bar codes or glyphs
    • H04N2201/327Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of machine readable codes or marks, e.g. bar codes or glyphs which are undetectable to the naked eye, e.g. embedded codes

Definitions

  • the present invention relates to an image processor unit, an image processing method, and a storage medium.
  • additional information is embedded in an image so that an output machine and a serial number thereof can be identified from an image printed on paper.
  • additional information is embedded in a high frequency band for a low-visual-sensitive color difference component and color saturation, and the information is thereby multiplexed into an image.
  • FIG. 19 illustrates embedding of general additional information according to an electronic translucent technique.
  • Video information A and additional information B are multiplexed through an adder 1901 , and are thereby changed to multiplexed information C.
  • the illustration in FIG. 19 represents an example case in which additional information is multiplexed into a real space zone of video information.
  • the multiplexed information C can be distributed without performing image processing such as various filtering, and encoding such as nonreciprocal compression
  • the additional information B can easily be decoded from the multiplexed information C according to the conventional techniques.
  • the decoding thereof can be performed through a digital filter capable of improving image quality in edge enhancement, smoothness, and the like.
  • a multiplexed image is printed by an output machine such as a printer, and additional information is retrieved from a printed object that has been output therefrom.
  • the printer used in this case is assumed to have only the capacity of representing two or several tones in units of a single color.
  • inkjet printers capable of representing several tones in color units are marketed.
  • one of the inkjet printers includes low-dye-density ink, controls the diameters of output dots so as to be variable, and thereby represents the tones.
  • photograph-level image tones cannot be represented.
  • the multiplexed information C is changed to quantization information D according to a pseudo-gray-scale processing 2001 .
  • the quantization information D is printed by printer output 2002 on paper.
  • the input information is changed to on-paper information E (printed object) significantly degraded in quality.
  • the decoding of the additional information from the on-paper information to prevent the aforementioned counterfeiting is equivalent to the decoding of the additional information B from the on-paper information E subjected to series of the processing shown in FIG. 20 .
  • the amount of variations caused during the pseudo-gray-scale processing 2001 and the printer output 2002 are significantly great.
  • the significantly grate variations make it difficult to perform multiplexing so that the additional information cannot be visually identified, the multiplexed additional information from the on-paper information.
  • FIG. 21 shows an example conventional electronic translucent technique in which video information is transformed into a frequency band instead of the real space zone by using, for example, a Fourier transformation method, and is synthesized with a high-frequency band.
  • video information is transformed by an orthogonal transformation processing 2101 into a frequency band, and additional information is added by an adder 2102 to a specific frequency that cannot be easily visually perceived.
  • the information is returned by reverse orthogonal transformation processing 2103 to a real space zone, it is passed through filters similar to those shown in FIG. 20 , such as pseudo-gray-scale processing and printer output, which involves great variations.
  • FIG. 22 shows a procedure for separating additional information from paper.
  • the information contained on the printed object is input through an image scanning unit, such as a scanner. Since the input information is represented in gradation according to the pseudo-gray-scale processing, it is subjected to reverse pseudo-gray-scale processing, that is, reproduction processing 2202 .
  • the reproduction processing 2202 uses a low pass filter (LPF).
  • LPF low pass filter
  • the decoded information is subjected to orthogonal transformation processing 2203 .
  • separation processing 2204 is performed to separate the additional information from a power having a specific frequency.
  • the procedure additionally includes color conversion processing for converting colors to printer-specific colors.
  • color conversion processing for converting colors to printer-specific colors.
  • a signal having a very high resistance needs to be input.
  • the input of highly-resistible signal is not suitable.
  • the procedure including many complicated steps takes a long processing time for multiplexing the information and separating it.
  • the decoding tends to fail in the above-described technique.
  • the information is added to a high frequency band through the information-multiplexing processing performed through the embedding of the additional information in the high frequency band of a low-visual-sensitive color difference component and color saturation.
  • the band of the additional information is buried in the band of a texture developed during error-spreading. This causes the decoding to fail.
  • the decoding in the above-described technique requires a scanner unit capable of producing significantly high precision. Therefore, the method shown in FIGS. 20 and 21 is not suitable in the case where the pseudo-gray-scale processing needs to be performed as a prerequisite condition. In other words, the aforementioned case requires an additional-information multiplexing method that greatly relies on the characteristics of the pseudo-gray-scale processing.
  • the first technique when an organizational dither method is performed for binary conversion, one of dither matrixes representing identical gradations is selected, and data is included in a video signal.
  • the organizational dither method without a printer capable of printing high resolution data and having high mechanical precision, it is difficult to output a photograph-level high quality image. This is because even a slight deviation in mechanical precision causes low frequency noises, such as lateral stripes that are easily developed to become visually identifiable on paper.
  • the dither matrix is periodically varied, the band of a specific frequency generated according to regularly arranged dithers is disordered, and the image quality is adversely affected thereby.
  • the gradation representation capability significantly depends on the type of the dither matrix. Particularly, on paper, since variations in area ratio in dot-overlapped portions are different depending on the dither matrix, even in a region having a uniform density in terms of a signal, the density can be varied when the dither matrix is changed.
  • a decoding side (separating side) tends to perform erroneous decoding at a significantly high probability.
  • the second technique uses a color dither pattern method that performs the multiplexing of additional information into an image according to the arrangement of dither patterns. Also in this method, similarly to the first technique, degradation of image quality cannot be avoided. Compared to the first technique, in the second technique, while a greater amount of additional information can be multiplexed into the image, the color vision is varied according to variations in the arrangement of color components. Particularly, this increases the level of image-quality degradation in a flat portion. In addition, this method can further increase the difficulty in the decoding of on-paper information.
  • the applicant of the present invention proposed a method in which combinations of quantization values that cannot be generated in ordinary pseudo-gray-scale processing is artificially created by using textures generated according to an error spreading method, and symbols are thereby embedded.
  • a decoding side needs to determine as to whether or not the texture is artificial.
  • a printed object output onto paper because of positional deviations, such as biases, from desired landing positions of dots, a case can occur in which the texture cannot be reproduced in a good condition.
  • the identification of a texture in a real space zone can easily be influenced by other color components, thereby making it difficult to separate multiplexed information.
  • the audio information is converted into a dot code, which is a so-called two-dimensional barcode, and the dot code is printed in a marginal portion of the image or an interior portion of the image.
  • the dot code and image information are not multiplexed as two different types of information, and the code is not processed so that it cannot be easily visually identified.
  • a method in which a transparent paint is used to embed the code in an image has been proposed to date.
  • special ink is required, not only costs are increased, but also the quality of an image printed on paper is degraded as a matter of course.
  • an object of the present invention is to provide an image processor unit, an image processing method, and a storage medium with which at least one of the above-described problems can be solved.
  • Another object of the present invention is to provide an image processor unit, an image processing method, and a storage medium that minimize image-quality degradation that can be caused by the addition of predetermined information to an image and that enables the predetermined information to be added to an image so that information embedded in the image can be accurately extracted.
  • the present invention provides an image processor unit for adding predetermined information to an image, as summarized below.
  • the image processor unit includes an input means for inputting the image; a plurality of quantization-threshold setting means, of which occurrence probability distributions are different from one another, for setting quantization thresholds in terms of probability; a control means for controlling a regularity for selection of the plurality of quantization-threshold setting means in units of a predetermined image region according to the predetermined information; and a quantizing means that uses quantization thresholds set by the quantization-threshold setting means and thereby quantizes the image according to an error spreading method.
  • the present invention relates to an image processor unit, an image processing method, and a storage medium that have new functions.
  • FIG. 1 is a block schematic view showing essential portions of an image processing system according to the present invention
  • FIG. 2 is a block schematic view showing essential portions of an additional-information multiplexing unit shown in FIG. 1 ;
  • FIG. 3 is a block schematic view showing essential portions of an error-spreading unit shown in FIG. 2 ;
  • FIG. 4 is a flowchart showing operation steps in multiplexing processing including processing of a control means
  • FIG. 5 shows example blocking-partitioning
  • FIG. 6 shows an example regularity in the selection of a quantization-threshold setting means
  • FIG. 7 shows an example regularity in the selection of a quantization-threshold setting means
  • FIGS. 8A to 8 C each show an example occurrence probability distribution of a quantization-threshold setting means
  • FIG. 9 is a block schematic view showing essential portions of an additional-information separating unit shown in FIG. 1 ;
  • FIG. 10 is an explanatory view of a skewed image in a scanned image
  • FIG. 11 shows example classification in an orthogonally transformed block
  • FIGS. 12A to 12 C each show an example occurrence probability distribution of a quantization-threshold setting means
  • FIG. 13 shows an example regularity in the selection of a quantization-threshold setting means
  • FIG. 14 shows an example regularity in the selection of a quantization-threshold setting means
  • FIGS. 15A and 15B each show an example occurrence probability distribution of a quantization-threshold setting means
  • FIG. 16 shows an example regularity in the selection of a quantization-threshold setting means
  • FIG. 17 shows an example changed state of the regularity shown in FIG. 16 ;
  • FIGS. 18A and 18B each show an example occurrence probability distribution of a quantization-threshold setting means
  • FIG. 19 is a schematic view showing an example conventional multiplexing method
  • FIG. 20 is a block schematic view showing an example conventional multiplexing method
  • FIG. 21 is a block schematic view showing an example conventional multiplexing method.
  • FIG. 22 is a block schematic view showing the example conventional multiplexing method.
  • An image processor unit effectively functions when it is included as a printer driver software or application software in a computer for creating video information to be output to a printer engine.
  • the image processor unit effectively functions when it is included as hardware and software in a photocopy reproduction machine, a facsimile machine, or a printer body.
  • FIG. 1 is a block schematic view a configuration of an image processing system according to the present invention.
  • Either of reference numeral 100 and 101 denotes an input terminal.
  • Multitone video information is input from the input terminal 100 .
  • Additional information to be embedded in the video information is input from the input terminal 101 .
  • various types of information can be considered. It includes information different from the video-information input from the input terminal 100 , for example, audio information, and textual document information; copyright information, a photographed date, a photographed site, and the name of a photographer regarding an image to be input from the input terminal 100 ; information regarding a machine for outputting the video information; and video information completely different from the aforementioned video information.
  • An additional-information multiplexing unit 102 embeds the additional information in the video information, making it difficult to be visually identified.
  • the additional-information multiplexing unit 102 multiplexes the additional information, and concurrently, controls the quantization of the input multitone video information.
  • a printer 103 outputs information created by the additional-information multiplexing unit 102 to a printer engine.
  • the printer 103 is assumed to be an inkjet printer or a laser printer that employs pseudo-gray-scale processing to implement tone representation.
  • a scanner 104 scans information contained in the printed object. Then, an additional-information separating unit 105 separates the additional information embedded in the printed object, and outputs the separated additional information to an output terminal 106 .
  • FIG. 2 is a block schematic view showing a configuration of the additional-information multiplexing unit 102 shown in FIG. 1 .
  • An error-spreading unit 200 performs the pseudo-gray-scale processing for the input video information according to an error spreading method to thereby convert the information into quantization levels to be less than the number of input tones, and thereby represents area-wise tonality according to quantization values of a plurality of pixels.
  • the error spreading processing will be described below in detail.
  • a blocking unit 201 block-partitions the input video information in units of a predetermined region.
  • the block-partitioning may be performed to form-either regions each shaped rectangular or regions each shaped to be different from the rectangular.
  • a control unit 202 controls conditions for setting a quantization threshold in units of the region block-partitioned by the blocking unit 201 .
  • a quantization-threshold setting unit 203 regularly selects a predetermined setting from a plurality of settings of quantization thresholds, and executes the selected setting.
  • the quantization-threshold setting unit 203 executes the setting of the quantization threshold in pixel units. According to the set quantization threshold, the error-spreading unit 200 executes quantization.
  • a control unit 210 is configured to include a central processing unit 211 (CPU), a read only memory 212 (ROM), and a random access memory 213 (RAM).
  • CPU central processing unit
  • ROM read only memory
  • RAM random access memory
  • the CPU 211 controls operations and processing that are performed in the above-described configuration members according to a control program stored in the ROM 212 .
  • the RAM 213 is used as a work area for the CPU 211 .
  • FIG. 3 is a block schematic view showing the error-spreading unit 200 in detail.
  • General error spreading processing is described in detail in the publication “An Adaptive Algorithm for Spatial Grayscale” (R. Floyed & L. Steinberg; SID Symposium of Paper; pp. 36 and 37; 1975).
  • An adder 300 adds an attention pixel value in input video information and distributed quantization errors of peripheral pixels that have already been binary-converted.
  • a comparator unit 301 compares the quantization threshold received from the quantization-threshold setting unit 203 and the addition result of errors. The comparator unit 301 outputs “1” if the addition result of errors is greater than the predetermined threshold, and outputs “0” in other cases. For example, when the tone of a pixel is to be represented with an eight-bit precision, generally, it is represented by the maximum value “255” and the minimum value “0”. The description below assumes that when the quantization value is “1”, a dot (of ink, toner, or the like) is printed on paper.
  • a subtracter 302 calculates the difference (error) between the quantization result and the aforementioned addition result.
  • the error is distributed to peripheral pixels for which quantization processing will be performed according to an error-distribution computing unit 303 .
  • the error is distributed according to an error distribution ratio contained in a distribution table.
  • the distribution table 304 is prepared to preserve distribution ratios of errors experimentally set according to distances relative to attention pixels.
  • a distribution table 304 shown in FIG. 3 contains distribution ratios for four peripheral pixels. However, the table is not limited thereto.
  • step S 401 variable i is initialized.
  • the variable i is set in order to count vertical addresses.
  • step S 402 variable j is initialized.
  • the variable j is set in order to count horizontal addresses.
  • step S 403 makes a determination according to the address values i and j. Specifically, this step determines as to whether or not the coordinate of a current address i,j belongs to a region for which multiplexing is executed.
  • FIG. 5 showing an image composed of pixels.
  • the number of horizontal pixels is represented by WIDTH
  • the number of vertical pixels is represented by HEIGHT. Additional information is assumed to be multiplexed into an image.
  • block-partitioning is performed on the basis of a horizontal pixel N and a vertical pixel M.
  • the block-partitioning is performed with the origin as a reference point.
  • the reference point may be set to an arbitrary point spaced from the origin.
  • N ⁇ M blocks are arranged from the reference point.
  • INT( ) represents an integer part in ( ).
  • the remaining number of pixels, which cannot be divided, correspond to an edge portion in the case where a plurality of the N ⁇ M blocks are arranged, and belong to the outside of a code-multiplexing region.
  • a quantization threshold is set at step S 404 .
  • the quantization threshold represents a region outside of the multiplexing region, any arbitrary value may be set.
  • the mean value “128” is set as the quantization threshold in many cases.
  • the value is not limited to the aforementioned intermediate value between the quantization representative values.
  • the value is not limited to the fixed value, but it may be set to a variable quantization value.
  • step S 406 a determination is made as to whether or not the variable “bit” assigned in step S 406 is “1”. As described above, since the information in the array “code[ ]” is stored in bit units, the variable “bit” is set to one of the values “0” and “1”. If the variable “bit” is determined to be “0”, in step S 407 , a quantization-threshold setting means is selected according to a selection procedure of a regularity A. If the variable “bit” is determined to be “1”, in step S 408 , a quantization-threshold setting means is selected according to a selection procedure of a regularity B.
  • step S 409 a random number is generated. Then, according to the generated random-number, in step S 410 , the quantization value is set from the selected quantization-threshold setting means.
  • Step S 411 represents a quantizing means that performs quantization processing according to the set quantization value. This quantization processing corresponds to the error spreading method described with reference to FIG. 3 .
  • step S 412 the value of the horizontal variable j is counted.
  • step S 413 a determination is made as to whether or not the value of the horizontal-pixel variable j is less than WIDTH, which represents the number of horizontal pixels of the image.
  • WIDTH represents the number of horizontal pixels of the image.
  • the routing of the above-described processing is iterated until the number of processed pixels reaches the number represented by WIDTH.
  • step S 414 the value of the vertical-pixel variable i is counted.
  • step S 415 a determination is made as to whether not the value of the variable j is less than HEIGHT, which represents the number of vertical pixels of the image.
  • the routine of the above-described processing is iterated until the number of processed pixels reaches the number represented by HEIGHT.
  • Execution of the above-described operation steps enables the regularity for setting of the quantization value to be changed in units of the block formed of the N ⁇ M pixels.
  • each of the regularities A and B is used in units of the block in the multiplexing region, difference in image quality need to be caused depending on the difference between the regularities A and B.
  • the difference in image quality needs to be represented so that it cannot be easily visually identified, and concurrently, it can easily be separated from the image.
  • FIGS. 6 and 7 show examples of the regularities A and B, respectively.
  • FIG. 6 shows selection periods of the quantization-threshold setting means in the regularity A.
  • FIG. 7 shows selection periods for the quantization-threshold setting means in the regularity B.
  • each box is assumed to represent one pixel, and the symbol in the box represents the type of the quantization-threshold setting means.
  • regular arrangements are set for three types of the quantization-threshold setting means designated by reference symbols a, b, and c.
  • each of the figures shows an example of an 8 ⁇ 8-pixel-based regularity (hereinbelow, the 8 ⁇ 8-pixel block defining a regularity is referred to as a small block).
  • the small block is repeated as a matter of course.
  • each of the quantization-threshold setting means a, b, and c a random number is generated, and the threshold is determined according to the generated random number. According to the allocation of the value of the random number to the number of conditions in units of a predetermined probability, an arbitrary probability distribution can easily be prepared.
  • FIGS. 8A to 8 C each show the state of an occurrence probability distribution in each of the quantization-threshold setting means a, b, and c.
  • setting is performed so as to produce a probability distribution in which a probability of 20% is distributed to TH 1 , and a probability of 80% is distributed to TH 2 .
  • setting is performed so as to produce a probability distribution in which a probability of 20% is distributed to TH 1 , and a probability of 80% is distributed to TH 3 .
  • setting is performed to produce a probability distribution in which a probability of 80% is distributed to TH 1 , a probability of 10% is distributed to TH 4 , and a probability of 10% is distributed to TH 5 .
  • TH 1 is assumed to represent the intermediate value between the quantization representative values (the intermediate value corresponds to “128” in the tone representation in pixels each formed of eight bits).
  • the quantization values “1” tend to be chained in series.
  • the regularities A and B since the arrangements of the setting means are differentiated, and the angles at which the quantization values “1” tend to be chained are differentiated. Thereby, differences in the feature index are caused in local portions of the relevant images.
  • the quantization-threshold setting means b since the quantization value is set to a value greater than the intermediate value between the quantization representative values at a probability of 80%, an attention pixel at the time of the quantization-threshold setting means b tends to have the quantization value “0” (quantization representative value “0”).
  • the quantization values “0” tend to be chained in series. Therefore, similarly to the case of the quantization-threshold setting means a, differences in the feature index are caused in local portions of the relevant images.
  • TH 1 is set to the intermediate value at a probability of 80%, and the quantization value is changed by a probability of 10% to each of the higher and lower sides. This setting manner provides the advantage of causing irregularities.
  • the present invention is made by aiming at the redundancy of the error spreading method.
  • an attention-pixel quantization error is sufficiently fed back through spreading to peripheral pixels.
  • a change in the quantization value in the error spreading method locally affects image quality as in a case where the arrangement of dots is slightly changed, and variations occur in the generation of textures.
  • the overall image quality in the tone representation is not substantially influenced.
  • the tone representation is solely performed according to the arrangement of quantization values, the variation in the image quality according to the difference between dither patterns is increased.
  • Frequency characteristics of a quantization filter in the error spreading method include the characteristics of a wide-band high pass filter. Therefore, the regularity in additional information is arranged to somewhat resemble the characteristics of a noise generated during error-spreading. Thereby, the regularity is assumed to be handled as a texture generated in the error spreading method, and components of a signal to be added can thereby be camouflaged. This corresponds to an arrangement in which a part of power that corresponds to a regular low-frequency-band noise artificially created is somewhat changed to a white noise to spread a noise. This can be achieved only with the error spreading method.
  • FIG. 9 is a block schematic view showing a configuration of the additional-information separating unit 105 .
  • An input terminal 900 inputs video information scanned by a scanner.
  • the resolution of the scanner to be used is preferably equal to or higher than the resolution of a printer used to create a printed object.
  • the scanner side needs to have a resolution that is at least two times as high as that of the printer side.
  • the scanner can identify scattered dots to a certain extent while the result somewhat lacks accuracy.
  • the printer resolution is assumed to be the same as the scanner resolution.
  • a geometrical-deviation detecting unit 901 detects a geometrical deviation in the image input from the scanner.
  • the geometrical-deviation detecting unit 901 is provided to detect four edge portions in which the video information in the printed object is assumed to have been printed.
  • the printer resolution and the scanner resolution are the same, slant lines caused when the information is recorded by the printer on paper, and deviations caused when the printed object is set on the scanner become important factors for correction of deviations (skews) in the rotational directions of the image. Therefore, according to the detection of the four edge portions, a determination can be made for the level of the deviation in the rotational direction.
  • a blocking unit 902 performs block-partitioning in units of P ⁇ Q pixels.
  • a block formed by the blocking unit 902 needs to be smaller than that block-partitioned in the N ⁇ M-pixel units at the time of multiplexing. That is, the following relationship is established: P ⁇ N, and concurrently, Q ⁇ M (Expression 4)
  • the number of skipped pixels is based on the number of the horizontal N pixels and the number of the vertical M pixels.
  • the amount of a deviation detected by the geometrical-deviation detecting unit 901 is divided by the number of the blocks to obtain the amount of a deviation per block. Then, the resultant amount of the deviation is added to the number of the skipped pixels. In this way, the deviation needs to be corrected.
  • FIG. 10 illustrates the correction in the amount of a deviation, and block-partitioning processing.
  • the largest rectangular region represents a scanned image transferred from the scanner.
  • a region D shown by a bold line in the largest rectangular region represents a printed image portion (where printing is assumed to have been performed).
  • the deviation in the rotational direction of the video information can be determined by detecting four edge portions of the printed image portion D.
  • the detection of the edge portions can be performed in a method in which markers indicating the edge portions are preliminary recorded at the time of printing. Alternatively, the detection is performed based on the difference in density between a white portion and the printed portion of the paper.
  • T′ T ⁇ M /HEIGHT (Expression 5)
  • S′ S ⁇ N /WIDTH (Expression 6)
  • a small rectangular region shown by a bold line represents a block formed through the P ⁇ Q-pixel-based block-partitioning.
  • the figure shows only the upper first line subjected to the block-partitioning.
  • individual block-partitioning start positions are controlled to include one of the P ⁇ Q-pixel-based blocks in a region where the N ⁇ M-pixel-based blocks at the time of multiplexing are assumed to be formed. Thereby, the “deviations” detected by the geometrical-deviation detecting unit 901 are corrected.
  • An orthogonal transforming unit 903 orthogonally transforms the block-partitioned P ⁇ Q pixels.
  • the present embodiment employs a discrete cosign transformation (DCT).
  • a classifying unit 904 performs classification in units of a band of the DCT coefficient.
  • FIG. 11 shows a DCT coefficient F(u,v) in one block, wherein the upper-left corner portion represents a DC component, and other 256 components are AC components.
  • two classes are created.
  • One of the classes is a class A having the center at F(4,8), and the other is a class B having the center at F(8,4).
  • the two classes are shown by bold lines in the figure.
  • the classifying unit 904 need not be controlled to perform the classification for all the 256 components, but may be controlled perform the classification to create a plurality of classes each having the center at a desired component.
  • the number of the necessary classes corresponds to the number of the conditions subjected to the quantization control at the time of multiplexing. Therefore, the number of the classes does not exceed the number of the conditions subjected to the quantization control.
  • a power-comparing unit 905 compares the total amounts of powers in the individual classes. To speed up the computations, absolute values of the generated transformation coefficients may be used instead of the amounts of powers. According to the comparison of the total amounts of powers in the individual classes, a signal for representing the additional information is determined.
  • the filter itself in the error spreading method has-characteristics of a high pass filter, which passes high frequency bands. Therefore, with a transformation coefficient in a state after ordinary quantization, powers in regularities A and B, which are in a low intermediate frequency band, are reduced.
  • the power reduction allows the above-described determination to be made. If the power in the low intermediate frequency band is relatively higher, the high power can be assumed to have been generated because of control artificially performed for the quantization condition. Therefore, according to the control performed to change the regularity in the changing period of the quantization condition, a desired high power can be generated substantially without being visually identified.
  • two types of regularity control are performed during multiplexing for the regularities A and B, and two types of the classification are performed during the separation for the classes A and B.
  • the additional information in the block is composed of a single bit.
  • a larger number of types of classification can be performed.
  • the information need not be orthogonally transformed during the multiplexing so as to be embedded.
  • the regularity in the quantization-condition selection biases in the postquantization frequency are created.
  • the frequency biases are mixed with high-frequency components generated in the error spreading method, they cannot be easily visually identified.
  • the printer precision is thereby increased.
  • the frequency is deviated from a desired frequency.
  • the classification configuration is dynamically varied according to the amount of geometrical deviation.
  • the classification may be such that one class is formed only of one component.
  • the present embodiment is not limited thereby.
  • the present embodiment may use a different transformation method, such as an Adamarl transformation method, a Fourier transformation method, and a wavelet transformation method.
  • regularities A and B in the selection step for the quantization-threshold setting means and the classes A and B are only examples, the present embodiment is not limited thereby. As a matter of course, other types of regularities may be used.
  • a counter may be used to change the horizontal and vertical periods.
  • tables in which regularities are preset may be prepared so as to be changed for use.
  • the quantization has been described with reference to binary conversion.
  • the present embodiment is not limited thereby.
  • FIGS. 12A, 12B , and 12 C show example quantization-threshold setting means a′, b′, and c′, respectively, which correspond to the quantization-threshold setting means a, b, and c.
  • quantization thresholds can be continually set in each of the examples shown in FIGS. 12A to 12 C.
  • a method can be considered in which the quantization-threshold setting means a′, b′, and c′ are preserved in a table to enable predetermined distributions to be achieved.
  • a method can easily be implemented such that a random number is not used only to change the quantization threshold, but operations such as addition, subtraction, multiplication, and exponentiation, are performed for a generated random number, and a quantization threshold can be calculated in a flexible manner according to the operation result.
  • the probability distributions of the threshold generation for the quantization-threshold setting means are greatly different from one another.
  • the intermediate value of the probability distributions must be other than the intermediate value between the quantization representative values.
  • at least one of the intermediate values of the probability distributions therefor is greater than an intermediate value between the quantization representative values.
  • at least one of them is preferably less than the intermediate value between the quantization representative values.
  • the design of the probability distributions relates to the design of image quality of a printed object output after additional information is multiplexed. Therefore, preferably, the probability distributions are prepared based on experiments.
  • a still another example is conceivable.
  • the example is arranged to be different from the above-described embodiment such that, according to the code for additional information, not only the regularity in the selection of the quantization-threshold setting means is changed, but the combination of the quantization-threshold setting means is also changed.
  • FIG. 13 shows a regularity A in the selection of a quantization-threshold setting means.
  • FIG. 14 shows a quantization-threshold setting means c. Assumption is made such that, according to the code for the additional information, quantization-threshold setting means is selected in two ways by using the regularities A and C. In the above-described embodiment, only the regularities are different from one another. However, in this particular case, combinations of the quantization-threshold setting means are also different from one another.
  • the combination in the regularity A is made among the quantization-threshold setting means a, b, and c
  • the combination in the regularity C is made among the quantization-threshold setting means c, d, and e.
  • FIG. 15A shows the quantization-threshold setting means d.
  • FIG. 15B shows the quantization-threshold setting means e.
  • the biases in the probability distribution of TH 1 and TH 2 and of TH 1 and TH 3 are less.
  • the probability at which the quantization value is set to TH 1 is increased to be greater than that in each of the quantization-threshold setting means a and b.
  • the probability at which dots are vertically chained is minimized.
  • the probability distributions need to be designed to be most suitable based on experiments.
  • the probability distribution can be flexibly designed.
  • the probability distribution can be designed such that the regularity thereof is either conspicuous or inconspicuous.
  • the quantization-threshold setting means is arranged according to the predetermined regularity. Also random numbers are used for occurrence probabilities of the quantization thresholds in the quantization-threshold setting means.
  • the threshold is set in terms of probability according to a random number, although the probability macroscopically approximates to a set probability, it does not assuredly reach a desired probability in many cases when viewed in block units. Consequently, for example, problematic cases can occur in which regular noise becomes conspicuous in a block, and the regularity is completely lost to thereby disable the separation of additional information.
  • a method can be considered in which control is performed so that a desired probability can be obtained either in units of the block that multiplexes the additional information or in units of the small block that defines the regularity.
  • FIG. 16 shows a regularity D in the quantization-threshold setting means formed of the small block configured of 8 ⁇ 8 pixels, i.e., 64 pixels.
  • the small block consists of 48 pixels that set quantization-threshold setting means f and 16 pixels that set quantization-threshold setting means g.
  • FIGS. 18A and 18B show probability distributions in the quantization-threshold setting means f and g, respectively.
  • TH 4 is fixed (the probability distribution with TH 4 is 100%) in the quantization-threshold setting means f
  • TH 5 is fixed (the probability distribution with TH 5 is 100%) in the quantization-threshold setting means g.
  • the absolute value of the quantization value does not significantly influence the overall density variation. Therefore, neither TH 4 nor TH 5 needs to be limited to the intermediate value between the quantization representative values. In addition, a mean value multiplied by the ratio in the small block in either TH 4 or T 5 does not need to be the intermediate value between the quantization representative values.
  • the quantization-threshold setting means is changed to f at a predetermined probability in the quantization-threshold setting means f.
  • a random number is used to extract two arbitrary pixels as target pixels from 16 pixels set in the quantization-threshold setting means g, and the quantization-threshold setting means-are forcedly changed to the quantization-threshold setting means f.
  • FIG. 17 shows a changed state of the regularity.
  • pixels shown by bold lines are changed pixels. While only the probability for performing the change in the small block, pixels to be changed are not yet determined. Therefore, according to the irregularity of the changed pixels, the preset regularity can be disordered.
  • FIGS. 16 and 17 show one example type of a regularity change. However, as a matter of course, two or more regularities are necessary.
  • FIG. 18A or 18 B shows an example case where the occurrence probability is 100%.
  • the embodiment is not limited thereby.
  • the method for disordering the regularity set as a quantization condition has been described with reference to examples using random numbers.
  • the method for generating random numbers is not limited to the above.
  • the method may be executed according to various types of regularities without using random numbers arrangement.
  • irregularities may be preserved by using a table.
  • the present embodiment is not limited by the combination thereof.
  • the block-partitioned of the image is performed when the information is separated from the image in order to allow much information to be added to the image.
  • an image includes additional information of one bit (for example, information indicative of “image output is permitted/not permitted”)
  • the information can be added to the image without performing the block-partitioning of the image. Accordingly, depending on the case, block-partitioning of an image need not be performed to separate information from the image.
  • the present invention may of course be applied to a system configured of a plurality of apparatuses (for example, a host computer, an interface device, a reader, and a printer), but it may be applied to an independent single apparatus (for example, a photocopy reproduction machine and a facsimile machine).
  • apparatuses for example, a host computer, an interface device, a reader, and a printer
  • an independent single apparatus for example, a photocopy reproduction machine and a facsimile machine.
  • the object of the present invention can also be achieved through the execution of software program code stored in a computer readable storage medium.
  • software program code for implementing the functions of the above-described embodiment is recorded in a computer readable storage medium (or, a recording medium), and the storage medium is supplied to a system or an apparatus.
  • a computer or, a processor such as a CPU or an MPU
  • the program code read-out from the storage medium independently implements the functions of the above-described embodiment. Therefore, the storage medium containing the program code constitutes the present invention.
  • the software program code read out from the storage medium is written in a memory provided in a function enhancement unit connected to a function enhancement card inserted in the computer or the computer. Then, according to instructions of the program code, a part or the entirety of practical processing by a CPU or the like provided in the function enhancement card or the function enhancement unit, thereby implementing the functions of above-described embodiment.
  • the present invention has the plurality of quantization-threshold setting means, of which occurrence probability distributions are different from one another, for setting a quantization threshold in terms of probability when adding predetermined information to an image.
  • the present invention controls a regularity in the selection of the aforementioned plurality of quantization-threshold setting means in units of a predetermined image region, uses quantization thresholds set by the aforementioned quantization-threshold setting means and thereby quantizes the aforementioned image according to an error spreading method.
  • the present invention minimizes image-quality degradation that can be caused according to the addition of the predetermined information.
  • the present invention enables the predetermined information to be added to the image so that the embedded information can be accurately extracted.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

An image processor unit minimizes image-quality degradation that can be caused by the addition of predetermined information to an image and that enables the predetermined information to be added to the image so that embedded information can be accurately extracted. The image processor unit includes an input means for inputting the image; a plurality of quantization-threshold setting means, of which occurrence probability distributions are different from one another, for setting quantization thresholds in terms of probability; a control means for controlling a regularity for selection of the plurality of quantization-threshold setting means in units of a predetermined image region according to the predetermined information; and a quantizing means that uses quantization thresholds set by the quantization-threshold setting means and thereby quantizes the image according to an error spreading method.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to an image processor unit, an image processing method, and a storage medium.
  • 2. Description of the Related Art
  • Conventionally, studies have widely been made regarding the technique of multiplexing image-related additional information into video information. Recently, standardization is in progress for a technique called an “electronic translucent technique”. According to the electronic translucent technique, video information, such as a photograph and a picture, is added by additional information. The additional information includes, for example, the name of the originator thereof and use-permission therefor. The additional information is multiplexed into the image so as not to be easily identified by the human eye. The image thus created is distributed via a network such as the Internet.
  • As one of other application fields, in advances in image outputting machines, such as photocopy reproducing machines and printers that are capable of outputting high quality images, techniques are developed to prevent illegal counterfeiting of, for example, paper money and revenue stamps. According to one of these techniques, additional information is embedded in an image so that an output machine and a serial number thereof can be identified from an image printed on paper. For example, additional information is embedded in a high frequency band for a low-visual-sensitive color difference component and color saturation, and the information is thereby multiplexed into an image.
  • However, the above-described techniques are problematic as described below. FIG. 19 illustrates embedding of general additional information according to an electronic translucent technique. Video information A and additional information B are multiplexed through an adder 1901, and are thereby changed to multiplexed information C. The illustration in FIG. 19 represents an example case in which additional information is multiplexed into a real space zone of video information. If the multiplexed information C can be distributed without performing image processing such as various filtering, and encoding such as nonreciprocal compression, the additional information B can easily be decoded from the multiplexed information C according to the conventional techniques. For video information distributed through the Internet, if it has some noise resistance, the decoding thereof can be performed through a digital filter capable of improving image quality in edge enhancement, smoothness, and the like.
  • However, a case is assumed in which a multiplexed image is printed by an output machine such as a printer, and additional information is retrieved from a printed object that has been output therefrom. In addition, the printer used in this case is assumed to have only the capacity of representing two or several tones in units of a single color.
  • In recent years, inkjet printers capable of representing several tones in color units are marketed. For example, one of the inkjet printers includes low-dye-density ink, controls the diameters of output dots so as to be variable, and thereby represents the tones. However, unless pseudo-gray-scale processing is performed, photograph-level image tones cannot be represented. Specifically, in the assumed case where the additional information multiplexed using the electronic translucent technique shown in FIG. 19 is output to the printer, as shown in FIG. 20, the multiplexed information C is changed to quantization information D according to a pseudo-gray-scale processing 2001. Subsequently, the quantization information D is printed by printer output 2002 on paper. Thereby, the input information is changed to on-paper information E (printed object) significantly degraded in quality.
  • Accordingly, the decoding of the additional information from the on-paper information to prevent the aforementioned counterfeiting is equivalent to the decoding of the additional information B from the on-paper information E subjected to series of the processing shown in FIG. 20. The amount of variations caused during the pseudo-gray-scale processing 2001 and the printer output 2002 are significantly great. The significantly grate variations make it difficult to perform multiplexing so that the additional information cannot be visually identified, the multiplexed additional information from the on-paper information.
  • FIG. 21 shows an example conventional electronic translucent technique in which video information is transformed into a frequency band instead of the real space zone by using, for example, a Fourier transformation method, and is synthesized with a high-frequency band. In the figure, video information is transformed by an orthogonal transformation processing 2101 into a frequency band, and additional information is added by an adder 2102 to a specific frequency that cannot be easily visually perceived. After the information is returned by reverse orthogonal transformation processing 2103 to a real space zone, it is passed through filters similar to those shown in FIG. 20, such as pseudo-gray-scale processing and printer output, which involves great variations.
  • FIG. 22 shows a procedure for separating additional information from paper. In the procedure, the information contained on the printed object is input through an image scanning unit, such as a scanner. Since the input information is represented in gradation according to the pseudo-gray-scale processing, it is subjected to reverse pseudo-gray-scale processing, that is, reproduction processing 2202. Generally, the reproduction processing 2202 uses a low pass filter (LPF). The decoded information is subjected to orthogonal transformation processing 2203. Then, separation processing 2204 is performed to separate the additional information from a power having a specific frequency.
  • As is apparent from FIGS. 21 and 22, many complicated steps are performed to multiplex the additional information and to separate it. For a color image, the procedure additionally includes color conversion processing for converting colors to printer-specific colors. To implement favorable separation in the complicated procedure, a signal having a very high resistance needs to be input. However, to maintain high image quality, the input of highly-resistible signal is not suitable. In addition, the procedure including many complicated steps takes a long processing time for multiplexing the information and separating it.
  • In addition, the decoding tends to fail in the above-described technique. According to the technique, the information is added to a high frequency band through the information-multiplexing processing performed through the embedding of the additional information in the high frequency band of a low-visual-sensitive color difference component and color saturation. In the technique, however, in a case where an error spreading method is executed in the latter pseudo-gray-scale processing, the band of the additional information is buried in the band of a texture developed during error-spreading. This causes the decoding to fail. Furthermore, the decoding in the above-described technique requires a scanner unit capable of producing significantly high precision. Therefore, the method shown in FIGS. 20 and 21 is not suitable in the case where the pseudo-gray-scale processing needs to be performed as a prerequisite condition. In other words, the aforementioned case requires an additional-information multiplexing method that greatly relies on the characteristics of the pseudo-gray-scale processing.
  • Two techniques are described below by way of examples in which additional-information multiplexing and redundancy in pseudo-gray-scale processing are correlated.
  • According to the first technique, when an organizational dither method is performed for binary conversion, one of dither matrixes representing identical gradations is selected, and data is included in a video signal. However, according to the organizational dither method, without a printer capable of printing high resolution data and having high mechanical precision, it is difficult to output a photograph-level high quality image. This is because even a slight deviation in mechanical precision causes low frequency noises, such as lateral stripes that are easily developed to become visually identifiable on paper.
  • In addition, the dither matrix is periodically varied, the band of a specific frequency generated according to regularly arranged dithers is disordered, and the image quality is adversely affected thereby. The gradation representation capability significantly depends on the type of the dither matrix. Particularly, on paper, since variations in area ratio in dot-overlapped portions are different depending on the dither matrix, even in a region having a uniform density in terms of a signal, the density can be varied when the dither matrix is changed.
  • Furthermore, according to the decoding method wherein a dither matrix responsible for binary conversion is inferred in a state where pixel values of video information corresponding to an original signal is unknown, a decoding side (separating side) tends to perform erroneous decoding at a significantly high probability.
  • The second technique uses a color dither pattern method that performs the multiplexing of additional information into an image according to the arrangement of dither patterns. Also in this method, similarly to the first technique, degradation of image quality cannot be avoided. Compared to the first technique, in the second technique, while a greater amount of additional information can be multiplexed into the image, the color vision is varied according to variations in the arrangement of color components. Particularly, this increases the level of image-quality degradation in a flat portion. In addition, this method can further increase the difficulty in the decoding of on-paper information.
  • Either of the methods in which the dither matrix is changed is problematic in that, the image quality is significantly degraded, and in addition, the decoding is difficult.
  • In view of the above, the applicant of the present invention proposed a method in which combinations of quantization values that cannot be generated in ordinary pseudo-gray-scale processing is artificially created by using textures generated according to an error spreading method, and symbols are thereby embedded.
  • According to this method, although microscopic variations slightly occur in the shape of the texture, the visual image quality is not deteriorated. In addition, when a method for changing a quantization threshold in an error spreading method is used, since visual effects of area-degradation density values are maintained, multiplexing of a different-type signal can be implemented very easily.
  • However, according to the above-described proposal, a decoding side needs to determine as to whether or not the texture is artificial. For a printed object output onto paper, because of positional deviations, such as biases, from desired landing positions of dots, a case can occur in which the texture cannot be reproduced in a good condition. For a color image, the identification of a texture in a real space zone can easily be influenced by other color components, thereby making it difficult to separate multiplexed information.
  • For example, in a method developed to embed a significantly large amount of information, such as audio information, in an image, the audio information is converted into a dot code, which is a so-called two-dimensional barcode, and the dot code is printed in a marginal portion of the image or an interior portion of the image. However, in this method, the dot code and image information are not multiplexed as two different types of information, and the code is not processed so that it cannot be easily visually identified. As only example method for making it difficult to visually identify a code, a method in which a transparent paint is used to embed the code in an image has been proposed to date. However, since special ink is required, not only costs are increased, but also the quality of an image printed on paper is degraded as a matter of course.
  • SUMMARY OF THE INVENTION
  • Accordingly, an object of the present invention is to provide an image processor unit, an image processing method, and a storage medium with which at least one of the above-described problems can be solved.
  • Another object of the present invention is to provide an image processor unit, an image processing method, and a storage medium that minimize image-quality degradation that can be caused by the addition of predetermined information to an image and that enables the predetermined information to be added to an image so that information embedded in the image can be accurately extracted.
  • To achieve the aforementioned objects, the present invention provides an image processor unit for adding predetermined information to an image, as summarized below.
  • The image processor unit includes an input means for inputting the image; a plurality of quantization-threshold setting means, of which occurrence probability distributions are different from one another, for setting quantization thresholds in terms of probability; a control means for controlling a regularity for selection of the plurality of quantization-threshold setting means in units of a predetermined image region according to the predetermined information; and a quantizing means that uses quantization thresholds set by the quantization-threshold setting means and thereby quantizes the image according to an error spreading method.
  • The present invention relates to an image processor unit, an image processing method, and a storage medium that have new functions.
  • Further objects, features and advantages of the present invention will become apparent from the following description of the preferred embodiments (with reference to the attached drawings).
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block schematic view showing essential portions of an image processing system according to the present invention;
  • FIG. 2 is a block schematic view showing essential portions of an additional-information multiplexing unit shown in FIG. 1;
  • FIG. 3 is a block schematic view showing essential portions of an error-spreading unit shown in FIG. 2;
  • FIG. 4 is a flowchart showing operation steps in multiplexing processing including processing of a control means;
  • FIG. 5 shows example blocking-partitioning;
  • FIG. 6 shows an example regularity in the selection of a quantization-threshold setting means;
  • FIG. 7 shows an example regularity in the selection of a quantization-threshold setting means;
  • FIGS. 8A to 8C each show an example occurrence probability distribution of a quantization-threshold setting means;
  • FIG. 9 is a block schematic view showing essential portions of an additional-information separating unit shown in FIG. 1;
  • FIG. 10 is an explanatory view of a skewed image in a scanned image;
  • FIG. 11 shows example classification in an orthogonally transformed block;
  • FIGS. 12A to 12C each show an example occurrence probability distribution of a quantization-threshold setting means;
  • FIG. 13 shows an example regularity in the selection of a quantization-threshold setting means;
  • FIG. 14 shows an example regularity in the selection of a quantization-threshold setting means;
  • FIGS. 15A and 15B each show an example occurrence probability distribution of a quantization-threshold setting means;
  • FIG. 16 shows an example regularity in the selection of a quantization-threshold setting means;
  • FIG. 17 shows an example changed state of the regularity shown in FIG. 16;
  • FIGS. 18A and 18B each show an example occurrence probability distribution of a quantization-threshold setting means;
  • FIG. 19 is a schematic view showing an example conventional multiplexing method;
  • FIG. 20 is a block schematic view showing an example conventional multiplexing method;
  • FIG. 21 is a block schematic view showing an example conventional multiplexing method; and
  • FIG. 22 is a block schematic view showing the example conventional multiplexing method.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Hereinbelow, referring to the accompanying drawing, preferred embodiments of the present invention will be described in detail. An image processor unit according to each of the embodiments effectively functions when it is included as a printer driver software or application software in a computer for creating video information to be output to a printer engine. In addition, the image processor unit effectively functions when it is included as hardware and software in a photocopy reproduction machine, a facsimile machine, or a printer body.
  • (First Embodiment)
  • FIG. 1 is a block schematic view a configuration of an image processing system according to the present invention.
  • Either of reference numeral 100 and 101 denotes an input terminal. Multitone video information is input from the input terminal 100. Additional information to be embedded in the video information is input from the input terminal 101. For the additional information, various types of information can be considered. It includes information different from the video-information input from the input terminal 100, for example, audio information, and textual document information; copyright information, a photographed date, a photographed site, and the name of a photographer regarding an image to be input from the input terminal 100; information regarding a machine for outputting the video information; and video information completely different from the aforementioned video information.
  • An additional-information multiplexing unit 102 embeds the additional information in the video information, making it difficult to be visually identified. The additional-information multiplexing unit 102 multiplexes the additional information, and concurrently, controls the quantization of the input multitone video information.
  • A printer 103 outputs information created by the additional-information multiplexing unit 102 to a printer engine. The printer 103 is assumed to be an inkjet printer or a laser printer that employs pseudo-gray-scale processing to implement tone representation.
  • To extract the additional information embedded in a printed object, first, a scanner 104 scans information contained in the printed object. Then, an additional-information separating unit 105 separates the additional information embedded in the printed object, and outputs the separated additional information to an output terminal 106.
  • FIG. 2 is a block schematic view showing a configuration of the additional-information multiplexing unit 102 shown in FIG. 1.
  • An error-spreading unit 200 performs the pseudo-gray-scale processing for the input video information according to an error spreading method to thereby convert the information into quantization levels to be less than the number of input tones, and thereby represents area-wise tonality according to quantization values of a plurality of pixels. The error spreading processing will be described below in detail.
  • A blocking unit 201 block-partitions the input video information in units of a predetermined region. The block-partitioning may be performed to form-either regions each shaped rectangular or regions each shaped to be different from the rectangular.
  • According to the additional information input from the input terminal 101, a control unit 202 controls conditions for setting a quantization threshold in units of the region block-partitioned by the blocking unit 201.
  • According to the control performed by the control unit 202, a quantization-threshold setting unit 203 regularly selects a predetermined setting from a plurality of settings of quantization thresholds, and executes the selected setting.
  • The quantization-threshold setting unit 203 executes the setting of the quantization threshold in pixel units. According to the set quantization threshold, the error-spreading unit 200 executes quantization.
  • A control unit 210 is configured to include a central processing unit 211 (CPU), a read only memory 212 (ROM), and a random access memory 213 (RAM).
  • The CPU 211 controls operations and processing that are performed in the above-described configuration members according to a control program stored in the ROM 212. The RAM 213 is used as a work area for the CPU 211.
  • FIG. 3 is a block schematic view showing the error-spreading unit 200 in detail. General error spreading processing is described in detail in the publication “An Adaptive Algorithm for Spatial Grayscale” (R. Floyed & L. Steinberg; SID Symposium of Paper; pp. 36 and 37; 1975).
  • Hereinbelow, by way of example, a description will be made regarding error spreading processing in the case where the quantization value is represented by binary digits.
  • An adder 300 adds an attention pixel value in input video information and distributed quantization errors of peripheral pixels that have already been binary-converted. A comparator unit 301 compares the quantization threshold received from the quantization-threshold setting unit 203 and the addition result of errors. The comparator unit 301 outputs “1” if the addition result of errors is greater than the predetermined threshold, and outputs “0” in other cases. For example, when the tone of a pixel is to be represented with an eight-bit precision, generally, it is represented by the maximum value “255” and the minimum value “0”. The description below assumes that when the quantization value is “1”, a dot (of ink, toner, or the like) is printed on paper.
  • A subtracter 302 calculates the difference (error) between the quantization result and the aforementioned addition result. The error is distributed to peripheral pixels for which quantization processing will be performed according to an error-distribution computing unit 303. The error is distributed according to an error distribution ratio contained in a distribution table. The distribution table 304 is prepared to preserve distribution ratios of errors experimentally set according to distances relative to attention pixels.
  • A distribution table 304 shown in FIG. 3 contains distribution ratios for four peripheral pixels. However, the table is not limited thereto.
  • Hereinbelow, with reference to a flowchart shown in FIG. 4, a description will be made regarding the overall operation steps including those of the control unit 202 in an example case where the quantization value is binary-coded.
  • In step S401, variable i is initialized. The variable i is set in order to count vertical addresses.
  • In step S402, variable j is initialized. The variable j is set in order to count horizontal addresses.
  • Subsequently, step S403 makes a determination according to the address values i and j. Specifically, this step determines as to whether or not the coordinate of a current address i,j belongs to a region for which multiplexing is executed.
  • Hereinbelow, a multiplex region will be described with reference to FIG. 5 showing an image composed of pixels. In the figure, the number of horizontal pixels is represented by WIDTH, and the number of vertical pixels is represented by HEIGHT. Additional information is assumed to be multiplexed into an image. With the origin set to the upper left corner of the image, block-partitioning is performed on the basis of a horizontal pixel N and a vertical pixel M. In the present embodiment, the block-partitioning is performed with the origin as a reference point. However, the reference point may be set to an arbitrary point spaced from the origin. To multiplex the maximum information into the image, N×M blocks are arranged from the reference point. Specifically, when the number of blocks that can be horizontally aligned is represented by W, the number of blocks that can be vertically aligned is represented by H, the following relationships are established:
    W=INT(WIDTH/N)  (Expression 1)
    W=INT(HEIGHT/N)  (Expression 2)
  • In this case, INT( ) represents an integer part in ( ).
  • In Expressions 1 and 2, the remaining number of pixels, which cannot be divided, correspond to an edge portion in the case where a plurality of the N×M blocks are arranged, and belong to the outside of a code-multiplexing region.
  • In step S403 shown in FIG. 4, when an attention pixel currently in process is determined to be the outside of the multiplexing region, a quantization threshold is set at step S404. In the example case, since the quantization threshold represents a region outside of the multiplexing region, any arbitrary value may be set. In the tone representation in eight-bit pixels, when the quantization level is represented by binary codes, although the maximum value “255” and the minimum value “0” are quantization representative values, the mean value “128” is set as the quantization threshold in many cases. However, in the error spreading method, since average densities are preserved regardless of the level of the quantization value, even when a fixed value is set, the value is not limited to the aforementioned intermediate value between the quantization representative values. In addition, the value is not limited to the fixed value, but it may be set to a variable quantization value.
  • When the current attention pixel is determined to belong to the multiplexing region, additional information to be multiplexed is read. For the convenience of simplifying description, the additional information is assumed to be represented in units of one bit by using array “code[ ]”. For example, when the additional information is assumed to have been composed of 48 bits, the array “code[ ]” ranging from code[0] to code[47] is stored in bit units. In step S405, for a variable “bit”, the information in the array “code[ ]” is assigned as follows:
    bit=code[INT(i/MW+INT(j/N)]  (Expression 3)
  • Subsequently, a determination is made as to whether or not the variable “bit” assigned in step S406 is “1”. As described above, since the information in the array “code[ ]” is stored in bit units, the variable “bit” is set to one of the values “0” and “1”. If the variable “bit” is determined to be “0”, in step S407, a quantization-threshold setting means is selected according to a selection procedure of a regularity A. If the variable “bit” is determined to be “1”, in step S408, a quantization-threshold setting means is selected according to a selection procedure of a regularity B.
  • Subsequently, in step S409, a random number is generated. Then, according to the generated random-number, in step S410, the quantization value is set from the selected quantization-threshold setting means. Step S411 represents a quantizing means that performs quantization processing according to the set quantization value. This quantization processing corresponds to the error spreading method described with reference to FIG. 3.
  • Subsequently, in step S412, the value of the horizontal variable j is counted. Then, in step S413, a determination is made as to whether or not the value of the horizontal-pixel variable j is less than WIDTH, which represents the number of horizontal pixels of the image. The routing of the above-described processing is iterated until the number of processed pixels reaches the number represented by WIDTH. Upon completion of the horizontal-pixel processing for the number of horizontal pixels represented by WIDTH, in step S414, the value of the vertical-pixel variable i is counted. Subsequently, in step S415, a determination is made as to whether not the value of the variable j is less than HEIGHT, which represents the number of vertical pixels of the image. The routine of the above-described processing is iterated until the number of processed pixels reaches the number represented by HEIGHT.
  • Execution of the above-described operation steps enables the regularity for setting of the quantization value to be changed in units of the block formed of the N×M pixels.
  • Hereinbelow, a description will be made regarding examples of the aforementioned regularities A and B for the selection of the quantization-threshold setting means.
  • Since each of the regularities A and B is used in units of the block in the multiplexing region, difference in image quality need to be caused depending on the difference between the regularities A and B. However, the difference in image quality needs to be represented so that it cannot be easily visually identified, and concurrently, it can easily be separated from the image.
  • FIGS. 6 and 7 show examples of the regularities A and B, respectively. FIG. 6 shows selection periods of the quantization-threshold setting means in the regularity A. FIG. 7 shows selection periods for the quantization-threshold setting means in the regularity B.
  • In each of the figures, one box is assumed to represent one pixel, and the symbol in the box represents the type of the quantization-threshold setting means. Specifically, in each of FIGS. 6 and 7, regular arrangements are set for three types of the quantization-threshold setting means designated by reference symbols a, b, and c. In addition, each of the figures shows an example of an 8×8-pixel-based regularity (hereinbelow, the 8×8-pixel block defining a regularity is referred to as a small block). However, when the N×M-pixel block is equal to or larger than the 8×8-pixel block, the small block is repeated as a matter of course.
  • In each of the quantization-threshold setting means a, b, and c, a random number is generated, and the threshold is determined according to the generated random number. According to the allocation of the value of the random number to the number of conditions in units of a predetermined probability, an arbitrary probability distribution can easily be prepared.
  • For example, when random numbers from “0” to “9” are generated, a case where random number “0” is generated is set to a condition 1, and a case where a random number in the range of “1” to “9” is set to a condition 2. In addition, all the random numbers are assumed to be generated at the same probability. This arrangement allows an occurrence probability distribution to be obtained in which the condition 1 occurs at a probability of 10%, and the condition 2 occurs at a probability of 90%.
  • FIGS. 8A to 8C each show the state of an occurrence probability distribution in each of the quantization-threshold setting means a, b, and c.
  • In FIG. 8A, setting is performed so as to produce a probability distribution in which a probability of 20% is distributed to TH1, and a probability of 80% is distributed to TH2. In FIG. 8B, setting is performed so as to produce a probability distribution in which a probability of 20% is distributed to TH1, and a probability of 80% is distributed to TH3. In FIG. 8 c, setting is performed to produce a probability distribution in which a probability of 80% is distributed to TH1, a probability of 10% is distributed to TH4, and a probability of 10% is distributed to TH5. In this case, TH1 is assumed to represent the intermediate value between the quantization representative values (the intermediate value corresponds to “128” in the tone representation in pixels each formed of eight bits).
  • When the respective probability distributions of the quantization-threshold setting means a, b, and c are represented by FIGS. 8A, 8B, and 8C, under the control employing one of the regularities A and B, quantization results individually have a discrete regularity. In the quantization-threshold setting means a, since the quantization value is set to a value less than the intermediate value between the quantization representative values at a probability of 80%, an attention pixel at the time of the quantization-threshold setting means a tends to have the quantization value “1” (quantization representative value “2551”). Specifically, in the arrangement of the quantization-threshold setting means a in each of FIGS. 6 and 7, the quantization values “1” tend to be chained in series. In the regularities A and B, since the arrangements of the setting means are differentiated, and the angles at which the quantization values “1” tend to be chained are differentiated. Thereby, differences in the feature index are caused in local portions of the relevant images.
  • Conversely, in the quantization-threshold setting means b, since the quantization value is set to a value greater than the intermediate value between the quantization representative values at a probability of 80%, an attention pixel at the time of the quantization-threshold setting means b tends to have the quantization value “0” (quantization representative value “0”). Specifically, in the arrangement of the quantization-threshold setting means a in each of FIGS. 6 and 7, the quantization values “0” tend to be chained in series. Therefore, similarly to the case of the quantization-threshold setting means a, differences in the feature index are caused in local portions of the relevant images.
  • In the quantization-threshold setting means c, TH1 is set to the intermediate value at a probability of 80%, and the quantization value is changed by a probability of 10% to each of the higher and lower sides. This setting manner provides the advantage of causing irregularities.
  • An advantage similar to the above of causing irregularities can be obtained in each of the cases of the quantization-threshold setting means a and b. That is, TH1 is selected at the predetermined probability. This setting manner prevents the arrangement of the quantization representative value according to the regularity A or B to be c is faithfully implemented. That is, the regularity is disordered at a predetermined probability to thereby avoid artificially created unnatural dot chains.
  • The present invention is made by aiming at the redundancy of the error spreading method.
  • In the error spreading method, an attention-pixel quantization error is sufficiently fed back through spreading to peripheral pixels. A change in the quantization value in the error spreading method locally affects image quality as in a case where the arrangement of dots is slightly changed, and variations occur in the generation of textures. However, since a feedback system effectively functions, the overall image quality in the tone representation is not substantially influenced. Compared thereto, in the organizational dither method, since the tone representation is solely performed according to the arrangement of quantization values, the variation in the image quality according to the difference between dither patterns is increased.
  • Frequency characteristics of a quantization filter in the error spreading method include the characteristics of a wide-band high pass filter. Therefore, the regularity in additional information is arranged to somewhat resemble the characteristics of a noise generated during error-spreading. Thereby, the regularity is assumed to be handled as a texture generated in the error spreading method, and components of a signal to be added can thereby be camouflaged. This corresponds to an arrangement in which a part of power that corresponds to a regular low-frequency-band noise artificially created is somewhat changed to a white noise to spread a noise. This can be achieved only with the error spreading method.
  • Hereinbelow, a description will be made regarding the additional-information separating unit 105.
  • FIG. 9 is a block schematic view showing a configuration of the additional-information separating unit 105. An input terminal 900 inputs video information scanned by a scanner. The resolution of the scanner to be used is preferably equal to or higher than the resolution of a printer used to create a printed object. As a matter of course, to accurately scan the information represented by scattered dots on the printed object, according to a sampling theorem, the scanner side needs to have a resolution that is at least two times as high as that of the printer side. However, with a resolution equal to or higher than that of the printer side, the scanner can identify scattered dots to a certain extent while the result somewhat lacks accuracy. For the convenience of simplifying description, in the present embodiment, the printer resolution is assumed to be the same as the scanner resolution.
  • A geometrical-deviation detecting unit 901 detects a geometrical deviation in the image input from the scanner. As a matter of course, since the video information to be transferred has passed through the processing of printer output and scanner input, a case can occur in which the video information is significantly geometrically deviated from the pre-printer-output video information. In view of the problem, the geometrical-deviation detecting unit 901 is provided to detect four edge portions in which the video information in the printed object is assumed to have been printed. In the configuration wherein the printer resolution and the scanner resolution are the same, slant lines caused when the information is recorded by the printer on paper, and deviations caused when the printed object is set on the scanner become important factors for correction of deviations (skews) in the rotational directions of the image. Therefore, according to the detection of the four edge portions, a determination can be made for the level of the deviation in the rotational direction.
  • A blocking unit 902 performs block-partitioning in units of P×Q pixels. A block formed by the blocking unit 902 needs to be smaller than that block-partitioned in the N×M-pixel units at the time of multiplexing. That is, the following relationship is established:
    P≦N, and concurrently, Q≦M  (Expression 4)
  • The P×Q-pixel-based block-partitioning skippingly forms blocks at predetermined intervals. Specifically, the block-partitioning is performed so as to include one of the P×Q-pixel-based blocks in a region where the N×M-pixel-based blocks at the time of multiplexing are assumed to be formed. The number of skipped pixels is based on the number of the horizontal N pixels and the number of the vertical M pixels. The amount of a deviation detected by the geometrical-deviation detecting unit 901 is divided by the number of the blocks to obtain the amount of a deviation per block. Then, the resultant amount of the deviation is added to the number of the skipped pixels. In this way, the deviation needs to be corrected.
  • FIG. 10 illustrates the correction in the amount of a deviation, and block-partitioning processing. In the figure, the largest rectangular region represents a scanned image transferred from the scanner. A region D shown by a bold line in the largest rectangular region represents a printed image portion (where printing is assumed to have been performed). The deviation in the rotational direction of the video information can be determined by detecting four edge portions of the printed image portion D. The detection of the edge portions can be performed in a method in which markers indicating the edge portions are preliminary recorded at the time of printing. Alternatively, the detection is performed based on the difference in density between a white portion and the printed portion of the paper. When the horizontal deviation is represented by T, and the vertical deviation is represented by S, the amounts of the deviations (T′ and S′) are calculated through the following expressions:
    T′=T×M/HEIGHT  (Expression 5)
    S′=S×N/WIDTH  (Expression 6)
  • A small rectangular region shown by a bold line represents a block formed through the P×Q-pixel-based block-partitioning. For the convenience of simplifying description, the figure shows only the upper first line subjected to the block-partitioning. According to the corrective block-partitioning using Expressions 5 and 6, individual block-partitioning start positions are controlled to include one of the P×Q-pixel-based blocks in a region where the N×M-pixel-based blocks at the time of multiplexing are assumed to be formed. Thereby, the “deviations” detected by the geometrical-deviation detecting unit 901 are corrected.
  • An orthogonal transforming unit 903 orthogonally transforms the block-partitioned P×Q pixels. In this case, to perform a two-dimensional orthogonal transformation, the block-partitioning needs to be performed for a square block (P=Q). By way of example, the present embodiment employs a discrete cosign transformation (DCT).
  • A two-dimensional DCT coefficient for a P×P-pixel-based block is given through the expression shown below.
    When C(x)=1/{square root}{square root over ( )}2 (x=0),
    C(x)=1 (x≠0)  (Expression 7)
  • A classifying unit 904 performs classification in units of a band of the DCT coefficient. FIG. 11 shows a DCT coefficient F(u,v) in one block, wherein the upper-left corner portion represents a DC component, and other 256 components are AC components. In the example case, two classes are created. One of the classes is a class A having the center at F(4,8), and the other is a class B having the center at F(8,4). The two classes are shown by bold lines in the figure. The classifying unit 904 need not be controlled to perform the classification for all the 256 components, but may be controlled perform the classification to create a plurality of classes each having the center at a desired component. The number of the necessary classes corresponds to the number of the conditions subjected to the quantization control at the time of multiplexing. Therefore, the number of the classes does not exceed the number of the conditions subjected to the quantization control.
  • A power-comparing unit 905 compares the total amounts of powers in the individual classes. To speed up the computations, absolute values of the generated transformation coefficients may be used instead of the amounts of powers. According to the comparison of the total amounts of powers in the individual classes, a signal for representing the additional information is determined.
  • Hereinbelow, a description will be made regarding examples wherein the regularities A and B shown in FIGS. 6 and 7 are applied. As already described in the above, in each of the quantization-threshold setting units using the regularity A or B, textures individually formed of dots aligned in the slant direction at different angles tend to occur. Therefore, in the block quantized according to the regularity A, when the orthogonal transformation processing is executed, a high power is generated in the class A shown in FIG. 11. Similarly, in the block quantized according to the regularity B, when the orthogonal transformation processing is executed, a high power is generated in the class B shown in FIG. 11. Therefore, through the comparison of the relationship between the power levels in the classes A and B, a determination can be made as to which one of the regularities A and B corresponds to the regularity of a block in the process of multiplexing. Since the regularity is connected to the code of the additional information (“bit” in Expression 3), the case where the regularity can be identified is equivalent to a case where the multiplexed code can be specified.
  • In the example shown in the flowchart shown in FIG. 4, “bit=0” is set to the regularity A, and “bit=1” is set to the regularity B. Therefore, when the power of the class A is relatively higher, a determination can be made to be “bit=0”. Also, when the power of the class B is relatively higher, a determination can be made to be “bit=1”.
  • As described above, in the quantization according to the error spreading method, the filter itself in the error spreading method has-characteristics of a high pass filter, which passes high frequency bands. Therefore, with a transformation coefficient in a state after ordinary quantization, powers in regularities A and B, which are in a low intermediate frequency band, are reduced. The power reduction allows the above-described determination to be made. If the power in the low intermediate frequency band is relatively higher, the high power can be assumed to have been generated because of control artificially performed for the quantization condition. Therefore, according to the control performed to change the regularity in the changing period of the quantization condition, a desired high power can be generated substantially without being visually identified. In the present embodiment, two types of regularity control are performed during multiplexing for the regularities A and B, and two types of the classification are performed during the separation for the classes A and B. These are examples where the additional information in the block is composed of a single bit. However, as a matter of course, through control for a larger number of regularities, a larger number of types of classification can be performed.
  • Different from the conventional example, the information need not be orthogonally transformed during the multiplexing so as to be embedded. Simply by changing the regularity in the quantization-condition selection, biases in the postquantization frequency are created. In addition, the frequency biases are mixed with high-frequency components generated in the error spreading method, they cannot be easily visually identified. Moreover, since the information is multiplexed during quantization immediately before the information is transferred to the printer, the printer precision is thereby increased.
  • In the present embodiment described above, however, since the block-partitioned image is skewed greater in proportion to the size of the geometrical deviation, the frequency is deviated from a desired frequency. For example, even in the case where the information is multiplexed so that a higher power is generated at F(4,8), when the image is skewed, as a matter of course, even the frequency is deviated from F(4,8). Therefore, a configuration can be considered in which the classification configuration is dynamically varied according to the amount of geometrical deviation. As a matter of course, if the amount of deviation is small, the classification may be such that one class is formed only of one component.
  • Although the means of orthogonally transformation has been described with reference to the DCT by way of example, the present embodiment is not limited thereby. As a matter of course, the present embodiment may use a different transformation method, such as an Adamarl transformation method, a Fourier transformation method, and a wavelet transformation method.
  • Since the regularities A and B in the selection step for the quantization-threshold setting means and the classes A and B are only examples, the present embodiment is not limited thereby. As a matter of course, other types of regularities may be used. For changing the quantization-threshold setting means, for example, a counter may be used to change the horizontal and vertical periods. Alternatively, tables in which regularities are preset may be prepared so as to be changed for use.
  • By way of example, the quantization has been described with reference to binary conversion. However, the present embodiment is not limited thereby.
  • The occurrence probability distribution of the quantization-threshold setting means has been described by exhibiting a simple method that changes the quantization value. However, as a matter of course, the distribution is not limited thereto. For example, FIGS. 12A, 12B, and 12C show example quantization-threshold setting means a′, b′, and c′, respectively, which correspond to the quantization-threshold setting means a, b, and c. Different from the examples shown in FIG. 8A to 8C, in each of the examples shown in FIGS. 12A to 12C, quantization thresholds can be continually set. In this case, a method can be considered in which the quantization-threshold setting means a′, b′, and c′ are preserved in a table to enable predetermined distributions to be achieved.
  • In addition, a method can easily be implemented such that a random number is not used only to change the quantization threshold, but operations such as addition, subtraction, multiplication, and exponentiation, are performed for a generated random number, and a quantization threshold can be calculated in a flexible manner according to the operation result.
  • In the present embodiment, as an indispensable condition, the probability distributions of the threshold generation for the quantization-threshold setting means are greatly different from one another. In at least one of the plural quantization-threshold setting means, the intermediate value of the probability distributions must be other than the intermediate value between the quantization representative values. Preferably, in the configuration in which three or more types of quantization-threshold setting means are used, at least one of the intermediate values of the probability distributions therefor is greater than an intermediate value between the quantization representative values. Concurrently, at least one of them is preferably less than the intermediate value between the quantization representative values.
  • The design of the probability distributions relates to the design of image quality of a printed object output after additional information is multiplexed. Therefore, preferably, the probability distributions are prepared based on experiments.
  • A still another example is conceivable. The example is arranged to be different from the above-described embodiment such that, according to the code for additional information, not only the regularity in the selection of the quantization-threshold setting means is changed, but the combination of the quantization-threshold setting means is also changed.
  • Hereinbelow, the above example arrangement is described with reference to FIGS. 13 and 14. Similarly to FIG. 6, FIG. 13 shows a regularity A in the selection of a quantization-threshold setting means. Also, FIG. 14 shows a quantization-threshold setting means c. Assumption is made such that, according to the code for the additional information, quantization-threshold setting means is selected in two ways by using the regularities A and C. In the above-described embodiment, only the regularities are different from one another. However, in this particular case, combinations of the quantization-threshold setting means are also different from one another. Specifically, while the combination in the regularity A is made among the quantization-threshold setting means a, b, and c, the combination in the regularity C is made among the quantization-threshold setting means c, d, and e.
  • FIG. 15A shows the quantization-threshold setting means d. FIG. 15B shows the quantization-threshold setting means e. Compared to the probability distributions of the quantization-threshold setting means a and b shown in FIGS. 8A and 8B, the biases in the probability distribution of TH1 and TH2 and of TH1 and TH3 are less.
  • Specifically, compared to the arrangement in the regularity C, in the regularity A, since the arrangement is vertical, noise tends to be recognized. In addition, when dots are vertically chained, they adversely affect the visual image quality.
  • In view of the above problem, in each of the quantization-threshold setting means d and e, the probability at which the quantization value is set to TH1 is increased to be greater than that in each of the quantization-threshold setting means a and b. Thereby, the probability at which dots are vertically chained is minimized. However, when vertical dot chains are completely eliminated, the power value of a frequency desired for separation is reduced. Therefore, as described above, the probability distributions need to be designed to be most suitable based on experiments.
  • In the present embodiment, depending on the code for additional information, the probability distribution can be flexibly designed. For example, the probability distribution can be designed such that the regularity thereof is either conspicuous or inconspicuous.
  • In addition, a method in which the arrangement having a specific regularity is changed according to random numbers can be considered.
  • In all the above-described examples, the quantization-threshold setting means is arranged according to the predetermined regularity. Also random numbers are used for occurrence probabilities of the quantization thresholds in the quantization-threshold setting means. However, when the threshold is set in terms of probability according to a random number, although the probability macroscopically approximates to a set probability, it does not assuredly reach a desired probability in many cases when viewed in block units. Consequently, for example, problematic cases can occur in which regular noise becomes conspicuous in a block, and the regularity is completely lost to thereby disable the separation of additional information. In view of these problematic cases, a method can be considered in which control is performed so that a desired probability can be obtained either in units of the block that multiplexes the additional information or in units of the small block that defines the regularity.
  • An example of the above method will be described below with reference to FIGS. 16 and 17.
  • FIG. 16 shows a regularity D in the quantization-threshold setting means formed of the small block configured of 8×8 pixels, i.e., 64 pixels. In the figure, the small block consists of 48 pixels that set quantization-threshold setting means f and 16 pixels that set quantization-threshold setting means g. FIGS. 18A and 18B show probability distributions in the quantization-threshold setting means f and g, respectively. As is apparent from the figure, TH4 is fixed (the probability distribution with TH4 is 100%) in the quantization-threshold setting means f, and TH5 is fixed (the probability distribution with TH5 is 100%) in the quantization-threshold setting means g. As described above, different from the organizational dither method, in the error spreading method, the absolute value of the quantization value does not significantly influence the overall density variation. Therefore, neither TH4 nor TH5 needs to be limited to the intermediate value between the quantization representative values. In addition, a mean value multiplied by the ratio in the small block in either TH4 or T5 does not need to be the intermediate value between the quantization representative values. In the present embodiment, the quantization-threshold setting means is changed to f at a predetermined probability in the quantization-threshold setting means f. For example, to change the quantization-threshold setting means at a probability of {fraction (2/16)}, a random number is used to extract two arbitrary pixels as target pixels from 16 pixels set in the quantization-threshold setting means g, and the quantization-threshold setting means-are forcedly changed to the quantization-threshold setting means f.
  • FIG. 17 shows a changed state of the regularity. In the figure, pixels shown by bold lines are changed pixels. While only the probability for performing the change in the small block, pixels to be changed are not yet determined. Therefore, according to the irregularity of the changed pixels, the preset regularity can be disordered.
  • FIGS. 16 and 17 show one example type of a regularity change. However, as a matter of course, two or more regularities are necessary.
  • Either FIG. 18A or 18B shows an example case where the occurrence probability is 100%. However, as a matter of course, the embodiment is not limited thereby.
  • As above, the method for disordering the regularity set as a quantization condition has been described with reference to examples using random numbers. However, the method for generating random numbers is not limited to the above. The method may be executed according to various types of regularities without using random numbers arrangement. In addition, irregularities may be preserved by using a table.
  • As above, the additional-information multiplexing unit and the additional-information separating unit have individually been described, the present embodiment is not limited by the combination thereof.
  • (Other Embodiments)
  • In the above-described embodiment, the block-partitioned of the image is performed when the information is separated from the image in order to allow much information to be added to the image.
  • Therefore, if an image includes additional information of one bit (for example, information indicative of “image output is permitted/not permitted”), the information can be added to the image without performing the block-partitioning of the image. Accordingly, depending on the case, block-partitioning of an image need not be performed to separate information from the image.
  • The present invention may of course be applied to a system configured of a plurality of apparatuses (for example, a host computer, an interface device, a reader, and a printer), but it may be applied to an independent single apparatus (for example, a photocopy reproduction machine and a facsimile machine).
  • As a matter of course, the object of the present invention can also be achieved through the execution of software program code stored in a computer readable storage medium. Specifically, software program code for implementing the functions of the above-described embodiment is recorded in a computer readable storage medium (or, a recording medium), and the storage medium is supplied to a system or an apparatus. A computer (or, a processor such as a CPU or an MPU) of the system or the apparatus device reads the program code and controls it to be executed. Thereby, the object of the present invention can be achieved. In this case, the program code read-out from the storage medium independently implements the functions of the above-described embodiment. Therefore, the storage medium containing the program code constitutes the present invention. Through the execution of the program code read out by the computer, the functions of the above-described embodiment are implemented. In addition, as a matter of course, the scope of the present invention encompasses a case where, according to instructions of the program code, a part or the entirety of practical processing by an operating system (OS) or the like running in the computer performs, thereby implementing the functions of above-described embodiment.
  • Furthermore, the scope of the present invention encompasses the following case. The software program code read out from the storage medium is written in a memory provided in a function enhancement unit connected to a function enhancement card inserted in the computer or the computer. Then, according to instructions of the program code, a part or the entirety of practical processing by a CPU or the like provided in the function enhancement card or the function enhancement unit, thereby implementing the functions of above-described embodiment.
  • As described above, the present invention has the plurality of quantization-threshold setting means, of which occurrence probability distributions are different from one another, for setting a quantization threshold in terms of probability when adding predetermined information to an image. Corresponding to the aforementioned predetermined information, the present invention controls a regularity in the selection of the aforementioned plurality of quantization-threshold setting means in units of a predetermined image region, uses quantization thresholds set by the aforementioned quantization-threshold setting means and thereby quantizes the aforementioned image according to an error spreading method. Thereby, the present invention minimizes image-quality degradation that can be caused according to the addition of the predetermined information. Concurrently, the present invention enables the predetermined information to be added to the image so that the embedded information can be accurately extracted.
  • While the present invention has been described with reference to what are presently considered to be the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. On the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims (2)

1. An image processor unit for adding predetermined information to an image, comprising:
input means for inputting the image;
a plurality of quantization-threshold setting means, of which occurrence probability distributions are different from one another, for setting quantization thresholds in terms of probability;
control means for controlling a regularity for selection of said plurality of quantization-threshold setting means in units of a predetermined image region according to the predetermined information; and
quantizing means that uses quantization thresholds set by said quantization-threshold setting means and thereby quantizes the image according to an error spreading method.
2.-16. (Canceled)
US10/981,669 2000-07-11 2004-11-05 Image processor unit, image processing method, and storage medium Abandoned US20050063018A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/981,669 US20050063018A1 (en) 2000-07-11 2004-11-05 Image processor unit, image processing method, and storage medium

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP209752/2000 2000-07-11
JP2000209752A JP4310031B2 (en) 2000-07-11 2000-07-11 Image processing apparatus, image processing method, and storage medium
US90003301A 2001-07-09 2001-07-09
US09/970,048 US6909524B2 (en) 2000-07-11 2001-10-02 Image processor which can add predetermined information to an image while minimizing image-quality degradation, and methods therefor
US10/981,669 US20050063018A1 (en) 2000-07-11 2004-11-05 Image processor unit, image processing method, and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/970,048 Division US6909524B2 (en) 2000-07-11 2001-10-02 Image processor which can add predetermined information to an image while minimizing image-quality degradation, and methods therefor

Publications (1)

Publication Number Publication Date
US20050063018A1 true US20050063018A1 (en) 2005-03-24

Family

ID=18706112

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/970,048 Expired - Fee Related US6909524B2 (en) 2000-07-11 2001-10-02 Image processor which can add predetermined information to an image while minimizing image-quality degradation, and methods therefor
US10/981,669 Abandoned US20050063018A1 (en) 2000-07-11 2004-11-05 Image processor unit, image processing method, and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/970,048 Expired - Fee Related US6909524B2 (en) 2000-07-11 2001-10-02 Image processor which can add predetermined information to an image while minimizing image-quality degradation, and methods therefor

Country Status (2)

Country Link
US (2) US6909524B2 (en)
JP (1) JP4310031B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008084457A2 (en) 2007-01-12 2008-07-17 Civolution Bv Video watermarking

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4310031B2 (en) * 2000-07-11 2009-08-05 キヤノン株式会社 Image processing apparatus, image processing method, and storage medium
US7006254B2 (en) * 2001-05-03 2006-02-28 International Business Machines Corporation Method and system for data hiding and authentication via halftoning and coordinate projection
JP2005252695A (en) * 2004-03-04 2005-09-15 Sony Corp Error diffusion processing method, image signal processing apparatus, printer, program, and data table structure
JP4532331B2 (en) 2004-12-08 2010-08-25 株式会社リコー Information embedding device, information extracting device, information embedding method, information extracting method, information embedding program, and information extracting program
JP4396757B2 (en) * 2007-10-22 2010-01-13 ソニー株式会社 Noise correction circuit, imaging apparatus, and noise correction method
US8661478B2 (en) 2009-11-30 2014-02-25 At&T Intellectual Property I, Lp Noise reduction apparatus with isolation transformers in an internet protocol television system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5818970A (en) * 1991-04-26 1998-10-06 Canon Kabushiki Kaisha Image encoding apparatus
US6088489A (en) * 1994-10-18 2000-07-11 Canon Kabushiki Kaisha Image data resolution conversion
US6233347B1 (en) * 1998-05-21 2001-05-15 Massachusetts Institute Of Technology System method, and product for information embedding using an ensemble of non-intersecting embedding generators
US6553143B2 (en) * 1992-06-30 2003-04-22 Canon Kabushiki Kaisha Image encoding method and apparatus
US6580809B2 (en) * 2001-03-22 2003-06-17 Digimarc Corporation Quantization-based data hiding employing calibration and locally adaptive quantization
US6590996B1 (en) * 2000-02-14 2003-07-08 Digimarc Corporation Color adaptive watermarking
US6750983B1 (en) * 1999-03-30 2004-06-15 Canon Kabushiki Kaisha Image processing apparatus and method, and storage medium
US6909524B2 (en) * 2000-07-11 2005-06-21 Canon Kabushiki Kaisha Image processor which can add predetermined information to an image while minimizing image-quality degradation, and methods therefor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5818970A (en) * 1991-04-26 1998-10-06 Canon Kabushiki Kaisha Image encoding apparatus
US6553143B2 (en) * 1992-06-30 2003-04-22 Canon Kabushiki Kaisha Image encoding method and apparatus
US6088489A (en) * 1994-10-18 2000-07-11 Canon Kabushiki Kaisha Image data resolution conversion
US6233347B1 (en) * 1998-05-21 2001-05-15 Massachusetts Institute Of Technology System method, and product for information embedding using an ensemble of non-intersecting embedding generators
US6750983B1 (en) * 1999-03-30 2004-06-15 Canon Kabushiki Kaisha Image processing apparatus and method, and storage medium
US6590996B1 (en) * 2000-02-14 2003-07-08 Digimarc Corporation Color adaptive watermarking
US6909524B2 (en) * 2000-07-11 2005-06-21 Canon Kabushiki Kaisha Image processor which can add predetermined information to an image while minimizing image-quality degradation, and methods therefor
US6580809B2 (en) * 2001-03-22 2003-06-17 Digimarc Corporation Quantization-based data hiding employing calibration and locally adaptive quantization

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008084457A2 (en) 2007-01-12 2008-07-17 Civolution Bv Video watermarking
WO2008084457A3 (en) * 2007-01-12 2008-08-28 Koninkl Philips Electronics Nv Video watermarking
US20100046606A1 (en) * 2007-01-12 2010-02-25 Civolution B.V. Video watermarking
CN101663690A (en) * 2007-01-12 2010-03-03 塞沃路森公司 video watermarking
US8467445B2 (en) 2007-01-12 2013-06-18 Civolution B.V. Video watermarking
US9253485B2 (en) 2007-01-12 2016-02-02 Civolution B.V. Video watermarking

Also Published As

Publication number Publication date
US6909524B2 (en) 2005-06-21
JP4310031B2 (en) 2009-08-05
US20020118392A1 (en) 2002-08-29
JP2002027245A (en) 2002-01-25

Similar Documents

Publication Publication Date Title
US7251060B2 (en) Image-processing device using quantization threshold values produced according to a dither threshold matrix and arranging dot-on pixels in a plural-pixel field according to the dither threshold matrix
JP3647405B2 (en) Image processing apparatus and image processing method
EP1102209B1 (en) Image processing
JP3599621B2 (en) Image processing apparatus, image processing method, and storage medium
US6954542B2 (en) Image processing apparatus and method
US7372594B1 (en) Image processing apparatus and method, and storage medium
US6750983B1 (en) Image processing apparatus and method, and storage medium
US7171019B2 (en) Image processing apparatus and image processing method
US7408680B2 (en) Image processing apparatus and method
US6853736B2 (en) Image processing apparatus, image processing method and storage medium
US6909524B2 (en) Image processor which can add predetermined information to an image while minimizing image-quality degradation, and methods therefor
US5689344A (en) Mitigation of tenting deletions in color xerographic printers
JP3684181B2 (en) Image processing apparatus and image processing method
JP3787511B2 (en) Image processing apparatus and image processing method
JP3684178B2 (en) Image processing apparatus and image processing method
JP2008283269A (en) Image processing device and image processing method
JP2001339598A (en) Image processing unit, image processing method, and storage medium
US5446561A (en) Method and apparatus for digital scale halftoning with variable screen structure for electrophotographic printing devices
JP4147074B2 (en) Image processing apparatus and image processing method
JP2001103281A (en) Image processing device and image processing method
JP3535791B2 (en) Image processing apparatus, image processing method, and storage medium
JP2003110839A (en) Device and method for processing image
JP2003110838A (en) Device and method for processing image
JP2001103289A (en) Image processing device and image processing method

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION