JP3586147B2 - Image processing apparatus, method, and storage medium for storing program for executing the processing - Google Patents

Image processing apparatus, method, and storage medium for storing program for executing the processing Download PDF

Info

Publication number
JP3586147B2
JP3586147B2 JP27895399A JP27895399A JP3586147B2 JP 3586147 B2 JP3586147 B2 JP 3586147B2 JP 27895399 A JP27895399 A JP 27895399A JP 27895399 A JP27895399 A JP 27895399A JP 3586147 B2 JP3586147 B2 JP 3586147B2
Authority
JP
Japan
Prior art keywords
image
information
complexity
calculating
calculated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27895399A
Other languages
Japanese (ja)
Other versions
JP2001103277A (en
Inventor
清 梅田
稔 日下部
信孝 三宅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP27895399A priority Critical patent/JP3586147B2/en
Priority to US09/671,623 priority patent/US7372594B1/en
Publication of JP2001103277A publication Critical patent/JP2001103277A/en
Application granted granted Critical
Publication of JP3586147B2 publication Critical patent/JP3586147B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えば、画像出力装置の機種名、機体番号等の所定の情報を画像情報に多重化する画像処理装置及び画像処理方法に関する。
【0002】
【従来の技術】
近年、プリンタや複写機などのカラーの画像記録装置は性能向上、普及の両面で大幅な進歩を遂げており、フルカラー画像記録装置も、銀塩方式、感熱方式、電子写真方式、静電記録方式、インクジェット方式などの多数の出力方式を用いたものが開発され、高画質な画像を得るとともに広く普及し始めている。
【0003】
しかし、これに伴い新たな問題が発生した。それは、フルカラー画像記録装置を用いて簡単に紙幣や有価証券を偽造できるという問題である。これに伴い記録装置に偽造を防止する機能を搭載する必要が出てきており、近年のフルカラー画像記録装置には様々な偽造防止機能が搭載されている。その中で最も一般的な方式は、記録の際に用紙に記録装置の機体番号を表す規則的なドットパターンを打ち込み、偽造された紙幣が発見されたときにその紙幣上に打たれたドットパターンから機体番号を割り出し、どの記録装置から出力されたものかを特定する、いわゆる追跡パターン方式である。なお、このドットパターンは出力される全ての画像に打ち込まれるため、最も視認性の低いイエローで打つのが一般的である。
【0004】
この付加情報重畳処理に関して、ここで概要を説明する。図1は、一般的な付加情報の埋め込み方法をブロック図で示したものである。同図ではまず、101からのRGB成分で表された入力画像信号が色変換部102において、C(シアン)、M(マゼンダ)、Y(イエロー)、K(ブラック)の4つの成分に変換され、それぞれの成分は各種補正処理部103において補正処理が施される。次に、疑似階調処理部104において、組織的ディザ法や誤差拡散法等の手法を用いて疑似階調処理が施される。
【0005】
以上の処理が施された画像信号に対して、付加情報生成部105において生成された付加情報をY成分上に重畳(加算)し、それぞれの成分をプリンタエンジン106に入力することにより、画像情報以外の何らかの情報が付加された画像の印刷を行うことができる。
【0006】
図2に、付加情報を重畳するために、ある特定のドットパターンを付加したイエロープレーンの例を示す。同図ハッチング領域で示された × [inch]領域は情報エリアと呼ばれ、同領域内に存在するドットパターンの配置により、付加情報を表現する。
【0007】
【発明が解決しようとしている課題】
しかし、以上のべた手法には以下のような問題点が存在する。
【0008】
すなわち、上述したようなドットパターン付加処理は、本来画像上には存在しなかった情報を付加するということから、当然の事ながら画質劣化を生じることになる。
【0009】
ところが、この画質劣化の程度は、画像のテクスチャに大きく依存する。すなわち、付加情報を重畳しようとしている画像が、高周波成分を多く含むような非常に複雑な画像であった場合、ドットパターンを付加したことによる画質劣化を、目視で確認することは容易でない。
【0010】
これに対し、画像が平坦部分を多く含むような比較的シンプルであった場合、不自然なイエロードットが、目視で容易に確認できてしまう場合も当然起こりうる。
【0011】
従って本来ならば、画像の複雑度を何らかの方法を用いて検出し、その結果複雑であると判断された場合には、従来通りドットパターンを付加するが、シンプルであると判断された場合には、ドットパターンを付加する量を、従来法よりも減少させてやることが望ましいが、これまではそういった方法が提案されていなかった。
【0012】
【課題を解決するための手段】
上述した課題を解決するため、本発明に係る画像処理装置は、画像を表す画像情報を入力する入力手段と、前記画像情報とは異なる所定の情報を発生する情報発生手段と、前記画像の複雑さを示す量を検出する複雑度検出手段と、前記画像の複雑さを示す量に応じて情報エリア間隔を算出する算出手段と、前記算出された情報エリア間隔に基づいて前記画像上の情報エリアに対して前記所定の情報を付加する情報付加手段とを有し、前記算出手段は、前記画像の複雑さを示す量が大きくなればなる程、前記情報エリア間隔を小さく算出し、前記画像の複雑さを示す量が小さくなればなる程、前記情報エリア間隔を大きく算出し、前記情報エリア間隔は、前記情報付加手段により付加される所定の情報の総量を視覚的に違和感が少なくなる程度に算出されることを特徴する。
【0013】
【発明の実施の形態】
(第1の実施例)
図5は、第1の実施例の処理の流れを示すブロック図である。以後、同図に沿って処理の流れを説明する。
【0014】
同図上端から入力された画像データは、色変換部502においてRGB24bit(各成分8bit)データからCMYK32bitデータに変換される。その後、各種補正処理部503において、ガンマ補正等の各種補正処理が行われ、次に疑似階調処理部504において2〜4値(1〜2bit)に量子化される。
【0015】
疑似階調処理が施された後の画像データは、ホストコンピュータからパラレルケーブル等のインターフェースを介してプリンタ本体に入力されるが、この際データ転送時間を削減するために、画像データの圧縮処理が行われる。
【0016】
一般的には、圧縮処理部505において、疑似階調処理後の画像データに対して、PackBitsと呼ばれる圧縮手法を用いて、圧縮処理が施される。このPackBitsは、Run−Length Codingに基づく符号化方式であって、符号化および復号化の処理が非常に簡便なことから、一般的なプリンタシステムにおいて使用されている。また、PackBitsによって圧縮処理が施された画像データの圧縮率は、平坦部分が多いようなシンプルな画像ほど高く、高周波成分を多く含むような複雑な画像ほど低いことが知られている。
【0017】
本実施例における、圧縮処理後の画像データのフォーマットの例を図6に示す。本実施例では、画像データに先んじて圧縮後の画像データの総量[Byte]と、画像の横サイズ[Pixel]および縦サイズ[Pixel]が、プリンタ本体に転送される。
【0018】
以上が、ホストコンピュータ上で動作するドライバ部における処理である。
【0019】
プリンタ本体内部では、圧縮後のデータを受け取ると、圧縮後の画像データの総量[Byte]と、画像の横サイズ[Pixel]および縦サイズ[Pixel]が、情報エリア間隔算出処理部506に入力される。また、それら以外の画像データ本体は伸長処理部507に入力され、PackBitsの処理手順に従って、復号化処理が行われる。情報エリア間隔算出処理部506では、入力された3つのパラメータを用いて、次式で表される1画素あたりのデータ量[bit/pixel]を算出する。
【0020】
【外1】

Figure 0003586147
【0021】
このは、すなわち画像データの圧縮率を示しており、このことから、を画像データの複雑さを表す評価量として用いることを考える。
【0022】
一般的に、画像データを、何らかの冗長性を除去することによって圧縮した場合、1画素あたりの平均情報量が小さい、すなわち圧縮率が高い画像では、平坦部分を多く含むようなシンプルな画像が多く、逆に平均情報量が大きい、すなわち圧縮率が小さい場合には、高周波成分を多く含むような複雑な画像が多い。
【0023】
以上のことから、情報エリア間隔算出処理部では、次式を用いて情報エリア間隔を算出する。
【0024】
【外2】
Figure 0003586147
【0025】
ここで、 は、各プリンタシステムにおいて定められる任意の定数である。式(1.2)は、平均情報量が小さい、すなわちシンプルな画像に対しては、は大きな値を取り、が大きい、すなわち複雑な画像に対しては、は小さな値を取ることを意味している。
【0026】
以上述べた方法により算出されたは、ドットパターン付加処理部に入力され、同部において、伸長処理部によって復号化された画像情報上にドットパターンが付加されることになる。ドットパターンの付加位置情報は、付加情報生成部508において生成される。同部では、付加されるべき情報(プリンタ本体の機種番号や、印刷日時、印刷状況等)を、何らかの規則に基づいて情報エリア内のドットパターンの配置に変換する。この配置に基づき、ドットパターン付加処理部では図3に示すようなドットパターンが付加されることになる。拡大すると図4のようになっている。図4において、黒点で示された画素が、インク、トナー等を用いて、紙等の記録媒体上に印字される画素(以後、オンドット)を示している。
【0027】
図7に、本実施例において説明した手法を用いた場合の、情報エリアの配置の例を示す。同図のように、本手法を用いることで、複雑な画像(同図(b))に比べ、シンプルな画像(同図(a))上では、情報エリア間隔が広く設定されるため、付加されるドットパターンの総量を押さえることが可能となり、視覚的に違和感の少ない付加情報の重畳が可能となる。
【0028】
(第2の実施例)
図8に第2の実施例における処理のブロック図を示す。以後、同図に沿って各部の説明を行う。
【0029】
同図上端から入力された画像データ(RGB24bit)は、複雑度検出部802に入力され、同部において入力画像の複雑度が測定される。
【0030】
本実施例では、画像の複雑度を示す評価量を、画像を周波数変換した結果得られた高周波成分の二乗和とする。画像を周波数変換するための方法として、フーリエ変換、ウェーブレット、サブバンド等、様々なものが考えられるが、そのどれを用いたとしても本発明の範疇であることは言うまでもない。本実施例では、その中でも最も一般的に普及している離散コサイン変換(Discrete Cosine Transform、以後DCT)を用いて、説明を行うこととする。
【0031】
図9は、複雑度検出部の処理の流れ図を示している。まずS901〜S903において、各種変数の初期設定を行う。は複雑度を示す評価量であり、iおよびjは後に説明するブロック番号を示す。
【0032】
本実施例では、入力された画像は各RGB成分毎に8×8画素の正方ブロックに分割され、S904において、本実施例の処理が実行されるコンピュータに組み込まれているメモリ上に、順次呼び出される。本実施例では、呼び出された(i,j)番目のブロックは、RGB各成分毎にB (i,j)(x,y)、B (i,j)(x,y)、B (i,j)(x,y)と表現する。ただし、07、07 を満たしている。図10に、ブロック分割された画像(RGB成分)の例を示す。
【0033】
切り出された各ブロックは、S905において、次式に代表されるような方法を用いて、輝度信号値B (i,j)(x,y)に変換される。
【0034】
(i,j)(x,y)=0.299・B (i,j)(x,y)+0.587・B (i,j)(x,y)+0.114・B (i,j)(x,y) (2.1)
【0035】
上式を施した結果得られた輝度値BY(i,j)(x,y)に対して、S906においてDCTを施す。DCTの処理方法に関しては広く知られているため、ここでは詳細説明を省略する。
【0036】
8×8画素の輝度値に対してDCTを施すと、その結果64個のDCT係数F(i,j)(x,y)が得られるが、それらの係数を周波数に応じて2次元に並べたものが、図11である。図11において、左上端には直流成分が存在し、その他は交流成分を示している。交流成分は、左から右へいくほど水平周波数が高くなり、上から下にいくほど垂直周波数が高くなる。
【0037】
本実施例では、図11中の網掛けされた16個の高周波成分に着目し、これらの二乗和を次式により算出してゆく。
【0038】
【外3】
Figure 0003586147
【0039】
式(2.2)に示した計算を、全てのブロックに対して行う(S908〜S911)。
【0040】
画像内の全ブロックに対して、以上のべた処理が終了すると、S912において、次式によりブロックあたりの平均評価量[R]を算出する。
【0041】
【外4】
Figure 0003586147
【0042】
以上で、複雑度検出部802の処理が終了する。
【0043】
算出した平均評価量[R]は、情報エリア間隔算出部に入力される。[R]が大きな値を持つということは、高周波成分を多く含むような複雑な画像であり、[R]が0に近い値を取るということは、低周波成分を多く含むシンプルな画像であることを示している。以上のことから、情報エリア間隔算出処理部では、第1の実施例で述べたように、次式を用いて情報エリア間隔を算出する。
【0044】
【外5】
Figure 0003586147
【0045】
ここで 、C、Cは、各プリンタシステムにおいて定められる任意の定数である。式(2.4)は、平均評価量[R]が小さい、すなわちシンプルな画像に対しては、Dは大きな値を取り、[R]が大きい、すなわち複雑な画像に対しては、Dは小さな値を取ることを意味している。
【0046】
以上述べた方法により算出されたDは、ドットパターン付加処理部807に入力され、同部において、色変換部804、各種補正処理部805、疑似階調処理部806で処理が施された画像情報上に、ドットパターンが付加されることになる。ドットパターンの付加位置情報は、付加情報生成部808において生成される。同部では、付加されるべき情報(プリンタ本体の機種番号や、印刷日時、印刷状況等)を、何らかの規則に基づいて情報エリア内のドットパターンの配置に変換する。この配置に基づき、ドットパターン付加処理部ではドットパターンが付加されることになる。
【0047】
本実施例で述べた処理を施すことにより、第1の実施例の結果と同様、図7に示すような情報エリアの配置を実現することができ、視覚的に違和感の少ない付加情報の重畳が可能となる。
【0048】
(第3の実施例)
第2の実施例では、画像の複雑度を示す評価量を、画像を周波数変換した結果得られる高周波成分の二乗和とした。
【0049】
本実施例では、第2の実施例と同様、図11中の網掛けされた16個の高周波成分に着目し、これらの絶対和を画像の複雑度を示す評価量とする。すなわち、高周波成分の絶対値和[R]は、以下の式のように表せる。
【0050】
【外6】
Figure 0003586147
【0051】
第2の実施例と同様に、画像内のすべてのブロックについて上式による処理が終了すると、ブロックあたりの平均値を式(2.3)によって求める。その他の処理は、第2の実施例と全く同様である。
【0052】
本実施例で述べた処理を行うことで、第2の実施例とほぼ同様の処理を、低演算量で行うことが可能となる。
【0053】
本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成できる。
【0054】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えばフロッピーディスク、ハードディスク、光ディスク、光磁気ディスク、CD―ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0055】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0056】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された拡張ボードや機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。
【0057】
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードを格納することになるが、簡単に説明すると、画像情報を入力する入力モジュールと、前記画像情報の複雑さを示す量を発生する発生モジュールと、前記複雑さを示す量に応じて、前記画像情報に、所定の情報を付加する情報付加モジュールとを記憶媒体に格納することになる。
【0058】
【発明の効果】
以上説明したように、本発明によれば、画像情報上に何らかの付加情報を多重化する処理において、対象画像の複雑度を検知し、その結果に応じて、情報エリアを制御することにより付加するドットパターンの総量を制御することができ、視覚的に違和感の少ない付加情報の多重化を行うことが可能となる。
【図面の簡単な説明】
【図1】従来の付加情報重畳処理を示す図
【図2】ドットパターンを付加したイエロープレーンの例を示す図
【図3】付加するドットパターンの例を示す図
【図4】ドットパターンを付加したイエロープレーンの拡大図
【図5】第1の実施例における処理のブロック図
【図6】第1の実施例における圧縮処理後のデータフォーマットの例を示す図
【図7】第1の実施例における情報エリアの配置
【図8】第2の実施例における処理のブロック図
【図9】第2の実施例における複雑度検出部の処理の流れ図
【図10】第2の実施例におけるブロック分割の例を示す図
【図11】第2の実施例において使用するDCT係数を示す図[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing apparatus and an image processing method for multiplexing predetermined information such as a model name and a machine number of an image output apparatus into image information.
[0002]
[Prior art]
In recent years, color image recording devices such as printers and copiers have made significant progress in both performance improvement and widespread use, and full-color image recording devices are also available in silver halide, thermal, electrophotographic, and electrostatic recording systems. Devices using a large number of output systems such as an ink jet system have been developed, and high-quality images have been obtained and have begun to spread widely.
[0003]
However, this has created new problems. The problem is that banknotes and securities can be easily forged using a full-color image recording apparatus. Along with this, it has become necessary to install a function for preventing forgery in a recording apparatus, and various full-color image recording apparatuses in recent years are equipped with various forgery prevention functions. The most common method is to print a regular dot pattern representing the machine number of the recording device on paper at the time of recording, and when a forged bill is discovered, the dot pattern struck on the bill This is a so-called tracking pattern method in which a machine number is determined from the data and a recording device from which the data is output is specified. In addition, since this dot pattern is printed on all output images, it is general that the dot pattern is printed with yellow having the lowest visibility.
[0004]
The outline of the additional information superimposing process will be described here. FIG. 1 is a block diagram showing a general additional information embedding method. In the figure, first, an input image signal represented by RGB components from 101 is converted into four components of C (cyan), M (magenta), Y (yellow), and K (black) in a color conversion unit 102. Each component is subjected to correction processing in various correction processing units 103. Next, in the pseudo gradation processing unit 104, pseudo gradation processing is performed using a method such as an organized dither method or an error diffusion method.
[0005]
The additional information generated by the additional information generation unit 105 is superimposed (added) on the Y component with respect to the image signal subjected to the above processing, and each component is input to the printer engine 106. It is possible to print an image to which some other information is added.
[0006]
FIG. 2 shows an example of a yellow plane to which a specific dot pattern is added in order to superimpose additional information. The x [inch] area shown by the hatched area in the figure is called an information area, and additional information is represented by the arrangement of dot patterns existing in the area.
[0007]
[Problems to be solved by the invention]
However, the above methods have the following problems.
[0008]
That is, the dot pattern addition processing as described above adds information that did not originally exist on the image, so that the image quality naturally deteriorates.
[0009]
However, the degree of the image quality degradation largely depends on the texture of the image. That is, when the image on which the additional information is to be superimposed is a very complicated image including many high-frequency components, it is not easy to visually confirm the image quality deterioration due to the addition of the dot pattern.
[0010]
On the other hand, when the image is relatively simple such that the image includes many flat portions, naturally an unnatural yellow dot may easily be visually confirmed.
[0011]
Therefore, originally, the complexity of the image is detected using some method, and if it is determined that the image is complicated, a dot pattern is added as before, but if it is determined that the image is simple, It is desirable to reduce the amount of dot patterns to be added as compared with the conventional method, but such a method has not been proposed so far.
[0012]
[Means for Solving the Problems]
In order to solve the above-described problem, an image processing apparatus according to the present invention includes an input unit for inputting image information representing an image, an information generating unit for generating predetermined information different from the image information, A complexity detecting means for detecting an amount indicating the information, a calculating means for calculating an information area interval according to the amount indicating the complexity of the image, and an information area on the image based on the calculated information area interval. And an information adding unit for adding the predetermined information to the image data. The calculating unit calculates the information area interval smaller as the amount indicating the complexity of the image increases, and calculates the information area interval. The smaller the amount indicating the complexity, the larger the information area interval is calculated, and the information area interval is determined so that the total amount of the predetermined information added by the information adding means is less visually unnatural. It features to be calculated.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
(First embodiment)
FIG. 5 is a block diagram illustrating the flow of the process according to the first embodiment. Hereinafter, the flow of processing will be described with reference to FIG.
[0014]
The image data input from the upper end of the figure is converted from RGB 24-bit (8-bit for each component) data to CMYK 32-bit data in the color conversion unit 502. After that, various correction processes such as gamma correction are performed in various correction processing units 503, and then, the pseudo gradation processing unit 504 quantizes the data into 2 to 4 values (1 to 2 bits).
[0015]
The image data after the pseudo tone processing is input from the host computer to the printer via an interface such as a parallel cable. At this time, in order to reduce the data transfer time, image data compression processing is performed. Done.
[0016]
Generally, in the compression processing unit 505, compression processing is performed on the image data after the pseudo gradation processing using a compression method called PackBits. The PackBits is an encoding method based on Run-Length Coding, and is used in a general printer system because encoding and decoding processes are very simple. It is also known that the compression ratio of image data subjected to compression processing by PackBits is higher for a simple image having many flat portions, and lower for a complex image including many high-frequency components.
[0017]
FIG. 6 shows an example of the format of image data after compression processing in the present embodiment. In this embodiment, the total amount R [Byte] of the compressed image data and the horizontal size X [Pixel] and the vertical size Y [Pixel] of the image are transferred to the printer body prior to the image data.
[0018]
The above is the processing in the driver section operating on the host computer.
[0019]
In the printer body, upon receiving the compressed data, the total amount R [Byte] of the compressed image data, the horizontal size X [Pixel] and the vertical size Y [Pixel] of the image are converted into an information area interval D calculation processing unit. 506 is input. The image data other than the above is input to the decompression processing unit 507, and the decoding processing is performed according to the processing procedure of PackBits. The information area interval D calculation processing unit 506 calculates a data amount R [bit / pixel] per pixel represented by the following equation using the three input parameters.
[0020]
[Outside 1]
Figure 0003586147
[0021]
This R indicates the compression rate of the image data. From this, it is considered that R is used as an evaluation amount indicating the complexity of the image data.
[0022]
In general, when image data is compressed by removing some redundancy, an image having a small average information amount R per pixel, that is, an image having a high compression ratio has a simple image including many flat portions. In contrast, when the average information amount R is large, that is, when the compression ratio is small, there are many complicated images containing many high-frequency components.
[0023]
From the above, the information area interval calculation processing unit calculates the information area interval D using the following equation.
[0024]
[Outside 2]
Figure 0003586147
[0025]
Here, C 0 and C 1 are arbitrary constants determined in each printer system. Equation (1.2) shows that D has a large value for a small average information amount R , that is, a simple image, and D has a small value for a large R , that is, a complex image. Means that.
[0026]
D calculated by the above-described method is input to the dot pattern addition processing unit, where the dot pattern is added to the image information decoded by the decompression processing unit. The additional position information of the dot pattern is generated by the additional information generation unit 508. In the same section, information to be added (model number of the printer main body, printing date and time, printing status, etc.) is converted into an arrangement of dot patterns in the information area based on some rules. Based on this arrangement, the dot pattern addition processing section adds a dot pattern as shown in FIG. FIG. 4 is an enlarged view. In FIG. 4, pixels indicated by black dots indicate pixels (hereinafter, on-dots) that are printed on a recording medium such as paper using ink, toner, or the like.
[0027]
FIG. 7 shows an example of the arrangement of information areas when the method described in the present embodiment is used. As shown in the figure, by using this method, the information area interval D is set wider on a simple image (FIG. 12A) than for a complicated image (FIG. 10B). It is possible to suppress the total amount of the dot pattern to be added, and it is possible to superimpose additional information with little visual discomfort.
[0028]
(Second embodiment)
FIG. 8 shows a block diagram of the processing in the second embodiment. Hereinafter, each part will be described with reference to FIG.
[0029]
Image data (24-bit RGB) input from the upper end of the figure is input to a complexity detection unit 802, which measures the complexity of the input image.
[0030]
In this embodiment, the evaluation amount indicating the complexity of the image is defined as the sum of squares of the high-frequency components obtained as a result of the frequency conversion of the image. Various methods such as Fourier transform, wavelet, and sub-band can be considered as a method for frequency-converting an image, and it is needless to say that any one of them is within the scope of the present invention. In the present embodiment, description will be made using the most commonly used discrete cosine transform (DCT).
[0031]
FIG. 9 shows a flowchart of the processing of the complexity detection unit. First, in S901 to S903, various variables are initialized. R is an evaluation amount indicating complexity, and i and j indicate block numbers described later.
[0032]
In this embodiment, the input image is divided into square blocks of 8 × 8 pixels for each of the RGB components, and in S904, the blocks are sequentially called out on a memory incorporated in a computer on which the processing of this embodiment is executed. It is. In this embodiment, the called (i, j) th block, B R in each of the RGB components (i, j) (x, y), B G (i, j) (x, y), B B (i, j) (x, y). However, it meets 0 <x <7,0 <y < 7. FIG. 10 shows an example of an image (RGB components) divided into blocks.
[0033]
In step S905, each of the extracted blocks is converted into a luminance signal value BY (i, j) (x, y) using a method represented by the following equation.
[0034]
B Y (i, j) ( x, y) = 0.299 · B R (i, j) (x, y) +0.587 · B G (i, j) (x, y) +0.114 · B B (i, j) (x, y) (2.1)
[0035]
In step S906 , DCT is performed on the luminance value BY (i, j) (x, y) obtained as a result of performing the above equation. Since a DCT processing method is widely known, a detailed description thereof is omitted here.
[0036]
When DCT is performed on the luminance value of 8 × 8 pixels, 64 DCT coefficients F (i, j) (x, y) are obtained as a result. These coefficients are arranged two-dimensionally according to the frequency. FIG. 11 shows the result. In FIG. 11, a DC component exists at the upper left end, and the other components indicate AC components. The horizontal frequency of the AC component increases from left to right, and the vertical frequency increases from top to bottom.
[0037]
In the present embodiment, attention is paid to the 16 shaded high-frequency components in FIG. 11, and the sum of the squares is calculated by the following equation.
[0038]
[Outside 3]
Figure 0003586147
[0039]
The calculation shown in Expression (2.2) is performed for all blocks (S908 to S911).
[0040]
When the above solid processing is completed for all blocks in the image, in S912, the average evaluation amount [R] per block is calculated by the following equation.
[0041]
[Outside 4]
Figure 0003586147
[0042]
Thus, the processing of the complexity detection unit 802 ends.
[0043]
The calculated average evaluation amount [R] is input to the information area interval D calculation unit. When [R] has a large value, it is a complicated image containing many high-frequency components, and when [R] takes a value close to 0, it is a simple image containing many low-frequency components. It is shown that. From the above, the information area interval D calculation processing unit calculates the information area interval D using the following equation, as described in the first embodiment.
[0044]
[Outside 5]
Figure 0003586147
[0045]
Here, C 0 and C 1 are arbitrary constants determined in each printer system. Equation (2.4) shows that D takes a large value for a small average evaluation value [R], that is, a simple image, and D for a large [R], that is, a complex image. It means taking a small value.
[0046]
The D calculated by the method described above is input to the dot pattern addition processing unit 807, where the image information processed by the color conversion unit 804, various correction processing units 805, and the pseudo gradation processing unit 806 is processed. A dot pattern will be added above. The additional position information of the dot pattern is generated by the additional information generation unit 808. In the same section, information to be added (model number of the printer main body, printing date and time, printing status, etc.) is converted into an arrangement of dot patterns in the information area based on some rules. Based on this arrangement, a dot pattern is added in the dot pattern addition processing section.
[0047]
By performing the processing described in the present embodiment, the arrangement of the information areas as shown in FIG. 7 can be realized similarly to the result of the first embodiment, and the superimposition of additional information with little visual discomfort can be achieved. It becomes possible.
[0048]
(Third embodiment)
In the second embodiment, the evaluation amount indicating the complexity of an image is a sum of squares of high-frequency components obtained as a result of frequency conversion of an image.
[0049]
In the present embodiment, as in the second embodiment, attention is paid to the 16 shaded high-frequency components in FIG. 11, and the sum of the absolute values is used as an evaluation amount indicating the complexity of the image. That is, the sum of absolute values [R] of the high-frequency components can be expressed as in the following equation.
[0050]
[Outside 6]
Figure 0003586147
[0051]
As in the second embodiment, when the processing by the above equation is completed for all blocks in the image, the average value per block is obtained by the equation (2.3). Other processes are exactly the same as those of the second embodiment.
[0052]
By performing the processing described in the present embodiment, it is possible to perform substantially the same processing as in the second embodiment with a small amount of calculation.
[0053]
According to the present invention, a storage medium storing program codes of software for realizing the functions of the above-described embodiments is supplied to a system or an apparatus, and a computer (or CPU or MPU) of the system or the apparatus is stored in the storage medium. This can also be achieved by reading and executing the program code.
[0054]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, and the like can be used.
[0055]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It also includes the case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0056]
Furthermore, after the program code read from the storage medium is written to the memory provided in the expansion board or the function expansion unit inserted into the computer, the program code is transferred to the function expansion board or the function expansion unit based on the instruction of the program code. A provided CPU or the like performs a part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0057]
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowcharts. A generating module for generating an amount indicating the complexity of the image information and an information adding module for adding predetermined information to the image information according to the amount indicating the complexity are stored in a storage medium.
[0058]
【The invention's effect】
As described above, according to the present invention, in the process of multiplexing some additional information on the image information, the complexity of the target image is detected, and the information area is added by controlling the information area according to the result. It is possible to control the total amount of dot patterns, and it is possible to multiplex additional information with little visual discomfort.
[Brief description of the drawings]
FIG. 1 is a diagram showing a conventional additional information superimposing process. FIG. 2 is a diagram showing an example of a yellow plane to which a dot pattern is added. FIG. 3 is a diagram showing an example of a dot pattern to be added. FIG. FIG. 5 is a block diagram of a process in the first embodiment. FIG. 6 is a diagram showing an example of a data format after compression processing in the first embodiment. FIG. 7 is a first embodiment. FIG. 8 is a block diagram of a process in the second embodiment. FIG. 9 is a flowchart of a process of a complexity detection unit in the second embodiment. FIG. 10 is a block diagram of a block division in the second embodiment. FIG. 11 is a diagram showing an example. FIG. 11 is a diagram showing DCT coefficients used in the second embodiment.

Claims (11)

画像を表す画像情報を入力する入力手段と、
前記画像情報とは異なる所定の情報を発生する情報発生手段と、
前記画像の複雑さを示す量を検出する複雑度検出手段と、
前記画像の複雑さを示す量に応じて情報エリア間隔を算出する算出手段と、
前記算出された情報エリア間隔に基づいて前記画像上の情報エリアに対して前記所定の情報を付加する情報付加手段とを有し、
前記算出手段は、前記画像の複雑さを示す量が大きくなればなる程、前記情報エリア間隔を小さく算出し、前記画像の複雑さを示す量が小さくなればなる程、前記情報エリア間隔を大きく算出し、
前記情報エリア間隔は、前記情報付加手段により付加される所定の情報の総量を視覚的に違和感が少なくなる程度に算出されることを特徴する画像処理装置。
Input means for inputting image information representing an image;
Information generating means for generating predetermined information different from the image information,
Complexity detection means for detecting an amount indicating the complexity of the image,
Calculating means for calculating the information area interval according to the amount indicating the complexity of the image,
Information adding means for adding the predetermined information to the information area on the image based on the calculated information area interval,
The calculating means calculates the information area interval smaller as the amount indicating the complexity of the image increases, and increases the information area interval as the amount indicating the complexity of the image decreases. Calculate,
The image processing apparatus according to claim 1, wherein the information area interval is calculated so that a total amount of the predetermined information added by the information adding unit is visually reduced.
前記複雑度検出手段は、
前記画像情報に疑似階調処理を施す疑似階調処理手段と、
前記疑似階調処理後の画像情報を圧縮する圧縮処理手段と、
前記圧縮処理後の画像情報の圧縮率を算出する圧縮率算出手段とを有し、
前記算出した圧縮率を前記複雑さを示す量とすることを特徴とする請求項に記載の画像処理装置。
The complexity detection means,
Pseudo gradation processing means for performing pseudo gradation processing on the image information;
Compression processing means for compressing the image information after the pseudo gradation processing;
Having a compression ratio calculating means for calculating a compression ratio of the image information after the compression process,
2. The image processing apparatus according to claim 1 , wherein the calculated compression ratio is an amount indicating the complexity.
前記複雑度検出手段は、
前記画像情報に対して周波数変換を施す周波数変換手段と、
前記周波数変換後の変換係数のうち、複数個の高周波成分の平均二乗和を算出する平均高周波電力算出手段とを有し、
前記算出した平均二乗和を前記複雑さを示す量とすることを特徴とする請求項に記載の画像処理装置。
The complexity detection means,
Frequency conversion means for performing frequency conversion on the image information,
Among the conversion coefficients after the frequency conversion, having an average high-frequency power calculation means for calculating the average square sum of a plurality of high-frequency components,
The image processing apparatus according to claim 1 , wherein the calculated mean square sum is a quantity indicating the complexity.
前記複雑度検出手段は、
前記画像情報に対して周波数変換を施す周波数変換手段と、
前記周波数変換後の変換係数のうち、複数個の高周波成分の平均絶対値和を算出する平均高周波絶対値和算出手段とを有し、
前記算出した高周波絶対値和を前記複雑さを示す量とすることを特徴とする請求項に記載の画像処理装置。
The complexity detection means,
Frequency conversion means for performing frequency conversion on the image information,
Among the conversion coefficients after the frequency conversion, having an average high-frequency absolute value sum calculating means for calculating the average absolute value sum of a plurality of high-frequency components,
2. The image processing apparatus according to claim 1 , wherein the calculated sum of high-frequency absolute values is a quantity indicating the complexity.
前記情報付加手段は、前記入力手段により入力された画像情報とは異なる所定の情報を、該画像情報にドットパターンを付加することにより付加することを特徴とする請求項1に記載の画像処理装置。2. The image processing apparatus according to claim 1, wherein the information adding unit adds predetermined information different from the image information input by the input unit by adding a dot pattern to the image information. . 画像を表す画像情報を入力する入力工程と、
前記画像情報とは異なる所定の情報を発生する情報発生工程と、
前記画像の複雑さを示す量を検出する複雑度検出工程と、
前記画像の複雑さを示す量に応じて情報エリア間隔を算出する算出工程と、
前記算出された情報エリア間隔に基づいて前記画像上の情報エリアに対して前記所定の情報を付加する情報付加工程とを有し、
前記算出工程は、前記画像の複雑さを示す量が大きくなればなる程、前記情報エリア間隔を小さく算出し、前記画像の複雑さを示す量が小さくなればなる程、前記情報エリア間隔を大きく算出し、
前記情報エリア間隔は、前記情報付加手段により付加される所定の情報の総量を視覚的に違和感が少なくなる程度に算出されることを特徴する画像処理方法。
An input step of inputting image information representing an image,
An information generating step of generating predetermined information different from the image information;
A complexity detection step of detecting an amount indicating the complexity of the image,
A calculating step of calculating the information area interval according to the amount indicating the complexity of the image,
An information adding step of adding the predetermined information to the information area on the image based on the calculated information area interval,
In the calculating step, the larger the amount indicating the complexity of the image, the smaller the information area interval is calculated.The smaller the amount indicating the complexity of the image, the larger the information area interval. Calculate,
The image processing method according to claim 1, wherein the information area interval is calculated so that a total amount of the predetermined information added by the information adding unit is visually reduced.
前記複雑度検出工程は、
前記画像情報に疑似階調処理を施す疑似階調処理工程と、
前記疑似階調処理後の画像情報を圧縮する圧縮処理工程と、
前記圧縮処理後の画像情報の圧縮率を算出する圧縮率算出工程とを有し、
前記算出した圧縮率を前記複雑さを示す量とすることを特徴とする請求項に記載の画像処理方法。
The complexity detection step includes:
A pseudo gradation processing step of performing pseudo gradation processing on the image information;
A compression processing step of compressing the image information after the pseudo gradation processing;
A compression ratio calculating step of calculating a compression ratio of the image information after the compression process,
7. The image processing method according to claim 6 , wherein the calculated compression ratio is an amount indicating the complexity.
前記複雑度検出工程は、
前記画像情報に対して周波数変換を施す周波数変換工程と、
前記周波数変換後の変換係数のうち、複数個の高周波成分の平均二乗和を算出する平均高周波電力算出工程とを有し、
前記算出した平均二乗和を前記複雑さを示す量とすることを特徴とする請求項に記載の画像処理方法。
The complexity detection step includes:
A frequency conversion step of performing frequency conversion on the image information,
An average high-frequency power calculation step of calculating an average square sum of a plurality of high-frequency components among the conversion coefficients after the frequency conversion,
7. The image processing method according to claim 6 , wherein the calculated sum of the mean squares is a quantity indicating the complexity.
前記複雑度検出工程は、
前記画像情報に対して周波数変換を施す周波数変換工程と、
前記周波数変換後の変換係数のうち、複数個の高周波成分の平均絶対和を算出する平均高周波絶対値和算出工程とを有し、
前記算出した高周波絶対値和を前記複雑さを示す量とすることを特徴とする請求項に記載の画像処理方法。
The complexity detection step includes:
A frequency conversion step of performing frequency conversion on the image information,
Among the conversion coefficients after the frequency conversion, an average high-frequency absolute value sum calculating step of calculating an average absolute sum of a plurality of high-frequency components,
7. The image processing method according to claim 6 , wherein the calculated sum of high frequency absolute values is a quantity indicating the complexity.
前記情報付加工程は、前記入力手段により入力された画像情報とは異なる所定の情報を、該画像情報にドットパターンを付加することにより付加することを特徴とする請求項に記載の画像処理方法。7. The image processing method according to claim 6 , wherein in the information adding step, predetermined information different from the image information input by the input unit is added by adding a dot pattern to the image information. . 請求項に記載された画像処理方法を実行するためのコンピュータ読取可能なプログラムが記録されたことを特徴とする記録媒体。A recording medium on which a computer readable program for executing the image processing method according to claim 6 is recorded.
JP27895399A 1999-09-30 1999-09-30 Image processing apparatus, method, and storage medium for storing program for executing the processing Expired - Fee Related JP3586147B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP27895399A JP3586147B2 (en) 1999-09-30 1999-09-30 Image processing apparatus, method, and storage medium for storing program for executing the processing
US09/671,623 US7372594B1 (en) 1999-09-30 2000-09-28 Image processing apparatus and method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27895399A JP3586147B2 (en) 1999-09-30 1999-09-30 Image processing apparatus, method, and storage medium for storing program for executing the processing

Publications (2)

Publication Number Publication Date
JP2001103277A JP2001103277A (en) 2001-04-13
JP3586147B2 true JP3586147B2 (en) 2004-11-10

Family

ID=17604372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27895399A Expired - Fee Related JP3586147B2 (en) 1999-09-30 1999-09-30 Image processing apparatus, method, and storage medium for storing program for executing the processing

Country Status (1)

Country Link
JP (1) JP3586147B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4611649B2 (en) * 2004-02-27 2011-01-12 大日本印刷株式会社 WEB analysis type music device
US9122921B2 (en) * 2013-06-12 2015-09-01 Kodak Alaris Inc. Method for detecting a document boundary

Also Published As

Publication number Publication date
JP2001103277A (en) 2001-04-13

Similar Documents

Publication Publication Date Title
US8098882B2 (en) Perceptability model applied to watermark signals
US9401001B2 (en) Full-color visibility model using CSF which varies spatially with local luminance
US6763122B1 (en) Watermarking an image in color plane separations and detecting such watermarks
EP0642060B1 (en) Apparatus for steganographic embedding of information into colour images
US7995790B2 (en) Digital watermark detection using predetermined color projections
EP0491556B1 (en) Image processing method and apparatus
US7599099B2 (en) Image processing apparatus and image processing method
US7692813B2 (en) Image processing apparatus and method, and storage medium
CN1756296B (en) Image processing apparatus and image processing method
US7372594B1 (en) Image processing apparatus and method, and storage medium
JP3647405B2 (en) Image processing apparatus and image processing method
JP3647372B2 (en) Image processing apparatus and method
JP4194614B2 (en) Image processing apparatus, image processing method, and information processing apparatus
US8254710B2 (en) Compression method, extension method and image processing apparatus
US8081793B2 (en) Electronic watermarking method and apparatus for color image data
US7058232B1 (en) Image processing apparatus, method and memory medium therefor
US20110181895A1 (en) Image processing apparatus and image processing method
US8611681B2 (en) Image processing apparatus and image processing method for encoding density pattern information in attribute data
JP3586147B2 (en) Image processing apparatus, method, and storage medium for storing program for executing the processing
JP4829715B2 (en) Image processing apparatus, image processing method, image processing program, and storage medium
JP2010074242A (en) Image generating apparatus, image generating method, computer executable program, and computer readable recording medium
JP4659789B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP3684181B2 (en) Image processing apparatus and image processing method
JP2001038970A (en) System and apparatus for processing image and its control method and memory medium
JP2001103282A (en) Image processing method and device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030902

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040805

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070813

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080813

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080813

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090813

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090813

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110813

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120813

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120813

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees