JP6808974B2 - Image processing equipment and computer programs - Google Patents
Image processing equipment and computer programs Download PDFInfo
- Publication number
- JP6808974B2 JP6808974B2 JP2016101525A JP2016101525A JP6808974B2 JP 6808974 B2 JP6808974 B2 JP 6808974B2 JP 2016101525 A JP2016101525 A JP 2016101525A JP 2016101525 A JP2016101525 A JP 2016101525A JP 6808974 B2 JP6808974 B2 JP 6808974B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- correction
- color data
- correction amount
- line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004590 computer program Methods 0.000 title claims description 4
- 238000012937 correction Methods 0.000 claims description 269
- 238000000034 method Methods 0.000 claims description 37
- 238000001514 detection method Methods 0.000 claims description 20
- 238000004364 calculation method Methods 0.000 claims description 9
- 239000003086 colorant Substances 0.000 description 13
- 238000004040 coloring Methods 0.000 description 8
- 238000003705 background correction Methods 0.000 description 7
- 230000000052 comparative effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000011144 upstream manufacturing Methods 0.000 description 5
- 238000013459 approach Methods 0.000 description 3
- 238000009499 grossing Methods 0.000 description 3
- 230000004304 visual acuity Effects 0.000 description 3
- 230000003111 delayed effect Effects 0.000 description 2
- 230000006866 deterioration Effects 0.000 description 2
- 238000003702 image correction Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 241000755266 Kathetostoma giganteum Species 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、画像処理装置およびコンピュータプログラムに関する。 The present invention relates to an image processing device and a computer program.
カラー複写機、カラースキャナ、およびカラーファクシミリ機は、原稿シートからカラー画像を読み取るイメージセンサと、読み取ったカラー画像のデータ(カラーデータ)を処理する画像処理部とを備えている。 A color copier, a color scanner, and a color facsimile machine include an image sensor that reads a color image from a document sheet and an image processing unit that processes the read color image data (color data).
一般に、イメージセンサとして縮小型カラーCCDセンサが用いられている。縮小型カラーCCDセンサは、画素が主走査方向に並べられたR(赤)、G(緑)、B(青)それぞれの素子列が、副走査方向に所定の間隔dを隔てて互いに平行に配置された構造を有する。つまり、副走査方向におけるR,G,B各色の読取り位置が互いにずれる。 Generally, a reduced color CCD sensor is used as an image sensor. In the reduced color CCD sensor, the element sequences of R (red), G (green), and B (blue) in which the pixels are arranged in the main scanning direction are parallel to each other with a predetermined interval d in the sub scanning direction. It has an arranged structure. That is, the reading positions of the R, G, and B colors in the sub-scanning direction deviate from each other.
このような縮小型カラーCCDセンサにより得られたカラーデータに対して、画像処理部においてライン間補正が行われる。ライン間補正は、副走査方向におけるR,G,B各色の読取り位置のずれを補正する処理である。 The image processing unit performs inter-line correction on the color data obtained by such a reduced color CCD sensor. The line-to-line correction is a process for correcting the deviation of the reading position of each of the R, G, and B colors in the sub-scanning direction.
画像処理部は、読取り位置のずれが上記の間隔dの整数倍でない場合において、ライン間補正として、整数部補正と小数部補正とを行う。整数部補正は、他の色に対して先読みする色のデータを、ずれ量の整数部と同じライン数だけ遅延させる処理である。小数部補正は、各色のデータについて、ずれ量の小数部に応じた補間演算を行って1ライン未満のずれを補正する処理である。 When the deviation of the reading position is not an integral multiple of the above interval d, the image processing unit performs integer part correction and decimal part correction as interline correction. The integer part correction is a process of delaying the color data to be read ahead with respect to other colors by the same number of lines as the integer part of the deviation amount. The decimal part correction is a process of correcting a deviation of less than one line by performing interpolation calculation according to the decimal part of the deviation amount for the data of each color.
ところで、小数部補正を行うことによって、黒細線や黒文字の端部の色づき(無彩色が有彩色になる現象)の生じる問題のあることが知られている。そして、小数部補正に因る色づきを低減するための先行技術として、特許文献1、2に記載の技術がある。
By the way, it is known that there is a problem that black thin lines and edges of black characters are colored (a phenomenon in which achromatic color becomes chromatic) by performing decimal part correction. Then, as a prior art for reducing the coloring due to the correction of the decimal part, there are the techniques described in
特許文献1には、R, G, Bの3色の間で読取り位置のずれの小数部が等価になるように、読取りの基準の位置を設定することが開示されている。特許文献2には、小数部補正を行う前に平滑化処理を行うことが開示されている。
上に述べた特許文献1の技術によると、R, G, Bの3色のいずれについても、小数部補正として補間処理を行うことになる。比視感度の高いGについても補間処理を行うので、補間に伴う解像力の低下(画像のぼけ)が目立ってしまうという問題があった。小数部補正量が0.5に近づくほど、画像のぼけは顕著になる。
According to the technique of
特許文献2の技術によると、平滑化処理を追加することによって解像力が低下してしまうという問題があった。また、画像処理部の回路規模が増加するという問題もあった。平滑化処理に因る解像力の低下を補うために、小数部補正の後にシャープネス処理を行う場合には、さらに回路規模が増大してしまう。 According to the technique of Patent Document 2, there is a problem that the resolving power is lowered by adding the smoothing process. There is also a problem that the circuit scale of the image processing unit increases. When the sharpness processing is performed after the decimal part correction in order to compensate for the decrease in the resolving power due to the smoothing processing, the circuit scale is further increased.
本発明は、上述の問題に鑑みてなされたもので、色づきおよびぼけの少ない画像処理を実現することを目的としている。 The present invention has been made in view of the above problems, and an object of the present invention is to realize image processing with less coloring and blurring.
本発明の実施形態に係る画像処理装置は、主走査方向の各色の素子列が副走査方向に間隔を隔てて互いに平行に配置されたイメージセンサによりカラー画像が読み取られることによって前記カラー画像の各色について副走査方向の読取り位置が互いに異なるカラーデータを処理する画像処理装置であって、前記カラーデータの副走査方向の読取り位置のずれを補正するライン間補正部と、前記ライン間補正部により補正が行われたカラーデータに対し、前記副走査方向の読取り位置のずれ以外の要因により生じる副走査方向の色ずれ成分を画素ごとに補正するための色ずれ補正部と、を備え、前記ライン間補正部は、1ライン未満のずれの補正を補間処理によって行う小数部補正部を少なくとも有し、前記小数部補正部は、前記カラーデータのうちの非基準色のカラーデータに対し、前記副走査方向の読取り位置のずれに基づいて算出される1ライン未満の補正量である算出補正量よりも小さく0よりも大きい補正量を用いて補間処理を行い、前記色ずれ補正部において、前記色ずれ成分に対応する補正量に前記算出補正量のうちの前記小数部補正部において補正されなかった残りの補正量を加算した色ずれ補正量を用いて補正を行う。 In the image processing apparatus according to the embodiment of the present invention, each color of the color image is read by an image sensor in which element trains of each color in the main scanning direction are arranged in parallel with each other at intervals in the sub scanning direction. An image processing device that processes color data whose reading positions in the sub-scanning direction are different from each other, and is corrected by an inter-line correction unit that corrects the deviation of the reading position in the sub-scanning direction of the color data and the interline correction unit. The color data in which the above is performed is provided with a color shift correction unit for correcting the color shift component in the sub-scan direction caused by factors other than the shift in the reading position in the sub-scan direction for each pixel, and between the lines. The correction unit has at least a fractional part correction unit that corrects a deviation of less than one line by interpolation processing, and the minority part correction unit performs the sub-scanning on color data of a non-reference color in the color data. performs interpolation processing using the correction amount larger than 0 rather smaller than calculating the correction amount is a correction amount of less than one line, which is calculated based on the deviation in the direction of the reading position, in the color misregistration correction unit, the color The correction is performed using the color shift correction amount obtained by adding the remaining correction amount that was not corrected by the fractional part correction unit of the calculated correction amount to the correction amount corresponding to the deviation component .
本発明によると、色づきおよびぼけの少ない画像処理を実現することができる。 According to the present invention, it is possible to realize image processing with less coloring and blurring.
図1には本発明の一実施形態に係る画像処理装置1の構成の概要が、図2にはイメージセンサ51の構成の一例が、図3にはイメージセンサ52の構成の他の例が、それぞれ示されている。
FIG. 1 shows an outline of the configuration of the
画像処理装置1は、例えばMFP(Multi-functional Peripheral:多機能機または複合機) であり、カラーデータを処理する機能を有する。画像処理装置1は、CPU11、ROM12、RAM13、画像メモリ14、画像読取り部21、画像処理部22、プリンタ部23、および操作パネル24などを備えている。
The
CPU11は、画像処理装置1の全体の制御を受け持つ。CPU11は、ROM12に格納されているプログラムをRAM13にロードして実行する。その際に必要に応じて制御用データをロードする。CPU11は、操作パネル24を用いてユーザによりジョブが入力されると、ジョブを実行するように画像処理装置1の各部の動作を制御する。
The
画像読取り部21は、図2に示すイメージセンサ51または図3に示すイメージセンサ52を用いて、原稿シートに記録されているカラー画像を光学的に読み取る。画像読取り部21は、例えば自動原稿送り装置とフラットヘッド型のスキャナとを有する。自動原稿送り装置は、原稿シートを搬送しながら画像を読み取る。スキャナは、プラテンガラスに配置された原稿シートから画像を読み取る。画像読取り部21は、読み取ったカラー画像のデータ(カラーデータD21)を画像処理部22に送る。
The
なお、カラーデータD21は、R, G, Bの各色の明度を画素ごとに8ビットで表わす256階調のデータであるものとする。淡い画素ではデータ値が大きく、濃い画素ではデータ値が小さい。白色の画素では、3色のデータ値がいずれも最大値の「255」となり、黒色の画素では、3色のデータ値がいずれも最小値の「0」となる。 It is assumed that the color data D21 is data of 256 gradations in which the brightness of each color of R, G, and B is represented by 8 bits for each pixel. The data value is large for light pixels and small for dark pixels. In the white pixel, the data values of all three colors are the maximum value "255", and in the black pixel, the data values of all three colors are the minimum value "0".
画像処理部22は、画像読取り部21から入力されたカラーデータD21に対して、後に述べるライン間補正処理および色ずれ補正処理を含む画像処理を施し、処理後のカラーデータD22を出力する。例えばコピージョブにおいては、画像処理部22によって処理されたカラーデータD22は、一旦、画像メモリ14に保存された後に、プリンタ部23へ送られる。
The
プリンタ部23は、送られてきたカラーデータD22に対応するカラー画像を用紙に印刷する。その際に、カラーデータD22に基づいてプリントヘッド231の発光を制御する。印刷の方式は、電子写真式である。ただし、インクジェット方式またはそれ以外の方式でもよい。
The
図2に示すイメージセンサ51は、光学系により縮小投影された原稿画像を読み取る縮小型カラーCCDセンサである。イメージセンサ51は、画素(受光素子)が主走査方向M1に並べられたR,G,B各色の素子列51R,51G,51Bを有する。素子列51R,51G,51Bは、副走査方向M2に間隔dを隔てて互いに平行に配置されている。間隔dは、等倍の読取りにおけるラインピッチの整数倍(例えば4倍)である。
The
イメージセンサ51による読取りでは、光源として蛍光灯または白色LEDを用い、光源を連続的に点灯させた状態で主走査および副走査を行う。副走査方向M2の下流側からR、G、Bの順に素子列51R,51G,51Bが並ぶので、Gに対してRを先読みし、Gに対してBを後読みすることになる。
In the reading by the
R、BのそれぞれとGとの間の読取り位置のずれは、スキャン倍率によって変わる。スキャン倍率が「1」の場合には、すなわち等倍の読取りの場合には、読取り位置のずれは、4ラインであり、ライン間補正としては整数部補正のみを行うだけでよい。 The deviation of the reading position between each of R and B and G varies depending on the scan magnification. When the scan magnification is "1", that is, when reading at the same magnification, the deviation of the reading position is 4 lines, and only the integer part correction needs to be performed as the interline correction.
しかし、等倍以外の読取りでは、読取り位置のずれが小数となるので、整数部補正と小数部補正とが必要となる。例えばA4サイズの原稿画像をA3サイズに拡大して印刷する場合には、スキャン倍率は「1.414」であり、読取り位置のずれは、5.656ラインとなる。したがって、この場合には、5ラインの整数部補正と0.656ラインの小数部補正とを行う。 However, in reading other than the same magnification, the deviation of the reading position becomes a decimal, so it is necessary to correct the integer part and the decimal part. For example, when an A4 size original image is enlarged to A3 size and printed, the scan magnification is "1.414" and the deviation of the reading position is 5.656 lines. Therefore, in this case, the integer part correction of 5 lines and the decimal part correction of 0.656 lines are performed.
図3に示すイメージセンサ52は、画素(受光素子)が主走査方向M1に並べられた1つの素子列によって画像を読み取る密着イメージセンサ(CIS: Contact Image Sensor) である。イメージセンサ52では、素子列、光源、等倍結像系レンズ、および駆動制御回路などが一体化されている。
The
イメージセンサ52による読取りでは、R, G, B各色のLEDを光源として用い、これらのLEDを順次に点灯させることによってカラー画像を読み取る。各LEDは、点灯信号LED_R,LED_G,LED_Bのうちの対応する信号がローレベルのときに発光する。
In the reading by the
同期信号TGのパルス周期である1ライン分の読取り期間を3等分する時分割によってR、G、Bの順に読み取る。読み取られたR, G, BのカラーデータD21は、同期信号TGに合わせて出力される。 The reading period for one line, which is the pulse period of the synchronization signal TG, is read in the order of R, G, and B by time division dividing into three equal parts. The read color data D21 of R, G, and B is output in accordance with the synchronization signal TG.
以下では、イメージセンサ52を用いるものとして、画像処理部22の機能を説明する。以下において、イメージセンサ52を「密着型のイメージセンサ52」ということがある。
Hereinafter, the function of the
図4には画像処理装置1の要部である画像処理部22の構成が、図5には図6にはライン間補正および色ずれ補正に用いるパラメータf1,f2,f3の例が、それぞれ示されている。
FIG. 4 shows the configuration of the
画像処理部22は、原稿シートから読み取られたカラー画像の各色について副走査方向M2の読取り位置が互いに異なるカラーデータD21を処理する。なお、この処理には、第1の処理モードと第2の処理モードとがある。
The
画像処理部22は、シェーディング補正部31、ライン間補正部32、色ずれ補正部35、画像補正部36、線幅検出部38、濃度検出部39、および領域判別部40などを有している。これらの要素の機能は、ハードウェア、ソウトウェア、または両者の組合せによって実現される。
The
シェーディング補正部31は、画像読取り部21から並列に入力されたR, G, Bの各色のカラーデータD21に対して、画像読取り部21における照明系、結像系、および撮影系の特性に起因する主走査方向M1の歪みを取り除くシェーディング補正処理を施す。
The
ライン間補正部32は、シェーディング補正部31から入力されたカラーデータD31に対し、基準色に対する非基準色の副走査方向M2の読取り位置のずれを補正するライン間補正処理を施す。基準色とは、R, G, Bのうちの読取り位置のずれを決める上での基準とする色である。非基準色の読取り位置は基準色の読取り位置に対してずれるが、基準色には読取り位置のずれは無い。したがって、基準色については、ライン間補正は不要である。
The inter-line correction unit 32 performs inter-line correction processing on the color data D31 input from the
本実施形態において、基準色は、R, G, Bのうちで最も比視感度が高いGである。基準色をGとすることにより、言い換えれば、ライン間補正により画像のぼけが生じてもGと比べて目立ちにくいRおよびBを非基準色とすることにより、ライン間補正による画質の低下を抑えることができる。 In the present embodiment, the reference color is G, which has the highest relative luminosity among R, G, and B. By setting the reference color to G, in other words, by using R and B, which are less noticeable than G even if the image is blurred due to the line-to-line correction, as non-standard colors, the deterioration of the image quality due to the line-to-line correction is suppressed. be able to.
ライン間補正部32は、整数部補正を行う整数部補正部33と小数部補正を行う小数部補正部34とを有する。
The inter-line correction unit 32 includes an integer
整数部補正は、先読みした色のカラーデータD31をラインメモリを用いて遅延させる1ライン単位の補正である。整数部補正部33は、整数部補正が不要である場合には、シェーディング補正部31から入力されるカラーデータD31を、実質的な処理を施すことなくカラーデータD33として小数部補正部34へ送る。
The integer part correction is a correction in units of one line in which the color data D31 of the pre-read color is delayed by using the line memory. When the integer part correction is not required, the integer
小数部補正は、整数部補正部33から入力される非基準色(R、B)のカラーデータD33のそれぞれに対し、全画素について一律に補間処理を行う1ライン未満のずれの補正である。
The decimal part correction is a correction of a deviation of less than one line in which all pixels are uniformly interpolated for each of the non-reference color (R, B) color data D33 input from the integer
小数部補正部34は、非基準色のカラーデータD33に対し、副走査方向M2の読取り位置のずれに基づいて算出される1ライン未満の補正量である算出補正量f21よりも小さい補正量f22を用いて、隣接するラインの副走査方向M2に並ぶ2つの画素のデータ値に基づく補間処理(バイリニア補間処理)を行う。2つの画素の主走査方向M1の位置(主走査位置)は同じである。
The decimal
上に述べたように密着型のイメージセンサ52を用いる場合においては、Gに対してRが1/3ライン先読みされてRの読取り位置が下流側へ1/3ラインずれる。また、Gに対してBが1/3ライン後読みされてBの読取り位置が上流側へ1/3ラインずれる。これらのずれは時分割の読取りにおいて必然的に生じる。この場合の算出補正量f21は「1/3」であるので、補正量f22は、0よりも大きく1/3(≒0.33)よりも小さい。例えば、補正量f22は、1/3の半分の「1/6」(≒0.17)とされる。他の値としてもよい。
As described above, when the close contact
小数部補正部34は、先読みされたRのカラーデータD33を遅らせるための式(1)で表わされる補間演算を行い、後読みされたBのカラーデータD33を早めるための式(2)で表わされる補間演算を行う。そして、得られたRのデータRoutおよびBのデータBoutを注目ラインのカラーデータD34として後段へ出力する。
The decimal
Rout=R(n)×(1−f22)+R(n+1)×f22 …(1)
ただし、
R(n):注目ラインのカラーデータD33
R(n+1):注目ラインの1ライン下流のカラーデータD33
f22:算出補正量f21よりも小さい補正量
Bout=B(n)×(1−f22)+B(n−1)×f22 …(2)
ただし、
B(n):注目ラインのカラーデータD33
B(n−1):注目ラインの1ライン上流のカラーデータD33
小数部補正部34は、カラーデータD33が主走査方向M1にのびる1ドット幅の黒細線に対応するものでない場合に、算出補正量f21よりも小さい補正量f22に代えて算出補正量f21を用いて補間処理を行うものであってよい。
Rout = R (n) x (1-f22) + R (n + 1) x f22 ... (1)
However,
R (n): Color data D33 of the line of interest
R (n + 1): Color data D33 one line downstream of the line of interest
f22: Correction amount smaller than the calculated correction amount f21 Bout = B (n) × (1-f22) + B (n-1) × f22… (2)
However,
B (n): Color data D33 of the line of interest
B (n-1): Color data D33 one line upstream of the line of interest
When the color data D33 does not correspond to a black thin line having a width of 1 dot extending in the main scanning direction M1, the decimal
また、小数部補正部34は、カラーデータD33のうちの基準色のカラーデータの濃度が非基準色のカラーデータの濃度に余裕値を加えた濃度よりも高くない場合に、算出補正量f21よりも小さい補正量f22に代えて算出補正量f21を用いて補間処理を行うものであってよい。
Further, when the density of the color data of the reference color in the color data D33 is not higher than the density of the color data of the non-reference color plus the margin value, the fractional
色ずれ補正部35は、ライン間補正部32により補正が行われた非基準色のカラーデータD34に対し、副走査方向M2の色ずれ成分を画素ごとに補正する色ずれ補正処理を施す。基準色のカラーデータD34に対しては、実質的な処理を施さない。基準色のカラーデータD34は、そのまま後段へ送られる。
The color
副走査方向M2の色ずれ成分とは、副走査方向M2の読取り位置の必然的なずれまたは他の要因により生じる濃度のずれである。他の要因としては、読取りに際してのイメージセンサ52の振動による不定のずれ、R, G, B間のMTF差によるピント位置のずれなどある。
The color shift component in the sub-scanning direction M2 is a density shift caused by an inevitable shift in the reading position in the sub-scanning direction M2 or other factors. Other factors, indefinite displacement due to vibration of the
色ずれ補正部35においては、算出補正量f21のうちの小数部補正部34において補正されなかった残りの補正量に応じた補正を行う。詳しくは、副走査方向M2の色ずれ成分に対応する補正量f31に小数部補正の残りの補正量f32を加算した色ずれ補正量f30を用いて、複数のラインのデータに基づく補間処理によって補正を行う。
The color
色ずれ補正部35は、非基準色のカラーデータD34のそれぞれに対し、それぞれの前後の複数個の画素のカラーデータD34のうちから、基準色のカラーデータD34を含めた彩度が最も低くなるカラーデータD34を選択して補正を行う。つまり、注目画素の色が無彩色により近づくように補正する。
The color
具体的には、R,BのカラーデータD34のそれぞれに対し、色ずれ補正量f30の選択肢として予め定められた複数の補正量f30をそれぞれ用いて補間演算を行い、得られた演算結果のうちから、GのカラーデータD34との差が最も小さい演算結果を色ずれ補正後のカラーデータD35として出力する。これは、複数の選択肢のうちからGとの差が最も小さい補正量を選択して色ずれ補正に用いることに相当する。 Specifically, each of the color data D34 of R and B is subjected to an interpolation calculation using a plurality of correction amounts f30 predetermined as options for the color shift correction amount f30, and among the obtained calculation results. Therefore, the calculation result having the smallest difference from the color data D34 of G is output as the color data D35 after the color shift correction. This corresponds to selecting the correction amount having the smallest difference from G from a plurality of options and using it for color shift correction.
色ずれ補正部35は、カラーデータD33が主走査方向M1にのびる黒細線に対応するものでない場合に、色ずれ補正量f30に代えて色ずれ成分に対応する補正量f31を用いて補正を行うものであってよい。
When the color data D33 does not correspond to the black thin line extending in the main scanning direction M1, the color
また、色ずれ補正部35は、カラーデータD33のうちの基準色のカラーデータの濃度が非基準色のカラーデータの濃度に余裕値を加えた濃度よりも高くない場合に、色ずれ補正量f30に代えて色ずれ成分に対応する補正量f31を用いて補正を行うものであってよい。
Further, the color
線幅検出部38は、シェーディング補正処理後のカラーデータD31に基づいて、公知の画像判別技術を用いて副走査方向M2の線幅を検出する。この検出は、算出補正量f21を用いてライン間補正を行った場合に色ずれが発生しやすい細線を検出するものである。線幅を検出することにより、算出補正量f21よりも小さい補正量f22を用いる小数部補正を細線についてのみ行い、他の部分については算出補正量f21を用いて読取り位置のずれを補正することが可能になる。
The line
線幅検出部38は、具体的には1ドット幅の線を抽出し、抽出した線の画素位置を検出データD38として小数部補正部34に通知する。
Specifically, the line
濃度検出部39は、シェーディング補正処理後のカラーデータD31に基づいて、R, G, Bの各色の濃度を検出する。この検出は、基準色と非基準色との濃度関係が小数部補正の有効な場合に限って小数部補正を行うことによって、濃度関係にかかわらず小数部補正を行った場合に非基準色の画像がぼけて結果的にGとの色ずれが増大するのを防止するためのものである。
The
濃度検出部39は、検出した濃度に基づいて、ライン間補正の前の状態においてGがRおよびBのそれぞれに対して濃いか否か判定し、判定結果を検出データD39として小数部補正部34に通知する。判定は、例えば次の式(3)に基づいて行われる。式(3)が成立する場合に、GがRおよびBのそれぞれに対して濃いと判定する。
Based on the detected density, the
Min(R,B)>DG+Ref …(3)
ただし、
Min(R,B):副走査方向M2の隣接する所定数の画素におけるR、Bのそれ ぞれの濃度の最小値(つまり、最大濃度)
DG:R,Bのそれぞれの濃度が最小である画素のGの濃度
Ref:判定の信頼性を高めるために設定された余裕値
このような濃度検出部39と上に述べた線幅検出部38とにより、カラーデータD31が主走査方向M1にのびる黒細線に対応するものであるか否かを検出する黒細線検出部37が構成される。
Min (R, B)> DG + Ref ... (3)
However,
Min (R, B): The minimum value (that is, the maximum density) of the respective densities of R and B in a predetermined number of adjacent pixels in the sub-scanning direction M2.
DG: G density of the pixel in which the respective densities of R and B are the minimum Ref: A margin value set to improve the reliability of the determination Such a
領域判別部40は、色ずれ補正処理後のカラーデータD35に基づいて、原稿画像におけるエッジ部の判別および所定単位の領域ごとの色判定など行い、それらの結果を示す領域判別データD40を画像補正部36に通知する。
Based on the color data D35 after the color shift correction processing, the
領域判別部40における色判定の精度を高めるために、色ずれ補正部35において、副走査方向M2の色ずれ成分を十分に補正しておく必要がある。
In order to improve the accuracy of color determination in the
画像補正部36は、色ずれ補正処理後のカラーデータD35に対して、領域判別部40からの領域判別データD40に基づいて、画質改善などのための補正処理を行う。例えば、エッジ部に対してシャープネス処理を施してくっきりさせたり、色判定で黒色と判定された画素に対してはRおよびBの濃度をGの濃度と同じにしてモノクロ化(無彩色化)したりする。
The
図5においては、パラメータf1,f2,f3の実施例とともに比較例が示されている。パラメータf1,f2,f3の実施例は、テーブルT1にまとめて予め画像処理装置1内の不揮発性メモリに記憶され、第1の処理モードにおいて、画像処理部22によって用いられる。
In FIG. 5, a comparative example is shown together with an example of the parameters f1, f2, and f3. Examples of the parameters f1, f2, and f3 are collectively stored in the table T1 in advance in the non-volatile memory in the
整数部補正のパラメータf1は、R, G, Bの読取り位置のずれ量の整数部に対応し、整数部補正部33において遅延させるべきライン数を表わす。密着型のイメージセンサ52を用いる場合には、パラメータf1は「0」である。
The integer part correction parameter f1 corresponds to the integer part of the deviation amount of the reading positions of R, G, and B, and represents the number of lines to be delayed in the integer
小数部補正のパラメータf2は、小数部補正部34における補間処理に用いられる。基準色のGについては補間処理を行わないので、Gのパラメータf2は「0」である。
The decimal part correction parameter f2 is used for interpolation processing in the decimal
実施例においては、小数部補正のパラメータf2は、R, G, B間の読取り位置のずれ量(±1/3≒±0.33)の小数部(1/3)に相当する算出補正量f21よりも絶対値が小さい補正量f22である。実施例においては、非基準色のR、Bのパラメータf2として、算出補正量f21である1/3の半分の1/6が設定されている。一方、比較例においては、R、Bのパラメータf2は、算出補正量f21である。 In the embodiment, the parameter f2 for the decimal part correction is a calculated correction amount corresponding to the decimal part (1/3) of the deviation amount (± 1/3 ≈ ± 0.33) of the reading position between R, G, and B. The correction amount f22 has an absolute value smaller than that of f21. In the embodiment, 1/6 of half of the calculated correction amount f21 is set as the parameter f2 of the non-reference colors R and B. On the other hand, in the comparative example, the parameter f2 of R and B is the calculated correction amount f21.
なお、小数部補正のパラメータf2における記号「−」は、上に述べた式(1)を用いて演算することを表わし、記号「+」は、式(2)を用いて演算することを表わす。 The symbol "-" in the parameter f2 for the decimal part correction indicates that the calculation is performed using the above-mentioned equation (1), and the symbol "+" indicates that the calculation is performed using the equation (2). ..
色ずれ補正のパラメータf3は、色ずれ補正部35における補間処理に用いられる。基準色のGについては補間処理を行わないので、Gのパラメータf3は「0」である。
The color shift correction parameter f3 is used for the interpolation process in the color
実施例においては、色ずれ補正のパラメータf3は、振動やMTF差に起因した色ずれ成分に対応する補正量f31に算出補正量f21のうちの小数部補正部34によって補正されなかった残りの補正量f32を加算した色ずれ補正量f30とされている。ただし、非エッジ部のように補正が不要な画素や補正しないほうが結果的に良い画素があることを考慮して、元のデータ値をそのまま出力することを示す数値(「0」)もパラメータf3に含まれている。
In the embodiment, the color shift correction parameter f3 is the remaining correction not corrected by the decimal
色ずれ補正量f30については複数の選択肢が予め定められている。例えば、Rについては、(−1/8−1/6)=−7/24、(0−1/6)=−1/6、(1/8−1/6=−1/24の3つの選択肢が定められている。 A plurality of options are predetermined for the color shift correction amount f30. For example, for R, (-1 / 8-1 / 6) = -7/24, (0-1 / 6) = -1/6, (1 / 8-1 / 6 = -1/24) 3 There are two options.
これらの選択肢における補正量f31として負の値(−1/8)と正の値(+1/8)とが定められているのは、色ずれ成分の生じる原因の1つとなる振動には下流側への振れと上流側への振れとがあるからである。 Negative values (-1/8) and positive values (+1/8) are defined as the correction amount f31 in these options on the downstream side for vibration, which is one of the causes of color shift components. This is because there is a runout to the upstream side and a runout to the upstream side.
また、残りの補正量f32である−1/6の絶対値(1/6)は、RとBとに共通に適用する次の式(4)で表わされる。Rについては下流へシフトさせるように(遅らせるように)補間するので、負の値とされる。 Further, the absolute value (1/6) of -1/6, which is the remaining correction amount f32, is represented by the following equation (4) which is commonly applied to R and B. Since R is interpolated so as to shift (delay) to the downstream, it is set to a negative value.
|残りの補正量f32|=(算出補正量f21)−(パラメータf22)…(4)
パラメータf3が負の値であるときには、色ずれ補正部35は、式(5)で表わされる補間演算を行い、パラメータf3が正の値であるときには、式(6)で表わされる補間演算を行う。
| Remaining correction amount f32 | = (Calculated correction amount f21)-(Parameter f22 ) ... (4)
When the parameter f3 has a negative value, the color
Dout=D(n)×(1−f3)+D(n+1)×f3 …(5)
Dout=D(n)×(1−f3)+D(n−1)×f3 …(6)
ただし、
D(n):注目画素のカラーデータD34
D(n+1):注目画素の1ライン下流の同じ主走査位置の画素のカラーデータD 34
D(n−1):注目画素の1ライン上流の同じ主走査位置の画素のカラーデータD 34
図6にはライン間補正および色ずれ補正に用いるパラメータf1,f2,f3の他の例が示されている。図6のパラメータf1,f2,f3は、テーブルT2にまとめて予め画像処理装置1内で記憶されており、第2の処理モードにおいて、画像処理部22によって用いられる。第2の処理モードは、第1の処理モードとは違って、線幅検出部38および濃度検出部39による検出データD38,D39に応じて処理内容を変更するモードである。
Dout = D (n) x (1-f3) + D (n + 1) x f3 ... (5)
Dout = D (n) x (1-f3) + D (n-1) x f3 ... (6)
However,
D (n): Color data D34 of the pixel of interest
D (n + 1):
D (n-1):
FIG. 6 shows other examples of parameters f1, f2, and f3 used for line-to-line correction and color shift correction. The parameters f1, f2, and f3 of FIG. 6 are collectively stored in the table T2 in advance in the
「注目画素のカラーデータD31が1ドット幅の線に対応し、かつGの濃度がRおよびBの各カラーデータD31の濃度に余裕値を加えた濃度よりも高い」という場合に用いるパラメータf1,f2,f3は、図5の実施例(テーブルT1)のパラメータf1,f2,f3と同じである。 Parameters f1 used when "the color data D31 of the pixel of interest corresponds to a line having a width of 1 dot and the density of G is higher than the density of each color data D31 of R and B plus a margin value". f2 and f3 are the same as the parameters f1, f2 and f3 in the embodiment (table T1) of FIG.
他の場合に用いるパラメータf1,f2,f3は、図5の比較例のパラメータf1,f2,f3と同じである。他の場合には、カラーデータD31が主走査方向にのびる黒細線L1に対応するものでない場合、および基準色(G)のカラーデータD31の濃度が非基準色(R、B)のカラーデータD31の濃度に余裕値を加えた濃度よりも高くない場合が含まれる。 The parameters f1, f2, f3 used in the other cases are the same as the parameters f1, f2, f3 in the comparative example of FIG. In other cases, the color data D31 does not correspond to the thin black line L1 extending in the main scanning direction, and the color data D31 of the reference color (G) has a density of the non-reference color (R, B). This includes cases where the concentration is not higher than the concentration obtained by adding a margin value to the concentration of.
図7には黒細線L1を読み取ったカラーデータD31の例が示されている。図の左右方向が読取りの副走査方向M2に対応し、紙面の表裏方向が主走査方向M1に対応する。黒細線L1は、主走査方向M1にのびる1ドット幅の黒色の線である。 FIG. 7 shows an example of color data D31 in which the thin black line L1 is read. The left-right direction in the figure corresponds to the reading sub-scanning direction M2, and the front-back direction of the paper surface corresponds to the main scanning direction M1. The thin black line L1 is a black line having a width of 1 dot extending in the main scanning direction M1.
図7(A)では、Gの読取り位置がちょうど黒細線L1の副走査方向M2の中央であり、黒細線L1のG成分が最も濃く読み取られている。この場合において、RについてはR(n)とR(n+1)とに基づいて補間し、BについてはB(n)とR(n−1)とに基づいて補間する小数部補正処理を実施すると、R,Bともに淡くなるように処理されることから、G(n)との濃度差(色ずれ成分)が増大する。このため、領域判別部40による色判定において黒色を誤って有彩色と誤判定する可能性が大きくなる。
In FIG. 7A, the reading position of G is exactly the center of the sub-scanning direction M2 of the black thin line L1, and the G component of the black thin line L1 is read most densely. In this case, if R is interpolated based on R (n) and R (n + 1), and B is interpolated based on B (n) and R (n-1), a decimal part correction process is performed. , R, and B are all treated so as to be light, so that the density difference (color shift component) from G (n) increases. Therefore, there is a high possibility that black is erroneously determined as a chromatic color in the color determination by the
つまり、細線を読み取ったときにGが他の色よりも濃い場合には、算出補正量f21よりも小さい補正量f22を用いる上に述べた式(1)、(2)に従って、読取り位置のずれを本来よりも弱く(少なめに)補正するのがよい。 That is, when G is darker than other colors when a thin line is read, a correction amount f22 smaller than the calculated correction amount f21 is used, and the reading position shifts according to the above equations (1) and (2). Should be corrected weaker (less) than it should be.
一方、図7(B)では、Rの読取り位置がちょうど黒細線L1の副走査方向M2の中央であり、黒細線L1の色のR成分が最も濃く読み取られている。この場合において、RとBとについて小数部補正処理を実施すると、R、Bともに淡くなるように処理される。しかし、RについてはG(n)に近づくことになるので、図7(A)の場合と比べて、RおよびBとG(n)との濃度差は少ない。このことは、領域判別部40による色判定において黒色が正しく判定される可能性が大きいことを意味する。
On the other hand, in FIG. 7B, the reading position of R is exactly the center of the sub-scanning direction M2 of the black thin line L1, and the R component of the color of the black thin line L1 is read most intensely. In this case, when the decimal part correction processing is performed on R and B, both R and B are processed so as to be light. However, since R approaches G (n), the difference in concentration between R and B and G (n) is smaller than in the case of FIG. 7 (A). This means that there is a high possibility that black is correctly determined in the color determination by the
つまり、細線を読み取ったときにGが他の色よりも濃くない場合には、算出補正量f21よりも小さい補正量f22に代えて算出補正量f21を用いる小数部補正処理を実施したとしても、領域判別部40による色判定に支障はほとんどない。
That is, if G is not darker than other colors when the thin line is read, even if the decimal part correction process using the calculated correction amount f21 instead of the correction amount f22 smaller than the calculated correction amount f21 is performed. There is almost no problem in color determination by the
これらのことから、画像処理装置1では、第1の処理モードと第2の処理モードとの使い分けが可能なように、上に述べた通り、2つのテーブルT1,T2が記憶されている。
From these facts, in the
図8にはライン間補正および色ずれ補正の例が、図9にはライン間補正および色ずれ補正の比較例が、それぞれ示されている。図8および図9では、3ドット幅の黒線L3および1ドット幅の黒細線L1を読み取ったカラーデータD31に対して、ライン間補正処理および色ずれ補正処理が行われる。 FIG. 8 shows an example of line-to-line correction and color shift correction, and FIG. 9 shows a comparative example of line-to-line correction and color shift correction. In FIGS. 8 and 9, the color data D31 obtained by reading the black line L3 having a width of 3 dots and the thin black line L1 having a width of 1 dot is subjected to line-to-line correction processing and color shift correction processing.
密着型のイメージセンサ52による読取りではR, G, Bの各色がおおよそ1/3ラインずつずれて読み取られる。このため、ライン間補正前のカラーデータD31において、黒線L3aの端部および黒細線L1aに色づきが生じている。この状態では、図中に楕円C1で囲んで示すように、黒細線L1aのGとR、Bとに濃度差(色ずれ成分)dD1がある。
In the reading by the close contact
ライン間補正後のカラーデータD34は、カラーデータD31に対して小数部補正処理として式(1)、(2)で表わされる補間処理を施したデータである。つまり、算出補正量f21よりも小さい補正量f22を用いることによって、1/3ラインのずれについて意図的に弱く補正されている。 The color data D34 after the inter-line correction is data obtained by subjecting the color data D31 to interpolation processing represented by the equations (1) and (2) as a decimal part correction processing. That is, by using the correction amount f22 smaller than the calculated correction amount f21, the deviation of the 1/3 line is intentionally weakly corrected.
弱く補正したことにより、カラーデータD34において、黒線L3bおよび黒細線L1bに色づきが残っている。ただし、注目すべきことは、1ドット幅の黒細線L1bのGとR、Bとの濃度差dD2が補正前の濃度差dD1と比べてほとんど増大(拡大)していないことである。 Due to the weak correction, the black line L3b and the black thin line L1b remain colored in the color data D34. However, it should be noted that the density difference dD2 between G, R, and B of the 1-dot wide black thin line L1b is hardly increased (enlarged) as compared with the density difference dD1 before correction.
色ずれ補正後のカラーデータD35は、カラーデータD34に対して色ずれ補正処理として式(5)または式(6)の補間処理を施したデータである。 The color data D35 after the color shift correction is data obtained by performing the interpolation processing of the formula ( 5 ) or the formula ( 6 ) as the color shift correction processing on the color data D34.
カラーデータD35の黒線L3cでは、色ずれ補正処理により端部のR、Bの濃度が中央部の濃い濃度に近づくように補正されたことにより、色づきが改善されている。すなわち、全体的に黒っぽくなっている。 In the black line L3c of the color data D35, the color shift is corrected so that the densities of R and B at the edges approach the dark densities at the center, so that the coloring is improved. That is, it is blackish as a whole.
また、1ドット幅の黒細線L1cでは、GとRおよびBのそれぞれとの濃度差dD2が色ずれ補正前と変わりない。これは、黒細線L1の両側(副走査方向M2における前後)に濃い画素がないので、色ずれ補正処理においてR、Bの濃度が元のままとなるパラメータf3を選択して補正されるからである。 Further, in the black thin line L1c having a width of 1 dot, the density difference dD2 between G, R, and B is the same as that before the color shift correction. This is because there are no dark pixels on both sides of the thin black line L1 (before and after in the sub-scanning direction M2), so that the parameters f3 that keep the R and B densities unchanged are selected and corrected in the color shift correction processing. is there.
このように1ドット幅の黒細線L1cについては色ずれ補正処理において非基準色の濃度の変わらないことが効を奏し、小数部補正処理において弱く補正して濃度差dD1の増大を抑えた効果が保たれるので、画像全体の色づきが低減される。 As described above, for the black thin line L1c having a width of 1 dot, it is effective that the density of the non-reference color does not change in the color shift correction process, and the effect of weakly correcting the density difference dD1 in the decimal part correction process is suppressed. Since it is maintained, the coloring of the entire image is reduced.
これに対して、図9の比較例では、ライン間補正後のカラーデータD34は、カラーデータD31に対して小数部補正処理として式(1)、(2)の補正量f22を算出補正量f21に置き換えた式で表わされる補間処理を施したデータである。つまり、補正量f22よりも大きい算出補正量f21を用いることによって、1/3ラインのずれを完全に補正するように補正されている。 On the other hand, in the comparative example of FIG. 9, the color data D34 after the inter-line correction calculates the correction amount f22 of the equations (1) and (2) as the decimal part correction process for the color data D31. It is the data subjected to the interpolation processing represented by the formula replaced with. That is, by using the calculated correction amount f21 larger than the correction amount f22, the deviation of the 1/3 line is corrected so as to be completely corrected.
ライン間補正として1/3ラインのずれを完全に補正するように補間処理を行ったことにより、カラーデータD34において、1ドット幅の黒細線L1bのGとR、Bとの濃度差dD3が補正前の濃度差dD1と比べて増大している。色づきが改善されるどころか悪化が顕著である。 By performing interpolation processing so as to completely correct the deviation of 1/3 line as the correction between lines, the density difference dD3 between G, R, and B of the black thin line L1b having a width of 1 dot is corrected in the color data D34. It is increased compared to the previous concentration difference dD1. Far from improving the coloring, the deterioration is remarkable.
細線においては上に述べた通り前後に濃い画素がないので、増大した濃度差dD3は、その後に色ずれ補正処理を行ってもそのまま残る。つまり、ライン間補正および色ずれ補正によって1ドット幅より太い黒線L3bについては黒の再現性が改善されるが、1ドット幅の黒細線L1bについては再現性が低下してしまう。 Since there are no dark pixels in the front and back of the thin line as described above, the increased density difference dD3 remains as it is even if the color shift correction processing is subsequently performed. That is, the inter-line correction and the color shift correction improve the reproducibility of black for the black line L3b thicker than 1 dot width, but reduce the reproducibility for the black thin line L1b with 1 dot width.
以上の実施形態によると、小数部補正の算出補正量f21を、小数部補正部34において全画素について一律に実施する補間処理と色ずれ補正部35において画素ごとに実施する補間処理とに按分させるので、黒細線L1で発生する色づきを低減することができる。また、比視感度の高いGを基準色とし、Gについてはライン間補正および色ずれ補正を実施しないので、画像のぼけを低減することができる。
According to the above embodiment, the calculation correction amount f21 for the decimal part correction is proportionally divided into an interpolation process that is uniformly performed for all pixels in the decimal
また、線幅および濃度の設定条件に当てはまる画素にだけ弱く小数部補正を行うことにより、補間処理により黒細線L1において発生する色ずれ(濃度差の増大)を低減することができる。 Further, by performing the decimal correction weakly only for the pixels that meet the setting conditions of the line width and the density, it is possible to reduce the color shift (increase in the density difference) that occurs in the black thin line L1 by the interpolation processing.
上に述べた実施形態では、第2の処理モードにおいては、1ドット幅でかつGがRおよびBよりも濃い場合に、すなわち線幅および濃度の両方の設定条件に当てはまる場合に、弱く小数部補正を行うものとして説明したが、これに限らない。線幅の設定条件のみに当てはまる場合に、または濃度の設定条件のみに当てはまる場合に、弱く小数部補正を行うようにしてもよい。 In the embodiment described above, in the second processing mode, the decimal part is weak when the width is 1 dot and G is darker than R and B, that is, when both the line width and the density setting conditions are met. Although it has been described as performing correction, it is not limited to this. When only the line width setting condition is applied, or when only the density setting condition is applied, the decimal part correction may be weakly performed.
図2に示した縮小型のイメージセンサ51を用いて読取りを行う場合にも、算出補正量f21を小数部補正と色ずれ補正とに按分し、それによって色づきを低減することができる。その場合には、素子列51R,51G,51Bの間隔dとスキャン倍率とで決まる算出補正量f21に応じて、パタメータf1,f2,f3を設定すればよい。
Even when reading is performed using the reduced
画像処理装置1は、画像処理部22のうちの少なくとも小数部補正部34および色ずれ補正部35の機能を有するものであればよく、画像読取り部21およびプリンタ部23を有していなくてもよい。
The
基準色をGとしたが、BまたはRを基準色としてもよい。例えば青系の色が主体のカラー画像のデータを処理する場合に、Bを基準色とする。これにより、青の再現性を高めることができる。 Although the reference color is G, B or R may be used as the reference color. For example, when processing data of a color image mainly composed of bluish colors, B is used as a reference color. This makes it possible to improve the reproducibility of blue.
その他、画像形成装置1の全体または各部の構成、パタメータf1,f2,f3の値、補間の数式、画像処理部22が施す画像処理の数、種類、順序、またはタイミングなどは、本発明の趣旨に沿って適宜変更することができる。
In addition, the configuration of the entire
1 画像処理装置
32 ライン間補正部
34 小数部補正部
35 色ずれ補正部
37 黒細線検出部
39 濃度検出部
D21、D34 カラーデータ
dD1 濃度差(色ずれ成分)
f21 算出補正量
f22 算出補正量よりも小さい補正量
f30 色ずれ補正量
f31 色ずれ成分に対応する補正量
f32 残りの補正量
G 基準色
R,B 非基準色
M1 主走査方向
M2 副走査方向
1 Image processing device 32
f21 Calculated correction amount f22 Correction amount smaller than the calculated correction amount f30 Color shift correction amount f31 Correction amount corresponding to the color shift component f32 Remaining correction amount G Reference color R, B Non-reference color M1 Main scanning direction M2 Sub-scanning direction
Claims (6)
前記カラーデータの副走査方向の読取り位置のずれを補正するライン間補正部と、
前記ライン間補正部により補正が行われたカラーデータに対し、前記副走査方向の読取り位置のずれ以外の要因により生じる副走査方向の色ずれ成分を画素ごとに補正するための色ずれ補正部と、を備え、
前記ライン間補正部は、
1ライン未満のずれの補正を補間処理によって行う小数部補正部を少なくとも有し、
前記小数部補正部は、前記カラーデータのうちの非基準色のカラーデータに対し、前記副走査方向の読取り位置のずれに基づいて算出される1ライン未満の補正量である算出補正量よりも小さく0よりも大きい補正量を用いて補間処理を行い、
前記色ずれ補正部において、前記色ずれ成分に対応する補正量に前記算出補正量のうちの前記小数部補正部において補正されなかった残りの補正量を加算した色ずれ補正量を用いて補正を行う、
ことを特徴とする画像処理装置。 Color data in which the reading positions in the sub-scanning direction are different from each other for each color of the color image by reading a color image by an image sensor in which element sequences of each color in the main scanning direction are arranged in parallel with each other at intervals in the sub-scanning direction. It is an image processing device that processes
An interline correction unit that corrects the deviation of the reading position in the sub-scanning direction of the color data, and
With respect to the color data corrected by the interline correction unit, a color shift correction unit for correcting the color shift component in the sub-scanning direction caused by factors other than the deviation of the reading position in the sub-scanning direction for each pixel. With,
The line-to-line correction unit
It has at least a decimal part correction unit that corrects deviations of less than one line by interpolation processing.
The decimal part correction unit is a correction amount of less than one line calculated based on the deviation of the reading position in the sub-scanning direction with respect to the color data of the non-reference color in the color data. Interpolation processing is performed using a correction amount that is smaller than 0 and is larger than 0.
In the color shift correction unit, correction is performed using a color shift correction amount obtained by adding the correction amount corresponding to the color shift component to the remaining correction amount of the calculated correction amount that was not corrected by the decimal part correction unit. Do, do
An image processing device characterized by this.
請求項1記載の画像処理装置。 The color shift correction unit obtains the color data of the non-reference color by performing an interpolation calculation on each of the plurality of color data before and after each of the color data by using a plurality of predetermined correction amounts. Correction is performed by selecting the color data that has the smallest difference from the standard color data among the color data.
The image processing apparatus according to claim 1.
請求項1記載の画像処理装置。 The color shift correction unit has the smallest difference between the color data of the non-reference color and the color data of the reference color from among a plurality of correction amounts predetermined as options for the color shift correction amount. Select the correction amount and use it for correction,
The image processing apparatus according to claim 1.
前記小数部補正部は、前記カラーデータが前記黒細線に対応するものである場合に、前記算出補正量よりも小さく0よりも大きい補正量を用いて補間処理を行い、前記カラーデータが前記黒細線に対応するものでない場合に、前記算出補正量を用いて補間処理を行い、
前記色ずれ補正部は、前記カラーデータが前記黒細線に対応するものである場合に、前記色ずれ成分に対応する補正量に前記残りの補正量を加算した色ずれ補正量を用いて補正を行い、前記カラーデータが前記黒細線に対応するものでない場合に、前記色ずれ成分に対応する補正量を用いて補正を行う、
請求項1ないし3のいずれかに記載の画像処理装置。 A black thin line detection unit for detecting whether or not the color data corresponds to a black thin line having a width of 1 dot extending in the main scanning direction is provided.
When the color data corresponds to the black thin line, the decimal part correction unit performs interpolation processing using a correction amount smaller than the calculated correction amount and larger than 0, and the color data is the black. If it does not correspond to a thin line, interpolation processing is performed using the calculated correction amount.
When the color data corresponds to the black thin line, the color shift correction unit corrects using a color shift correction amount obtained by adding the remaining correction amount to the correction amount corresponding to the color shift component. When the color data does not correspond to the thin black line, the correction is performed using the correction amount corresponding to the color shift component.
The image processing apparatus according to any one of claims 1 to 3.
前記小数部補正部は、前記カラーデータのうちの基準色のカラーデータの濃度が非基準色のカラーデータの濃度に余裕値を加えた濃度よりも高い場合に、前記算出補正量よりも小さく0よりも大きい補正量を用いて補間処理を行い、前記カラーデータのうちの基準色のカラーデータの濃度が非基準色のカラーデータの濃度に余裕値を加えた濃度よりも高くない場合に、前記算出補正量を用いて補間処理を行い、
前記色ずれ補正部は、前記カラーデータのうちの基準色のカラーデータの濃度が非基準色のカラーデータの濃度に余裕値を加えた濃度よりも高い場合に、前記色ずれ成分に対応する補正量に前記残りの補正量を加算した色ずれ補正量を用いて補正を行い、前記カラーデータのうちの基準色のカラーデータの濃度が非基準色のカラーデータの濃度に余裕値を加えた濃度よりも高くない場合に、前記色ずれ成分に対応する補正量を用いて補正を行う、
請求項1ないし3のいずれかに記載の画像処理装置。 A density detection unit for detecting the density of the color data of each color is provided.
When the density of the color data of the reference color in the color data is higher than the density of the color data of the non-reference color plus a margin value, the fractional part correction unit is smaller than the calculated correction amount and is 0. When the interpolation process is performed using a correction amount larger than the correction amount and the density of the color data of the reference color in the color data is not higher than the density of the color data of the non-reference color plus a margin value, the above Interpolate processing using the calculated correction amount
The color shift correction unit corrects the color shift component when the density of the color data of the reference color in the color data is higher than the density of the color data of the non-reference color plus a margin value. Correction is performed using the color shift correction amount obtained by adding the remaining correction amount to the amount, and the density of the color data of the reference color in the color data is the density of the color data of the non-standard color plus a margin value. If it is not higher than, the correction is performed using the correction amount corresponding to the color shift component.
The image processing apparatus according to any one of claims 1 to 3.
前記画像処理装置に、
前記カラーデータの副走査方向の読取り位置のずれを補正するライン間補正処理と、
前記ライン間補正処理により補正が行われたカラーデータに対し、前記副走査方向の読取り位置のずれ以外の要因により生じる副走査方向の色ずれ成分を画素ごとに補正するための色ずれ補正処理と、を実行させ、
前記ライン間補正処理において、
1ライン未満のずれの補正を補間処理によって行う小数部補正処理を少なくとも行い、
前記小数部補正処理において、前記カラーデータのうちの非基準色のカラーデータに対し、前記副走査方向の読取り位置のずれに基づいて算出される1ライン未満の補正量である算出補正量よりも小さく0よりも大きい補正量を用いて補間処理を行い、
前記色ずれ補正処理において、前記色ずれ成分に対応する補正量に前記算出補正量のうちの前記小数部補正処理において補正されなかった残りの補正量を加算した色ずれ補正量を用いて補正を行う、
ことを特徴とするコンピュータプログラム。
Color data in which the reading positions in the sub-scanning direction are different from each other for each color of the color image by reading a color image by an image sensor in which element sequences of each color in the main scanning direction are arranged in parallel with each other at intervals in the sub-scanning direction. A computer program used in an image processing device that processes
In the image processing device
Line-to-line correction processing that corrects the deviation of the reading position in the sub-scanning direction of the color data, and
With respect to the color data corrected by the interline correction processing, a color shift correction process for correcting a color shift component in the sub-scan direction caused by a factor other than the shift of the reading position in the sub-scan direction for each pixel. To execute,
In the inter-line correction process
At least the decimal part correction processing that corrects the deviation of less than one line by interpolation processing is performed,
In the decimal part correction process, the correction amount of less than one line calculated based on the deviation of the reading position in the sub-scanning direction with respect to the color data of the non-reference color in the color data is larger than the calculated correction amount. Interpolation processing is performed using a correction amount that is smaller than 0 and is larger than 0.
In the color shift correction process, correction is performed using a color shift correction amount obtained by adding the remaining correction amount of the calculated correction amount that was not corrected in the decimal part correction process to the correction amount corresponding to the color shift component. Do, do
A computer program characterized by that.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016101525A JP6808974B2 (en) | 2016-05-20 | 2016-05-20 | Image processing equipment and computer programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016101525A JP6808974B2 (en) | 2016-05-20 | 2016-05-20 | Image processing equipment and computer programs |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017208763A JP2017208763A (en) | 2017-11-24 |
| JP6808974B2 true JP6808974B2 (en) | 2021-01-06 |
Family
ID=60415689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016101525A Expired - Fee Related JP6808974B2 (en) | 2016-05-20 | 2016-05-20 | Image processing equipment and computer programs |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6808974B2 (en) |
-
2016
- 2016-05-20 JP JP2016101525A patent/JP6808974B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017208763A (en) | 2017-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7924469B2 (en) | Image processing apparatus, image processing method, and program | |
| JP3887951B2 (en) | Image forming apparatus | |
| JP3777785B2 (en) | Image processing device | |
| JP3700381B2 (en) | Image processing device | |
| US8040569B2 (en) | Image processing apparatus and method for contrast processing and intermediate color removal | |
| US7889395B2 (en) | Image processing apparatus, image processing method, and program | |
| US20020136463A1 (en) | Image processing apparatus, image forming apparatus, and image processing method | |
| US20060165285A1 (en) | Image processing apparatus, image forming apparatus, image reading process apparatus, image processing method, image processing program, and computer-readable storage medium | |
| JPH11341284A (en) | Image processing device | |
| US20100091348A1 (en) | Image processing apparatus | |
| JP3736535B2 (en) | Document type identification device | |
| US20070236707A1 (en) | Image processing apparatus, image processing method and image processing program | |
| JP5531464B2 (en) | Image processing program, image processing apparatus, and image processing method | |
| JP3923293B2 (en) | Image processing method, image processing apparatus, and image forming apparatus | |
| JP6808974B2 (en) | Image processing equipment and computer programs | |
| CN100344149C (en) | Image processing device and method for performing gamma correction | |
| JP4158345B2 (en) | Image processing apparatus, image forming apparatus, and image processing method | |
| JP6474315B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor | |
| JP7475870B2 (en) | IMAGE READING APPARATUS, CONTROL METHOD FOR IMAGE READING APPARATUS, AND PROGRAM | |
| US20120050822A1 (en) | Image scanning device, image formation device and image scanning method | |
| JP3700456B2 (en) | Color image processing device | |
| JP2021057866A (en) | Image reading device and control method of the same | |
| JP3522880B2 (en) | Image processing apparatus and image forming apparatus | |
| JPH11266360A (en) | Image processor | |
| JP4498316B2 (en) | Image processing apparatus, image processing method, image forming apparatus, and computer program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190314 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191111 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200107 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200204 Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20200204 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200825 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201023 |
|
| 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: 20201110 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201123 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6808974 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |