JP6750357B2 - Image processing apparatus, image processing method and program - Google Patents
Image processing apparatus, image processing method and program Download PDFInfo
- Publication number
- JP6750357B2 JP6750357B2 JP2016136976A JP2016136976A JP6750357B2 JP 6750357 B2 JP6750357 B2 JP 6750357B2 JP 2016136976 A JP2016136976 A JP 2016136976A JP 2016136976 A JP2016136976 A JP 2016136976A JP 6750357 B2 JP6750357 B2 JP 6750357B2
- Authority
- JP
- Japan
- Prior art keywords
- input image
- fluctuation
- geometric correction
- unit
- correction
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims description 108
- 238000003672 processing method Methods 0.000 title claims description 3
- 238000012937 correction Methods 0.000 claims description 252
- 238000004364 calculation method Methods 0.000 claims description 52
- 238000006073 displacement reaction Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 29
- 238000010586 diagram Methods 0.000 description 27
- 238000000034 method Methods 0.000 description 27
- 230000008569 process Effects 0.000 description 22
- 230000000694 effects Effects 0.000 description 14
- 238000009877 rendering Methods 0.000 description 10
- 238000000605 extraction Methods 0.000 description 6
- 230000014509 gene expression Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000013139 quantization Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 241000238633 Odonata Species 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 208000028780 ocular motility disease Diseases 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000009966 trimming Methods 0.000 description 1
Images
Description
本発明は、画像処理装置、画像処理方法およびプログラムに関する。 The present invention relates to an image processing device, an image processing method and a program.
電子写真方式の画像形成装置では、レジストずれやスキューずれ、表裏に印刷可能な画像形成装置では表裏ずれが発生する。そこで、ずれ量を測定して、ずれを相殺するように、予め画像の位置補正や変形補正を行う補正技術が知られている。 In an electrophotographic image forming apparatus, registration deviation or skew deviation occurs, and in an image forming apparatus capable of printing on the front and back sides, front and back deviation occurs. Therefore, there is known a correction technique that measures the amount of deviation and performs image position correction and deformation correction in advance so as to cancel the deviation.
例えば、特許文献1には、画像情報を第1の方向に分割する画像分割手段と、乱数を生成して記憶する、または予め生成された乱数を記憶する乱数記憶手段と、第1の方向に分割された画像情報の各領域に対して画素の挿入または画素の間引きを行う補正処理の対象となる画素を決定する際の基準となる基準位置を、第1の方向と直交する第2の方向において異なる位置に決定する基準位置決定手段と、乱数記憶手段に記憶された乱数と基準位置決定手段によって決定された基準位置とに応じて、第1の方向に分割された画像情報の各領域において補正処理の対象となる画素を決定する画素決定手段と、画素決定手段によって決定された画素に対して補正処理を行って、画像情報の第1の方向の画像幅を変更する画像幅変更手段と、を具備する画像処理装置が開示されている。
For example, in
この画像処理装置では、入力画像に対して擬似階調処理を行い、擬似階調処理後の2値画像に対して、基準位置の変動を伴う画像幅変更処理を行っていた。 In this image processing device, the pseudo gradation process is performed on the input image, and the binary image after the pseudo gradation process is subjected to the image width changing process accompanied by the fluctuation of the reference position.
しかしながら、このような従来の画像処理装置によると、入力画像が網掛け等の二値パターンを含むときには、二値パターンの周期と擬似階調処理のスクリーン周期との両方に対して、ともに干渉しないように、基準位置の変動周期を決めるのが困難であり、結果として、補正した画像にモアレ(干渉縞)を発生させてしまうおそれがあった。 However, according to such a conventional image processing apparatus, when the input image includes a binary pattern such as a halftone dot, neither the cycle of the binary pattern nor the screen cycle of the pseudo gradation process interferes with each other. As described above, it is difficult to determine the variation cycle of the reference position, and as a result, moire (interference fringes) may occur in the corrected image.
本発明は、上記に鑑みてなされたものであって、入力画像が網掛け等の二値パターンを含む場合であっても、補正した画像にモアレを発生させないことを目的とするものである。 The present invention has been made in view of the above, and an object thereof is to prevent moire from occurring in a corrected image even when the input image includes a binary pattern such as halftone dot meshing.
上述した課題を解決し、目的を達成するために、本発明は、プリンタ出力時に発生する入力画像のずれ量を取得するずれ量取得手段と、前記入力画像に対して、当該入力画像の座標点あるいは前記入力画像に対して揺らぎを付加した後で、前記ずれ量に応じた幾何補正を行って、幾何補正後の座標点の画素値を補間演算によって算出する幾何補正手段と、前記幾何補正された前記入力画像に対して、前記入力画像の濃度階調を擬似階調で表す擬似階調処理を行う擬似階調処理手段と、を備える、ことを特徴とする。 In order to solve the above-mentioned problems and achieve the object, the present invention provides a deviation amount acquisition unit for acquiring a deviation amount of an input image generated at the time of printer output , and coordinate points of the input image with respect to the input image. or after adding a fluctuation with respect to the input image, a geometric correction I line in accordance with the shift amount, and geometric correction means for calculating a pixel value of the coordinate point after the geometric correction by interpolation, said geometric correction relative to said input image, and a pseudo gradation processing means for performing a pseudo gradation processing which represents the density gradation of the input image in the pseudo gradation, Bei El a, and wherein the.
本発明によれば、入力画像が網掛け等の二値パターンを含む場合であっても、モアレの発生を防止することができる。 According to the present invention, it is possible to prevent the occurrence of moire even when the input image includes a binary pattern such as a mesh.
(第1の実施の形態の説明)
以下、この発明を実施するための第1の実施の形態を図面に基づいて説明する。まず、本発明の画像処理装置を備えた画像形成装置の一実施の形態のハードウェア構成について、図1のハードウェアブロック図を用いて説明する。
(Description of First Embodiment)
Hereinafter, a first embodiment for carrying out the present invention will be described with reference to the drawings. First, a hardware configuration of an embodiment of an image forming apparatus including an image processing apparatus of the present invention will be described with reference to the hardware block diagram of FIG.
図1に示す画像形成装置100aは、コントローラ101と、エンジン制御部110と、画像読取部111と、電子写真方式のプロッタ部112と、画像処理部113と、操作部108と、を備えている。画像形成装置100aは、例えば複写機、プリンタ、ファクシミリ装置、デジタル複合機(MFP:MultiFunction Peripheral)等として構成される。
The
コントローラ101は、CPU102、RAM103、ROM104、HDD(Hard Disk Drive)105、通信I/F(インタフェース)106および操作I/F107を備え、操作I/F107は操作部108と接続している。これらの構成要素は、システムバス109によって互いに接続されている。コントローラ101は、一般的なマイクロコンピュータの構成を有している。
The
CPU102は、RAM103をワークエリアとして、ROM104またはHDD105に記憶されたプログラムを実行することにより、画像形成装置100a全体を制御する。なお、プログラムは、ROM104またはHDD105に予め組み込まれて提供される。また、プログラムは、インストール可能な形式、または実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disc)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。さらに、プログラムをインターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。
The
ROM104およびHDD105は、不揮発性記憶媒体(記憶手段)であり、CPU102が実行する各種プログラムや各種の固定データを格納している。
The
通信I/F106は、画像形成装置100aを、図1に非図示のLAN等のネットワークと接続するためのインタフェースである。
The communication I/
操作I/F107は、操作部108をシステムバス109に接続して、CPU102から制御可能とするためのインタフェースである。
The operation I/
操作部108は、ユーザからの操作を受け付けるためのキー、ボタン、タッチセンサ等の操作手段と、ユーザに対して情報を提示するためのディスプレイ等の表示手段とを備えるユーザインタフェースである。
The
画像読取部111は、原稿の画像を読み取ってその画像データを取得する機能を備える画像読取手段である。
The
プロッタ部112は、画像読取部111が読み取った画像データ、あるいは通信I/F106を介して外部から入力された画像データに基づいて、出力紙(用紙)に画像を形成してプリンタ出力する機能を備えた電子写真方式の画像形成手段である。
The
画像処理部113は、画像読取部111が読み取った画像データや外部から入力された画像データに対して、後述する種々の画像処理を行う画像処理手段である。画像処理部113と、CPU102と、RAM103と、ROM104と、HDD105と、エンジン制御部110と、プロッタ部112と、は本発明における画像処理装置115aを構成する。
The
エンジン制御部110は、画像読取部111、プロッタ部112および画像処理部113を、システムバス109を介してCPU102から受信したコマンドに従って制御する制御手段である。
The
(画像処理装置の機能構成の説明)
次に、本発明の第1の実施の形態の画像処理装置115aの機能構成を、図2を用いて説明する。図2は、第1の実施の形態の画像処理装置115aの機能構成を示す機能ブロック図である。
(Description of functional configuration of image processing apparatus)
Next, the functional configuration of the
画像処理装置115aは、描画指示取得部1、レンダリング部2、ずれ量取得部3、幾何補正パラメータ設定部4、幾何補正部5a、擬似階調処理部6およびプリンタ出力部7aを備える。
The
画像処理装置115aのうち、プリンタ出力部7aは、図1に示したプロッタ部112に相当する。また、画像処理装置115aのうち、プリンタ出力部7aを除く各部は、図1に示したコントローラ101と、エンジン制御部110と、画像処理部113と、によって実現される。
The printer output unit 7a of the
描画指示取得部1は、ページ記述言語で記述された入力画像I1(図3参照)を取得する。また、片面印刷か両面印刷かの指示や、断裁用のトンボを出力紙の隅に描画するか否かの指示等、ユーザが各種選択した結果を反映した指示も合わせて取得する。「トンボ」とは見当標とも呼ばれて、印刷物を作成する際に、印刷物を仕上がりサイズに裁断するため、または多色刷りの見当合わせのために、版下の天地の左右四隅などに印刷する目印である。
The drawing
レンダリング部2は、描画指示取得部1が取得したページ記述言語を解釈して、入力画像I1を、例えば各色8bitの階調値を持つビットマップ画像に変換する。そのとき、入力画像I1に含まれている文字、ライン、グラフィック、イメージ等のオブジェクト情報も解釈して、ビットマップ画像の画素毎に付与する。
The
ずれ量取得部3は、四隅の座標点が、後述する幾何補正処理を行わずにプリンタ出力するとどう変化するか(どれくらいずれるか)を計測して取得するずれ量取得手段である。そのため、出力紙の表面と裏面の四隅にずれ量計測用のトンボを印字し、それぞれの座標点を計測する。その計測には、装置内蔵型のセンサで自動計測する方法や、記録媒体に印字したものを定規で手動計測して、その結果を入力してもらう方法がある。
The deviation
幾何補正パラメータ設定部4は、ずれ量取得部3で取得された座標データから、幾何補正パラメータを算出する幾何補正パラメータ設定手段である。幾何補正パラメータは、幾何補正部5aが入力画像I1に対してずれ量に応じた幾何補正を行うためのパラメータである。ずれ量は、出力紙の表面および裏面の各4点の座標点のずれ量である。
The geometric correction
幾何補正部5aは、レンダリング部2が出力した画像(例えばビットマップ画像)に対して、画像処理によりずれ量に応じた幾何補正を行なう幾何補正手段である。すなわち、幾何補正部5aは、幾何補正パラメータ設定部4が算出した幾何補正パラメータを適用して、出力時に発生する位置ずれや歪みを見越した射影変換による幾何補正を行う。詳しくは後述する。また、幾何補正部5aは、後述する揺らぎ付加を行う。
The
擬似階調処理部6は、幾何補正したビットマップ画像に対してスクリーン処理を行い、白画素と黒画素とに二値化を行う。擬似階調処理部6は、オブジェクト情報に応じて適用するスクリーンを切り替える。すなわち、オブジェクトが文字やラインの場合は、例えば300線程度のスクリーンを適用する。また、オブジェクトがグラフィックやイメージの場合は、例えば200線程度のスクリーンを適用する。
The pseudo
(画像歪みに対する幾何補正の説明)
次に、本実施の形態における、画像歪みに対する幾何補正について、図3を用いて説明する。図3(a)は、入力画像I1の一例を破線で示し、入力画像I1を幾何補正無しでプリンタ出力した場合に発生する画像の歪の一例として、幾何補正無し時の出力画像I2の一例を実線で示している。すなわち、本実施の形態によると、入力画像I1を幾何補正せずにプリント出力すると、入力画像I1は下方ほど幅広に変形して、上方ほど幅狭に変形する。
(Explanation of geometric correction for image distortion)
Next, geometric correction for image distortion in this embodiment will be described with reference to FIG. FIG. 3A shows an example of the input image I1 by a broken line. As an example of image distortion that occurs when the input image I1 is output to a printer without geometric correction, an example of the output image I2 without geometric correction is shown. It is shown by a solid line. That is, according to the present embodiment, when the input image I1 is printed out without geometric correction, the input image I1 is deformed wider toward the lower side and narrower toward the upper side.
また、図3(b)は、画像の歪みの発生を見越して、予め逆補正した幾何補正後画像I3を実線で示し、幾何補正後画像I3に対して幾何補正を行った場合の出力画像I4を破線で示している。すなわち、幾何補正後画像I3は、出力画像I4を入力画像I1と同じ形状にするために、予め歪を加えた画像である。 Further, in FIG. 3B, in anticipation of image distortion, the geometrically corrected image I3 inversely corrected in advance is shown by a solid line, and the output image I4 when the geometrically corrected image I3 is geometrically corrected is shown. Is indicated by a broken line. That is, the geometrically corrected image I3 is an image to which distortion has been added in advance so that the output image I4 has the same shape as the input image I1.
例えば、表裏ずれの場合は、入力画像I1が表面、幾何補正無し時の出力画像I2が幾何補正しない場合の裏面出力画像、予め逆補正した幾何補正後画像I3が裏面に対する幾何補正後画像、出力画像I4が逆補正した幾何補正後画像I3をプリンタ出力した画像となる。なお、ここでは、表面にはプリンタ出力しても歪が発生しないものとする。 For example, in the case of front and back misalignment, the input image I1 is the front side, the output image I2 without geometric correction is the back side output image when no geometric correction is performed, and the inversely corrected geometrically corrected image I3 is the geometrically corrected image for the back side and the output. The image I4 becomes an image obtained by outputting the inversely corrected geometrically corrected image I3 to a printer. Note that, here, it is assumed that no distortion occurs on the front surface even when output to a printer.
ずれ量取得部3は、入力画像I1の四隅の座標データと幾何補正無し時の出力画像I2の四隅の座標データをそれぞれ取得する。そして、幾何補正パラメータ設定部4は、プリンタ出力時に発生する画像の歪を見越して逆補正を行って、幾何補正後画像I3を生成するための幾何補正パラメータを算出して設定する。
The shift
(幾何補正部の詳細構成の説明)
次に、幾何補正部5aの詳細構成について説明する。図4は、画像処理装置115aが備える幾何補正部5aの詳細構成を示す機能ブロック図である。
(Detailed configuration of the geometric correction unit)
Next, the detailed configuration of the
図4に示すように、幾何補正部5aは、対応座標点算出部51と、4点抽出部52aと、補間演算部53と、揺らぎ付加部54aと、を備える。
As shown in FIG. 4, the
対応座標点算出部51は、対応座標点算出手段の一例である。対応座標点算出部51は、幾何補正後画像I3上の座標点(x,y)に対応する入力画像I1上の座標点(X,Y)を、後述する幾何補正パラメータh1,h2,…,h8を用いて算出する。座標点(X,Y)は、小数点以下の値を持つ実数値で算出する。
The corresponding coordinate
4点抽出部52aは、座標点(X,Y)を取り囲む近傍4点をXおよびYの整数部の値に基づいて抽出する。 The four-point extraction unit 52a extracts four neighboring points surrounding the coordinate point (X, Y) based on the values of the integer parts of X and Y.
補間演算部53は、補間演算手段の一例である。補間演算部53は、座標点(X,Y)を取り囲む近傍4点の画素値に対して補間演算を行い、補間演算の結果を座標点(x,y)の画素値として算出する。
The
揺らぎ付加部54aは、補間演算を行う前に、幾何補正部5aに入力する、例えば8ビットの画像に対して、揺らぎを付加する処理を行う。
The
(対応座標点算出処理の説明)
次に、図5を用いて、対応座標点算出部51が行う対応座標点算出処理について説明する。対応座標点算出部51は、式1、式2に示す二次元射影変換式を用いて、幾何補正後画像I3上の座標点(x,y)に対応する入力画像I1上の座標点(X,Y)を算出する。
Next, the corresponding coordinate point calculation process performed by the corresponding coordinate
式1、式2において、係数として記載したh1,h2,…,h8が、それぞれ幾何補正パラメータを表す。これらの幾何補正パラメータh1,h2,…,h8の値は、幾何補正前の画像と幾何補正後の画像との間で、対応する点のペアを最低4組抽出して決定する。具体的には、抽出された最低4組の対応する点のペア(入力画像I1上の座標点(X,Y)と幾何補正後画像I3上の座標点(x,y))について、それぞれ(式1)および(式2)を生成する。そして、幾何補正パラメータh1,h2,…,h8に関する連立方程式を解くことによって、幾何補正パラメータh1,h2,…,h8の値を決定する。
In
その後、入力画像I1における座標点(X,Y)の画素値およびオブジェクト情報を補間演算によって求めて、幾何補正後画像I3の座標点(x,y)の画素値およびオブジェクト情報とすることによって、入力画像I1の幾何補正が行われる。 After that, the pixel value of the coordinate point (X, Y) and the object information in the input image I1 are obtained by interpolation calculation, and the pixel value and the object information of the coordinate point (x, y) of the post-geometric correction image I3 are obtained. The geometric correction of the input image I1 is performed.
(補間演算部の動作の説明)
次に、図6を用いて、補間演算部53の動作について説明する。まず、4点抽出部52a(図4)にて、座標点(X,Y)の整数部に該当する座標点(X0,Y0)と、座標点(X0,Y0)に隣接する座標点(X0+1,Y0)、(X0,Y0+1)、(X0+1、Y0+1)の計4つの座標点をそれぞれ算出する。
(Explanation of the operation of the interpolation calculation unit)
Next, the operation of the
補間演算部53は、重み係数wx(0≦wx≦1)、wy(0≦wy≦1)を、前述した4つの座標点の画素値に適用して、式3で表される線形補間によって座標点(x,y)の画素値を算出する。なお、座標点(α,β)の画素値をI(α,β)で表すものとする。
I(x,y)
=I(X,Y)
=I(X0,Y0)*(1−wx)*(1−wy)+
I(X0+1,Y0)*wx*(1−wy)+
I(X0,Y0+1)*(1−wx)*wy+
I(X0+1,Y0+1)*wx*wy (式3)
The
I(x,y)
=I(X,Y)
=I(X0,Y0)*(1-wx)*(1-wy)+
I(X0+1,Y0)*wx*(1-wy)+
I(X0,Y0+1)*(1-wx)*wy+
I(X0+1,Y0+1)*wx*wy (Formula 3)
(揺らぎ付加の説明)
次に、揺らぎ付加部54aの作用について説明する。揺らぎ付加部54aは、以下に示す式4,式5によって、座標点(X,Y)に対して揺らぎが付加された座標点(X’,Y’)を算出する。
X’=X+F(Y%P) (式4)
Y’=Y+F(X%P) (式5)
ここで、F()は、周期P画素、振幅Q画素の揺らぎ関数を表す。また、Y%Pは、YをPで割った余りを表し、X%Pは、XをPで割った余りを表す。なお、揺らぎ関数F()について、詳しくは後述する。
(Explanation of adding fluctuation)
Next, the operation of the
X'=X+F(Y%P) (Formula 4)
Y'=Y+F(X%P) (Formula 5)
Here, F() represents the fluctuation function of the period P pixel and the amplitude Q pixel. Further, Y% P represents the remainder when Y is divided by P, and X% P represents the remainder when X is divided by P. The fluctuation function F() will be described in detail later.
図7は、揺らぎ付加部54aの機能について説明する図である。図7に示すように、プロッタ部112(図1)が印字を行う方向、すなわち主走査方向に対して、例えば、点R1(X,Y)を点R1’(X’,Y)に変換することによって、縦線に対して縦線揺らぎが付加される。これによって、縦線を揺らす効果がある。また、用紙を搬送する方向、すなわち副走査方向に対して、例えば、点R2(X,Y)を点R2’(X,Y’)に変換することによって、横線に対して横線揺らぎが付加される。これによって、横線を揺らす効果がある。
FIG. 7 is a diagram illustrating the function of the
揺らぎが付加された座標点(X’,Y’)の画素値I(X’,Y’)は、式3に示した補間演算によって求めることができる。
The pixel value I(X', Y') of the coordinate point (X', Y') to which the fluctuation is added can be obtained by the interpolation calculation shown in
次に、図8を用いて、揺らぎ関数F(n)の具体例について説明する。揺らぎ関数F(n)は、例えば、sinまたはcosの三角関数を用いて生成することができる。図8は、cos関数から揺らぎ関数F(n)を生成した例を示す。このとき生成される揺らぎ関数F(n)は、式6で表される。
F(n)=Qcos(2πn/P)(n=1、2、3、…) (式6)
Next, a specific example of the fluctuation function F(n) will be described with reference to FIG. The fluctuation function F(n) can be generated by using, for example, a trigonometric function of sin or cos. FIG. 8 shows an example in which the fluctuation function F(n) is generated from the cos function. The fluctuation function F(n) generated at this time is expressed by
F(n)=Qcos(2πn/P) (n=1, 2, 3,...) (Equation 6)
図8において、横軸がn、縦軸が揺らぎ関数F(n)を表す。揺らぎ関数F(n)の値は、その都度計算して座標点(X,Y)に加算してもよいし、予め算出した揺らぎ関数F(n)の値をテーブルとして、例えばHDD105(図1)に保存しておき、そのテーブルから読み出した値を座標点(X,Y)に加算してもよい。 In FIG. 8, the horizontal axis represents n and the vertical axis represents the fluctuation function F(n). The value of the fluctuation function F(n) may be calculated each time and added to the coordinate point (X, Y), or the value of the fluctuation function F(n) calculated in advance may be used as a table, for example, in the HDD 105 (FIG. 1). ), and the value read from the table may be added to the coordinate point (X, Y).
(揺らぎ付加の効果の説明)
次に、図9を用いて、前述した揺らぎ付加の効果について説明する。図9は、揺らぎ付加の効果を、実例に基づいて説明する図である。
(Explanation of the effect of adding fluctuation)
Next, the effect of adding the fluctuation described above will be described with reference to FIG. FIG. 9 is a diagram illustrating the effect of adding fluctuation based on an actual example.
入力画像I1に二値パターンが含まれている場合に、揺らぎ付加はモアレの発生を抑制する効果がある。以下に、二値パターンとして網点パターンを用いた場合を例にあげて説明する。 When the input image I1 includes a binary pattern, the addition of fluctuation has an effect of suppressing the occurrence of moire. The case where a halftone dot pattern is used as the binary pattern will be described below as an example.
入力画像I1の網点パターンに対して倍率補正を行うと、補間演算によって白ドットの画素値と黒ドットの画素値とが平均化されるため、黒ドットの周りに、黒ドットの画素値と白ドットの画素値が平均化されたグレー画素の領域が発生する。また、図9(a)に示す入力画像I1に対して揺らぎを付加しない場合、図9(b)に示すように、グレー画素の発生量が多い領域と、グレー画素の発生量が少ない領域と、が交互に出現する。このグレー画素の発生量が多い領域と、少ない領域と、は擬似階調処理後には、図9(c)に示すように、ドット形状の崩れが多い領域と、ドット形状の崩れが少ない領域と、に置き換わる。ドット形状崩れが多い領域と、ドット形状崩れが少ない領域と、はプロッタ部112(図1)の書き込み特性により、出力紙面上で同じ濃度に見えるように出力するのが困難である。そのため、モアレが発生する。 When the magnification correction is performed on the halftone dot pattern of the input image I1, the pixel values of the white dots and the pixel values of the black dots are averaged by the interpolation calculation. A gray pixel area in which the pixel values of white dots are averaged is generated. Further, when no fluctuation is added to the input image I1 shown in FIG. 9A, as shown in FIG. 9B, an area with a large amount of gray pixels and an area with a small amount of gray pixels are generated. , Appear alternately. As shown in FIG. 9C, an area in which the amount of gray pixels generated is large and an area in which the amount of gray pixels is small are, as shown in FIG. , Are replaced. Due to the writing characteristics of the plotter unit 112 (FIG. 1), it is difficult to output the same density on the output paper surface for the area where the dot shape collapse is large and the area where the dot shape collapse is small. Therefore, moire occurs.
揺らぎを付加することによって、グレー画素が網点パターン全体に散らばって発生するようになるため、図9(d)に示すように、領域によるグレー画素の出現頻度の偏りが減少する。したがって、図9(e)に示すように、擬似階調処理後もドット形状崩れの領域的な偏りが減って、モアレが発生しにくくなる。 By adding the fluctuation, the gray pixels are scattered and generated in the whole halftone dot pattern, so that the bias of the gray pixel appearance frequency depending on the region is reduced as shown in FIG. 9D. Therefore, as shown in FIG. 9E, even after the pseudo gradation process, the regional deviation of dot shape collapse is reduced, and moire is less likely to occur.
図9からわかるように、横方向(X方向、主走査方向)の倍率補正でモアレの発生を抑制するには、縦線揺らぎを付加するのが効果的である。一方、縦方向(Y方向、副走査方向)の倍率補正でモアレを抑制するには、横線揺らぎを付加するのが効果的である。 As can be seen from FIG. 9, in order to suppress the occurrence of moire in the lateral direction (X direction, main scanning direction) magnification correction, it is effective to add vertical line fluctuation. On the other hand, in order to suppress moire in the magnification correction in the vertical direction (Y direction, sub-scanning direction), it is effective to add horizontal line fluctuation.
入力画像I1に含まれるベタ領域(平坦部)に揺らぎを付加しても、ベタ領域の内部の濃淡分布は何ら変化しない。すなわち、揺らぎを付加しない状態と同じである。したがって、ベタ領域で揺らぎの周期と擬似階調処理のスクリーン周期が干渉することによってモアレが発生することはない。 Even if fluctuation is added to the solid area (flat portion) included in the input image I1, the grayscale distribution inside the solid area does not change at all. That is, it is the same as the state where no fluctuation is added. Therefore, moiré does not occur due to the interference of the fluctuation cycle and the screen cycle of the pseudo gradation process in the solid area.
図8に示した揺らぎの周期Pと振幅Qとは、入力画像I1に含まれる二値パターンとの干渉が目立たないように、という点に考慮して決定すればよい。ただし、出力画像上(特に、二値パターン部以外の文字部等)で視認できるようでは副作用になってしまうため、視認できないレベルの微小なものにする必要がある。 The fluctuation period P and the amplitude Q shown in FIG. 8 may be determined in consideration of the fact that the interference with the binary pattern included in the input image I1 is inconspicuous. However, it becomes a side effect if it can be visually recognized on the output image (especially, a character part other than the binary pattern part), and therefore it is necessary to make the level invisible so small.
(第1の実施の形態の処理の流れの説明)
以下、図10を用いて、画像処理装置115aが行う処理の流れについて説明する。図10は、画像処理装置115aが行う処理の流れを示すフローチャートである。
(Explanation of the process flow of the first embodiment)
The flow of processing performed by the
描画指示取得部1は、入力画像I1および描画指示を取得する(ステップS10)。
The drawing
レンダリング部2は、入力画像I1を、例えば各色8bitの階調値を持つビットマップ画像に変換する(ステップS12)。
The
ずれ量取得部3は、プリンタ出力によって発生するずれ量を計測して取得する(ステップS14)。
The deviation
幾何補正パラメータ設定部4は、ずれ量取得部3が取得した座標データに基づいて、幾何補正パラメータh1,h2,…,h8(式1、式2)の値を算出する(ステップS16)。
The geometric correction
幾何補正部5aは、レンダリング部2が出力した画像(ビットマップ画像)に対して、画像処理によってずれ量に応じた幾何補正を行なう(ステップS18)。なお、幾何補正部5aが行う処理の詳細な流れは、後述する図11に示す。
The
擬似階調処理部6は、幾何補正したビットマップ画像に対して擬似階調処理を行い、白画素と黒画素とに二値化を行う(ステップS20)。
The pseudo
プリンタ出力部7aは、用紙に画像を形成してプリンタ出力する(ステップS22)。 The printer output unit 7a forms an image on a sheet and outputs it to the printer (step S22).
(幾何補正部が行う処理の流れの説明)
次に、図11を用いて、幾何補正部5aが行う幾何補正の流れについて説明する。図11は、幾何補正部5aが行う処理の流れを示すフローチャートである。
(Explanation of the flow of processing performed by the geometric correction unit)
Next, the flow of geometric correction performed by the
揺らぎ付加部54aは、ビットマップ画像に対して揺らぎを付加する(ステップS30)。
The
対応座標点算出部51は、幾何補正後画像I3上の座標点(x,y)に対応する入力画像I1上の座標点(X,Y)を算出する(ステップS32)。
The corresponding coordinate
4点抽出部52aは、座標点(X,Y)を取り囲む近傍4点を算出する(ステップS34)。 The four-point extraction unit 52a calculates four neighboring points surrounding the coordinate point (X, Y) (step S34).
補間演算部53は、座標点(X,Y)を取り囲む近傍4点の画素値に対して補間演算を行い、補間演算の結果を座標点(x,y)の画素値I(x,y)として算出する(ステップS36)。その後、メインルーチン(図10)に戻る。
The
(第1の実施の形態の変形例の説明)
次に、本発明の画像処理装置の第1の実施の形態の変形例である画像形成装置100bについて説明する。画像形成装置100bは、第1の実施の形態で説明した画像形成装置100aとほぼ同じ構成を有しており、第1の実施の形態が備える画像処理装置115aに代わって画像処理装置115bを備える。画像処理装置115bの構成は、画像処理装置115aの構成(図2)とほぼ同じであるが、幾何補正部5aの構成のみが異なっている。
(Explanation of Modification of First Embodiment)
Next, an
図12は、第1の実施の形態の変形例である画像形成装置100bが備える画像処理装置115bが有する幾何補正部5bの詳細構成を示す機能ブロック図である。幾何補正部5bは、対応座標点算出部51と、4点抽出部52bと、補間演算部53と、揺らぎ付加部54bと、を備える。
FIG. 12 is a functional block diagram illustrating a detailed configuration of the
揺らぎ付加部54bは、第1の実施の形態とは異なり、ビットマップ画像ではなく、座標点データに対して揺らぎ付加を行う。揺らぎの付加は、第1の実施の形態と同様に、式4、式5を用いて行う。ここで、図13を用いて、揺らぎ付加部54bが行う揺らぎの付加方法について説明する。図13に示すように、揺らぎ付加部54bは、座標点(X,Y)に揺らぎを付加した座標点(X’,Y’)を算出する。そして、4点抽出部52bは、揺らぎを付加した座標点(X’,Y’)を囲む近傍4点P1、P2、P3、P4の座標を入力画像I1から抽出する。その後、補間演算部53は、座標点(X’,Y’)の画素値I(X’,Y’)を、4点P1、P2、P3、P4の画素値の補間演算によって求める。
Unlike the first embodiment, the
幾何補正部5bは、座標点データに対して揺らぎを付加するため、入力画像I1上の座標点ではなく、補間演算によって画素値を求める座標位置が揺れることになる。しかし、相対的に見れば、補間演算によって画素値を求める座標位置に対して、入力画像I1上の座標点が揺れていると捉えることもできるため、幾何補正部5bからの出力値としては、後述する量子化誤差以外は第1の実施の形態と変わらない。
Since the
すなわち、第1の実施の形態における幾何補正部5aは、レンダリング部2が出力したビットマップ画像に揺らぎを付加するため、揺らぎ付加部54aと補間演算部53の双方において補間演算が行われる。したがって、必然的に量子化誤差が増える構成となっていた。これに対して、第1の実施の形態の変形例における幾何補正部5bは、座標点データに揺らぎを付加するため、補間演算は補間演算部53における1回のみとなり、量子化誤差が増えない構成になっている点が異なる。
That is, since the
(第2の実施の形態の説明)
次に、本発明の画像処理装置の第2の実施の形態の画像形成装置100cについて説明する。第2の実施の形態の画像形成装置100cは、第1の実施の形態で説明した画像形成装置100aに対して、画像処理装置115aの代わりに画像処理装置115cを備える。図14は、第2の実施の形態の画像処理装置115cの機能構成を示す機能ブロック図である。以下、図14を用いて、画像処理装置115cの構成について説明する。
(Explanation of the Second Embodiment)
Next, an
図14に示すように、画像処理装置115cは、描画指示取得部1と、レンダリング部2と、ずれ量取得部3と、幾何補正パラメータ設定部4と、幾何補正部5aと、擬似階調処理部6と、プリンタ出力部7bと、を有する。プリンタ出力部7bは、図1のプロッタ部112に相当し、書き込みタイミング制御手段である書き込みタイミング制御部8を備えている。
As shown in FIG. 14, the
画像処理装置115cはさらに、補正モード決定部9と、補正量分配部10と、書き込み制御パラメータ設定部11と、を有する。画像処理装置115cのプリンタ出力部7bを除く各部は、図1に示したコントローラ101と、エンジン制御部110と、画像処理部113と、によって実現される。
The
描画指示取得部1は、ページ記述言語で記述された入力画像I1の取得に加えて、片面印刷か両面印刷かの指示や、断裁用のトンボを出力紙の隅に描画するかの指示等、ユーザが各種選択を行った結果を反映した指示も合わせて取得する。なお、「トンボ」とは、印刷物を作成する際に、印刷物を仕上がりサイズに裁断するための位置や多色刷りの見当合わせのために、版下の天地の左右四隅などに付ける目印で、見当標とも言う。
The drawing
幾何補正パラメータ設定部4は、ずれ量取得部3で取得されて、補正量分配部10によって分配された座標データから、幾何補正パラメータを算出する幾何補正パラメータ設定手段である。
The geometric correction
補正モード決定部9は、少なくともずれ量取得部3によって取得されたずれ量に応じて補正モードを選択して決定する補正モード決定手段である。
The correction
補正モード決定部9は、ずれ量取得部3によって取得されたずれ量に応じて、入力画像のプリンタ出力時に、第1の補正モードと第2の補正モードのいずれか一方を選択して決定する。第1の補正モードは、主走査方向および副走査方向に対して幾何補正部5aによる幾何補正を行う補正モードである。一方、第2の補正モードは、主走査方向に対しては幾何補正部5aによる幾何補正を行い、副走査方向に対しては書き込みタイミング制御部8による幾何補正を行う補正モードである。
The correction
補正モード決定部9は、さらに、描画指示取得部1からの片面印刷か両面印刷かの指示や、断裁用のトンボを出力紙の隅に描画するか等の指示情報に基づいて、補正モードを決定してもよい。
The correction
例えば、ずれ量補正に必要な補正機能がレジスト補正・倍率補正・スキュー補正以外の幾何補正(例えば台形補正など)である場合には、機能重視で第1の補正モードを選択する。ユーザにより断裁用のトンボを用紙の隅に描画する指示があった場合にも、位置精度重視で第1の補正モードを選択する。ユーザにより両面印刷が選択された場合も、位置精度重視で第1の補正モードを選択するのが望ましい。 For example, when the correction function necessary for the deviation amount correction is a geometric correction other than the registration correction, the magnification correction, and the skew correction (for example, trapezoidal correction), the first correction mode is selected with emphasis on the function. Even when the user gives an instruction to draw a trimming mark on the corner of the paper, the first correction mode is selected with emphasis on the positional accuracy. Even when double-sided printing is selected by the user, it is desirable to select the first correction mode with an emphasis on positional accuracy.
一方、ずれ量補正に必要な補正機能がレジスト補正・倍率補正・スキュー補正のいずれか、あるいは、それらの組合せによる幾何補正であり、かつ、断裁用のトンボ描画指示なし、かつ、片面印刷の場合は、第2の補正モードを選択する。第2の補正モードであっても補正機能として対応でき、位置精度も比較的重要でないケースでは、モアレ発生の懸念がない第2の補正モードを選択するのが望ましい。 On the other hand, when the correction function required for the deviation amount correction is any one of the registration correction, the magnification correction, the skew correction, or the geometrical correction by a combination thereof, and the registration mark drawing instruction for cutting is not given, and the one-sided printing is performed. Selects the second correction mode. In the case where the correction function can be applied even in the second correction mode and the positional accuracy is relatively unimportant, it is desirable to select the second correction mode in which there is no fear of moire.
書き込み制御パラメータ設定部11は、書き込みタイミング制御部8が、入力画像に対してずれ量に応じた幾何補正を行うための書き込み制御パラメータを、ずれ量取得部3が取得したずれ量に基づいて算出する書き込み制御パラメータ設定手段である。
The write control parameter setting unit 11 calculates a write control parameter for the write timing control unit 8 to perform geometric correction on the input image according to the shift amount, based on the shift amount acquired by the shift
補正量分配部10は、幾何補正パラメータ設定部4および書き込み制御パラメータ設定部11に対して、ずれ量取得部3が取得した表裏各4点の座標を受け渡す補正量分配手段である。
The correction
補正モード決定部9によって、第1の補正モードが選択された場合は、主走査方向(入力画像の左右方向)と副走査方向(入力画像の上下方向)のいずれも幾何補正部5aによる幾何補正処理を行う。すなわち、補正量分配部10は、ずれ量取得部3が取得した座標データを、いずれの方向も幾何補正部5aによる補正処理を行うように、幾何補正パラメータ設定部4および書き込み制御パラメータ設定部11のそれぞれに対して受け渡す。
When the first correction mode is selected by the correction
一方、補正モード決定部9によって第2の補正モードが選択された場合は、主走査方向に対しては書き込みタイミング制御部8による幾何補正処理を行い、副走査方向に対しては幾何補正部5aによる幾何補正処理を行う。すなわち、補正量分配部10は、ずれ量取得部3によって取得した座標データを、上記の幾何補正処理が行われるように、幾何補正パラメータ設定部4および書き込み制御パラメータ設定部11のそれぞれに対して受け渡す。
On the other hand, when the second correction mode is selected by the correction
プリンタ出力部7bの書き込みタイミング制御部8は、補正量分配部10から分配された座標データに対して、書き込み制御パラメータ設定部11によって算出されたパラメータに応じて、主走査方向の書き込み開始位置および書き込みクロック周期を調整する。これは電気制御による幾何補正にあたる。なお、主走査方向の書き込み開始位置および書き込みクロック周期の調整によるレジスト補正や倍率補正は、既存の画像補正技術である。
The writing timing control unit 8 of the
補正モード決定部9で第1の補正モードが選択された場合は、第1の実施の形態と同じく、図7に示した縦線揺らぎと横線揺らぎの両方を付加する。
When the first correction mode is selected by the correction
一方、補正モード決定部9で第2の補正モードが選択された場合は、図15に示すように縦線揺らぎのみ付加する。モアレに関与するのは幾何補正部5aによる幾何補正であり、書き込みタイミング制御部8による幾何補正ではない。第2の補正モードで幾何補正部5aによる幾何補正を行うのは主走査方向のみであるため、主走査方向の倍率補正に対してモアレ抑制効果がある縦線揺らぎのみを、式4により与えればよい。
On the other hand, when the second correction mode is selected by the correction
なお、第2の補正モードは、前述したのとは逆に、主走査方向には幾何補正を行い、副走査方向には書き込みタイミング制御による幾何補正を行うようにしてもよい。その場合、補正モード決定部9で第2の補正モードが選択されたときには、横線揺らぎのみを、式5により与えればよい。
In the second correction mode, contrary to the above, geometric correction may be performed in the main scanning direction and geometric correction by writing timing control may be performed in the sub scanning direction. In that case, when the second correction mode is selected by the correction
(第2の実施の形態の処理の流れの説明)
以下、図16を用いて、画像処理装置115cが行う処理の流れについて、補正モード決定部9が第2の補正モードを選択したときに、主走査方向に対しては書き込みタイミング制御部8による幾何補正処理を行い、副走査方向に対しては幾何補正部5aによる幾何補正処理を行う場合を例にあげて説明する。図16は、画像処理装置115cが行う処理の流れを示すフローチャートである。
(Explanation of the process flow of the second embodiment)
Hereinafter, with reference to FIG. 16, regarding the flow of processing performed by the
描画指示取得部1は、入力画像I1および描画指示を取得する(ステップS40)。
The drawing
レンダリング部2は、入力画像I1を、例えば各色8bitの階調値を持つビットマップ画像に変換する(ステップS42)。
The
ずれ量取得部3は、プリンタ出力によって発生するずれ量を計測して取得する(ステップS44)。
The deviation
幾何補正パラメータ設定部4は、ずれ量取得部3が取得した座標データに基づいて、幾何補正パラメータを算出する(ステップS46)。
The geometric correction
補正モード決定部9は、補正モードを選択する(ステップS48)。
The correction
コントローラ101(図1)は、選択した補正モードが第1の補正モードであるかを判定する(ステップS50)。第1の補正モードが選択されたとき(ステップS50;Yes)はステップS52に進み、それ以外のとき(ステップS50;No)は、ステップS56に進む。 The controller 101 (FIG. 1) determines whether the selected correction mode is the first correction mode (step S50). When the first correction mode is selected (step S50; Yes), the process proceeds to step S52, and when it is not (step S50; No), the process proceeds to step S56.
幾何補正部5aは、レンダリング部2が出力した画像(ビットマップ画像)に対して、主走査方向、副走査方向ともに、画像処理によってずれ量に応じた幾何補正を行なう(ステップS52)。なお、幾何補正部5aが行う処理の詳細な流れは、第1の実施の形態(図11)で説明した通りである。
The
擬似階調処理部6は、幾何補正したビットマップ画像に対して擬似階調処理を行い、白画素と黒画素とに二値化を行う(ステップS53)。
The pseudo
プリンタ出力部7bは、用紙に画像を形成してプリンタ出力する(ステップS54)。その後、図16の処理を終了する。
The
ステップS50において、第2の補正モードが選択されたとき(ステップS50;No)は、幾何補正部5aは、レンダリング部2が出力した画像(ビットマップ画像)に対して、副走査方向のみ、画像処理によってずれ量に応じた幾何補正を行なう(ステップS56)。なお、幾何補正部5aが行う処理の流れは、第1の実施の形態(図11)で説明した通りである。
In step S50, when the second correction mode is selected (step S50; No), the
擬似階調処理部6は、幾何補正したビットマップ画像に対して擬似階調処理を行い、白画素と黒画素とに二値化を行う(ステップS57)。
The pseudo
書き込みタイミング制御部8は、主走査方向に書き込みタイミング制御による幾何補正を行いながら、プリンタ出力部7bは、用紙に画像を形成してプリンタ出力を行う(ステップS58)。その後、図16の処理を終了する。
The
以上のように、第1の実施の形態に係る画像処理装置115a(115b)によれば、ずれ量取得部3(ずれ量取得手段)が、入力画像I1をプリンタ出力したときの座標点のずれ量を取得して、幾何補正部5aまたは幾何補正部5b(幾何補正手段)のいずれか一方が、入力画像I1に対してずれ量に応じた幾何補正を行う。そのとき、幾何補正部5aは、入力画像I1の座標点に対して揺らぎ付加部54aが揺らぎを付加した後で、幾何補正を行う。また、幾何補正部5bは、入力画像I1の座標点を幾何補正した後で、幾何補正された座標点に対して揺らぎ付加部54bによって揺らぎを付加する。そして、補間演算部53が、幾何補正された座標点の画素値を、補正演算によって算出して、擬似階調処理部6(擬似階調処理手段)が、幾何補正された入力画像I1に対して、濃度階調を擬似階調で表す擬似階調処理を行う。したがって、揺らぎの付加を伴う画像変形を行った後で、変形後の画像に対して擬似階調処理を行うため、入力画像I1が網掛け等の二値パターンを含む場合であっても、プリンタ出力におけるモアレの発生を防止することができる。
As described above, according to the
特に、第1の実施の形態に係る画像処理装置115aによれば、ずれ量取得部3(ずれ量取得手段)が、入力画像I1をプリンタ出力したときの座標点のずれ量を取得して、幾何補正部5a(幾何補正手段)が、入力画像I1に対してずれ量に応じた幾何補正を行う。そのとき、幾何補正部5aは、幾何補正後の座標点の画素値を、入力画像I1の座標点に対して揺らぎ付加部54a(揺らぎ付加手段)によって揺らぎを付加した後で、補間演算部53(補間演算手段)が、幾何補正後の座標点の画素値を補間演算することによって算出する。したがって、揺らぎを付加するという簡便な処理によって、入力画像I1が網掛け等の二値パターンを含む場合であっても、プリンタ出力におけるモアレの発生を防止することができる。
Particularly, according to the
また、第1の実施の形態に係る画像処理装置115aによれば、揺らぎ付加部54a(揺らぎ付加手段)が、三角関数を用いて、付加する揺らぎの大きさを表す揺らぎ関数F(n)を生成する。あるいは、生成した揺らぎ関数F(n)のデータを格納したテーブルの格納値を用いて、付加する揺らぎの大きさを算出する。したがって、既存の関数で簡便に揺らぎの大きさを算出することができる。
Further, according to the
また、特に、第1の実施の形態の変形例に係る画像処理装置115bによれば、ずれ量取得部3(ずれ量取得手段)が、入力画像I1をプリンタ出力したときの座標点のずれ量を取得して、幾何補正部5b(幾何補正手段)が、入力画像I1に対してずれ量に応じた幾何補正を行う。そのとき、幾何補正部5bは、幾何補正後の座標点に対して揺らぎ付加部54b(揺らぎ付加手段)によって揺らぎを付加した後で、揺らぎが付加された幾何補正後の座標点の画素値を、補間演算部53(補間演算手段)が、入力画像I1の対応座標点の画素値を補間演算することによって算出する。したがって、補間演算は、補間演算部53において1回行うのみで済むため、入力画像I1から生成した例えばビットマップ画像に対して揺らぎを付加する場合と比べて、演算に伴って発生する量子化誤差を小さく抑えることができる。すなわち、幾何補正をより高精度で行うことができる。
Further, in particular, according to the
そして、第2の実施の形態に係る画像処理装置115cによれば、補正モード決定部9(補正モード決定手段)によって第2の補正モードが選択された場合は、揺らぎ付加部54a(揺らぎ付加手段)によって、主走査方向に対する揺らぎである縦線揺らぎを付加して、副走査方向に対する揺らぎである横線揺らぎは付加しない。したがって、主走査方向の倍率補正に対してモアレ抑制効果を有する。さらに、揺らぎの付加を必要最小限に抑えることによって、文字部における揺らぎの増加等、不要な副作用の発生を抑制することができる。
Then, according to the
また、第2の実施の形態に係る画像処理装置115cによれば、補正モード決定部9(補正モード決定手段)によって第2の補正モードが選択された場合は、揺らぎ付加部54a(揺らぎ付加手段)によって、副走査方向に対する揺らぎである横線揺らぎを付加して、主走査方向に対する揺らぎである縦線揺らぎは付加しない。したがって、副走査方向に対してモアレ抑制効果を有する。さらに、揺らぎの付加を必要最小限に抑えることによって、文字部における揺らぎの増加等、不要な副作用の発生を抑制することができる。
Further, according to the
以上、実施の形態について説明したが、その各部の具体的な構成、処理の内容等は、各実施の形態で説明したものに限るものではない。 Although the embodiment has been described above, the specific configuration of each part, the content of processing, and the like are not limited to those described in each embodiment.
例えば、画像処理装置115a、115b、115cは、CPU102をプログラムに従って動作させる代わりに、プログラムが実行するのと同じ演算機能および制御機能を有する専用のASIC(Application Specific Integrated Circuit)を実装することによって、ハードウェア的に動作させてもよい。
For example, the
3 ずれ量取得部(ずれ量取得手段)
5a、5b 幾何補正部(幾何補正手段)
6 擬似階調処理部(擬似階調処理手段)
8 書き込みタイミング制御部(書き込みタイミング制御手段)
9 補正モード決定部(補正モード決定手段)
51 対応座標点算出部(対応座標点算出手段)
53 補間演算部(補間演算手段)
54a、54b 揺らぎ付加部(揺らぎ付加手段)
100a、100b、100c 画像形成装置
115a、115b、115c 画像処理装置
3 Deviation amount acquisition unit (deviation amount acquisition means)
5a, 5b Geometric correction unit (geometric correction means)
6 Pseudo gradation processing unit (pseudo gradation processing means)
8 Write Timing Control Unit (Write Timing Control Unit)
9 Correction mode determination unit (correction mode determination means)
51 Corresponding coordinate point calculating unit (corresponding coordinate point calculating means)
53 Interpolation calculation unit (interpolation calculation means)
54a, 54b Fluctuation adding unit (fluctuation adding means)
Claims (8)
前記入力画像に対して、当該入力画像の座標点あるいは前記入力画像に対して揺らぎを付加した後で、前記ずれ量に応じた幾何補正を行って、幾何補正後の座標点の画素値を補間演算によって算出する幾何補正手段と、
前記幾何補正された前記入力画像に対して、前記入力画像の濃度階調を擬似階調で表す擬似階調処理を行う擬似階調処理手段と、を備える、
ことを特徴とする画像処理装置。 Deviation amount acquisition means for acquiring the deviation amount of the input image generated at the time of printer output,
With respect to the input image, after appending the fluctuation relative coordinate point or the input image of the input image, I row geometric correction according to the deviation amount, the pixel value of the coordinate point after the geometric correction Geometric correction means for calculating by interpolation calculation ,
The relative geometry corrected the input image, and a pseudo gradation processing means for performing a pseudo gradation processing which represents the density gradation of the input image in the pseudo gradation, Ru provided with,
The image processing apparatus according to claim and this.
前記入力画像に前記ずれ量に応じた幾何補正後の座標点に対応する前記入力画像の対応座標点を算出する対応座標点算出手段と、
前記入力画像の座標点に対して揺らぎを付加する揺らぎ付加手段と、
前記幾何補正後の座標点の画素値を、前記揺らぎが付加された前記入力画像の対応座標点の画素値を補間演算することによって算出する補間演算手段と、を備える
ことを特徴とする請求項1に記載の画像処理装置。 The geometric correction means,
Corresponding coordinate point calculating means for calculating corresponding coordinate points of the input image corresponding to the coordinate points after geometric correction according to the displacement amount in the input image,
Fluctuation adding means for adding fluctuation to the coordinate points of the input image,
Interpolation calculation means for calculating the pixel value of the coordinate point after the geometric correction by performing interpolation calculation of the pixel value of the corresponding coordinate point of the input image to which the fluctuation is added. 1. The image processing device according to 1.
前記入力画像に前記ずれ量に応じた幾何補正後の座標点に対応する前記入力画像の対応座標点を算出する対応座標点算出手段と、
前記幾何補正後の座標点に対して揺らぎを付加する揺らぎ付加手段と、
前記揺らぎが付加された前記幾何補正後の座標点の画素値を、前記入力画像の対応座標点の画素値を補間演算することによって算出する補間演算手段と、を備える
ことを特徴とする請求項1に記載の画像処理装置。 The geometric correction means,
Corresponding coordinate point calculating means for calculating corresponding coordinate points of the input image corresponding to the coordinate points after geometric correction according to the displacement amount in the input image,
Fluctuation adding means for adding fluctuation to the coordinate points after the geometric correction;
Interpolation calculation means for calculating the pixel value of the coordinate point after the geometric correction to which the fluctuation is added by interpolating the pixel value of the corresponding coordinate point of the input image. 1. The image processing device according to 1.
あるいは、生成した前記揺らぎの大きさを表すデータを格納したテーブルの格納値を用いて前記揺らぎを生成する、
ことを特徴とする請求項2または請求項3に記載の画像処理装置。 The fluctuation adding means generates the fluctuation using a trigonometric function,
Alternatively, the fluctuation is generated by using a stored value of a table that stores data representing the magnitude of the generated fluctuation,
The image processing apparatus according to claim 2 or claim 3, characterized in that.
前記ずれ量取得手段によって取得したずれ量に応じて、前記入力画像のプリンタ出力時に、前記入力画像の主走査方向および前記入力画像の副走査方向に対して前記幾何補正手段による幾何補正を行う第1の補正モードと、前記主走査方向に対しては前記幾何補正手段による幾何補正を行い、前記副走査方向に対しては前記書き込みタイミング制御手段による幾何補正を行う第2の補正モードと、のうちいずれか一方を選択する補正モード決定手段と、をさらに備え、
前記第2の補正モードが選択された場合は、前記揺らぎ付加手段によって、前記主走査方向に対する揺らぎである縦線揺らぎを付加して、前記副走査方向に対する揺らぎである横線揺らぎは付加しない、
ことを特徴とする請求項2から請求項4のいずれか1項に記載の画像処理装置。 Writing timing control means for performing geometric correction according to the amount of deviation by controlling writing timing with respect to the input image;
A geometric correction is performed by the geometric correction means in the main scanning direction of the input image and the sub-scanning direction of the input image according to the shift amount acquired by the shift amount acquiring means when the input image is output to a printer; 1 correction mode and a second correction mode in which geometric correction is performed by the geometric correction means in the main scanning direction and geometric correction is performed by the write timing control means in the sub-scanning direction. Correction mode determining means for selecting one of them,
When the second correction mode is selected, the fluctuation adding means adds vertical line fluctuation that is fluctuation in the main scanning direction, and does not add horizontal line fluctuation that is fluctuation in the sub-scanning direction.
The image processing apparatus according to any one of claims 2 to 4, wherein
前記ずれ量取得手段によって取得したずれ量に応じて、前記入力画像のプリンタ出力時に、前記入力画像の主走査方向および前記入力画像の副走査方向に対して前記幾何補正手段による幾何補正を行う第1の補正モードと、前記副走査方向に対しては前記幾何補正手段による幾何補正を行い、前記主走査方向に対しては前記書き込みタイミング制御手段による幾何補正を行う第2の補正モードと、のうちいずれか一方を選択する補正モード決定手段と、をさらに備え、
前記第2の補正モードが選択された場合は、前記揺らぎ付加手段によって、前記副走査方向に対する揺らぎである横線揺らぎを付加して、前記主走査方向に対する揺らぎである縦線揺らぎは付加しない、
ことを特徴とする請求項2から請求項4のいずれか1項に記載の画像処理装置。 Writing timing control means for performing geometric correction according to the amount of deviation by controlling writing timing with respect to the input image;
A geometric correction is performed by the geometric correction means in the main scanning direction of the input image and the sub-scanning direction of the input image according to the shift amount acquired by the shift amount acquiring means when the input image is output to a printer; 1 correction mode and a second correction mode in which geometric correction is performed by the geometric correction means in the sub-scanning direction and geometric correction is performed by the write timing control means in the main scanning direction. Correction mode determining means for selecting one of them,
When the second correction mode is selected, the fluctuation adding means adds horizontal line fluctuation that is fluctuation in the sub-scanning direction and does not add vertical line fluctuation that is fluctuation in the main scanning direction.
The image processing apparatus according to any one of claims 2 to 4, wherein
前記入力画像に対して、当該入力画像の座標点あるいは前記入力画像に対して揺らぎを付加した後で、前記ずれ量に応じた幾何補正を行って、幾何補正後の座標点の画素値を補間演算によって算出する幾何補正ステップと、
前記幾何補正された前記入力画像に対して、前記入力画像の濃度階調を擬似階調で表す擬似階調処理を行う擬似階調処理ステップと、を備える、
ことを特徴とする画像処理方法。 A deviation amount acquisition step of acquiring the deviation amount of the input image generated at the time of printer output,
With respect to the input image, after appending the fluctuation relative coordinate point or the input image of the input image, I row geometric correction according to the deviation amount, the pixel value of the coordinate point after the geometric correction Geometric correction step calculated by interpolation calculation ,
The relative geometry corrected the input image, and a pseudo gradation processing step of performing pseudo gradation processing for representing the gray scale of the input image in the pseudo gradation, Ru provided with,
An image processing method characterized by and this.
プリンタ出力時に発生する入力画像のずれ量を取得するずれ量取得手段と、
前記入力画像に対して、当該入力画像の座標点あるいは前記入力画像に対して揺らぎを付加した後で、前記ずれ量に応じた幾何補正を行って、幾何補正後の座標点の画素値を補間演算によって算出する幾何補正手段と、
前記幾何補正された前記入力画像に対して、前記入力画像の濃度階調を擬似階調で表す擬似階調処理を行う擬似階調処理手段と、して機能させる、
ことを特徴とするプログラム。 Computer,
Deviation amount acquisition means for acquiring the deviation amount of the input image generated at the time of printer output,
With respect to the input image, after appending the fluctuation relative coordinate point or the input image of the input image, I row geometric correction according to the deviation amount, the pixel value of the coordinate point after the geometric correction Geometric correction means for calculating by interpolation calculation ,
The relative geometry corrected the input image, and a pseudo gradation processing means for performing a pseudo gradation processing which represents the density gradation of the input image in the pseudo gradation, Ru is to function,
Program which is characterized a call.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016136976A JP6750357B2 (en) | 2016-07-11 | 2016-07-11 | Image processing apparatus, image processing method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016136976A JP6750357B2 (en) | 2016-07-11 | 2016-07-11 | Image processing apparatus, image processing method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018011129A JP2018011129A (en) | 2018-01-18 |
JP6750357B2 true JP6750357B2 (en) | 2020-09-02 |
Family
ID=60993534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016136976A Active JP6750357B2 (en) | 2016-07-11 | 2016-07-11 | Image processing apparatus, image processing method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6750357B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116503269B (en) * | 2023-03-27 | 2023-12-19 | 中山大学 | SAR image correction method and device |
-
2016
- 2016-07-11 JP JP2016136976A patent/JP6750357B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018011129A (en) | 2018-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4771569B2 (en) | Distortion correction method and distortion correction apparatus | |
JP4890974B2 (en) | Image processing apparatus and image processing method | |
JP4972122B2 (en) | Image processing device | |
JP4803288B2 (en) | Pixel interpolation device, pixel interpolation method, and image reading device | |
JP6631180B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and program | |
US20170208211A1 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2010118927A (en) | Program, recording medium, image processing apparatus, image processing method, and sheet for gradation correction parameter generation | |
JP6273934B2 (en) | Control device, image forming system, program, and calibration sheet | |
JP2006303784A (en) | Image reading apparatus and method | |
JP2015181219A (en) | Image processing apparatus, image forming apparatus, image processing method, and program | |
JP5115575B2 (en) | Image processing program and image processing apparatus | |
JP6750357B2 (en) | Image processing apparatus, image processing method and program | |
JP2016037042A (en) | Image forming apparatus, image forming method, and program | |
US9681022B2 (en) | Image processing apparatus, image processing method, and recording medium | |
JP2016206446A (en) | Image processing device, image formation apparatus, image processing method and program | |
JP5107208B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
KR20100086229A (en) | Color compensation apparatus and method, image forming apparatus and computer readable medium | |
JP2004246110A (en) | Plate inspection apparatus, printing system, method for inspecting printed data on plate, and program | |
JP6190152B2 (en) | Image processing apparatus and image processing method | |
JP4160887B2 (en) | Image processing apparatus and image processing method | |
JP5927984B2 (en) | Image processing apparatus and image processing program | |
JP4334498B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and computer program | |
JP5772253B2 (en) | Image processing apparatus and program | |
JP5434525B2 (en) | Image processing apparatus, calibration method, program, and recording medium | |
JP2023069216A (en) | Image processing device, printer, image processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190417 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200317 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200508 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200714 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200727 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6750357 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |