JP2002223369A - Image processing method, image processor and image forming device - Google Patents

Image processing method, image processor and image forming device

Info

Publication number
JP2002223369A
JP2002223369A JP2001294345A JP2001294345A JP2002223369A JP 2002223369 A JP2002223369 A JP 2002223369A JP 2001294345 A JP2001294345 A JP 2001294345A JP 2001294345 A JP2001294345 A JP 2001294345A JP 2002223369 A JP2002223369 A JP 2002223369A
Authority
JP
Japan
Prior art keywords
color
color shift
image
input image
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.)
Granted
Application number
JP2001294345A
Other languages
Japanese (ja)
Other versions
JP3923293B2 (en
Inventor
Takuya Iwanami
琢也 岩波
Yasushi Adachi
靖 安達
Hiromichi Nakayama
裕理 中山
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2001294345A priority Critical patent/JP3923293B2/en
Publication of JP2002223369A publication Critical patent/JP2002223369A/en
Application granted granted Critical
Publication of JP3923293B2 publication Critical patent/JP3923293B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To correct a color deviation with excellent precision without requiring much time and labor by judging whether the color deviation occurs or not at every input image and correcting the color deviation based on the judgement result. SOLUTION: An image processor is provided with a color deviation correcting part 23 for correcting the color deviation in the input picture. The correcting part 23 detects a position deviation amount at each pixel position of each color component at every input image, judges whether the color deviation exists or not based on the detection result and corrects the color deviation when it is judged that the color is deviated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、入力画像に生じた
色ずれを補正するための画像処理方法および画像処理装
置ならび画像形成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and an image processing apparatus for correcting a color shift occurring in an input image and an image forming apparatus.

【0002】[0002]

【従来の技術】近年、OA機器のデジタル化が急速に進
展し、またカラー画像出力の需要が増してきたことによ
り、電子写真方式のデジタルカラー複写機やインクジェ
ット方式・熱転写方式のカラープリンタ等の出力機器が
広く一般に普及してきている。
2. Description of the Related Art In recent years, digitalization of office automation equipment has rapidly progressed, and demand for color image output has increased, so that digital photocopiers of an electrophotographic system and color printers of an ink jet system and a thermal transfer system have been developed. Output devices have become widespread and popular.

【0003】例えば、デジタルカメラやスキャナ等の入
力機器より入力された画像情報、あるいは、コンピュー
タ上で作成された画像情報が上述のような出力機器を用
いて出力されている。これらの入出力機器においては、
入力された画像情報に対して、常に色再現の安定した画
像を出力することが必要であり、デジタル画像処理技術
が重要な役割を果たしている。
For example, image information input from an input device such as a digital camera or a scanner, or image information created on a computer is output using the above-described output device. In these input / output devices,
It is necessary to always output an image with stable color reproduction for input image information, and digital image processing technology plays an important role.

【0004】スキャナ等の画像入力装置においては、例
えばR(赤)・G(緑)・B(青)の3本のCCD(Ch
arge Coupled Device)ラインセンサが用いられており、
各センサの位置ずれを補正するために、先行する2つの
センサの出力を遅延させて、最後に読み取るセンサに合
わせて信号を出力する方法が用いられている。
In an image input device such as a scanner, for example, three CCDs (Ch (Ch) of R (red), G (green), B (blue)) are used.
arge Coupled Device) line sensor is used,
In order to correct the displacement of each sensor, a method of delaying the outputs of two preceding sensors and outputting a signal in accordance with the sensor to be read last is used.

【0005】このような画像入力装置の駆動系に振動が
発生すると、3本のCCDラインセンサが原稿の同一部
分を読み取る際の時間差が、この振動により大きくなっ
たり小さくなったりすることがある。その結果、例えば
画像の黒い領域を読み取る場合には、3本のCCDライ
ンセンサで読み取った画像の位置がずれ、エッジの部分
に色がついてしまうことがある。このような現象を画像
の色ずれと称する。
[0005] When vibrations occur in the drive system of such an image input device, the time difference when the three CCD line sensors read the same portion of the document may be increased or decreased due to the vibrations. As a result, for example, when reading a black area of the image, the position of the image read by the three CCD line sensors may shift, and the edge portion may be colored. Such a phenomenon is called color shift of an image.

【0006】このような画像の色ずれの問題を解決する
ものとして、特開平10−42157号公報(以下、文
献1と称する)および特開2001−16401号公報
(以下、文献2と称する)に示されている技術がある。
[0006] To solve the problem of color misregistration of an image, JP-A-10-42157 (hereinafter referred to as Reference 1) and JP-A-2001-16401 (hereinafter referred to as Reference 2) disclose. There are techniques shown.

【0007】この文献1では、以下に示す過程により画
像の色ずれを解消している。
In the document 1, the color shift of an image is eliminated by the following process.

【0008】万線チャートを読み込み、予め定められ
た閾値との交点をRGB信号の各成分毎に求め、ある色
を基準データとして他の色との相対的な色ずれ量を計算
する。
A line chart is read, an intersection with a predetermined threshold value is obtained for each component of the RGB signal, and a color shift amount relative to another color is calculated using a certain color as reference data.

【0009】このようにして求めた色ずれ量を交点の
位置に対応付けて色ずれ量テーブルに格納する。
[0009] The color shift amount thus obtained is stored in the color shift amount table in association with the position of the intersection.

【0010】色ずれ量テーブルに格納された色ずれ量
は、注目画素とその隣の画素値と共に読み出され、入力
画像の色ずれ補正の際に、色ずれ補正演算器により色ず
れ補正データ値の演算に使用される。
The color misregistration amount stored in the color misregistration amount table is read out together with the value of the pixel of interest and the value of the pixel adjacent thereto. Used for the calculation of

【0011】また、文献2では、以下に示す過程により
画像の色ずれを解消している。
[0011] In Document 2, color shift of an image is eliminated by the following process.

【0012】基準パターンに含まれる複数の直線のエ
ッジ部を読み込み、RGBセンサの読み取り出力値と読
み取り出力値の平均値との差から相対的な色ずれ量を計
算する。
An edge of a plurality of straight lines included in the reference pattern is read, and a relative color shift amount is calculated from a difference between a read output value of the RGB sensor and an average value of the read output values.

【0013】このようにして求めた色ずれ量に応じて
各センサの読み取り出力値を補正する。
The read output value of each sensor is corrected according to the color shift amount thus obtained.

【0014】つまり、上記文献1および文献2では、基
準原稿となる万線チャートまたは基準パターンをスキャ
ナにより読み取らせて、該スキャナの駆動系における振
動に起因する各画素位置に対する位置ずれ量(色ずれ
量)を求め、この色ずれ量に基づいて入力画像の各画素
位置における色ずれを補正するようになっている。
That is, in Documents 1 and 2, a line chart or a reference pattern serving as a reference original is read by a scanner, and a positional shift amount (color shift) with respect to each pixel position caused by vibration in a driving system of the scanner. Amount) is obtained, and the color shift at each pixel position of the input image is corrected based on the color shift amount.

【0015】[0015]

【発明が解決しようとする課題】ところが、通常、スキ
ャナ等の駆動系における振動は経時変化するので、上記
文献1および文献2のように予め色ずれ量を求めて、こ
の色ずれ量に基づいて入力画像の色ずれを補正する場
合、色ずれ補正を精度よく行うには、上記駆動系の経時
変化に合わせてその都度万線チャートまたは基準パター
ンを使用しなければならず、非常に手間が掛かるという
問題が生じる。
However, since vibrations in a drive system such as a scanner usually change with time, the amount of color misregistration is determined in advance as described in the above-mentioned documents 1 and 2, and based on this amount of color misregistration. When correcting the color shift of the input image, in order to accurately perform the color shift correction, it is necessary to use a line chart or a reference pattern each time in accordance with the aging of the drive system, which is extremely troublesome. The problem arises.

【0016】また、上記文献1および文献2の方法で
は、入力画像の色ずれの有無を検知するという概念が全
くなく、このため、入力画像に対して、常に色ずれ補正
を行うようになっている。このため、入力画像に生じて
いる色ずれが少なく、色ずれ補正の必要のない場合であ
っても、色ずれ補正が行われることになり、画像処理全
体に無駄が生じ、この結果、画像処理全体の処理時間が
長くなるという問題が生じる。
Further, in the methods of the above-mentioned references 1 and 2, there is no concept of detecting the presence or absence of a color shift of an input image. Therefore, the color shift is always corrected for the input image. I have. For this reason, even if there is little color misregistration occurring in the input image and color misregistration correction is not necessary, the color misregistration correction is performed, and the entire image processing is wasted. There is a problem that the entire processing time becomes longer.

【0017】さらに、上記文献1および文献2におい
て、万線チャートまたは基準パターンを読み取らせて色
ずれ補正を行う場合には、万一、万線チャートまたは基
準パターンを紛失した時は、色ずれを求めることが出来
なくなるという問題が生じる。
Further, in Documents 1 and 2, when the line chart or the reference pattern is read and the color shift is corrected, if the line chart or the reference pattern is lost, the color shift is corrected. There is a problem that it cannot be obtained.

【0018】本発明は、上記の各問題点を解決するため
になされたもので、その目的は、入力画像毎に色ずれが
生じているか否かを判定し、この判定結果に基づいて色
ずれ補正を行うことで、手間が掛からず常に精度よく色
ずれ補正を行うことが可能な画像処理方法および画像処
理装置ならびに画像形成装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to determine whether or not a color shift has occurred for each input image, and to determine the color shift based on the determination result. An object of the present invention is to provide an image processing method, an image processing apparatus, and an image forming apparatus capable of always performing color shift correction with high accuracy without trouble.

【0019】[0019]

【課題を解決するための手段】本発明の画像処理方法
は、上記の課題を解決するために、入力画像の色ずれを
補正して出力画像を得る画像処理方法において、入力画
像毎に、各色成分の画素位置に基づいて、色ずれが生じ
ているか否かを判定し、色ずれが生じていると判定した
場合に色ずれ補正を行うことを特徴としている。
In order to solve the above-mentioned problems, an image processing method according to the present invention, which corrects a color shift of an input image to obtain an output image, comprises: It is characterized in that it is determined whether or not a color shift has occurred based on the pixel position of the component, and when it is determined that a color shift has occurred, the color shift is corrected.

【0020】上記の方法によれば、入力画像毎に色ずれ
が生じているか否かを判定し、色ずれが生じていると判
定した場合に色ずれ補正を行うことで、入力画像毎に色
ずれ補正を行うことができる。
According to the above method, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected. Deviation correction can be performed.

【0021】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color misregistration is determined for each input image, and the color misregistration is corrected based on the obtained color misregistration determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0022】また、従来のように、基準原稿である万線
チャートまたは基準パターンを使用する必要はないの
で、これらを使用する手間を省くことができる。
Further, unlike the related art, it is not necessary to use a line chart or a reference pattern which is a reference document, so that it is not necessary to use them.

【0023】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0024】しかも、色ずれは入力画像における各色成
分の画素位置がずれることによって生じるので、一次情
報である各色成分の画素位置に基づいて、色ずれが生じ
ているか否かを判定することによって、高い精度で色ず
れ判定および色ずれ補正を行うことができる。
Further, since the color shift is caused by the shift of the pixel position of each color component in the input image, it is determined whether or not the color shift has occurred based on the pixel position of each color component which is the primary information. Color misregistration determination and color misregistration correction can be performed with high accuracy.

【0025】本発明の画像処理方法は、また、上記の課
題を解決するために、入力画像の色ずれを補正して出力
画像を得る画像処理方法において、入力画像毎に、各色
成分の各画素位置の位置ずれ量を検出し、この検出結果
に基づいて色ずれが生じているか否かを判定し、色ずれ
が生じていると判定した場合に色ずれ補正を行うことを
特徴としている。
According to another aspect of the present invention, there is provided an image processing method for correcting the color shift of an input image to obtain an output image. The method is characterized in that a position shift amount of a position is detected, it is determined whether or not a color shift has occurred based on the detection result, and when it is determined that a color shift has occurred, a color shift correction is performed.

【0026】上記の方法によれば、入力画像毎に色ずれ
が生じているか否かを判定し、色ずれが生じていると判
定した場合に色ずれ補正を行うことで、入力画像毎に色
ずれ補正を行うことができる。
According to the above-described method, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected. Deviation correction can be performed.

【0027】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0028】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of color misregistration is determined for each input image, if there is no color misregistration, image processing can be performed without performing color misregistration correction processing. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0029】しかも、また、入力画像の各色成分の各画
素位置の位置ずれ量を検出することで、色ずれが生じて
いるか否かを判定するようになっているので、簡単に色
ずれを判定することができる。
In addition, since the amount of color shift of each pixel component of each color component of the input image is detected to determine whether or not color shift has occurred, the color shift can be easily determined. can do.

【0030】さらに、入力画像の色成分毎に、各画素位
置に対する濃度分布を関数により近似し、この近似結果
に基づいて、色ずれが生じているか否かを判定するよう
にしてもよい。
Furthermore, for each color component of the input image, the density distribution for each pixel position may be approximated by a function, and it may be determined whether or not a color shift has occurred based on the approximation result.

【0031】この場合、入力画像の色成分毎に、各画素
位置に対する濃度分布を関数により近似することで、入
力画像の各色成分の画素位置のずれ量を正確に求めるこ
とができる。
In this case, by approximating the density distribution for each pixel position by a function for each color component of the input image, it is possible to accurately determine the shift amount of the pixel position of each color component of the input image.

【0032】したがって、この入力画像の各色成分の画
素位置のずれ量に基づいて、入力画像の色ずれを判定す
れば、より精度よく、入力画像の色ずれの有無を判定す
ることができる。
Therefore, if the color shift of the input image is determined based on the shift amount of the pixel position of each color component of the input image, the presence or absence of the color shift of the input image can be determined with higher accuracy.

【0033】これにより、さらに、色ずれ補正の精度を
向上させることができ、この結果、入力画像を忠実に再
現した出力画像を得ることができる。
As a result, the accuracy of the color misregistration correction can be further improved, and as a result, an output image that faithfully reproduces the input image can be obtained.

【0034】ところで、上記文献1においては、万線チ
ャートを読み取った値と閾値との交点を求める際には、
線形補間を用いているので、そこで発生する誤差による
精度の低下が考えられる。
By the way, in the above document 1, when finding the intersection between the value obtained by reading the line chart and the threshold value,
Since linear interpolation is used, a decrease in accuracy due to an error generated there is conceivable.

【0035】また、上記文献2においては、基準パター
ンを読み取った時のずれ量の離散データから、読み取り
位置のずれ量を求める際には、線形補間を用いているの
で、そこで発生する誤差による精度の低下が考えられ
る。
Further, in the above-mentioned Document 2, linear interpolation is used to obtain the displacement of the reading position from the discrete data of the displacement when the reference pattern is read. May be reduced.

【0036】ところが、上記の方法では、さらに、入力
画像の色成分毎に、各画素位置に対する濃度分布を関数
により近似し、この近似結果に基づいて、色ずれが生じ
ているか否かを判定するようになっている。よって、従
来のように、基準原稿である万線チャートまたは基準パ
ターンを使用する必要はないので、これらを用いた場合
のように線形補間を使用することによる誤差を考慮しな
いで精度の高い色ずれ補正を行うことができる。
However, in the above method, the density distribution for each pixel position is approximated by a function for each color component of the input image, and it is determined whether or not a color shift has occurred based on the approximation result. It has become. Therefore, unlike the related art, there is no need to use a line chart or a reference pattern, which is a reference original, so that accurate color misregistration can be performed without considering errors due to using linear interpolation as in the case of using these. Corrections can be made.

【0037】本発明の画像処理方法は、また、上記の課
題を解決するために、入力画像の色ずれを補正して出力
画像を得る画像処理方法において、入力画像毎に、各色
成分の平均濃度における画素位置を推定し、この推定結
果に基づいて、色ずれが生じているか否かを判定し、色
ずれが生じていると判定した場合に色ずれ補正を行うこ
とを特徴としている。
According to another aspect of the present invention, there is provided an image processing method for correcting an input image to obtain an output image by correcting a color shift of the input image. Is estimated, and based on the estimation result, it is determined whether or not a color shift has occurred. If it is determined that the color shift has occurred, the color shift is corrected.

【0038】上記の方法によれば、入力画像毎に色ずれ
が生じているか否かを判定し、色ずれが生じていると判
定した場合に色ずれ補正を行うことで、入力画像毎に色
ずれ補正を行うことができる。
According to the above-described method, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected. Deviation correction can be performed.

【0039】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color misregistration is determined for each input image, and the color misregistration is corrected based on the obtained color misregistration determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0040】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0041】しかも、また、入力画像の各色成分の平均
濃度における画素位置を推定することで、色ずれが生じ
ているか否かを判定するようになっているので、簡単に
色ずれを判定することができる。
Moreover, since the pixel position at the average density of each color component of the input image is estimated to determine whether or not a color shift has occurred, the color shift can be easily determined. Can be.

【0042】さらに、入力画像の各色成分の濃度バラン
スが、予め定められる範囲を越えていると判断したと
き、上記各色成分の濃度バランスが、予め定められた範
囲に収まるように補正するようにしてもよい。
Further, when it is determined that the density balance of each color component of the input image exceeds a predetermined range, correction is made so that the density balance of each color component falls within the predetermined range. Is also good.

【0043】この場合、さらに、入力画像の各色成分の
平均濃度における画素位置を推定する前に、入力画像の
各色成分の濃度バランスが、予め定められる範囲を越え
ていると判断した時、補正を行うことにより、精度よく
画素位置を推定することができる。
In this case, before estimating the pixel position at the average density of each color component of the input image, if it is determined that the density balance of each color component of the input image exceeds a predetermined range, correction is performed. By doing so, the pixel position can be accurately estimated.

【0044】これにより、さらに、色ずれ補正の精度を
向上させることができ、この結果、入力画像を忠実に再
現した出力画像を得ることができる。
As a result, the accuracy of the color misregistration correction can be further improved, and as a result, an output image that faithfully reproduces the input image can be obtained.

【0045】本発明の画像処理装置は、上記の課題を解
決するために、入力画像に生じた色ずれを補正する色ず
れ補正手段を備えた画像処理装置において、上記色ずれ
補正手段は、入力画像の色成分毎の画素位置に基づい
て、色ずれが生じているか否かを判定する色ずれ判定手
段と、上記色ずれ判定手段により色ずれが生じていると
判定されたとき、該色ずれを補正する補正手段とを備え
ていることを特徴としている。
In order to solve the above-mentioned problems, an image processing apparatus according to the present invention is provided with a color shift correcting means for correcting a color shift occurring in an input image. A color misregistration determining unit that determines whether or not a color misregistration has occurred based on a pixel position for each color component of the image; And correction means for correcting

【0046】上記の構成によれば、入力画像毎に色ずれ
が生じているか否かを判定し、色ずれが生じていると判
定した場合に色ずれ補正を行うことで、入力画像毎に色
ずれ補正を行うことができる。
According to the above arrangement, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected, so that the color shift is performed for each input image. Deviation correction can be performed.

【0047】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0048】また、従来のように、基準原稿である万線
チャートまたは基準パターンを使用する必要はないの
で、これらを使用する手間を省くことができる。
Further, unlike the related art, there is no need to use a line chart or a reference pattern which is a reference original, so that it is possible to save time and effort for using these.

【0049】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0050】しかも、色ずれは入力画像における各色成
分の画素位置がずれることによって生じるので、一次情
報である各色成分の画素位置に基づいて、色ずれが生じ
ているか否かを判定することによって、高い精度で色ず
れ判定および色ずれ補正を行うことができる。
Further, since the color shift is caused by the shift of the pixel position of each color component in the input image, it is determined whether or not the color shift has occurred based on the pixel position of each color component which is the primary information. Color misregistration determination and color misregistration correction can be performed with high accuracy.

【0051】本発明の画像処理装置は、また、上記の課
題を解決するために、入力画像に生じた色ずれを補正す
る色ずれ補正手段を備えた画像処理装置において、上記
色ずれ補正手段は、入力画像の色成分毎に、各画素位置
に対する濃度分布を関数により近似する近似手段と、上
記近似手段による近似結果に基づいて、色ずれが生じて
いるか否かを判定する色ずれ判定手段と、上記色ずれ判
定手段により色ずれが生じていると判定されたとき、該
色ずれを補正する補正手段とを備えていることを特徴と
している。
According to another aspect of the present invention, there is provided an image processing apparatus including a color shift correcting unit for correcting a color shift occurring in an input image. An approximation unit that approximates a density distribution for each pixel position by a function for each color component of an input image, and a color misregistration determination unit that determines whether a color misregistration has occurred based on an approximation result by the approximation unit. And a correcting means for correcting the color shift when the color shift determining means determines that a color shift has occurred.

【0052】上記の構成によれば、入力画像毎に色ずれ
が生じているか否かを判定し、色ずれが生じていると判
定した場合に色ずれ補正を行うことで、入力画像毎に色
ずれ補正を行うことができる。
According to the above configuration, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected, so that a color shift is performed for each input image. Deviation correction can be performed.

【0053】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0054】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of color misregistration is determined for each input image, if there is no color misregistration, image processing can be performed without performing color misregistration correction processing. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0055】しかも、また、入力画像の色成分毎に、各
画素位置に対する濃度分布を関数により近似すること
で、入力画像の各色成分の画素位置のずれ量を正確に求
めることができる。
Further, by approximating the density distribution for each pixel position by a function for each color component of the input image, the shift amount of the pixel position of each color component of the input image can be accurately obtained.

【0056】したがって、この入力画像の各色成分の画
素位置のずれ量に基づいて、入力画像の色ずれを判定す
れば、より精度よく、入力画像の色ずれの有無を判定す
ることができる。
Therefore, if the color shift of the input image is determined based on the shift amount of the pixel position of each color component of the input image, the presence or absence of the color shift of the input image can be more accurately determined.

【0057】また、従来のように、基準原稿である万線
チャートまたは基準パターンを使用する必要はないの
で、これらを用いた場合のように線形補間を使用するこ
とによる誤差を考慮しないで精度の高い色ずれ補正を行
うことができる。
Further, since it is not necessary to use a line chart or a reference pattern as a reference original as in the prior art, the accuracy can be improved without considering the error caused by using linear interpolation as in the case of using these. High color misregistration correction can be performed.

【0058】本発明の画像処理装置は、また、上記の課
題を解決するために、入力画像に生じた色ずれを補正す
る色ずれ補正手段を備えた画像処理装置において、上記
色ずれ補正手段は、入力画像の色成分毎の濃度分布から
平均濃度の画素位置を推定する画素位置推定手段と、上
記画素位置推定手段の推定結果に基づき、色ずれが生じ
ているか否かを判定する色ずれ判定手段と、上記色ずれ
判定手段により色ずれが生じていると判定されたとき、
該色ずれを補正する補正手段とを備えていることを特徴
としている。
According to another aspect of the present invention, there is provided an image processing apparatus provided with a color shift correcting means for correcting a color shift occurring in an input image. A pixel position estimating means for estimating a pixel position having an average density from a density distribution for each color component of an input image; Means, when it is determined that a color shift has occurred by the color shift determination means,
And a correcting means for correcting the color misregistration.

【0059】上記の構成によれば、入力画像毎に色ずれ
が生じているか否かを判定し、色ずれが生じていると判
定した場合に色ずれ補正を行うことで、入力画像毎に色
ずれ補正を行うことができる。
According to the above configuration, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected, so that the color shift is performed for each input image. Deviation correction can be performed.

【0060】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0061】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of color misregistration is determined for each input image, if there is no color misregistration, image processing can be performed without performing color misregistration correction processing. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0062】しかも、また、入力画像の色成分毎の濃度
分布から平均濃度の画素位置を推定することができる。
Moreover, the pixel position of the average density can be estimated from the density distribution for each color component of the input image.

【0063】したがって、この入力画像の各色成分毎の
平均濃度の画素位置に基づいて、入力画像の色ずれを判
定すれば、より精度よく、入力画像の色ずれの有無を判
定することができる。
Therefore, if the color shift of the input image is determined based on the pixel position of the average density for each color component of the input image, the presence or absence of the color shift of the input image can be more accurately determined.

【0064】上記画素位置推定手段には、さらに、入力
画像の各色成分の濃度バランスが予め定められる範囲を
越えていると判断したとき、上記各色成分の濃度バラン
スが、予め定められた範囲に収まるように補正する濃度
バランス補正手段を設けてもよい。
When the pixel position estimating means further determines that the density balance of each color component of the input image exceeds a predetermined range, the density balance of each color component falls within the predetermined range. A density balance correction means for performing correction as described above may be provided.

【0065】この場合、さらに、入力画像の各色成分の
平均濃度における画素位置を推定する前に、入力画像の
各色成分の濃度バランスが、予め定められる範囲を越え
ていると判断した時、補正を行うことにより、精度よく
画素位置を推定することができる。
In this case, before estimating the pixel position at the average density of each color component of the input image, if it is determined that the density balance of each color component of the input image exceeds a predetermined range, correction is performed. By doing so, the pixel position can be accurately estimated.

【0066】これにより、さらに、色ずれ補正の精度を
向上させることができ、この結果、入力画像を忠実に再
現した出力画像を得ることができる。
As a result, the accuracy of the color misregistration correction can be further improved, and as a result, an output image that faithfully reproduces the input image can be obtained.

【0067】上記色ずれ補正手段には、さらに各画素毎
の濃度を基に所定の領域内の濃度分布を求め、この濃度
分布に基づいて、色ずれ判定の対象となる領域であるか
否かを判定する画素濃度判定手段を、上記色ずれ判定手
段の前段に設けてもよい。
The color misregistration correction means further obtains a density distribution in a predetermined area based on the density of each pixel, and determines whether or not the area is a target for color misregistration determination based on the density distribution. May be provided at a preceding stage of the color misregistration determining means.

【0068】この場合、色ずれ判定手段の前段に画素濃
度判定手段が設けられていることにより、指定された領
域でのみ色ずれ判定を行えばよいことになり、色ずれ補
正処理の処理速度を向上させることができる。
In this case, the provision of the pixel density determining means at the preceding stage of the color misregistration determining means means that the color misregistration needs to be determined only in the designated area, and the processing speed of the color misregistration correction processing is reduced. Can be improved.

【0069】また、入力画像を文字・網点・写真の各領
域に分離する領域分離手段を備え、上記色ずれ補正手段
を、上記領域分離手段の前段に設けてもよい。
Further, the image processing apparatus may further include an area separating means for separating the input image into character, halftone dot, and photograph areas, and the color misregistration correcting means may be provided at a stage preceding the area separating means.

【0070】この場合、領域分離手段による入力画像の
領域分離の前に、色ずれ補正手段により、予め色ずれ補
正処理を行うことにより、該領域分離手段による領域分
離処理における領域分離の誤判定を防ぎ、領域分離処理
における領域分離の精度を向上させることができる。
In this case, before the area separation of the input image by the area separation means, the color misregistration correction means performs the color misregistration correction processing in advance, so that the erroneous determination of the area separation in the area separation processing by the area separation means. Thus, the accuracy of region separation in the region separation processing can be improved.

【0071】また、上記色ずれ補正手段を、上記領域分
離手段の後段に設けてもよい。
The color misregistration correcting means may be provided at a stage subsequent to the area separating means.

【0072】この場合、領域分離手段により領域分離さ
れた領域、すなわち抽出された文字または線画領域に対
し、色ずれ補正手段による色ずれ補正処理を行うことに
より、文字または線画領域周辺に発生する色ずれを検知
・補正することが可能となる。
In this case, by performing color shift correction processing by the color shift correcting means on the area separated by the area separating means, that is, the extracted character or line drawing area, the color generated around the character or line drawing area is obtained. The displacement can be detected and corrected.

【0073】特に、色ずれが目立ち易い文字や線画領域
を領域分離処理により抽出し、色ずれ補正処理を行うの
で、処理の高速化を図ることができる。
In particular, a character or line drawing area in which color misregistration is conspicuous is extracted by area separation processing and color misregistration correction processing is performed, so that processing can be sped up.

【0074】また、原稿の予備走査時に読み込まれた入
力画像に対して、上記領域分離手段による領域分離処理
を行わせ、色ずれが生じているか否かを判定し、色ずれ
が生じていないと判定されたときに、該入力画像に対す
る色ずれ補正処理を行わないように上記色ずれ補正手段
を制御する制御手段を設けてもよい。
The input image read at the time of preliminary scanning of the document is subjected to the area separation processing by the area separation means, and it is determined whether or not a color shift has occurred. Control means for controlling the color misregistration correcting means so as not to perform the color misregistration correction processing on the input image when the judgment is made may be provided.

【0075】この場合、予備走査時に読み込まれる低解
像度の入力画像にて大略的に色ずれの有無の判定を行
い、色ずれが生じていると判定された時にのみ、色ずれ
補正手段による色ずれ補正処理を行うようになるので、
無駄なく効率よく画像処理を行うことができる。
In this case, the presence / absence of color misregistration is roughly determined in the low-resolution input image read at the time of preliminary scanning, and only when it is determined that color misregistration has occurred, the color misregistration correction means Since the correction process will be performed,
Image processing can be performed efficiently without waste.

【0076】上記の画像処理装置を、入力画像に対して
所定の処理を施して出力画像を形成する画像形成装置に
用いてもよい。
The above-described image processing apparatus may be used in an image forming apparatus that performs a predetermined process on an input image to form an output image.

【0077】この場合、上記した画像処理装置によれ
ば、色ずれが生じているか否かを精度よく判定し、色ず
れ補正を行うことができるので、高品質の画像を出力す
ることができる画像形成装置を提供することができる。
In this case, according to the above-described image processing apparatus, it is possible to accurately determine whether or not a color shift has occurred and to perform the color shift correction, so that it is possible to output a high quality image. A forming device can be provided.

【0078】この画像形成装置としては、例えば電子写
真方式やインクジェット方式を用いたカラー画像形成装
置等が挙げられる。また、画像処理後の画像を表示でき
る画像表示装置、例えばコンピュータや携帯情報機器の
表示手段として用いられる液晶ディスプレイ等であって
もよい。
As the image forming apparatus, for example, a color image forming apparatus using an electrophotographic system or an ink jet system can be used. An image display device that can display an image after image processing, such as a liquid crystal display used as a display unit of a computer or a portable information device, may be used.

【0079】[0079]

【発明の実施の形態】本発明の実施の一形態について説
明すれば、以下の通りである。なお、本実施の形態で
は、本発明の画像形成装置をデジタルカラー複写機に適
用した場合について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. In the present embodiment, a case will be described in which the image forming apparatus of the present invention is applied to a digital color copying machine.

【0080】本実施の形態に係るデジタルカラー複写機
は、図1に示すように、原稿等から得られたカラー画像
情報を入力するためのカラー画像入力装置1と、該カラ
ー画像入力装置1により入力されたカラー画像情報に対
して種々の画像処理を施すためのカラー画像処理装置
(画像処理装置)2と、該カラー画像処理装置2により
種々の画像処理が施されたカラー画像情報を出力するた
めのカラー画像出力装置3とで構成されている。
As shown in FIG. 1, the digital color copying machine according to the present embodiment includes a color image input device 1 for inputting color image information obtained from a document or the like, and a color image input device 1. A color image processing device (image processing device) 2 for performing various image processing on input color image information, and color image information subjected to various image processing by the color image processing device 2 is output. And a color image output device 3.

【0081】上記カラー画像入力装置1は、図2に示す
ように、原稿供給部10、該原稿供給部10により供給
された原稿から画像情報を読み取るためのスキャナ部1
1とで構成されている。
As shown in FIG. 2, the color image input apparatus 1 includes a document supply unit 10 and a scanner unit 1 for reading image information from a document supplied by the document supply unit 10.
1 and 1.

【0082】上記原稿供給部10は、上記スキャナ部1
1上部に設けられ、該スキャナ部11を構成する原稿台
12に対して開閉可能な状態で支持され、原稿台12の
原稿載置面に対して所定の位置関係をもって装着された
両面自動原稿送り装置(RADF:Reversing Automati
c Document Feeder )からなっている。
The document supply unit 10 is provided with the scanner unit 1.
1, a double-sided automatic document feeder that is provided on the upper part of the scanner unit 11 and is supported so as to be openable and closable with respect to a document table 12 constituting the scanner unit 11 and is mounted in a predetermined positional relationship with respect to the document mounting surface of the document table 12. Equipment (RADF: Reversing Automati
c Document Feeder).

【0083】上記原稿供給部10は、まず、原稿の一方
の面が原稿台12の所定位置においてスキャナ部11に
対向するよう原稿を搬送し、この一方の面についての画
像読み取りが終了した後に、他方の面が原稿台12の所
定位置においてスキャナ部11に対向するよう原稿を反
転して該原稿台12に向かって搬送するようになってい
る。
The document supply unit 10 first conveys the document such that one surface of the document faces the scanner unit 11 at a predetermined position on the document table 12, and after the image reading on this one surface is completed, The document is turned over so that the other surface faces the scanner unit 11 at a predetermined position on the document table 12, and is conveyed toward the document table 12.

【0084】そして、原稿供給部10は、1枚の原稿に
ついて両面の画像読み取りが終了した後にこの原稿を排
出し、次の原稿についての両面搬送動作を実行する。
Then, the document supply unit 10 discharges this document after reading the image on both sides of one document, and executes a double-sided conveyance operation for the next document.

【0085】以上の原稿の搬送および表裏反転の動作
は、デジタルカラー複写機全体の動作に関連して制御さ
れるものである。
The operation of conveying the document and reversing the front and back are controlled in relation to the operation of the entire digital color copying machine.

【0086】上記スキャナ部11には、原稿台12、操
作パネル(図示せず)及び光学系13等が設けられてい
る。
The scanner section 11 includes a document table 12, an operation panel (not shown), an optical system 13, and the like.

【0087】上記スキャナ部11を構成する光学系13
は、上記原稿供給部10により原稿台上に搬送されてき
た原稿、あるいは、ユーザが原稿台12においた原稿の
画像を読み取るために、原稿台12の下方に配置されて
いる。
The optical system 13 constituting the scanner section 11
Is arranged below the document table 12 for reading an image of a document conveyed onto the document table by the document supply unit 10 or a document placed on the document table 12 by a user.

【0088】上記光学系13は、原稿台12の下面に沿
って平行に往復移動する2つの原稿走査体としての第1
の走査ユニット14および第2の走査ユニット15と、
光学レンズ16と、光電変換素子であるCCD(Charge
Coupled Device)ラインセンサ17とを有している。
The optical system 13 has a first document scanning body as two document scanning members reciprocating in parallel along the lower surface of the document table 12.
A scanning unit 14 and a second scanning unit 15;
The optical lens 16 and a CCD (Charge
Coupled Device) line sensor 17.

【0089】上記第1の走査ユニット14は、原稿画像
表面を露光する露光ランプ14aと、原稿からの反射光
像を所定の方向に向かって偏向する第1ミラー14bと
を有し、原稿台12の下面に対して一定の距離を保ちな
がら所定の走査速度で平行に往復移動するものである。
The first scanning unit 14 has an exposure lamp 14a for exposing the surface of a document image and a first mirror 14b for deflecting a reflected light image from the document in a predetermined direction. Reciprocally moves in parallel at a predetermined scanning speed while keeping a constant distance from the lower surface of the.

【0090】上記第2の走査ユニット15は、上記第1
の走査ユニット14の第1ミラー14bにより偏向され
た原稿からの反射光像をさらに所定の方向に向かって偏
向する第2ミラー15aおよび第3ミラー15bとを有
し、第1の走査ユニット14と一定の速度関係を保って
平行に往復移動するものである。
The second scanning unit 15 includes the first scanning unit 15.
And a second mirror 15a and a third mirror 15b for further deflecting the reflected light image from the document deflected by the first mirror 14b of the scanning unit 14 in a predetermined direction. It reciprocates in parallel while maintaining a constant speed relationship.

【0091】上記光学レンズ16は、第2の走査ユニッ
ト15の第3ミラー15bにより偏向された原稿からの
反射光像を縮小し、縮小された光像をCCDラインセン
サ17上の所定位置に結像させるものである。CCDラ
インセンサ17は、結像された光像を順次光電変換して
電気信号として出力するものである。
The optical lens 16 reduces the reflected light image from the document deflected by the third mirror 15 b of the second scanning unit 15 and forms the reduced light image at a predetermined position on the CCD line sensor 17. It is to make an image. The CCD line sensor 17 photoelectrically converts the formed light image sequentially and outputs it as an electric signal.

【0092】上記CCDラインセンサ17は、白黒画像
あるいはカラー画像を読み取り、R(赤)・G(緑)・
B(青)の各色成分に色分解したラインデータを出力す
ることができる3ラインのカラーCCDである。このC
CDラインセンサ17により電気信号に変換された原稿
画像情報は、アナログのカラー画像情報として、上記カ
ラー画像処理装置2に転送されて所定の画像データ処理
が施される。
The CCD line sensor 17 reads a black-and-white image or a color image and outputs R (red), G (green),
This is a three-line color CCD that can output line data separated into each color component of B (blue). This C
The document image information converted into an electric signal by the CD line sensor 17 is transferred to the color image processing device 2 as analog color image information and subjected to predetermined image data processing.

【0093】上記カラー画像処理装置2は、本発明の画
像処理方法を実施するための画像処理装置であり、図1
に示すように、A/D(アナログ/デジタル)変換部2
0、シェーディング補正部21、入力階調補正部22、
色ずれ補正部(色ずれ補正手段)23、領域分離処理部
(領域分離手段)24、色補正部25、黒生成下色除去
部26、空間フィルタ処理部27、出力階調補正部2
8、及び階調再現処理部29とから構成されている。
The color image processing apparatus 2 is an image processing apparatus for implementing the image processing method of the present invention.
A / D (analog / digital) converter 2
0, shading correction unit 21, input gradation correction unit 22,
Color shift correction unit (color shift correction unit) 23, region separation processing unit (region separation unit) 24, color correction unit 25, black generation and under color removal unit 26, spatial filter processing unit 27, output gradation correction unit 2
8 and a tone reproduction processing section 29.

【0094】すなわち、上記カラー画像入力装置1にて
読み取られたアナログ信号は、カラー画像処理装置2内
を、A/D変換部20、シェーディング補正部21、入
力階調補正部22、色ずれ補正部23、領域分離処理部
24、色補正部25、黒生成下色除去部26、空間フィ
ルタ処理部27、出力階調補正部28、及び階調再現処
理部29の順で送られ、CMYKのデジタルカラー信号
として、カラー画像出力装置3に出力される。
That is, the analog signal read by the color image input device 1 is transmitted to the A / D converter 20, shading corrector 21, input gradation corrector 22, color shift corrector in the color image processor 2. Unit 23, region separation processing unit 24, color correction unit 25, black generation and under color removal unit 26, spatial filter processing unit 27, output gradation correction unit 28, and gradation reproduction processing unit 29. It is output to the color image output device 3 as a digital color signal.

【0095】上記A/D変換部20は、アナログのRG
B信号をデジタルのRGB信号に変換するものであり、
シェーディング補正部21は、A/D変換部20より送
られてきたデジタルのRGB信号に対して、カラー画像
入力装置1の照明系(第1の走査ユニット14、第2の
走査ユニット15等)、結像系(光学レンズ16等)、
撮像系(CCDラインセンサ17等)で生じる各種の歪
みを取り除く処理を施すものである。
The A / D converter 20 has an analog RG
The B signal is converted into a digital RGB signal,
The shading correction unit 21 responds to the digital RGB signals sent from the A / D conversion unit 20 with the illumination system of the color image input device 1 (the first scanning unit 14, the second scanning unit 15, etc.), Imaging system (optical lens 16 etc.),
This is a process for removing various distortions generated in the imaging system (such as the CCD line sensor 17).

【0096】上記入力階調補正部22は、上記シェーデ
ィング補正部21にて各種の歪みが取り除かれたRGB
信号(RGBの反射率信号)に対して、カラーバランス
を整えると同時に、濃度信号などカラー画像処理装置2
に採用されている画像処理システムの扱い易い信号に変
換する処理を施すものである。
The input tone correction unit 22 is a device for which the shading correction unit 21 removes various distortions of RGB.
A color image processing device 2 such as a density signal at the same time as adjusting the color balance for the signals (RGB reflectance signals)
In this case, the image is converted into a signal which can be easily handled by the image processing system employed in the first embodiment.

【0097】上記色ずれ補正部23は、入力階調補正部
22から送られてくるRGB信号に対して、カラー画像
入力装置1により発生する色ずれの有無を検出し、この
検出結果により色ずれが発生していると判定されれば、
色ずれを補正するようになっている。なお、この色ずれ
補正部23は、内部での処理によって得られた色ずれ判
定結果に基づき、黒生成調整信号を黒生成下色除去部2
6へ入力するようにしても良い。また、色ずれ補正部2
3の詳細な構成については後述する。
The color misregistration correction section 23 detects the presence or absence of a color misregistration generated by the color image input device 1 with respect to the RGB signals sent from the input gradation correction section 22, and based on the detection result, the color misregistration. If it is determined that has occurred,
The color shift is corrected. The color misregistration correction unit 23 outputs a black generation adjustment signal based on the color misregistration determination result obtained by the internal processing to the black generation under color removal unit 2.
6 may be input. Also, the color misregistration correction unit 2
The detailed configuration of 3 will be described later.

【0098】上記領域分離処理部24は、色ずれ補正部
23により色ずれ補正されたRGB信号より、入力画像
中の各画素を文字または線画領域、網点領域、写真領域
の何れかに分離するものである。領域分離処理部24
は、分離結果に基づき、画素がどの領域に属しているか
を示す領域識別信号を、黒生成下色除去部26、空間フ
ィルタ処理部27、階調再現処理部29へと出力すると
共に、入力階調補正部22より出力された入力信号をそ
のまま後段の色補正部25に出力する。
The area separation processing section 24 separates each pixel in the input image into any one of a character or line drawing area, a halftone dot area, and a photograph area from the RGB signals subjected to the color shift correction by the color shift correcting section 23. Things. Area separation processing unit 24
Outputs an area identification signal indicating to which area a pixel belongs to the black generation and under color removal section 26, the spatial filter processing section 27, and the tone reproduction processing section 29 based on the separation result, The input signal output from the tone correction unit 22 is output to the subsequent color correction unit 25 as it is.

【0099】上記色補正部25は、色再現の忠実化実現
のために、不要吸収成分を含むCMY(C:シアン・
M:マゼンタ・Y:イエロー)色材の分光特性に基づい
た色濁りを取り除く処理を行うものである。
The color correction section 25 includes a CMY (C: cyan color) containing an unnecessary absorption component in order to realize faithful color reproduction.
(M: magenta, Y: yellow) A process for removing color turbidity based on the spectral characteristics of the color material.

【0100】上記黒生成下色除去部26は、色補正後の
CMYの3色信号から黒(K)信号を生成する黒生成、
元のCMY信号から黒生成で得たK信号を差し引いて新
たなCMY信号を生成する処理を行うものであって、C
MYの3色信号はCMYKの4色信号に変換される。
The black generation and under color removal unit 26 generates a black (K) signal from the CMY three-color signals after color correction.
A process of subtracting the K signal obtained by the black generation from the original CMY signal to generate a new CMY signal is performed.
The three color signals of MY are converted into four color signals of CMYK.

【0101】黒生成処理の一例として、スケルトンブラ
ックによる黒生成を行なう方法(一般的方法)がある。
この方法では、スケルトンカーブの入出力特性をy=f
(x)、入力されるデータをC,M,Y、出力されるデ
ータをC’,M’,Y’,K’、UCR(Under Color
Removal )率をα(0<α<1)とすると、黒生成下色
除去処理は以下の式(1)で表わされる。
As an example of the black generation processing, there is a method (general method) of generating black using skeleton black.
In this method, the input / output characteristics of the skeleton curve are represented by y = f
(X), input data is C, M, Y, output data is C ', M', Y ', K', UCR (Under Color
Removal) rate is α (0 <α <1), the black generation and under color removal processing is represented by the following equation (1).

【0102】[0102]

【数1】 (Equation 1)

【0103】上記空間フィルタ処理部27は、黒生成下
色除去部26より入力されるCMYK信号の画像データ
に対して、領域識別信号を基にデジタルフィルタによる
空間フィルタ処理を行い、空間周波数特性を補正するこ
とによって出力画像のぼやけや粒状性劣化を防ぐように
処理するものである。
The spatial filter processing unit 27 performs a spatial filter process on the image data of the CMYK signal input from the black generation and under color removal unit 26 by using a digital filter based on the region identification signal, and removes the spatial frequency characteristics. The correction is performed so as to prevent the output image from being blurred and the graininess from deteriorating.

【0104】また、上記階調再現処理部29は、上記空
間フィルタ処理部27と同様に、CMYK信号の画像デ
ータに対して、領域識別信号を基に所定の処理を施すも
のである。
Further, the tone reproduction processing section 29 performs predetermined processing on the image data of the CMYK signal based on the area identification signal, similarly to the spatial filter processing section 27.

【0105】例えば、領域分離処理部24にて文字に分
離された領域は、特に黒文字或いは色文字の再現性を高
めるために、空間フィルタ処理部27による空間フィル
タ処理における鮮鋭強調処理で高周波数の強調量が大き
くされる。同時に、階調再現処理部29においては、高
域周波数の再現に適した高解像度のスクリーンでの二値
化または多値化処理が選択される。
For example, in order to enhance the reproducibility of a black character or a color character in particular, the region separated into characters by the region separation processing unit 24 has a high-frequency The emphasis amount is increased. At the same time, the tone reproduction processing section 29 selects binarization or multi-value processing on a high-resolution screen suitable for reproduction of a high frequency band.

【0106】また、領域分離処理部24にて網点に分離
された領域に関しては、空間フィルタ処理部27におい
て、入力網点成分を除去するためのローパス・フィルタ
処理が施される。そして、出力階調補正部28では、濃
度信号などの信号をカラー画像形成装置の特性値である
網点面積率に変換する出力階調補正処理を行った後、階
調再現処理部29で、最終的に画像を画素に分離してそ
れぞれの階調を再現できるように処理する階調再現処理
(中間調生成)が施される。領域分離処理部24にて写
真に分離された領域に関しては、階調再現性を重視した
スクリーンでの二値化または多値化処理が行われる。
Further, for the area separated into halftone dots by the area separation processing section 24, the spatial filter processing section 27 performs low-pass filter processing for removing the input halftone dot component. Then, the output tone correction unit 28 performs an output tone correction process for converting a signal such as a density signal into a dot area ratio which is a characteristic value of the color image forming apparatus. Finally, a tone reproduction process (halftone generation) for separating the image into pixels and performing processing so that each tone can be reproduced is performed. For the regions separated into photographs by the region separation processing unit 24, binarization or multi-value processing is performed on a screen that emphasizes tone reproducibility.

【0107】上述した各処理が施された画像データは、
一旦記憶手段(図示せず)に記憶され、所定のタイミン
グで読み出されてカラー画像出力装置3に入力される。
The image data subjected to each of the above-described processes is
The image data is temporarily stored in a storage unit (not shown), read out at a predetermined timing, and input to the color image output device 3.

【0108】このカラー画像出力装置3は、画像データ
を記録媒体(例えば紙等)上に出力するもので、例え
ば、電子写真方式やインクジェット方式を用いたカラー
画像出力を挙げることができるが、特に限定されるもの
ではなく、画像処理後の画像を表示できる画像表示装
置、例えばコンピュータや携帯情報機器に使用されてい
る液晶ディスプレイ等であってもよい。この場合、色補
正部25では、入力されるRGB信号は画像表示装置の
出力特性に応じてR’G’B’信号に変換される。ま
た、黒生成下色除去部26、階調再現処理部29は不要
であり、出力階調補正部28では、空間フィルタ処理部
27から出力された画像データ1に対して、カラー画像
出力装置3の特性に応じた階調の調整がなされる。
The color image output device 3 outputs image data to a recording medium (for example, paper). For example, a color image output using an electrophotographic system or an ink jet system can be given. The present invention is not limited to this, and may be an image display device that can display an image after image processing, for example, a liquid crystal display used in a computer or a portable information device. In this case, the color correction unit 25 converts the input RGB signals into R′G′B ′ signals according to the output characteristics of the image display device. Further, the black generation / under color removal unit 26 and the tone reproduction processing unit 29 are unnecessary, and the output tone correction unit 28 outputs the image data 1 output from the spatial filter processing unit 27 to the color image output device 3. Is adjusted in accordance with the characteristics of.

【0109】ここで、上記カラー画像処理装置2内の色
ずれ補正部23について、図1および図3を参照しなが
ら以下に説明する。
Here, the color misregistration correction unit 23 in the color image processing apparatus 2 will be described below with reference to FIGS.

【0110】上記色ずれ補正部23は、図3に示すよう
に、画像メモリ30、画素濃度判定部(画素濃度判定手
段)31、フィッティング処理部(近似手段)32、関
数記憶部33、色ずれ判定部(色ずれ判定手段)34、
閾値記憶部35、補正処理部(補正手段)36、フィル
タ記憶部37を含み、外部の制御部(制御手段)38に
より駆動制御されるようになっている。
As shown in FIG. 3, the color misregistration correction section 23 includes an image memory 30, a pixel density judgment section (pixel density judgment means) 31, a fitting processing section (approximation means) 32, a function storage section 33, Determining unit (color shift determining unit) 34;
It includes a threshold storage unit 35, a correction processing unit (correction unit) 36, and a filter storage unit 37, and is driven and controlled by an external control unit (control unit) 38.

【0111】すなわち、上記色ずれ補正部23は、入力
階調補正部22(図1)からのRGB信号(入力画像デ
ータ)に対して、画像メモリ30、画素濃度判定部3
1、フィッティング処理部32、色ずれ判定部34、補
正処理部36による色ずれ補正処理を施し、色ずれ補正
済の画像データとしてのRGB信号を後段の領域分離処
理部24(図1)に出力する一方、黒生成調整信号を後
段の黒生成下色除去部26(図1)に出力するようにな
っている。
That is, the color misregistration correction unit 23 receives the RGB signal (input image data) from the input gradation correction unit 22 (FIG. 1) and uses the image memory 30 and the pixel density determination unit 3
1. A color shift correction process is performed by a fitting processing unit 32, a color shift determination unit 34, and a correction processing unit 36, and an RGB signal as color shift corrected image data is output to the subsequent segmentation processing unit 24 (FIG. 1). On the other hand, the black generation adjustment signal is output to the subsequent black generation and under color removal unit 26 (FIG. 1).

【0112】色ずれ補正部23の処理について具体的に
説明すると以下のようになる。
The processing of the color misregistration correction unit 23 will be described specifically below.

【0113】入力階調補正部22より送られてきたRG
B信号(入力画像データ)に対してm×nの複数の画素
よりなる画像データが画像メモリ30に格納される
(m,nは正の整数である。後述するように、例えば1
×7マスク領域の画像データを用いて画素濃度の判定を
行う場合は、少なくとも3×7の画像データが格納され
る。)。
RG sent from the input tone correction unit 22
For the B signal (input image data), image data composed of a plurality of m × n pixels is stored in the image memory 30 (m and n are positive integers.
When determining the pixel density using the image data of the × 7 mask area, at least 3 × 7 image data is stored. ).

【0114】次に、画像メモリ30より、例えば1×7
マスク領域の画像データが抽出されて、画素濃度判定部
31で濃度情報に基づく極大点の有無が判定される。こ
こで、抽出された画像データに極大点が存在すると判定
された場合は1×7マスク領域のRGB信号はフィッテ
ィング処理部32に出力される。
Next, from the image memory 30, for example, 1 × 7
The image data of the mask area is extracted, and the pixel density determining unit 31 determines whether or not there is a maximum point based on the density information. Here, when it is determined that the maximum point exists in the extracted image data, the RGB signals of the 1 × 7 mask area are output to the fitting processing unit 32.

【0115】なお、上記画素濃度判定部31における画
素濃度判定は必ずしも行わなくてもよいが(後述するよ
うに、色ずれ補正部23を領域分離処理部24の後段に
配置する場合は必要ない)、この判定を行うことによ
り、文字や線画等の画像領域を速やかに見いだすことが
でき、極大点が存在しないと判定された場合は、その領
域が下地領域あるいは均一な濃度の画像領域であると判
断し、フィッティング処理を行う必要がないため、以降
の処理の高速化が期待される。
Note that the pixel density determination in the pixel density determination section 31 does not necessarily have to be performed (it is not necessary when the color misregistration correction section 23 is disposed downstream of the area separation processing section 24 as described later). By performing this determination, an image area such as a character or a line drawing can be quickly found, and if it is determined that there is no maximum point, the area is determined to be a background area or an image area of uniform density. Since there is no need to judge and perform the fitting processing, the subsequent processing is expected to be faster.

【0116】また、本実施の形態では、上記画素濃度判
定部31における画素濃度の判定基準として、上述した
ように、『極大点が存在するか否か』を判定基準として
用いているが、これに限定されるものではなく、『画素
濃度が単調増加傾向にあるか否か』や『所定の濃度以上
の画素が所定数存在するか否か』等の判定基準を用いて
も構わない。
Further, in the present embodiment, as described above, “whether or not a local maximum exists” is used as a criterion for determining the pixel density in the pixel density determining unit 31. However, the present invention is not limited to this, and a determination criterion such as “whether or not the pixel density tends to monotonously increase” or “whether or not a predetermined number of pixels having a predetermined density or more exist” may be used.

【0117】上記フィッティング処理部32において
は、入力されたRGB信号の各々に対し、関数記憶部3
3で記憶されている関数を用いてフィッティング処理が
なされる。フィッティングの際には、画像メモリ30よ
り送られてくるRGB値(RGB信号を数値化したも
の)とフィッティング結果(関数)の2乗誤差が最小と
なるように算出される。
In the fitting processing section 32, the function storage section 3
The fitting process is performed using the function stored in step 3. At the time of fitting, calculation is performed so that a square error between an RGB value (a numerical value of an RGB signal) sent from the image memory 30 and a fitting result (function) is minimized.

【0118】上記色ずれ判定部34では、フィッティン
グ処理部32によるフィッティング結果により得られた
関数の各パラメータに対し閾値記憶部35で記憶されて
いる閾値を用いた判定が行われ、色ずれが発生している
かどうかが判定され、色ずれが発生していると判定され
た場合には、画像メモリ30により送られてくるRGB
信号を補正処理部36に送る。一方、色ずれが発生して
いないと判定されれば、画像メモリ30により送られて
くるRGB信号は、そのまま色ずれ補正部23の後段の
領域分離処理部24に送られる。
The color misregistration judging section 34 judges each parameter of the function obtained as a result of the fitting by the fitting processing section 32 using the threshold value stored in the threshold value storing section 35, and a color misregistration occurs. Is determined, and if it is determined that color misregistration has occurred, the RGB sent from the image memory 30
The signal is sent to the correction processing unit 36. On the other hand, if it is determined that no color misregistration has occurred, the RGB signals sent from the image memory 30 are sent as they are to the region separation processing unit 24 downstream of the color misregistration correction unit 23.

【0119】上記色ずれ判定部34では、画像メモリ3
0より抽出された入力画像データの1×7マスク領域に
対して色ずれの発生の有無を判定するようになってい
る。つまり、色ずれ判定部34では、1×7マスク領域
が色ずれが発生した領域(以下、色ずれ領域と称する)
か否かを判定するようになっている。なお、色ずれ判定
部34における色ずれ判定処理の流れについては後述す
る。
In the color misregistration determining section 34, the image memory 3
It is determined whether or not a color shift has occurred in a 1 × 7 mask area of input image data extracted from 0. That is, in the color misregistration determination unit 34, the 1 × 7 mask area is a region where color misregistration has occurred (hereinafter referred to as a color misregistration region)
Is determined. The flow of the color misregistration determination process in the color misregistration determination unit 34 will be described later.

【0120】上記補正処理部36では、色ずれ領域と判
定された領域に対し、例えば、フィルタ記憶部37で記
憶されているフィルタを用いて空間フィルタ処理を行っ
て色ずれを補正する。
The correction processing section 36 corrects the color shift by performing a spatial filter process on the area determined to be the color shift area using, for example, a filter stored in the filter storage section 37.

【0121】また、上記補正処理部36は、黒生成下色
除去部26(図1)において黒生成量を制御する場合に
は、黒生成調整信号を該黒生成下色除去部26に出力す
る。
When controlling the amount of black generation in the black generation and under color removal section 26 (FIG. 1), the correction processing section 36 outputs a black generation adjustment signal to the black generation and under color removal section 26. .

【0122】ここで、上記フィルタ記憶部37に記憶さ
れたフィルタとして、例えば図4に示すように、検出さ
れた色ずれ領域に対して、色ずれ領域内の注目画素eを
中心とする3×3マスクの最小値フィルタを使用し、こ
の最小値フィルタによりマスク内の最小値(e’=mi
n(a,b,c,d,e,f,g,h,i))を算出
し、色ずれ補正結果として出力する。ここでは色ずれ補
正前と補正後を示している。これにより、色ずれ領域
は、原稿の下地濃度に近づくこととなり、その結果、文
字または線画領域だけが鮮明になる。
Here, as a filter stored in the filter storage unit 37, for example, as shown in FIG. 4, the detected color misregistration area is 3 × A minimum value filter of three masks is used, and the minimum value filter (e ′ = mi)
n (a, b, c, d, e, f, g, h, i)) is calculated and output as a color shift correction result. Here, before color shift correction and after color shift correction are shown. As a result, the color misregistration area approaches the background density of the document, and as a result, only the character or line drawing area becomes clear.

【0123】尚、本実施の形態では3×3マスクを用い
て説明したが、マスクの大きさはこれに限定されるもの
ではない。最小値フィルタでは、濃度が最小のものを選
択して処理後の画素の濃度として採用するため、マスク
サイズが大きくなるにしたがって色ずれ領域の濃度は原
稿の下地濃度により近づくこととなる。しかし、マスク
サイズが大きくなると回路規模が大きくなりコストアッ
プを招来するので、この点を考慮に入れ適切なサイズの
ものを設計すればよい。
Although the embodiment has been described using a 3 × 3 mask, the size of the mask is not limited to this. In the minimum value filter, the one having the minimum density is selected and adopted as the density of the pixel after processing. Therefore, as the mask size increases, the density of the color shift area becomes closer to the background density of the document. However, when the mask size is increased, the circuit scale is increased and the cost is increased. Therefore, an appropriate size may be designed in consideration of this point.

【0124】色ずれ領域を補正する別の方法としては、
黒生成下色除去部26において、黒文字または線画領域
の黒生成量をF1、色ずれ領域の黒生成量をF2とし、
F1>F2の関係を満たすように黒生成量を制御するよ
うにしてもよい。これにより、色ずれ領域の黒生成量
が、黒文字または線画領域での黒生成量より少なく設定
されているので、黒文字または線画が太くなるのを防ぐ
と共に、色濁りのない良好な画像を形成することができ
る。
As another method for correcting the color misregistration area,
In the black generation and under color removal unit 26, the black generation amount of the black character or line drawing area is F1, the black generation amount of the color misregistration area is F2,
The black generation amount may be controlled so as to satisfy the relationship of F1> F2. Thus, since the black generation amount in the color misregistration area is set to be smaller than the black generation amount in the black character or line drawing area, the black character or line drawing is prevented from becoming thick and a good image without color turbidity is formed. be able to.

【0125】上記色ずれ補正部23における各種の処理
は、CPU(Central Processing Unit )やDSP(Di
gital Signal Processor)をはじめとする制御部38を
介して行われる。
Various processes in the color misregistration correction unit 23 are performed by a CPU (Central Processing Unit) or a DSP (Division
This is performed via a control unit 38 such as a digital signal processor.

【0126】また、上記制御部38では、後述する図9
のカラー画像処理装置40において、原稿のプレスキャ
ン(予備走査)を行い、スキャナの読み取り速度を高
め、低解像度で読み込まれた入力画像データに対して、
領域分離処理を施し、文字または線画領域を抽出して、
RGB信号の各色成分の差分の絶対値と予め定められる
閾値とを比較し、その結果、色ずれが生じていないと判
断された時、本スキャン時に色ずれ補正部23での処理
を行わないように制御するようになっている。この場
合、プレスキャンが必要になるが、色ずれが生じたと判
断された時のみ補正処理を行えば良いので効率よく画像
処理を行うことができる。
In the control unit 38, FIG.
In the color image processing apparatus 40, prescanning (preliminary scanning) of a document is performed, the reading speed of the scanner is increased, and input image data read at a low resolution is processed.
Performs area separation processing, extracts character or line drawing areas,
The absolute value of the difference between each color component of the RGB signal is compared with a predetermined threshold value. If it is determined that no color shift has occurred, the color shift correcting unit 23 does not perform the process during the main scan. Is controlled. In this case, a pre-scan is required, but since the correction process only needs to be performed when it is determined that a color shift has occurred, image processing can be performed efficiently.

【0127】次に、上記色ずれ補正部23における色ず
れ判定処理の流れについて、図5に示すフローチャート
を参照しながら以下に説明する。
Next, the flow of the color misregistration determination process in the color misregistration correction section 23 will be described below with reference to the flowchart shown in FIG.

【0128】まず、画像入力が行われ、該入力画像から
入力階調補正部22よりRGB信号を得る(ステップS
1)。
First, image input is performed, and RGB signals are obtained from the input image from the input tone correction unit 22 (step S).
1).

【0129】次に、得られたRGB信号より所定のサイ
ズのデータが画像メモリ30に格納され、1×7マスク
領域のデータが抽出される(ステップS2)。
Next, data of a predetermined size is stored in the image memory 30 from the obtained RGB signals, and data of a 1 × 7 mask area is extracted (step S2).

【0130】続いて、抽出されたデータに対して、画素
濃度判定部31で濃度情報に基づく極大点の有無の判定
がなされる(ステップS3)。ここで、極大点の判定方
法の1つとして、マスク領域内における隣り合うデータ
(画素濃度)の差分情報を求め単調増加から単調減少、
あるいは、ほとんど差が見られない状態へと変化する点
があるか否かを調べる方法が挙げられる。
Subsequently, for the extracted data, the pixel density determining section 31 determines whether or not there is a maximum point based on the density information (step S3). Here, as one of the methods for determining the maximum point, difference information between adjacent data (pixel densities) in the mask area is obtained and monotonically increased to monotonically decreased.
Alternatively, there is a method of examining whether or not there is a point that changes to a state where almost no difference is seen.

【0131】ステップS3において、『極大点が存在す
る』と判定された場合は、フィッティング処理部32に
おいて関数を用いて近似を行う(ステップS4)。
If it is determined in step S3 that "there is a maximum point", the fitting processing unit 32 performs approximation using a function (step S4).

【0132】一方、ステップS3において、『極大点が
存在する』と判定されなかった場合は、その領域は下地
領域あるいは均一な濃度の画像領域であると判定し、ス
テップS8に移行して色ずれ無し(色ずれの影響がな
い、あるいは目立たない)と判定される。
On the other hand, if it is not determined in step S3 that "maximum point exists", it is determined that the area is a background area or an image area having a uniform density, and the flow proceeds to step S8 to perform color misregistration. It is determined that there is no effect (there is no influence of color shift or inconspicuous).

【0133】ステップS4では、1×7マスク領域内の
データに対し関数を用いてフィッティングが行われる。
フィッティングを行う場合は、ガウシアン関数をはじめ
とする各種関数や、スプライン補間、ラグランジュ補間
といった補間手法があるが、本発明では、三角関数Ac
osn (θ+α)によるフィッティングを行う。このと
きAは、振幅を表し、マスク領域内の画素濃度の極大点
を示すことになる。また、nは、関数の尖度を指してお
り、nの値が大きくなるにつれ対象となる画像領域の線
幅が小さくなることを意味している。θは、基準画素位
置を、またαは、規準画素位置からの位相差を表してお
り、このパラメータが分かれば色ずれ量を求めることが
できる。
In step S4, fitting is performed on the data in the 1 × 7 mask area using a function.
When performing fitting, there are various functions such as a Gaussian function, and interpolation methods such as spline interpolation and Lagrange interpolation. In the present invention, the trigonometric function Ac
Perform fitting with os n (θ + α). At this time, A represents the amplitude and indicates the maximum point of the pixel density in the mask area. Further, n indicates the kurtosis of the function, and means that as the value of n increases, the line width of the target image area decreases. θ represents the reference pixel position, and α represents the phase difference from the reference pixel position. If this parameter is known, the amount of color shift can be obtained.

【0134】上述のステップS4により1×7マスク領
域内のデータに対し関数を用いて近似された後、ステッ
プS5において、フィッティングにより、RGB信号の
それぞれに対して、推定される関数との2乗誤差が最小
となるA(AR ,AG ,AB)、α(αR ,αG
αB )、n(nR ,nG ,nB )を求める。
After the data in the 1 × 7 mask area is approximated using a function in step S4 described above, in step S5, each of the RGB signals is squared with the estimated function by fitting. A (A R , A G , A B ) and α (α R , α G ,
α B ) and n (n R , n G , n B ).

【0135】そして、α(αR ,αG ,αB )に対し、
条件判定を行い色ずれの有無を調べる。すなわち、αR
=αG =αB であるか否かを判定する(ステップS
6)。ここで、αR =αG =αB であると判定されれ
ば、色ずれは無いものとしてステップS8に移行する。
一方、αR =αG =αB でないと判定されれば、ステッ
プS7に移行して、補正処理が行われる。
Then, for α (α R , α G , α B ),
A condition determination is made to check for the presence or absence of a color shift. That is, α R
= Α G = α B is determined (step S
6). Here, if it is determined that α R = α G = α B, it is determined that there is no color shift, and the process proceeds to step S8.
On the other hand, if it is determined that α R = α G = α B is not satisfied, the process proceeds to step S7, and a correction process is performed.

【0136】ここで、図5に示すフローチャートで示さ
れる色ずれ判定処理において、色ずれ補正を行うか否か
の条件として、以下の3つの条件が考えられる。
Here, in the color misregistration determination processing shown in the flow chart shown in FIG. 5, the following three conditions can be considered as conditions for performing color misregistration correction.

【0137】<条件1>極大点が存在し、「αR =αG
=αB 」を満たすときは、色ずれが発生していないと判
定する。つまり、ステップS3において、極大点を有す
ると判定され、ステップS6において、αR =αG =α
B を満たしていると判定されたとき、色ずれが発生して
いないと判定する。
<Condition 1> A maximum point exists, and “α R = α G
= Α B ”, it is determined that no color shift has occurred. That is, in step S3, it is determined that there is a maximum point, and in step S6, α R = α G = α
When it is determined that B is satisfied, it is determined that no color shift has occurred.

【0138】<条件2>極大点が存在し、「αR =αG
=αB 」を満たさないときは、色ずれが発生していると
判定し、色ずれ補正処理を行う。つまり、ステップS3
において、極大点を有すると判定され、ステップS6に
おいて、αR =αG =αB を満たしていないと判定され
たとき、色ずれが発生していると判定する。
<Condition 2> A maximum point exists, and “α R = α G
= Α B ”, it is determined that a color shift has occurred, and a color shift correction process is performed. That is, step S3
In step S6, when it is determined in step S6 that α R = α G = α B is not satisfied, it is determined that a color shift has occurred.

【0139】<条件3>極大点が存在しないときは、文
字または線画領域ではない為、色ずれの影響がない、あ
るいは目立たないと判定し、色ずれ補正処理は行わな
い。つまり、ステップS3において、極大点を有しない
と判定されたときには、色ずれの影響がない、あるいは
目立たないと判定する。
<Condition 3> When the maximum point does not exist, since it is not a character or line drawing area, it is determined that there is no influence of color shift or it is not noticeable, and no color shift correction processing is performed. That is, in step S3, when it is determined that there is no maximum point, it is determined that there is no influence of color misregistration or that it is not conspicuous.

【0140】上記の条件2の場合、すなわち入力画像に
色ずれが生じていると判定された場合には、ステップS
7において、色ずれ補正処理、すなわち図3に示す補正
処理部36における補正処理が実行される。この補正処
理については、前述したフィルタ記憶部37に記憶され
たフィルタを用いて行われる。
In the case of the above condition 2, that is, when it is determined that a color shift has occurred in the input image, step S
In 7, the color misregistration correction processing, that is, the correction processing in the correction processing unit 36 shown in FIG. 3 is executed. This correction process is performed using the filter stored in the filter storage unit 37 described above.

【0141】そして、上記の色ずれ判定処理は、入力画
像に対し全てのデータが終了するまで実行される(ステ
ップS9)。
The above-described color misregistration determination processing is executed until all data for the input image is completed (step S9).

【0142】ここで、上記色ずれ補正部23内のフィッ
ティング処理部32におけるフィッティング処理につい
て以下に説明する。
Here, the fitting processing in the fitting processing section 32 in the color misregistration correction section 23 will be described below.

【0143】まず、カラー信号におけるフィッティング
処理について、図6(a)を参照しながら以下に説明す
る。ここで、カラー信号とは、RGBの色信号を示す。
First, the fitting process for a color signal will be described below with reference to FIG. Here, the color signal indicates an RGB color signal.

【0144】図6(a)は、所定の1つのカラー信号に
おける画素位置と画素濃度の関係と、関数によるフィッ
ティング結果とを示すグラフである。
FIG. 6A is a graph showing a relationship between a pixel position and a pixel density in one predetermined color signal and a result of fitting by a function.

【0145】今、注目画素位置をt、画素濃度をDとす
ると、関数でフィッティングさせた結果は、D=132
cos4000(t)となる。本実施の形態では、1画素を
π/180[rad](≒0.0175[rad])と
してフィッティングを行った。もし、注目画素位置t=
0とし、注目画素位置において「0.1画素以上ずれて
いるときは色ずれが発生している」と判定するならば、
図5に示す色ずれ補正処理の流れにおいては、α=0.
00175という閾値を設ければよいことになる。すな
わち、α≧0.00175の時、色ずれが生じていると
判定されることになる。
Now, assuming that the target pixel position is t and the pixel density is D, the result of fitting by the function is D = 132
cos 4000 (t). In this embodiment, fitting is performed with one pixel being π / 180 [rad] (≒ 0.0175 [rad]). If the target pixel position t =
0, and if it is determined that “a color shift has occurred when there is a shift of 0.1 pixel or more” at the target pixel position,
In the flow of the color misregistration correction process shown in FIG.
It suffices to provide a threshold value of 00175. That is, when α ≧ 0.00175, it is determined that a color shift has occurred.

【0146】ここでは、1つのカラー信号について説明
しているが、他のカラー信号についても同様のフィッテ
ィングを行い、得られたパラメータにより図5で示した
色ずれ判定を行う。色ずれが発生しないときは、3つの
カラー信号をフィッティングさせたときのパラメータα
はほぼ一致することとなる。
Although one color signal has been described here, the same fitting is performed for the other color signals, and the color misregistration determination shown in FIG. 5 is performed using the obtained parameters. When no color shift occurs, the parameter α when fitting three color signals is used.
Are almost the same.

【0147】次に、色ずれが発生したときにおけるフィ
ッティング処理を、図6(b)を参照しながら以下に説
明する。
Next, the fitting process when a color shift occurs will be described below with reference to FIG.

【0148】図6(b)は、色ずれが発生した際の3つ
のカラー信号における画素位置と画素濃度の関係と、関
数によるフィッティング結果とを示すグラフである。こ
のグラフは、万線チャートをスキャナで読み込んだもの
であるが、黒い線画あるいは文字領域においては、色ず
れをパラメータから確認することができる。
FIG. 6B is a graph showing a relationship between a pixel position and a pixel density in three color signals when a color shift occurs, and a fitting result by a function. This graph is obtained by reading a line chart with a scanner. In a black line drawing or a character area, a color shift can be confirmed from a parameter.

【0149】続いて、太い文字・線画領域におけるフィ
ッティング処理を、図7(a)(b)および図8を参照
しながら以下に説明する。
Next, the fitting process in the thick character / line drawing area will be described below with reference to FIGS. 7 (a) and 7 (b) and FIG.

【0150】図7(a)(b)は、太い文字あるいは太
い線画領域における画素位置と画素濃度の関係(図7
(a))と、無彩色領域を除いて、その両端の領域xと
yをつなぎ、関数を利用したフィッティングを行った結
果(図7(b))とを表している。
FIGS. 7A and 7B show the relationship between the pixel position and the pixel density in a thick character or a line drawing area (FIG. 7).
(A)) and the result of performing fitting using a function by connecting the regions x and y at both ends excluding the achromatic region (FIG. 7 (b)).

【0151】この結果、無彩色領域は、マスク領域内に
おける隣り合うデータの濃度レベルの差分情報を取った
ときにほぼ0になる領域とみなすことができる。この処
理により、太い文字または線画領域においても小さな文
字や細線の場合と同様の色ずれ判定を実行することが可
能となる。
As a result, the achromatic region can be regarded as a region which becomes substantially zero when the difference information of the density level of the adjacent data in the mask region is obtained. This processing makes it possible to execute the same color shift determination as in the case of a small character or a thin line even in a thick character or a line drawing area.

【0152】図8は、太い文字あるいは太い線画領域に
おいて、小さな文字や細線の場合と同様の色ずれ判定を
実行することが可能となる2番目の手法を示している。
この手法でも、無彩色領域はマスク領域内における隣り
合うデータの濃度レベルの差分情報から決定することが
できる。ここでは、画素濃度が飽和する画素までのデー
タを活用し、フィッティングを行う。これにより画像端
部の領域をつなぐ手法(図7(a)(b))を使うこと
なくフィッティングをすることが可能となる。
FIG. 8 shows a second method which makes it possible to execute the same color misregistration determination as in the case of small characters or thin lines in a thick character or a thick line drawing area.
Also in this method, the achromatic region can be determined from the difference information of the density levels of adjacent data in the mask region. Here, fitting is performed using data up to the pixel at which the pixel density is saturated. This makes it possible to perform fitting without using a method of connecting the regions at the end portions of the image (FIGS. 7A and 7B).

【0153】図1に示すカラー画像処理装置2では、色
ずれ補正を行った後、領域分離を行うようになっていた
が、先ず、領域分離を行い、その後色ずれ補正を行うよ
うに構成してもよい。
In the color image processing apparatus 2 shown in FIG. 1, after performing the color shift correction, the area separation is performed. First, the area separation is performed, and then the color shift correction is performed. You may.

【0154】すなわち、領域分離情報を利用し、色ずれ
補正を行う場合には、例えば図9に示すようなカラー画
像処理装置40が用いられる。なお、説明の便宜上、図
1に示すカラー画像処理装置2における構成部材と同一
機能を有する部材には、同一符号を付記し、その説明を
省略する。
That is, when performing color misregistration correction using the area separation information, for example, a color image processing apparatus 40 as shown in FIG. 9 is used. For convenience of description, members having the same functions as those of the components in the color image processing apparatus 2 shown in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted.

【0155】上記カラー画像処理装置40は、図9に示
すように、図1に示すカラー画像処理装置2と、色ずれ
補正部23の配置位置が異なるだけで、他は全て同じで
ある。すなわち、カラー画像処理装置40は、色ずれ補
正部23の前段に領域分離処理部24を配置した構造と
なっている。
As shown in FIG. 9, the color image processing device 40 is the same as the color image processing device 2 shown in FIG. 1 except that the color misregistration correction section 23 is disposed. That is, the color image processing device 40 has a structure in which the region separation processing unit 24 is arranged at the previous stage of the color misregistration correction unit 23.

【0156】上記領域分離処理部24は、RGB信号よ
り、入力画像中の各画素を文字または線画領域、網点領
域、写真領域の何れかに分離するものであり、色ずれが
目立ちやすくまた判定が容易であり、黒文字あるいは黒
の線画領域を抽出して色ずれ補正部23にて色ずれ補正
を行うことも可能である。これにより所定の領域のみを
抽出して色ずれ補正処理を行うので、処理速度の向上が
期待される。色ずれ補正が施されたRGB信号は色補正
部25へ出力される。
The area separation processing section 24 separates each pixel in the input image into any of a character or line drawing area, a halftone dot area, and a photograph area from the RGB signals. It is also possible to extract a black character or a black line drawing area and perform the color shift correction by the color shift correcting unit 23. As a result, since only a predetermined area is extracted and the color misregistration correction processing is performed, an improvement in processing speed is expected. The RGB signals subjected to the color misregistration correction are output to the color correction unit 25.

【0157】領域分離処理部24における領域分離方法
としては、例えば.「画像電子学会研究会予稿90’0
6’04」に記載されている方法を用いることができ
る。以下に詳細を説明する。この方法では、注目画素を
中心としたM×N(M、Nは自然数)画素のブロック内
で以下のような一連の判定を行い、これらの判定結果を
注目画素の領域識別信号とする。
The region separation method in the region separation processing section 24 is, for example,. "Proceedings of the Institute of Image Electronics Engineers of Japan 90'0
6′04 ”. The details will be described below. In this method, a series of determinations as described below are performed in a block of M × N pixels (M and N are natural numbers) centered on a target pixel, and these determination results are used as an area identification signal of the target pixel.

【0158】1.ブロック内の中央の9画素に対して信
号レベルの平均値(Dave )を求め、その平均値を用い
てブロック内の各画素を2値化する。また、最大画素信
号レベル(Dmax )、最小画素信号レベル(Dmin )も
同時に求める。
[0158] 1. An average value (D ave ) of signal levels is obtained for the central nine pixels in the block, and each pixel in the block is binarized using the average value. Further, the maximum pixel signal level (D max ) and the minimum pixel signal level (D min ) are determined at the same time.

【0159】2.網点領域では、小領域における画像信
号の変動が大きいことや、背景に比べて濃度が高いこと
を利用し、網点領域を識別する。2値化されたデータに
対して主走査、副走査方向でそれぞれ0から1への変化
点数、1から0への変化点数を求めて、それぞれKH
V とし、閾値TH 、TV と比較して両者が共に閾値を
上回ったら網点領域とする。また、背景との誤判定を防
ぐために、Dmax 、D min 、Dave を閾値B1 、B2
比較する。即ち、以下の条件で、網点領域と非網点領域
とを分ける。
[0159] 2. In the dot area, the image signal in the small area is
The fluctuation of the signal is large and the concentration is higher than the background
Is used to identify the halftone dot area. On binarized data
On the other hand, changes from 0 to 1 in the main scanning and sub-scanning directions
The score from 1 to 0 is calculated, and KH,
KVAnd the threshold TH, TVBoth sets the threshold as compared to
If it exceeds, it is regarded as a dot area. It also prevents erroneous determination of the background.
Dmax, D min, DaveTo the threshold B1, BTwoWhen
Compare. That is, under the following conditions, the dot area and the non-dot area
And divide.

【0160】[0160]

【数2】 (Equation 2)

【0161】3.文字領域では、最大信号レベルと最小
信号レベルの差が大きく、濃度も高いと考えられること
から、文字領域の識別を以下のように行う。非網点領域
において先に求めていた最大、最小信号レベルとそれら
の差分(Dsub )を閾値PA、PB 、PC と比較し、ど
れか一つが上回ったならば文字領域、すべて閾値以下な
らば写真領域とする。即ち、以下の条件で、非網点領域
を、文字領域と写真領域とに分ける。
[0161] 3. In the character area, since the difference between the maximum signal level and the minimum signal level is considered to be large and the density is considered to be high, the character area is identified as follows. The maximum and minimum signal levels previously determined in the non-dot area and their difference (D sub ) are compared with thresholds P A , P B , and P C, and if any one exceeds, the character area, all thresholds If it is the following, it is a photograph area. That is, the non-dot area is divided into a character area and a photograph area under the following conditions.

【0162】[0162]

【数3】 (Equation 3)

【0163】以上のように、上記構成のデジタルカラー
複写機によれば、カラー画像入力装置1により入力され
た画像データに生じる色ずれを、入力画像データ毎に判
定し、この判定結果に基づいて、色ずれ補正を行うよう
になっているので、従来のように、予め設定した基準デ
ータ(色ずれ量)を用いた色ずれ補正の場合に比べて、
手間が掛からず、精度よく色ずれ補正を行うことができ
る。
As described above, according to the digital color copying machine having the above configuration, the color shift occurring in the image data input by the color image input device 1 is determined for each input image data, and based on the determination result, , The color misregistration correction is performed, so that the color misregistration correction using the preset reference data (color misregistration amount) as in the related art is performed.
It is possible to perform color misregistration correction with high accuracy without trouble.

【0164】また、本実施の形態においては、上述した
ような画像処理方法以外に以下の方法であっても同様の
効果を奏することができる。
In the present embodiment, the same effect can be obtained by the following method other than the above-described image processing method.

【0165】すなわち、入力画像データの複数の色成分
が、任意の画素位置において色ずれを生じていると判定
された時、上記色ずれの補正処理を行う画像処理方法に
おいて、上記画像処理方法は、入力画像データの複数の
色成分毎に各画素位置に対する濃度分布を関数を用いて
近似する第1の工程と、上記複数の色成分毎に求められ
た近似式を比較し、色ずれが生じているか否かを判定す
る第2の工程と、色ずれが生じていると判定された時、
この色ずれの補正処理を行う第3の工程とを含んでいて
もよい。
That is, when it is determined that a plurality of color components of the input image data have a color shift at an arbitrary pixel position, the image processing method for correcting the color shift is as follows. Comparing the first step of using a function to approximate the density distribution for each pixel position for each of a plurality of color components of the input image data with the approximate expression obtained for each of the plurality of color components, and A second step of determining whether or not there is a color misregistration;
A third step of performing the color shift correction processing may be included.

【0166】このように、関数によるフィッティングを
行うことにより、あらかじめ規準データを読み取ること
なく精度良く色ずれの有無を判定することができる。
As described above, by performing fitting using a function, it is possible to accurately determine the presence or absence of a color shift without reading reference data in advance.

【0167】しかも、色ずれは入力画像における各色成
分の画素位置がずれることによって生じるので、一次情
報である各色成分の画素位置に基づいて、色ずれが生じ
ているか否かを判定することによって、高い精度で色ず
れ判定および色ずれ補正を行うことができる。
Further, since the color shift is caused by the shift of the pixel position of each color component in the input image, it is determined whether or not the color shift has occurred based on the pixel position of each color component which is the primary information. Color misregistration determination and color misregistration correction can be performed with high accuracy.

【0168】これは、入力画像毎に、各色成分の画素位
置に基づいて、色ずれが生じているか否かを判定し、色
ずれが生じていると判定した場合に色ずれ補正を行い、
画像処理を行っているからである。
In this method, for each input image, it is determined whether or not a color shift has occurred based on the pixel position of each color component. When it is determined that a color shift has occurred, the color shift is corrected.
This is because image processing is performed.

【0169】本発明の別の実施の一形態について説明す
れば、以下の通りである。
The following will describe another embodiment of the present invention.

【0170】本実施の形態に係るカラー画像処理装置5
0を図10に示す。なお、説明の便宜上、図1に示すカ
ラー画像処理装置2における構成部材と同一機能を有す
る部材には、同一符号を付記し、その説明を省略する。
The color image processing apparatus 5 according to the present embodiment
0 is shown in FIG. For convenience of description, members having the same functions as those of the components in the color image processing apparatus 2 shown in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted.

【0171】上記カラー画像処理装置50は、図10に
示すように、図1に示すカラー画像処理装置2と、色ず
れ補正部51が異なるだけで、他は全て同じである。す
なわち、カラー画像処理装置50は、色ずれ補正部23
の代わりに色ずれ補正部51を有する構造となってい
る。
As shown in FIG. 10, the color image processing apparatus 50 is the same as the color image processing apparatus 2 shown in FIG. 1 except that the color misregistration correction unit 51 is different. In other words, the color image processing device 50
, A structure having a color misregistration correction unit 51 is provided.

【0172】上記色ずれ補正部51は、図11に示すよ
うに、画像メモリ30、画素濃度判定部(画素濃度判定
手段)31、画素位置推定部(画素位置推定手段)5
2、色ずれ判定部(色ずれ判定手段)53、補正処理部
(補正手段)36、フィルタ記憶部37を含み、外部の
制御部38により駆動制御されるようになっている。な
お、説明の便宜上、図3に示す色ずれ補正部23におけ
る構成部材と同一機能を有する部材である、画像メモリ
30、画素濃度判定部31、補正処理部36、フィルタ
記憶部37、および制御部38には、同一符号を付記
し、その説明を省略する。
As shown in FIG. 11, the color misregistration correcting section 51 includes an image memory 30, a pixel density determining section (pixel density determining section) 31, and a pixel position estimating section (pixel position estimating section) 5.
2. It includes a color misregistration determination unit (color misregistration determination unit) 53, a correction processing unit (correction unit) 36, and a filter storage unit 37, and is driven and controlled by an external control unit 38. Note that, for convenience of explanation, the image memory 30, the pixel density determination unit 31, the correction processing unit 36, the filter storage unit 37, and the control unit, which are members having the same functions as the components in the color misregistration correction unit 23 illustrated in FIG. 38 has the same reference characters allotted, and description thereof will be omitted.

【0173】上記色ずれ補正部51は、入力階調補正部
22(図10)からのRGB信号(入力画像データ)に
対して、画像メモリ30、画素濃度判定部31、画素位
置推定部52、色ずれ判定部53、補正処理部36によ
る色ずれ補正処理を施し、色ずれ補正済の画像データと
してのRGB信号を後段の領域分離処理部24(図1
0)に出力する一方、黒生成調整信号を後段の黒生成下
色除去部26(図10)に出力するようになっている。
The color misregistration corrector 51 responds to the RGB signals (input image data) from the input tone corrector 22 (FIG. 10) by using the image memory 30, the pixel density determiner 31, the pixel position estimator 52, The color misregistration determination unit 53 and the correction processing unit 36 perform color misregistration correction processing, and convert the RGB signals as the color misregistration corrected image data into the subsequent segmentation processing unit 24 (FIG. 1).
0), and outputs the black generation adjustment signal to the subsequent black generation and under color removal unit 26 (FIG. 10).

【0174】色ずれ補正部51の処理について具体的に
説明すると以下のようになる。
The processing of the color misregistration correction unit 51 will be specifically described as follows.

【0175】入力階調補正部22より送られてきたRG
B信号(入力画像データ)に対してm×nの複数の画素
よりなる画像データが画像メモリ30に格納される
(m,nは正の整数である。後述するように、例えば1
×7マスク領域の画像データを用いて画素濃度の判定を
行う場合は、少なくとも3×7の画像データが格納され
る。)。
RG sent from input tone correction section 22
For the B signal (input image data), image data composed of a plurality of m × n pixels is stored in the image memory 30 (m and n are positive integers.
When determining the pixel density using the image data of the × 7 mask area, at least 3 × 7 image data is stored. ).

【0176】次に、画像メモリ30より、例えば1×7
マスク領域の画像データが抽出されて、画素濃度判定部
31で濃度情報に基づく極大点の有無が判定される。こ
こで、抽出された画像データに極大点が存在すると判定
された場合は1×7マスク領域のRGB信号は画素位置
推定部52に出力される。
Next, from the image memory 30, for example, 1 × 7
The image data of the mask area is extracted, and the pixel density determining unit 31 determines whether or not there is a maximum point based on the density information. Here, when it is determined that the maximum point exists in the extracted image data, the RGB signals of the 1 × 7 mask area are output to the pixel position estimation unit 52.

【0177】なお、上記画素濃度判定部31における画
素濃度判定は必ずしも行わなくてもよいが(前述したよ
うに、色ずれ補正部51を領域分離処理部24の後段に
配置する場合は必要ない)、この判定を行うことによ
り、文字や線画等の画像領域を速やかに見いだすことが
でき、極大点が存在しないと判定された場合は、その領
域が下地領域あるいは均一な濃度の画像領域であると判
断し、色ずれ判定を行う必要がないため、以降の処理の
高速化が期待される。
Note that the pixel density determination in the pixel density determination section 31 does not always have to be performed (as described above, it is not necessary to arrange the color misregistration correction section 51 after the area separation processing section 24). By performing this determination, an image area such as a character or a line drawing can be quickly found, and if it is determined that there is no maximum point, it is determined that the area is a background area or an image area of uniform density. Since there is no need to make a judgment and make a color shift judgment, it is expected that the subsequent processing will be speeded up.

【0178】画素位置推定部52においては、入力され
たRGB信号(1×7マスク領域のデータ)に対し、全
色成分の平均濃度を算出し、そのときのRGB信号それ
ぞれの画素位置βR 、βG 、βB を推定する。なお、平
均濃度をRGB信号ごとに算出し、各信号の平均濃度か
らβR 、βG 、βB を推定してもよい。
The pixel position estimating section 52 calculates the average density of all the color components for the input RGB signals (1 × 7 mask area data), and calculates the pixel positions β R , β G and β B are estimated. Note that the average density may be calculated for each of the RGB signals, and β R , β G , and β B may be estimated from the average density of each signal.

【0179】各信号の平均濃度の画素位置βR 、βG
βB を推定する際には、画素濃度判定部31より送られ
てくるRGB信号の平均濃度における画素位置を、この
画素位置に隣接する画素の画素濃度を用いて線形近似す
ることにより推定する。なお、RGB信号の平均濃度に
おける画素位置βR 、βG 、βB を推定する方法の詳細
については後述する。
The pixel positions β R , β G , of the average density of each signal
When estimating β B , the pixel position at the average density of the RGB signals sent from the pixel density determination unit 31 is estimated by linear approximation using the pixel densities of the pixels adjacent to this pixel position. The details of the method of estimating the pixel positions β R , β G , and β B at the average density of the RGB signals will be described later.

【0180】また、原稿からの反射光像が光学レンズを
通る際に波長の違いに起因し、入力されたRGB信号の
バランスが大きく崩れている場合がある。この場合に
は、濃度が低い色成分の信号に対し、濃度バランス補正
を行った後に、全色成分の平均濃度を算出する。なお、
この濃度バランス補正の詳細については後述する。
In addition, when the reflected light image from the original passes through the optical lens, the balance of the input RGB signals may be greatly lost due to the difference in wavelength. In this case, after performing the density balance correction on the signal of the color component having a low density, the average density of all the color components is calculated. In addition,
Details of the density balance correction will be described later.

【0181】色ずれ判定部53では、画素位置推定部5
2において得られた、RGB信号それぞれの画素位置β
R 、βG 、βB が略一致するかどうかを判定する。色ず
れ領域と判定された場合には、補正処理部36へ送られ
る。一方、色ずれが発生していないと判定されれば、画
像メモリ30により送られてくるRGB信号は、そのま
ま色ずれ補正部51の後段の領域分離処理部24に送ら
れる。色ずれ判定処理の流れについては、図12を用い
て後に説明する。
In the color misregistration determining section 53, the pixel position estimating section 5
2, the pixel position β of each of the RGB signals obtained in
R, β G, determines whether beta B substantially coincides. If it is determined that the area is a color misregistration area, it is sent to the correction processing unit 36. On the other hand, if it is determined that no color misregistration has occurred, the RGB signals sent from the image memory 30 are sent as they are to the segmentation processing unit 24 downstream of the color misregistration correction unit 51. The flow of the color misregistration determination processing will be described later with reference to FIG.

【0182】補正処理部36では、色ずれ領域と判定さ
れた領域に対し、例えば、フィルタ記憶部37で記憶さ
れているフィルタを用いて空間フィルタ処理を行い、色
ずれを補正する。あるいは、図10に示すように黒生成
下色除去部26に黒生成量を制御する場合には、補正処
理部36で黒生成調整信号を黒生成下色除去部26に出
力する。
The correction processing unit 36 performs a spatial filter process on the area determined as the color shift area using, for example, a filter stored in the filter storage unit 37 to correct the color shift. Alternatively, when the black generation amount is controlled by the black generation and under color removal unit 26 as shown in FIG. 10, the correction processing unit 36 outputs a black generation adjustment signal to the black generation and under color removal unit 26.

【0183】次に、上記色ずれ補正部51における色ず
れ判定処理の流れについて、図12に示すフローチャー
トを参照しながら以下に説明する。
Next, the flow of the color misregistration determination processing in the color misregistration correction section 51 will be described below with reference to the flowchart shown in FIG.

【0184】まず、画像入力が行われ、該入力画像から
入力階調補正部22よりRGB信号を得る(ステップS
11)。
First, image input is performed, and RGB signals are obtained from the input image from the input tone correction section 22 (step S).
11).

【0185】次に、得られたRGB信号より所定のサイ
ズのデータが画像メモリ30に格納され、1×7マスク
領域のデータが抽出される(ステップS12)。
Next, data of a predetermined size is stored in the image memory 30 from the obtained RGB signals, and data of a 1 × 7 mask area is extracted (step S12).

【0186】続いて、抽出されたデータに対して、画素
濃度判定部31で濃度情報に基づく極大点の有無の判定
がなされる(ステップS13)。ここで、極大点の判定
方法の1つとして、マスク領域内における隣り合うデー
タ(画素濃度)の差分情報を求め単調増加から単調減
少、あるいは、ほとんど差が見られない状態へと変化す
る点があるか否かを調べる方法が挙げられる。
Subsequently, for the extracted data, the pixel density determining section 31 determines whether or not there is a maximum point based on the density information (step S13). Here, one of the methods for determining the maximum point is that difference information between adjacent data (pixel densities) in the mask area is obtained, and the point changes from a monotonous increase to a monotonous decrease or a state where almost no difference is seen. There is a method of checking whether or not there is.

【0187】ステップS13において、『極大点が存在
する』と判定された場合は、1×7マスク領域のデータ
に対し、平均濃度を算出し、そのときの画素位置βR
βG、βB を推定する(ステップS14)。
In step S13, if it is determined that "there is a local maximum point", an average density is calculated for the data of the 1 × 7 mask area, and the pixel position β R ,
β G and β B are estimated (step S14).

【0188】平均濃度の画素位置βR 、βG 、βB の推
定には、平均濃度に対応する位置に隣接する画素の画素
位置と画素濃度とから、線形補間により求める。そし
て、RGB信号の平均濃度における画素位置βR
βG 、βB より色ずれ量を求めることができる。
The pixel positions β R , β G , and β B of the average density are estimated by linear interpolation from the pixel position and the pixel density of the pixel adjacent to the position corresponding to the average density. Then, the pixel position β R at the average density of the RGB signal,
The color shift amount can be obtained from β G and β B.

【0189】ここで、1×7マスク領域のデータに対
し、RGB信号のバランスが大きく崩れているときに
は、まず濃度バランス補正処理を行い(濃度バランス補
正手段)、平均濃度を算出する。この場合、図13に示
すような濃度バランス補正処理ルーチンを、図12に示
すフローチャートのステップS13とステップS14と
の間に挿入する。
Here, when the balance of the RGB signals is greatly disturbed with respect to the data of the 1 × 7 mask area, first, density balance correction processing is performed (density balance correction means), and the average density is calculated. In this case, a density balance correction processing routine as shown in FIG. 13 is inserted between steps S13 and S14 in the flowchart shown in FIG.

【0190】図13では、例えば、1×7マスク領域に
おける各RGB信号の最も高い濃度値をmax R、max
G、max Bとし、最も低い濃度値をmin R、min G、mi
n Bとする。最大濃度差の閾値をTと設定し、次式によ
り濃度バランス補正処理の必要の有無を調べる(ステッ
プS19)。
In FIG. 13, for example, the highest density value of each RGB signal in the 1 × 7 mask area is represented by max R, max
G, max B, and the lowest density value is min R, min G, mi
nB. The threshold value of the maximum density difference is set to T, and the necessity of density balance correction processing is checked by the following equation (step S19).

【0191】max {(max R−min R), (max G−mi
n G),(max B−min B)}−min {(max R−min
R), (max G−min G),(max B−min B)}>T 上記条件式を満たすならば、ステップS20に移行し、
濃度バランス補正処理を行い、満たさなければ、ステッ
プS14に移行し、濃度バランス補正処理を行わずに画
素位置推定処理を行う。
Max {(max R-min R), (max G-mi
nG), (max B-min B)}-min {(max R-min
R), (max G−min G), (max B−min B)}> T If the above conditional expression is satisfied, the process proceeds to step S20,
If the density balance correction processing is not performed, the process proceeds to step S14, and the pixel position estimation processing is performed without performing the density balance correction processing.

【0192】濃度バランス補正処理は、1×7マスク領
域において最も濃度の高い色成分の信号の最大値と、上
記条件式を満たす色成分の信号の最大値を比較して補正
倍率を求め、図14に示すように、この補正倍率を上記
条件式を満たす色成分の信号の各データに乗算すること
により行う。
In the density balance correction processing, the maximum value of the signal of the color component having the highest density in the 1 × 7 mask area is compared with the maximum value of the signal of the color component that satisfies the above-mentioned conditional expression to obtain a correction magnification. As shown in FIG. 14, the correction magnification is multiplied by each data of the signal of the color component satisfying the above conditional expression.

【0193】図15は、RGB信号における画素位置と
画素濃度の関係、および線形近似により平均濃度の画素
位置を推定する方法を示す図である。画素濃度は各画素
毎の離散データであるが、ここでは理解しやすくするた
めに、画素間のデータを補間し曲線として示してある。
FIG. 15 is a diagram showing a relationship between a pixel position and a pixel density in an RGB signal and a method of estimating a pixel position having an average density by linear approximation. The pixel density is discrete data for each pixel, but here, for easy understanding, data between pixels is interpolated and shown as a curve.

【0194】例えば、モノクロの直線を読み取った場
合、平均濃度Aveに近い画素濃度を有し、かつ隣接す
るG信号の画素位置をP、P+1、それぞれの位置にお
けるG信号の画素濃度をGP 、GP+1 とする。このと
き、G信号における平均濃度画素位置βG は、次式で近
似的に表すことができる。
For example, when a monochrome straight line is read, pixels having pixel densities close to the average density Ave, and pixel positions of adjacent G signals being P and P + 1, and pixel densities of G signals at respective positions being G P and Let GP + 1 . At this time, the average density pixel position β G in the G signal can be approximately expressed by the following equation.

【0195】[0195]

【数4】 (Equation 4)

【0196】ここでは、一つのカラー信号についてのみ
説明しているが、他のカラー信号であるR信号およびB
信号についても、同様にして、βR 、βB を算出する。
Although only one color signal has been described here, the R signal and B signal which are other color signals are described.
Similarly, β R and β B are calculated for the signal.

【0197】色ずれが発生しないときには、3つのRG
B信号の平均濃度画素位置βR 、β G 、βB は略一致す
る。よって、例えば、 max (|βR −βG |,|βG −βB |,|βB −βR
|)<0.5 と設定し、上記の条件を満たすか否かにより色ずれの有
無を判定する。そして、この条件を満たすとき、 βR =βG =βB であるとし、色ずれが発生していないと判定する。した
がって、図12のフローチャートのステップS15にお
いて、βR =βG =βB であるか否かを判定する。
When no color shift occurs, three RGs
Average density pixel position β of B signalR, Β G, ΒBApproximately matches
You. Thus, for example, max (| βR−βG|, | ΒG−βB|, | ΒB−βR
|) <0.5, and there is color misregistration depending on whether the above conditions are satisfied.
Determine nothing. And when this condition is satisfied, βR= ΒG= ΒB And it is determined that no color shift has occurred. did
Accordingly, step S15 in the flowchart of FIG.
And βR= ΒG= ΒBIs determined.

【0198】ここで、図12に示すフローチャートで示
される色ずれ判定処理において、色ずれ補正を行うか否
かの条件として、以下の3つの条件を考える。
Here, in the color misregistration determination processing shown in the flowchart shown in FIG. 12, the following three conditions are considered as conditions for performing color misregistration correction.

【0199】<条件1>極大点が存在し、「βR =βG
=βB 」を満たすときは、色ずれが発生していないと判
定する。つまり、ステップS13において、極大点を有
すると判定され、ステップS15において、βR =βG
=βB を満たしていると判定されたとき、色ずれが発生
していないと判定する。
<Condition 1> A maximum point exists, and “β R = β G
= Β B ”, it is determined that no color shift has occurred. That is, in step S13, it is determined that there is a local maximum point, and in step S15, β R = β G
= When it is determined that meets the beta B, it determines that the color shift does not occur.

【0200】<条件2>極大点が存在し、「βR =βG
=βB 」を満たさないときは、色ずれが発生していると
判定し、色ずれ補正処理を行う(ステップS16)。つ
まり、ステップS13において、極大点を有すると判定
され、ステップS15において、βR =βG =βB を満
たしていないと判定されたとき、色ずれが発生している
と判定する。
<Condition 2> A maximum point exists, and “β R = β G
= Β B ”, it is determined that a color shift has occurred, and a color shift correction process is performed (step S16). That is, when it is determined in step S13 that the image has the local maximum point, and when it is determined in step S15 that β R = β G = β B is not satisfied, it is determined that a color shift has occurred.

【0201】<条件3>極大点が存在しないときは、文
字または線画領域ではない為、色ずれの影響がない、あ
るいは目立たないと判定し、色ずれ補正処理は行わな
い。つまり、ステップS13において、極大点を有しな
いと判定されたときには、色ずれの影響がない、あるい
は目立たないと判定する。
<Condition 3> When the maximum point does not exist, since it is not a character or line drawing area, it is determined that there is no influence of color misregistration or it is not conspicuous, and no color misregistration correction processing is performed. That is, when it is determined in step S13 that there is no local maximum point, it is determined that there is no influence of color misregistration or that it is not noticeable.

【0202】上記の条件2の場合、すなわち入力画像に
色ずれが生じていると判定された場合には、ステップS
16において、色ずれ補正処理、すなわち図10に示す
補正処理部36における補正処理が実行される。この補
正処理については、前述したフィルタ記憶部37に記憶
されたフィルタを用いて行われる。
In the case of the above condition 2, that is, when it is determined that a color shift has occurred in the input image, step S
At 16, the color misregistration correction processing, that is, the correction processing in the correction processing unit 36 shown in FIG. 10 is executed. This correction process is performed using the filter stored in the filter storage unit 37 described above.

【0203】そして、上記の色ずれ判定処理は、入力画
像に対し全てのデータが終了するまで実行される(ステ
ップS18)。
The above-described color misregistration determination processing is executed until all data for the input image is completed (step S18).

【0204】なお、図10に示すカラー画像処理装置5
0では、色ずれ補正を行った後、領域分離を行うように
なっていたが、先ず、領域分離を行い、その後色ずれ補
正を行うように構成してもよい。
The color image processing device 5 shown in FIG.
In the case of 0, the area separation is performed after the color shift correction is performed. However, the area separation may be performed first, and then the color shift correction may be performed.

【0205】[0205]

【発明の効果】本発明の画像処理方法は、以上のよう
に、入力画像の色ずれを補正して出力画像を得る画像処
理方法において、入力画像毎に、各色成分の画素位置に
基づいて、色ずれが生じているか否かを判定し、色ずれ
が生じていると判定した場合に色ずれ補正を行う構成で
ある。
According to the image processing method of the present invention, as described above, in the image processing method for correcting the color shift of the input image to obtain the output image, the image processing method is provided for each input image based on the pixel position of each color component. In this configuration, it is determined whether or not a color shift has occurred, and when it is determined that a color shift has occurred, the color shift is corrected.

【0206】それゆえ、入力画像毎に色ずれが生じてい
るか否かを判定し、色ずれが生じていると判定した場合
に色ずれ補正を行うことで、入力画像毎に色ずれ補正を
行うことができる。
Therefore, it is determined whether or not a color shift has occurred for each input image, and if it is determined that a color shift has occurred, the color shift is corrected, thereby performing the color shift correction for each input image. be able to.

【0207】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0208】また、従来のように、基準原稿である万線
チャートまたは基準パターンを使用する必要はないの
で、これらを使用する手間を省くことができる。
Further, unlike the related art, there is no need to use a line chart or a reference pattern, which is a reference original, so that it is not necessary to use them.

【0209】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of color misregistration is determined for each input image, image processing can be performed without color misregistration correction processing when there is no color misregistration. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0210】しかも、色ずれは入力画像における各色成
分の画素位置がずれることによって生じるので、一次情
報である各色成分の画素位置に基づいて、色ずれが生じ
ているか否かを判定することによって、高い精度で色ず
れ判定および色ずれ補正を行うことができるという効果
を奏する。
Moreover, since the color shift is caused by the shift of the pixel position of each color component in the input image, it is determined whether or not the color shift has occurred based on the pixel position of each color component which is the primary information. There is an effect that color misregistration determination and color misregistration correction can be performed with high accuracy.

【0211】本発明の画像処理方法は、また、以上のよ
うに、入力画像の色ずれを補正して出力画像を得る画像
処理方法において、入力画像毎に、各色成分の各画素位
置の位置ずれ量を検出し、この検出結果に基づいて色ず
れが生じているか否かを判定し、色ずれが生じていると
判定した場合に色ずれ補正を行う構成である。
According to the image processing method of the present invention, as described above, in the image processing method of correcting the color shift of the input image to obtain the output image, the position shift of each pixel position of each color component is provided for each input image. The amount is detected, and it is determined whether or not a color shift has occurred based on the detection result. When it is determined that the color shift has occurred, the color shift is corrected.

【0212】それゆえ、入力画像毎に色ずれが生じてい
るか否かを判定し、色ずれが生じていると判定した場合
に色ずれ補正を行うことで、入力画像毎に色ずれ補正を
行うことができる。
Therefore, it is determined whether or not a color shift has occurred for each input image, and if it is determined that a color shift has occurred, the color shift is corrected, so that the color shift is corrected for each input image. be able to.

【0213】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0214】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0215】しかも、また、入力画像の各色成分の各画
素位置の位置ずれ量を検出することで、色ずれが生じて
いるか否かを判定するようになっているので、簡単に色
ずれを判定することができる。
Furthermore, since the amount of color shift of each pixel position of each color component of the input image is detected to determine whether or not a color shift has occurred, the color shift can be easily determined. can do.

【0216】また、従来のように、基準原稿である万線
チャートまたは基準パターンを使用する必要はないの
で、これらを用いた場合のように線形補間を使用するこ
とによる誤差を考慮しないで精度の高い色ずれ補正を行
うことができるという効果を奏する。
Further, unlike the related art, it is not necessary to use a line chart or a reference pattern which is a reference original, and therefore, the accuracy can be improved without considering the error caused by using linear interpolation as in the case of using these. There is an effect that a high color shift correction can be performed.

【0217】さらに、入力画像の色成分毎に、各画素位
置に対する濃度分布を関数により近似し、この近似結果
に基づいて、色ずれが生じているか否かを判定する構成
であってもよい。
Further, a configuration may be adopted in which, for each color component of the input image, the density distribution at each pixel position is approximated by a function, and whether or not a color shift has occurred is determined based on the approximation result.

【0218】この場合、入力画像の色成分毎に、各画素
位置に対する濃度分布を関数により近似することで、入
力画像の各色成分の画素位置のずれ量を正確に求めるこ
とができる。
In this case, by approximating the density distribution at each pixel position by a function for each color component of the input image, the shift amount of the pixel position of each color component of the input image can be accurately obtained.

【0219】したがって、この入力画像の各色成分の画
素位置のずれ量に基づいて、入力画像の色ずれを判定す
れば、より精度よく、入力画像の色ずれの有無を判定す
ることができる。
Therefore, if the color shift of the input image is determined based on the shift amount of the pixel position of each color component of the input image, the presence or absence of the color shift of the input image can be more accurately determined.

【0220】これにより、さらに、色ずれ補正の精度を
向上させることができ、この結果、入力画像を忠実に再
現した出力画像を得ることができるという効果を奏す
る。
As a result, the accuracy of color misregistration correction can be further improved, and as a result, an effect that an output image faithfully reproducing an input image can be obtained can be obtained.

【0221】本発明の画像処理方法は、また、以上のよ
うに、入力画像の色ずれを補正して出力画像を得る画像
処理方法において、入力画像毎に、各色成分の平均濃度
における画素位置を推定し、この推定結果に基づいて、
色ずれが生じているか否かを判定し、色ずれが生じてい
ると判定した場合に色ずれ補正を行う構成である。
According to the image processing method of the present invention, as described above, in the image processing method of correcting the color shift of the input image to obtain the output image, the pixel position at the average density of each color component is determined for each input image. And based on this estimation,
In this configuration, it is determined whether or not a color shift has occurred, and when it is determined that the color shift has occurred, the color shift is corrected.

【0222】それゆえ、入力画像毎に色ずれが生じてい
るか否かを判定し、色ずれが生じていると判定した場合
に色ずれ補正を行うことで、入力画像毎に色ずれ補正を
行うことができる。
Therefore, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected, so that the color shift is corrected for each input image. be able to.

【0223】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0224】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0225】しかも、また、入力画像の各色成分の平均
濃度における画素位置を推定することで、色ずれが生じ
ているか否かを判定するようになっているので、簡単に
色ずれを判定することができるという効果を奏する。
Further, since the pixel position at the average density of each color component of the input image is estimated to determine whether or not a color shift has occurred, the color shift can be easily determined. This has the effect that it can be performed.

【0226】さらに、入力画像の各色成分の濃度バラン
スが、予め定められる範囲を越えていると判断したと
き、上記各色成分の濃度バランスが、予め定められた範
囲に収まるように補正する構成であってもよい。
Further, when it is determined that the density balance of each color component of the input image exceeds a predetermined range, the correction is made so that the density balance of each color component falls within the predetermined range. You may.

【0227】この場合、さらに、入力画像の各色成分の
平均濃度における画素位置を推定する前に、入力画像の
各色成分の濃度バランスが、予め定められる範囲を越え
ていると判断した時、補正を行うことにより、精度よく
画素位置を推定することができる。
In this case, before estimating the pixel position at the average density of each color component of the input image, if it is determined that the density balance of each color component of the input image exceeds a predetermined range, correction is performed. By doing so, the pixel position can be accurately estimated.

【0228】これにより、さらに、色ずれ補正の精度を
向上させることができ、この結果、入力画像を忠実に再
現した出力画像を得ることができるという効果を奏す
る。
As a result, the accuracy of the color misregistration correction can be further improved, and as a result, it is possible to obtain an output image in which the input image is faithfully reproduced.

【0229】本発明の画像処理装置は、以上のように、
入力画像に生じた色ずれを補正する色ずれ補正手段を備
えた画像処理装置において、上記色ずれ補正手段は、入
力画像の色成分毎の画素位置に基づいて、色ずれが生じ
ているか否かを判定する色ずれ判定手段と、上記色ずれ
判定手段により色ずれが生じていると判定されたとき、
該色ずれを補正する補正手段とを備えている構成であ
る。
As described above, the image processing apparatus of the present invention
In an image processing apparatus provided with a color misregistration correction unit for correcting a color misregistration occurring in an input image, the color misregistration correction unit determines whether a color misregistration has occurred based on a pixel position for each color component of the input image. Color misregistration determining means for determining whether the color misregistration has occurred,
And a correcting means for correcting the color misregistration.

【0230】それゆえ、入力画像毎に色ずれが生じてい
るか否かを判定し、色ずれが生じていると判定した場合
に色ずれ補正を行うことで、入力画像毎に色ずれ補正を
行うことができる。
Therefore, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected, thereby performing the color shift correction for each input image. be able to.

【0231】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0232】また、従来のように、基準原稿である万線
チャートまたは基準パターンを使用する必要はないの
で、これらを使用する手間を省くことができる。
Further, unlike the related art, there is no need to use a line chart or a reference pattern, which is a reference original, so that it is not necessary to use them.

【0233】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0234】しかも、色ずれは入力画像における各色成
分の画素位置がずれることによって生じるので、一次情
報である各色成分の画素位置に基づいて、色ずれが生じ
ているか否かを判定することによって、高い精度で色ず
れ判定および色ずれ補正を行うことができるという効果
を奏する。
Further, since the color shift is caused by the shift of the pixel position of each color component in the input image, it is determined whether or not the color shift has occurred based on the pixel position of each color component which is the primary information. There is an effect that color misregistration determination and color misregistration correction can be performed with high accuracy.

【0235】本発明の画像処理装置は、また、以上のよ
うに、入力画像に生じた色ずれを補正する色ずれ補正手
段を備えた画像処理装置において、上記色ずれ補正手段
は、入力画像の色成分毎に、各画素位置に対する濃度分
布を関数により近似する近似手段と、上記近似手段によ
る近似結果に基づいて、色ずれが生じているか否かを判
定する色ずれ判定手段と、上記色ずれ判定手段により色
ずれが生じていると判定されたとき、該色ずれを補正す
る補正手段とを備えている構成である。
As described above, the image processing apparatus of the present invention is provided with the color shift correcting means for correcting the color shift generated in the input image. An approximation unit that approximates a density distribution for each pixel position by a function for each color component, a color misregistration determination unit that determines whether or not a color misregistration has occurred based on an approximation result obtained by the approximation unit; When the determination unit determines that a color shift has occurred, a correction unit that corrects the color shift is provided.

【0236】それゆえ、入力画像毎に色ずれが生じてい
るか否かを判定し、色ずれが生じていると判定した場合
に色ずれ補正を行うことで、入力画像毎に色ずれ補正を
行うことができる。
Therefore, it is determined whether or not a color shift has occurred for each input image, and if it is determined that a color shift has occurred, the color shift is corrected, thereby performing the color shift correction for each input image. be able to.

【0237】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0238】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0239】しかも、また、入力画像の色成分毎に、各
画素位置に対する濃度分布を関数により近似すること
で、入力画像の各色成分の画素位置のずれ量を正確に求
めることができる。
Furthermore, by approximating the density distribution for each pixel position with a function for each color component of the input image, it is possible to accurately determine the amount of displacement of the pixel position of each color component of the input image.

【0240】したがって、この入力画像の各色成分の画
素位置のずれ量に基づいて、入力画像の色ずれを判定す
れば、より精度よく、入力画像の色ずれの有無を判定す
ることができる。
Therefore, if the color shift of the input image is determined based on the shift amount of the pixel position of each color component of the input image, the presence or absence of the color shift of the input image can be more accurately determined.

【0241】また、従来のように、基準原稿である万線
チャートまたは基準パターンを使用する必要はないの
で、これらを用いた場合のように線形補間を使用するこ
とによる誤差を考慮しないで精度の高い色ずれ補正を行
うことができるという効果を奏する。
In addition, since it is not necessary to use a line chart or a reference pattern as a reference original as in the related art, the accuracy can be improved without considering the error caused by using linear interpolation as in the case of using these. There is an effect that a high color shift correction can be performed.

【0242】本発明の画像処理装置は、また、以上のよ
うに、入力画像に生じた色ずれを補正する色ずれ補正手
段を備えた画像処理装置において、上記色ずれ補正手段
は、入力画像の色成分毎の濃度分布から平均濃度の画素
位置を推定する画素位置推定手段と、上記画素位置推定
手段の推定結果に基づき、色ずれが生じているか否かを
判定する色ずれ判定手段と、上記色ずれ判定手段により
色ずれが生じていると判定されたとき、該色ずれを補正
する補正手段とを備えている構成である。
As described above, the image processing apparatus of the present invention is provided with the color shift correcting means for correcting the color shift generated in the input image. A pixel position estimating means for estimating a pixel position having an average density from a density distribution for each color component; a color misregistration determining means for judging whether or not a color misregistration has occurred based on the estimation result of the pixel position estimating means; When the color misregistration determining means determines that a color misregistration has occurred, a correction means for correcting the color misregistration is provided.

【0243】それゆえ、入力画像毎に色ずれが生じてい
るか否かを判定し、色ずれが生じていると判定した場合
に色ずれ補正を行うことで、入力画像毎に色ずれ補正を
行うことができる。
Therefore, it is determined whether or not a color shift has occurred for each input image, and when it is determined that a color shift has occurred, the color shift is corrected, so that the color shift is corrected for each input image. be able to.

【0244】このように、入力画像毎に色ずれを判定
し、得られた色ずれ判定結果に基づいて色ずれ補正を行
うことにより、スキャナ等の駆動系における振動の経時
変化が生じても、色ずれ補正の精度が低下することはな
く、常に高い精度で色ずれ補正を行うことができる。
As described above, the color shift is determined for each input image, and the color shift is corrected based on the obtained color shift determination result. The accuracy of the color shift correction does not decrease, and the color shift correction can always be performed with high accuracy.

【0245】さらに、上述のように、入力画像毎に色ず
れの有無を判定するようにすれば、色ずれのない場合に
は、色ずれ補正処理を行わないで画像処理を行うことが
できるので、従来のように、入力された画像に対して、
色ずれの有無に関わり無く色ずれ処理が常に行われる場
合に比べて、画像処理に係る時間を大幅に短くすること
ができる。
Further, as described above, if the presence or absence of a color shift is determined for each input image, the image processing can be performed without performing the color shift correction processing when there is no color shift. , As before, for the input image,
The time required for image processing can be significantly reduced as compared with the case where color shift processing is always performed regardless of the presence or absence of color shift.

【0246】しかも、また、入力画像の色成分毎の濃度
分布から平均濃度の画素位置を推定することができる。
Furthermore, the pixel position of the average density can be estimated from the density distribution for each color component of the input image.

【0247】したがって、この入力画像の各色成分毎の
平均濃度の画素位置に基づいて、入力画像の色ずれを判
定すれば、より精度よく、入力画像の色ずれの有無を判
定することができるという効果を奏する。
Therefore, if the color shift of the input image is determined based on the pixel position of the average density for each color component of the input image, it is possible to more accurately determine the presence or absence of the color shift of the input image. It works.

【0248】上記画素位置推定手段には、さらに、入力
画像の各色成分の濃度バランスが予め定められる範囲を
越えていると判断したとき、上記各色成分の濃度バラン
スが、予め定められた範囲に収まるように補正する濃度
バランス補正手段を設ける構成であってもよい。
When the pixel position estimating means further determines that the density balance of each color component of the input image exceeds a predetermined range, the density balance of each color component falls within the predetermined range. A configuration may be provided in which the density balance correction means for performing such correction is provided.

【0249】この場合、さらに、入力画像の各色成分の
平均濃度における画素位置を推定する前に、入力画像の
各色成分の濃度バランスが、予め定められる範囲を越え
ていると判断した時、補正を行うことにより、精度よく
画素位置を推定することができる。
In this case, before estimating the pixel position at the average density of each color component of the input image, if it is determined that the density balance of each color component of the input image exceeds a predetermined range, correction is performed. By doing so, the pixel position can be accurately estimated.

【0250】これにより、さらに、色ずれ補正の精度を
向上させることができ、この結果、入力画像を忠実に再
現した出力画像を得ることができるという効果を奏す
る。
As a result, the accuracy of the color misregistration correction can be further improved, and as a result, an effect that an output image that faithfully reproduces an input image can be obtained is obtained.

【0251】上記色ずれ補正手段には、さらに各画素毎
の濃度を基に所定の領域内の濃度分布を求め、この濃度
分布に基づいて、色ずれ判定の対象となる領域であるか
否かを判定する画素濃度判定手段を、上記色ずれ判定手
段の前段に設ける構成であってもよい。
The color misregistration correcting means further obtains a density distribution in a predetermined area based on the density of each pixel, and determines whether or not the area is a target for color misregistration determination based on the density distribution. May be provided in a stage preceding the color misregistration determining means.

【0252】この場合、色ずれ判定手段の前段に画素濃
度判定手段が設けられていることにより、指定された領
域でのみ色ずれ判定を行えばよいことになり、色ずれ補
正処理の処理速度を向上させることができるという効果
を奏する。
In this case, since the pixel density determining means is provided before the color misalignment determining means, the color misregistration needs to be determined only in the designated area, and the processing speed of the color misregistration correction processing is reduced. There is an effect that it can be improved.

【0253】また、入力画像を文字・網点・写真の各領
域に分離する領域分離手段を備え、上記色ずれ補正手段
を、上記領域分離手段の前段に設ける構成であってもよ
い。
Further, the image processing apparatus may be provided with an area separating means for separating the input image into character, halftone dot, and photograph areas, and the color misregistration correcting means is provided at a stage preceding the area separating means.

【0254】この場合、領域分離手段による入力画像の
領域分離の前に、色ずれ補正手段により、予め色ずれ補
正処理を行うことにより、該領域分離手段による領域分
離処理における領域分離の誤判定を防ぎ、領域分離処理
における領域分離の精度を向上させることができるとい
う効果を奏する。
In this case, before the region separation of the input image by the region separation means, the color misregistration correction means performs the color misregistration correction processing in advance, so that the erroneous determination of the area separation in the region separation processing by the area separation means is performed. Thus, there is an effect that the accuracy of region separation in the region separation processing can be improved.

【0255】また、上記色ずれ補正手段を、上記領域分
離手段の後段に設ける構成であってもよい。
Further, the color misregistration correcting means may be provided at the subsequent stage of the area separating means.

【0256】この場合、領域分離手段により領域分離さ
れた領域、すなわち抽出された文字または線画領域に対
し、色ずれ補正手段による色ずれ補正処理を行うことに
より、文字または線画領域周辺に発生する色ずれを検知
・補正することが可能となる。
In this case, by performing color shift correction processing by the color shift correcting means on the area separated by the area separating means, that is, the extracted character or line drawing area, the color generated around the character or line drawing area is obtained. The displacement can be detected and corrected.

【0257】特に、色ずれが目立ち易い文字や線画領域
を領域分離処理により抽出し、色ずれ補正処理を行うの
で、処理の高速化を図ることができるという効果を奏す
る。
In particular, since a character or line drawing area in which color misregistration is conspicuous is extracted by the area separation processing and the color misregistration correction processing is performed, the processing can be speeded up.

【0258】また、原稿の予備走査時に読み込まれた入
力画像に対して、上記領域分離手段による領域分離処理
を行わせ、色ずれが生じているか否かを判定し、色ずれ
が生じていないと判定されたときに、該入力画像に対す
る色ずれ補正処理を行わないように上記色ずれ補正手段
を制御する制御手段を設ける構成であってもよい。
The input image read at the time of preliminary scanning of the document is subjected to the area separation processing by the area separation means, and it is determined whether or not a color shift has occurred. A control means for controlling the color shift correcting means so as not to perform the color shift correction processing on the input image when the determination is made may be provided.

【0259】この場合、予備走査時に読み込まれる低解
像度の入力画像にて大略的に色ずれの有無の判定を行
い、色ずれが生じていると判定された時にのみ、色ずれ
補正手段による色ずれ補正処理を行うようになるので、
無駄なく効率よく画像処理を行うことができるという効
果を奏する。
In this case, the presence / absence of color misregistration is roughly determined in the low-resolution input image read at the time of preliminary scanning, and only when it is determined that color misregistration has occurred, the color misregistration correction means Since the correction process will be performed,
There is an effect that image processing can be performed efficiently without waste.

【0260】本発明の画像形成装置は、以上のように、
入力画像に対して所定の処理を施して出力画像を形成す
るものであって、上述した本発明の画像処理装置を備え
ている構成である。
As described above, the image forming apparatus of the present invention
The image processing apparatus performs predetermined processing on an input image to form an output image, and includes the above-described image processing apparatus of the present invention.

【0261】それゆえ、上記した画像処理装置によれ
ば、色ずれが生じているか否かを精度よく判定し、色ず
れ補正を行うことができるので、高品質の画像を出力す
ることができる画像形成装置を提供することができると
いう効果を奏する。
Therefore, according to the above-described image processing apparatus, it is possible to accurately determine whether or not a color shift has occurred and to perform the color shift correction, so that a high quality image can be output. There is an effect that a forming apparatus can be provided.

【0262】この画像形成装置としては、例えば電子写
真方式やインクジェット方式を用いたカラー画像形成装
置等が挙げられる。また、画像処理後の画像を表示でき
る画像表示装置、例えばコンピュータや携帯情報機器の
表示手段として用いられる液晶ディスプレイ等であって
もよい。
As the image forming apparatus, for example, a color image forming apparatus using an electrophotographic system or an ink jet system can be used. An image display device that can display an image after image processing, such as a liquid crystal display used as a display unit of a computer or a portable information device, may be used.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の画像処理装置を備えた画像形成装置と
してのデジタルカラー複写機の概略構成ブロック図であ
る。
FIG. 1 is a schematic block diagram of a digital color copying machine as an image forming apparatus having an image processing apparatus according to the present invention.

【図2】図1に示すデジタルカラー複写機に備えられた
カラー画像入力装置を示す概略構成図である。
FIG. 2 is a schematic configuration diagram showing a color image input device provided in the digital color copying machine shown in FIG.

【図3】図1に示すデジタルカラー複写機に備えられた
カラー画像処理装置の色ずれ補正部を示す概略構成ブロ
ック図である。
FIG. 3 is a schematic block diagram showing a color misregistration correction unit of the color image processing apparatus provided in the digital color copying machine shown in FIG.

【図4】図3に示す色ずれ補正部で行われる色ずれ補正
処理として、フィルタ処理を行う場合の説明図である。
FIG. 4 is a diagram illustrating a case where a filter process is performed as a color shift correction process performed by a color shift correction unit illustrated in FIG. 3;

【図5】図3に示す色ずれ補正部において行われる色ず
れ補正処理の流れを示すフローチャートである。
FIG. 5 is a flowchart illustrating a flow of a color shift correction process performed in a color shift correction unit illustrated in FIG. 3;

【図6】(a)は関数を用いたフィッティングの例を示
すグラフであり、(b)は色ずれが生じている時の関数
によるフィッティング結果を示したグラフである。
FIG. 6A is a graph showing an example of fitting using a function, and FIG. 6B is a graph showing a fitting result by the function when a color shift occurs.

【図7】(a)(b)は太い文字や線画領域を関数を用
いてフィッティングし、色ずれが生じているか否かを判
定する方法を説明するグラフである。
FIGS. 7A and 7B are graphs illustrating a method of fitting a thick character or a line drawing area using a function to determine whether or not a color shift has occurred;

【図8】太い文字や線画領域を関数を用いてフィッティ
ングし、色ずれが生じているか否かを判定する別の方法
を説明するグラフである。
FIG. 8 is a graph illustrating another method of fitting a thick character or a line drawing area using a function to determine whether or not a color shift has occurred.

【図9】本発明の他のカラー画像処理装置を備えるデジ
タルカラー複写機の概略構成ブロック図である。
FIG. 9 is a schematic block diagram of a digital color copier including another color image processing apparatus of the present invention.

【図10】本発明の更に別のカラー画像処理装置を備え
るデジタルカラー複写機の概略構成ブロック図である。
FIG. 10 is a schematic configuration block diagram of a digital color copier including still another color image processing apparatus of the present invention.

【図11】図10に示すデジタルカラー複写機に備えら
れたカラー画像処理装置の色ずれ補正部を示す概略構成
ブロック図である。
11 is a schematic block diagram illustrating a color misregistration correction unit of the color image processing apparatus provided in the digital color copying machine shown in FIG.

【図12】図11に示す色ずれ補正部において行われる
色ずれ補正処理の流れを示すフローチャートである。
FIG. 12 is a flowchart illustrating a flow of a color shift correction process performed by the color shift correction unit illustrated in FIG. 11;

【図13】濃度バランス補正処理の流れを示すフローチ
ャートである。
FIG. 13 is a flowchart illustrating a flow of a density balance correction process.

【図14】濃度バランス補正処理を行う方法を説明する
グラフである。
FIG. 14 is a graph illustrating a method for performing a density balance correction process.

【図15】平均濃度の画素位置を線形補間により推測
し、色ずれ量を求める方法を説明するグラフである。
FIG. 15 is a graph illustrating a method of estimating a pixel position of an average density by linear interpolation and obtaining a color shift amount.

【符号の説明】[Explanation of symbols]

1 カラー画像入力装置 2 カラー画像処理装置(画像処理装置) 3 カラー画像出力装置 23 色ずれ補正部(色ずれ補正手段) 24 領域分離処理部(領域分離手段) 31 画素濃度判定部(画素濃度判定手段) 32 フィッティング処理部(近似手段) 34 色ずれ判定部(色ずれ判定手段) 36 補正処理部(補正手段) 38 制御部(制御手段) 40 カラー画像処理装置(画像処理装置) 50 カラー画像処理装置(画像処理装置) 51 色ずれ補正部(色ずれ補正手段) 52 画像位置推定部(画像位置推定手段) 53 色ずれ判定部(色ずれ判定手段) REFERENCE SIGNS LIST 1 color image input device 2 color image processing device (image processing device) 3 color image output device 23 color shift correction unit (color shift correction unit) 24 region separation processing unit (region separation unit) 31 pixel density determination unit (pixel density determination Means) 32 Fitting processing section (approximation means) 34 Color misregistration determination section (Color misregistration determination means) 36 Correction processing section (Correction means) 38 Control section (Control means) 40 Color image processing device (Image processing device) 50 Color image processing Apparatus (image processing apparatus) 51 Color misregistration correction unit (color misregistration correction means) 52 Image position estimation unit (image position estimation means) 53 Color misregistration determination unit (color misregistration determination means)

フロントページの続き (72)発明者 中山 裕理 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 5B057 AA01 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC02 CE17 CH03 CH09 CH11 DA17 DB02 DB06 DC05 DC25 DC36 5C077 LL01 MM03 MP08 PP32 PP39 PP49 PQ25 TT06 5C079 HB01 LA02 LA24 MA02 MA11 NA02 PA02 Continuation of front page (72) Inventor Yuri Nakayama 22-22 Nagaikecho, Abeno-ku, Osaka City, Osaka F-term (reference) 5B057 AA01 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC02 CE17 CH03 CH09 CH11 DA17 DB02 DB06 DC05 DC25 DC36 5C077 LL01 MM03 MP08 PP32 PP39 PP49 PQ25 TT06 5C079 HB01 LA02 LA24 MA02 MA11 NA02 PA02

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】入力画像の色ずれを補正して出力画像を得
る画像処理方法において、 入力画像毎に、各色成分の画素位置に基づいて、色ずれ
が生じているか否かを判定し、色ずれが生じていると判
定した場合に色ずれ補正を行うことを特徴とする画像処
理方法。
In an image processing method for obtaining an output image by correcting a color shift of an input image, it is determined whether or not a color shift has occurred based on a pixel position of each color component for each input image. An image processing method, wherein color shift correction is performed when it is determined that a shift has occurred.
【請求項2】入力画像の色ずれを補正して出力画像を得
る画像処理方法において、 入力画像毎に、各色成分の各画素位置の位置ずれ量を検
出し、この検出結果に基づいて色ずれが生じているか否
かを判定し、色ずれが生じていると判定した場合に色ず
れ補正を行うことを特徴とする画像処理方法。
2. An image processing method in which an output image is obtained by correcting a color shift of an input image, wherein a position shift amount of each pixel position of each color component is detected for each input image, and the color shift is determined based on the detection result. An image processing method comprising: determining whether or not a color shift has occurred; and performing color shift correction when determining that a color shift has occurred.
【請求項3】入力画像の色ずれを補正して出力画像を得
る画像処理方法において、 入力画像の色成分毎に、各画素位置に対する濃度分布を
関数により近似し、この近似結果に基づいて色ずれが生
じているか否かを判定し、色ずれが生じていると判定し
た場合に色ずれ補正を行うことを特徴とする画像処理方
法。
3. An image processing method in which an output image is obtained by correcting a color shift of an input image, wherein a density distribution at each pixel position is approximated by a function for each color component of the input image, and a color is calculated based on the approximation result. An image processing method comprising: determining whether a shift has occurred; and performing color shift correction when determining that a color shift has occurred.
【請求項4】入力画像の色ずれを補正して出力画像を得
る画像処理方法において、 入力画像毎に、各色成分の平均濃度における画素位置を
推定し、この推定結果に基づいて、色ずれが生じている
か否かを判定し、色ずれが生じていると判定した場合に
色ずれ補正を行うことを特徴とする画像処理方法。
4. An image processing method for obtaining an output image by correcting a color shift of an input image, comprising: estimating a pixel position at an average density of each color component for each input image; An image processing method comprising: determining whether or not a color shift has occurred; and performing color shift correction when determining that a color shift has occurred.
【請求項5】入力画像の各色成分の濃度バランスが、予
め定められる範囲を越えていると判断したとき、上記各
色成分の濃度バランスが、予め定められた範囲に収まる
ように補正することを特徴とする請求項4に記載の画像
処理方法。
5. When the density balance of each color component of the input image is determined to be outside a predetermined range, the correction is made so that the density balance of each color component falls within the predetermined range. The image processing method according to claim 4, wherein
【請求項6】入力画像に生じた色ずれを補正する色ずれ
補正手段を備えた画像処理装置において、 上記色ずれ補正手段は、 入力画像の色成分毎の画素位置に基づいて、色ずれが生
じているか否かを判定する色ずれ判定手段と、 上記色ずれ判定手段により色ずれが生じていると判定さ
れたとき、該色ずれを補正する補正手段とを備えている
ことを特徴とする画像処理装置。
6. An image processing apparatus provided with a color shift correcting means for correcting a color shift occurring in an input image, wherein the color shift correcting means detects a color shift based on a pixel position for each color component of the input image. Color shift determining means for determining whether or not color shift has occurred, and correcting means for correcting the color shift when the color shift determining means determines that color shift has occurred. Image processing device.
【請求項7】入力画像に生じた色ずれを補正する色ずれ
補正手段を備えた画像処理装置において、 上記色ずれ補正手段は、 入力画像の色成分毎に、各画素位置に対する濃度分布を
関数により近似する近似手段と、 上記近似手段による近似結果に基づいて、色ずれが生じ
ているか否かを判定する色ずれ判定手段と、 上記色ずれ判定手段により色ずれが生じていると判定さ
れたとき、該色ずれを補正する補正手段とを備えている
ことを特徴とする画像処理装置。
7. An image processing apparatus comprising a color shift correcting unit for correcting a color shift occurring in an input image, wherein the color shift correcting unit calculates a density distribution for each pixel position for each color component of the input image by a function. An approximation unit that approximates the following: a color misregistration determination unit that determines whether or not a color misregistration has occurred based on an approximation result obtained by the approximation unit; An image processing apparatus comprising: a correction unit configured to correct the color shift.
【請求項8】入力画像に生じた色ずれを補正する色ずれ
補正手段を備えた画像処理装置において、 上記色ずれ補正手段は、 入力画像の色成分毎の濃度分布から平均濃度の画素位置
を推定する画素位置推定手段と、 上記画素位置推定手段の推定結果に基づき、色ずれが生
じているか否かを判定する色ずれ判定手段と、 上記色ずれ判定手段により色ずれが生じていると判定さ
れたとき、該色ずれを補正する補正手段とを備えている
ことを特徴とする画像処理装置。
8. An image processing apparatus comprising a color shift correcting means for correcting a color shift occurring in an input image, wherein the color shift correcting means determines a pixel position of an average density from a density distribution for each color component of the input image. A pixel position estimating means for estimating, a color misregistration determining means for determining whether or not a color misregistration has occurred based on the estimation result of the pixel position estimating means; An image processing apparatus comprising: a correction unit configured to correct the color shift when the color shift is performed.
【請求項9】上記画素位置推定手段には、さらに、入力
画像の各色成分の濃度バランスが予め定められる範囲を
越えていると判断したとき、上記各色成分の濃度バラン
スが、予め定められた範囲に収まるように補正する濃度
バランス補正手段が設けられていることを特徴とする請
求項8に記載の画像処理装置。
9. The pixel position estimating means further comprising, when judging that the density balance of each color component of the input image exceeds a predetermined range, sets the density balance of each color component to a predetermined range. The image processing apparatus according to claim 8, further comprising a density balance correction unit configured to perform correction so as to fall within the range.
【請求項10】上記色ずれ補正手段には、さらに各画素
毎の濃度を基に所定の領域内の濃度分布を求め、この濃
度分布に基づいて、色ずれ判定の対象となる領域である
か否かを判定する画素濃度判定手段が上記色ずれ判定手
段の前段に設けられていることを特徴とする請求項6か
ら9の何れか一項に記載の画像処理装置。
10. The color misregistration correction means further obtains a density distribution in a predetermined area based on the density of each pixel, and based on the density distribution, determines whether the area is a target area for color misregistration determination. The image processing apparatus according to claim 6, wherein a pixel density determining unit that determines whether or not the pixel density is provided is provided in a stage preceding the color shift determining unit.
【請求項11】入力画像を文字・網点・写真の各領域に
分離する領域分離手段を備え、 上記色ずれ補正手段は、上記領域分離手段の前段に設け
られていることを特徴とする請求項6から10の何れか
一項に記載の画像処理装置。
11. An image forming apparatus comprising: an area separating means for separating an input image into character, halftone dot, and photograph areas; and wherein the color misregistration correcting means is provided at a stage preceding the area separating means. Item 11. The image processing device according to any one of items 6 to 10.
【請求項12】入力画像を文字・網点・写真の各領域に
分離する領域分離手段を備え、 上記色ずれ補正手段は、上記領域分離手段の後段に設け
られていることを特徴とする請求項6から10の何れか
一項に記載の画像処理装置。
12. An image forming apparatus according to claim 11, further comprising an area separating unit for separating an input image into character, halftone dot, and photograph areas, wherein said color misregistration correcting unit is provided at a subsequent stage of said area separating unit. Item 11. The image processing device according to any one of Items 6 to 10.
【請求項13】原稿の予備走査時に読み込まれた入力画
像に対して、上記領域分離手段による領域分離処理を行
わせ、色ずれが生じているか否かを判定し、色ずれが生
じていないと判定されたときに、該入力画像に対する色
ずれ補正処理を行わないように上記色ずれ補正手段を制
御する制御手段が設けられていることを特徴とする請求
項12に記載の画像処理装置。
13. An input image read at the time of preliminary scanning of a document is subjected to an area separation process by said area separation means, and it is determined whether or not a color shift has occurred. 13. The image processing apparatus according to claim 12, further comprising control means for controlling the color shift correcting means so as not to perform the color shift correction processing on the input image when the determination is made.
【請求項14】入力画像に対して所定の処理を施して出
力画像を形成する画像形成装置において、 請求項6から13の何れかに記載の画像処理装置を備え
たことを特徴とする画像形成装置。
14. An image forming apparatus for performing predetermined processing on an input image to form an output image, comprising: the image processing apparatus according to claim 6. apparatus.
JP2001294345A 2000-11-22 2001-09-26 Image processing method, image processing apparatus, and image forming apparatus Expired - Lifetime JP3923293B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001294345A JP3923293B2 (en) 2000-11-22 2001-09-26 Image processing method, image processing apparatus, and image forming apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000356541 2000-11-22
JP2000-356541 2000-11-22
JP2001294345A JP3923293B2 (en) 2000-11-22 2001-09-26 Image processing method, image processing apparatus, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2002223369A true JP2002223369A (en) 2002-08-09
JP3923293B2 JP3923293B2 (en) 2007-05-30

Family

ID=26604483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001294345A Expired - Lifetime JP3923293B2 (en) 2000-11-22 2001-09-26 Image processing method, image processing apparatus, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP3923293B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006511900A (en) * 2002-12-20 2006-04-06 ワーナー ブラザーズ エンターテイメント インコーポレーテッド Reduction of resolution difference of separated colors
JP2008060838A (en) * 2006-08-30 2008-03-13 Ricoh Co Ltd Image signal processor, image forming apparatus, image signal processing method, program and recording medium
JP2008269509A (en) * 2007-04-25 2008-11-06 Hitachi Omron Terminal Solutions Corp Image processing program and image processor
JP2011035879A (en) * 2009-08-06 2011-02-17 Canon Electronics Inc Color shift determining apparatus, color shift correcting apparatus, and image reading apparatus
JP2012253773A (en) * 2011-06-06 2012-12-20 Toshiba Corp Image processor and image processing method
JP2013066049A (en) * 2011-09-16 2013-04-11 Fuji Xerox Co Ltd Image reading apparatus and program
US10582092B2 (en) 2016-05-16 2020-03-03 Canon Kabushiki Kaisha Image reading apparatus with correction for sub-scanning color shifts, image forming apparatus, image reading method, and computer readable non-transitory storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006511900A (en) * 2002-12-20 2006-04-06 ワーナー ブラザーズ エンターテイメント インコーポレーテッド Reduction of resolution difference of separated colors
JP4709649B2 (en) * 2002-12-20 2011-06-22 ワーナー ブラザーズ エンターテイメント インコーポレーテッド Reduction of resolution difference of separated colors
JP2008060838A (en) * 2006-08-30 2008-03-13 Ricoh Co Ltd Image signal processor, image forming apparatus, image signal processing method, program and recording medium
JP2008269509A (en) * 2007-04-25 2008-11-06 Hitachi Omron Terminal Solutions Corp Image processing program and image processor
JP2011035879A (en) * 2009-08-06 2011-02-17 Canon Electronics Inc Color shift determining apparatus, color shift correcting apparatus, and image reading apparatus
JP2012253773A (en) * 2011-06-06 2012-12-20 Toshiba Corp Image processor and image processing method
JP2013066049A (en) * 2011-09-16 2013-04-11 Fuji Xerox Co Ltd Image reading apparatus and program
US10582092B2 (en) 2016-05-16 2020-03-03 Canon Kabushiki Kaisha Image reading apparatus with correction for sub-scanning color shifts, image forming apparatus, image reading method, and computer readable non-transitory storage medium

Also Published As

Publication number Publication date
JP3923293B2 (en) 2007-05-30

Similar Documents

Publication Publication Date Title
JP3003261B2 (en) Color image recognition device
EP0647060B1 (en) Method and apparatus for image-dependent color shifting
JPH11266367A (en) Image processor
JPH11266373A (en) Image processor
US20070236707A1 (en) Image processing apparatus, image processing method and image processing program
JP2002232708A (en) Image processing device, image forming device using the same, and image processing method
JP2002290737A (en) Image processing apparatus and image forming apparatus
JP2002271616A (en) Image processing unit and imaging device
JP3302041B2 (en) Image processing device
JPH08251402A (en) Image processing unit
JP3923293B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP2004023401A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and record medium with the program recorded thereon
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP3861498B2 (en) Black edge discrimination device and image processing device
JP2002044464A (en) Image processing method and apparatus
JP4176053B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP3767210B2 (en) Document type determination device and image processing device
JPH0541796A (en) Copying machine
JP3967217B2 (en) Image processing method, image processing program, recording medium recording image processing program, image processing apparatus, and image processing system
JPH06152945A (en) Image processor
JP2004102551A (en) Image processor, image processing method, image reader equipped with that, image forming apparatus, program, and recording medium
JP2002232709A (en) Image processing device, image forming device using the same, and image processing method
US6999632B2 (en) Image processing apparatus, image forming apparatus and image processing method
JP3700456B2 (en) Color image processing device
JP3079630B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040611

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061002

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061207

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20061207

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: 20070220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070221

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: 20100302

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110302

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120302

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120302

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130302

Year of fee payment: 6