JP2000332994A - Image processor - Google Patents

Image processor

Info

Publication number
JP2000332994A
JP2000332994A JP11141871A JP14187199A JP2000332994A JP 2000332994 A JP2000332994 A JP 2000332994A JP 11141871 A JP11141871 A JP 11141871A JP 14187199 A JP14187199 A JP 14187199A JP 2000332994 A JP2000332994 A JP 2000332994A
Authority
JP
Japan
Prior art keywords
image data
image
pixel
pixels
image processing
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.)
Pending
Application number
JP11141871A
Other languages
Japanese (ja)
Inventor
Mutsuaki Noma
睦明 野間
Yuji Toyomura
祐士 豊村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11141871A priority Critical patent/JP2000332994A/en
Publication of JP2000332994A publication Critical patent/JP2000332994A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an image processor capable of performing fast processing at a low cost while maintaining high image quality. SOLUTION: This image processor has an image data thinning part 102 which thins pixels constituting an image in image data, an image processing part 101 which performs prescribed image processing of the image data thinned by the part 102 and an image data restoring part 103 which performs restoration processing of the thinned image data processed by the part 101.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はプリンタ、複写機な
どの画像処理装置に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus such as a printer and a copying machine.

【0002】[0002]

【従来の技術】近年、プリンタやスキャナなどの画像処
理装置やパーソナルコンピュータ等の情報処理装置など
で扱う画像データにおいては、高解像度化、カラー化、
大判化などにより、画像データの大容量化の傾向が著し
い。また、このような傾向のもとで、高速印字、高速読
み取り、高速処理など、様々な面で高速化が求められて
いる。
2. Description of the Related Art In recent years, image data handled by image processing apparatuses such as printers and scanners and information processing apparatuses such as personal computers have been developed to have higher resolution, color,
Due to the increase in size and the like, there is a remarkable tendency to increase the capacity of image data. In addition, under such a tendency, speeding up is required in various aspects such as high speed printing, high speed reading, and high speed processing.

【0003】ここで、従来の一般的な画像処理装置にお
いては、これら画像データを二次元空間の画素の集まり
として捉え、各画素または注目画素を含むある空間的広
がりを持つブロックに対する様々な処理プロセスの集ま
りとして処理している。そして、画像データが大容量化
してきている今日においても、基本的にはこのような画
像処理を行うため、処理時間はデータ量に比例して増加
している。
Here, in a conventional general image processing apparatus, these image data are regarded as a group of pixels in a two-dimensional space, and various processing processes are performed on each pixel or a block including a pixel of interest and having a certain spatial spread. Is treated as a collection of Even today, when image data has been increasing in capacity, basically, such image processing is performed, so that the processing time increases in proportion to the data amount.

【0004】[0004]

【発明が解決しようとする課題】これに対し、たとえば
プリンタにおいては、タンデム方式のプリントエンジン
などによる高速化が実現されている。また、大規模な処
理が高速可能な専用の画像処理チップにより対処してき
ている。
On the other hand, in a printer, for example, high-speed printing is realized by a tandem-type print engine or the like. Also, large-scale processing has been dealt with by a dedicated image processing chip capable of high speed.

【0005】しかしながら、ハードウェアの速度限界に
より、高速化には頭打ち傾向が見られる。また、前述の
ような手段によれば、コストが増加して低価格な画像処
理装置を実現することができない。
However, due to the speed limit of the hardware, there is a tendency for the speed to reach a maximum. In addition, according to the above-described means, it is not possible to realize a low-cost image processing apparatus with increased cost.

【0006】このように、画像処理がプリンタシステム
の速度的ボトルネックとなりつつある一方、今後ますま
す増加していくであろう画像データ量に対し、低コスト
での高速化が求められている。
As described above, while image processing is becoming a bottleneck in the speed of a printer system, there is a demand for a low-cost and high-speed image data amount which is expected to increase in the future.

【0007】そこで、本発明は高画質を維持しつつ、安
価で高速処理が可能な画像処理装置を提供することを目
的とする。
It is an object of the present invention to provide an inexpensive image processing apparatus capable of high-speed processing while maintaining high image quality.

【0008】[0008]

【課題を解決するための手段】この課題を解決するため
に、本発明の画像処理装置は、画像データにおいて画像
を構成する画素の間引きを行う画像データ間引き手段
と、画像データ間引き手段により間引かれた画像データ
に所定の画像処理を施す画像処理手段と、画像処理手段
により処理された間引き画像データに復元処理を施す画
像データ復元手段とを有する構成としたものである。
In order to solve this problem, an image processing apparatus according to the present invention comprises an image data thinning means for thinning out pixels constituting an image in image data, and a thinning-out method using image data thinning means. The image processing apparatus includes an image processing unit that performs predetermined image processing on the processed image data, and an image data restoration unit that performs a restoration process on the thinned image data processed by the image processing unit.

【0009】これにより、画素を間引いた画像データに
画像処理を施し、その後、間引かれた画素を復元処理し
ているので、高画質を維持しつつ安価で高速処理が可能
な画像処理装置を得ることが可能になる。
Thus, image processing is performed on the image data in which the pixels have been thinned out, and thereafter the thinned out pixels are restored, so that an image processing apparatus capable of performing high-speed processing at low cost while maintaining high image quality is provided. It is possible to obtain.

【0010】[0010]

【発明の実施の形態】本発明の請求項1に記載の発明
は、画像データにおいて画像を構成する画素の間引きを
行う画像データ間引き手段と、画像データ間引き手段に
より間引かれた画像データに所定の画像処理を施す画像
処理手段と、画像処理手段により処理された間引き画像
データに復元処理を施す画像データ復元手段とを有する
画像処理装置であり、画素を間引いた画像データに画像
処理を施し、その後、間引かれた画素を復元処理してい
るので、画像処理演算量が大幅に削減され、高画質を維
持しつつ安価で高速処理が可能な画像処理装置を得るこ
とが可能になるという作用を有する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is directed to an image data thinning means for thinning out pixels constituting an image in image data, and a method for generating a predetermined image data thinned by the image data thinning means. An image processing apparatus having an image processing unit that performs image processing, and an image data restoration unit that performs a restoration process on the thinned image data processed by the image processing unit, and performs image processing on the image data with the pixels thinned out. Thereafter, since the thinned-out pixels are restored, the amount of image processing operation is greatly reduced, and an image processing apparatus capable of performing high-speed processing at low cost while maintaining high image quality can be obtained. Having.

【0011】本発明の請求項2に記載の発明は、請求項
1記載の発明において、画像データ間引き手段は、画像
を構成する画素を千鳥状に間引く画像処理装置であり、
注目画素の周辺画素を参照する画像処理において、画質
の劣化を招くことなく画像処理を行うことが可能になる
という作用を有する。
According to a second aspect of the present invention, in the first aspect of the present invention, the image data thinning means is an image processing apparatus for thinning out pixels forming an image in a staggered manner.
In the image processing for referring to the peripheral pixels of the target pixel, the image processing can be performed without deteriorating the image quality.

【0012】本発明の請求項3に記載の発明は、請求項
1または2記載の発明において、画像データ復元手段
は、復元すべき画素の予測値を求め、復元すべき画素の
複数の候補値を算出し、復元画素と上下画素との距離と
復元画素と左右画素との距離との比較から何れか一つの
候補値を復元画素値として決定する画像処理装置であ
り、復元予測値と空間的に近接した候補値を復元画素値
としているので、視覚的に違和感のない再現画像を得る
ことが可能になるという作用を有する。
According to a third aspect of the present invention, in the first or second aspect of the invention, the image data restoring means obtains a predicted value of a pixel to be restored, and obtains a plurality of candidate values of the pixel to be restored. Is calculated from the comparison between the distance between the restored pixel and the upper and lower pixels and the distance between the restored pixel and the left and right pixels, and determines one of the candidate values as the restored pixel value. Since the candidate value close to is used as the restored pixel value, it is possible to obtain a reproduced image that is visually uncomfortable.

【0013】本発明の請求項4に記載の発明は、請求項
3記載の発明において、画像データ復元手段は、決定さ
れた復元画素値の選択規則に基づき他のチャンネルの画
素を復元する画像処理装置であり、画質を損なうことな
く画像処理の高速化を図ることが可能になるという作用
を有する。
According to a fourth aspect of the present invention, in the third aspect, the image data restoring means restores pixels of another channel based on the determined restoration pixel value selection rule. This is an apparatus and has an effect that it is possible to increase the speed of image processing without deteriorating image quality.

【0014】本発明の請求項5に記載の発明は、請求項
1〜4の何れか一項に記載の発明において、画像データ
復元手段は、線順次または面順次である画像データの並
びを点順次に変換して画像復元を行う画像処理装置であ
り、画像データの記憶容量を最小限に抑制することが可
能になるという作用を有する。
According to a fifth aspect of the present invention, in the first aspect of the present invention, the image data restoring means points the arrangement of line-sequential or plane-sequential image data. This is an image processing apparatus for sequentially converting and restoring an image, and has an effect that it is possible to minimize the storage capacity of image data.

【0015】以下、本発明の実施の形態について、図1
から図9を用いて説明する。
FIG. 1 shows an embodiment of the present invention.
This will be described with reference to FIG.

【0016】図1は本発明の一実施の形態による画像処
理装置の概略を示すブロック図、図2は図1の画像形成
装置による処理概要を示すフローチャート、図3は図1
の画像形成装置による画像処理の一例を示す説明図、図
4は図1の画像形成装置における間引き画像データの復
号化処理の流れを示すフローチャート、図5は図1の画
像形成装置によって画像データを主走査方向に千鳥状に
間引く処理を示す説明図、図6は図1の画像形成装置に
よって画像データを副走査方向に千鳥状に間引く処理を
示す説明図、図7は画像データに間引きを行わない場合
におけるフィルタ処理の対象画素を示す説明図、図8は
画像データに間引きを行った場合におけるフィルタ処理
の対象画素を示す説明図、図9は間引き画像データの復
号化処理を示す説明図である。
FIG. 1 is a block diagram showing an outline of an image processing apparatus according to an embodiment of the present invention, FIG. 2 is a flowchart showing an outline of processing by the image forming apparatus of FIG. 1, and FIG.
FIG. 4 is an explanatory diagram showing an example of image processing by the image forming apparatus of FIG. 1, FIG. 4 is a flowchart showing a flow of decoding processing of thinned image data in the image forming apparatus of FIG. 1, and FIG. FIG. 6 is an explanatory diagram showing a process of thinning out image data in a staggered manner in the main scanning direction, FIG. 6 is an explanatory diagram showing a process of thinning out image data in a staggered manner in the sub-scanning direction by the image forming apparatus of FIG. 1, and FIG. FIG. 8 is an explanatory diagram showing a target pixel of the filtering process when there is no image, FIG. 8 is an explanatory diagram showing a target pixel of the filtering process when the image data is thinned out, and FIG. 9 is an explanatory diagram showing a decoding process of the thinned image data. is there.

【0017】図1に示すように、本実施の形態の画像形
成装置は、画像データにおいて画像を構成する画素の間
引きを行う画像データ間引き部(画像データ間引き手
段)102、画像データ間引き部102により間引かれ
た画像データに所定の画像処理を施す画像処理部(画像
処理手段)101、画像処理部101により処理された
間引き画像データに復元処理を施す画像データ復元部
(画像データ復元手段)103、処理前後および処理途
中の画像データを記憶する画像データ記憶部(画像デー
タ記憶手段)104を備えている。
As shown in FIG. 1, the image forming apparatus according to the present embodiment includes an image data thinning section (image data thinning means) 102 for thinning pixels constituting an image in image data, and an image data thinning section 102. An image processing unit (image processing unit) 101 that performs predetermined image processing on the thinned image data, and an image data restoration unit (image data restoration unit) 103 that performs a restoration process on the thinned image data processed by the image processing unit 101 And an image data storage unit (image data storage means) 104 for storing image data before, after, and during processing.

【0018】このような画像形成装置では、図2に示す
ように、画像データ記憶部104に格納された画像デー
タの画素を画像データ間引き部102で間引いて再び画
像データ記憶部104へ格納する画素間引き処理(ステ
ップS201)、画像データ記憶部104に格納された
間引き画像データに画像処理部101で画像処理を施し
て画像データ記憶部104へ格納する画像処理(ステッ
プS202)、画像データ記憶部104に格納された間
引き画像データを復元して画像データ記憶部104へ格
納する復元処理(ステップS203)が順次実行され
る。
In such an image forming apparatus, as shown in FIG. 2, pixels of the image data stored in the image data storage unit 104 are thinned out by the image data thinning unit 102 and stored in the image data storage unit 104 again. Thinning processing (step S201), image processing in which the image processing unit 101 performs image processing on the thinned image data stored in the image data storage unit 104 and stores the processed image data in the image data storage unit 104 (step S202); The restoration processing (step S203) of restoring the thinned-out image data stored in the image data and storing the restored image data in the image data storage unit 104 is sequentially performed.

【0019】なお、本実施の形態においては、このよう
に画像データ記憶部104が設けられ、処理前後および
処理途中の画像データが逐次記憶されるようになってい
るが、画像データ記憶部104に画像データを記憶する
ことなく次の処理に移行するようにしてもよく、各ステ
ップS201,S202,S203ごとに独立した画像
データ記憶部を設けるようにしてもよい ここで、図1の画像処理部101で行われる画像処理で
は、たとえば図3に示すように、色の基本三原色R(R
ed),G(Green),B(Blue)を色材の原
色C(Cyan),M(Magenta),Y(Yel
low)およびK(Black)に変換するプロセスが
実行される。
In the present embodiment, the image data storage unit 104 is provided as described above, and image data before, after, and during processing is sequentially stored. The process may proceed to the next process without storing the image data, or an independent image data storage unit may be provided for each of steps S201, S202, and S203. In the image processing performed in step 101, for example, as shown in FIG. 3, the basic three primary colors R (R
ed), G (Green) and B (Blue) are the primary colors C (Cyan), M (Magenta) and Y (Yel)
low) and a process of converting to K (Black) are performed.

【0020】この処理は、ディスプレイに表示された画
像をプリンタへ出力する際に行われる処理である。
This process is performed when an image displayed on the display is output to a printer.

【0021】ここでは、先ず、輝度情報であるR,G,
Bの値に対数変換を施して濃度情報であるC,M,Yの
値を生成し(プロセス1)、生成されたC,M,Yの値
をもとに、新たにKを作り出すための下色除去処理(U
CR)を実行する(プロセス2)。
Here, first, the luminance information R, G,
A logarithmic transformation is performed on the value of B to generate C, M, and Y values as density information (process 1), and a new K is generated based on the generated C, M, and Y values. Under color removal processing (U
CR) (process 2).

【0022】次に、C,M,Yのトナーあるいはインク
における互いの不要吸収特性の影響を除去するためのマ
スキングの処理を行い(プロセス3)、画像の鮮鋭度向
上やノイズ除去などのためのフィルタ処理を行う(プロ
セス4)。
Next, a masking process for removing the influence of the unnecessary absorption characteristics of the C, M, and Y toners or inks is performed (process 3) to improve the sharpness of the image and remove noise. Filter processing is performed (process 4).

【0023】そして、画像に応じて、コントラスト・ブ
ライトネスの調整(ガンマ変換)を行う(プロセス
5)。
Then, the contrast / brightness is adjusted (gamma conversion) according to the image (process 5).

【0024】なお、以上示した画像処理プロセスは一例
に過ぎず、一部のプロセスを省略したり、別のプロセス
を追加してもよい。また、画像処理の内容に応じて、プ
ロセスの順序を入れ替えてもよい。
The image processing process described above is only an example, and some processes may be omitted or another process may be added. Further, the order of the processes may be changed according to the content of the image processing.

【0025】以上のように構成された本実施の形態の画
像処理装置について、画像データを千鳥状に間引く場合
の処理について図5を用いて説明する。
Referring to FIG. 5, a description will be given, with reference to FIG. 5, of the image processing apparatus according to the present embodiment configured as described above, in which the image data is thinned out in a staggered manner.

【0026】ここでは、図5(a)に示すメモリに格納
された画像データに対し、飛び飛びの位置の画素を間引
くようにして間引き処理を行う。このとき、偶数行と奇
数行とで間引きの画素位置がそれぞれ逆になるようにす
る。たとえば、奇数行では、主走査方向の1,3,5、
・・・、(2n+1)、・・・番目の画素を選択し、
2,4,6、・・・、2n、・・・番目の画素を間引
く。また、偶数行では、主走査方向の2,4,6、・・
・、2n、・・・番目の画素を選択し、1,3,5、・
・・、(2n+1)、・・・番目の画素を間引く。ここ
で、nは1,2,3、・・・の正の整数値である。
Here, thinning processing is performed on image data stored in the memory shown in FIG. 5A so as to thin pixels at discrete positions. At this time, the pixel positions of the thinning-out in the even-numbered rows and the odd-numbered rows are reversed. For example, in odd rows, 1, 3, 5 in the main scanning direction,
.., (2n + 1),.
The second, fourth,..., 2n,. In even-numbered rows, 2, 4, 6,.
.., The second pixel is selected, and 1, 3, 5,.
.., (2n + 1),. Here, n is a positive integer value of 1, 2, 3,....

【0027】図5(a)において、間引き前の画像の1
行目の画素をP11、P12,P13,・・・、P1
F,P1Gとする。この中からP11,P13,P1
5,・・・、P1Fを残し、P12,P14,P16,
・・・、P1Gを間引く。すると、図5(b)の間引き
後のデータの1行目に示すように、P11,P13,・
・・、P1Fが残り、1行の画素数が1/2に削減され
ることになる。なお、以上の奇数行と偶数行の間引き画
素の規則を逆にしても良い。その場合、1行目はP1
2,P14,P16,・・・、P1Gが残ることになる
が、画素数はやはり1/2になる。
In FIG. 5A, one of the images before the thinning is performed.
The pixels in the row are P11, P12, P13,..., P1
F and P1G. From these, P11, P13, P1
, P1, F, P12, P14, P16,
..., P1G is thinned out. Then, as shown in the first row of the thinned data in FIG. 5B, P11, P13,.
.., P1F remains, and the number of pixels in one row is reduced by half. It is to be noted that the rule of thinning out pixels of the odd rows and the even rows described above may be reversed. In that case, the first line is P1
2, P14, P16,..., P1G remain, but the number of pixels is also halved.

【0028】列方向で見ると、奇数行では最初の画素、
偶数行では2番目の画素が残ることになる。その結果、
図5(b)に示すように、間引き後のデータの1列目に
は、P11,P22,P31,P42,・・・のように
画素が構成される。以上のステップにより画素数を1/
2にすることができる。
In the column direction, the odd-numbered rows have the first pixel,
In an even-numbered row, the second pixel remains. as a result,
As shown in FIG. 5B, in the first column of the thinned data, pixels are configured as P11, P22, P31, P42,. By the above steps, the number of pixels is reduced to 1 /
Can be 2.

【0029】図5において示した間引き処理は主走査方
向に対するものであるが、図6に示すように、副走査方
向に対する間引きの場合も、行ではなく列に対して同様
の処理を行うことで、画素数を1/2に削減することが
できる。
The thinning-out processing shown in FIG. 5 is for the main scanning direction. However, as shown in FIG. 6, in the case of thinning-out in the sub-scanning direction, the same processing is performed for columns instead of rows. , The number of pixels can be reduced to half.

【0030】なお、この場合、1行の画素数は間引き前
と同じであるが、画素の並びが奇数行と偶数行交互のデ
ータとなる。すなわち、図6(b)に示すように、間引
き後の1行目が、P11,P22,P13,P24,・
・・となる。そして、間引き後のデータの1列目は、P
11,P31,P51,・・・、つまり、間引き前の1
行目、3行目、5行目、・・・の1番目の画素となる。
したがって、副走査方向に1/2圧縮されることにな
る。
In this case, although the number of pixels in one row is the same as that before thinning-out, the arrangement of pixels is data of alternating odd-numbered rows and even-numbered rows. That is, as shown in FIG. 6B, the first line after the thinning is P11, P22, P13, P24,.
・ ・The first column of the thinned data is P
11, P31, P51, ..., that is, 1 before thinning
The first pixel in the third, fifth, fifth,... Rows.
Therefore, the data is compressed by に in the sub-scanning direction.

【0031】次に、この間引いた画像データに対するフ
ィルタ処理が、間引かない場合のフィルタ処理とほぼ同
様の効果を得ることができることを図7および図8を用
いて説明する。なお、ここでは、フィルタのウィンドウ
の大きさとして、注目画素を中心とした上下左右斜め8
画素を含むいわゆる3×3として説明する。
Next, it will be described with reference to FIGS. 7 and 8 that the filtering process on the thinned image data can obtain substantially the same effect as the filtering process without thinning. Here, the size of the window of the filter is 8
The description will be made as a so-called 3 × 3 including pixels.

【0032】図7に、間引きを行わない場合の一般的な
3×3のウィンドウの場合のフィルタ処理の対象画素を
示す。
FIG. 7 shows target pixels to be subjected to filter processing in a general 3 × 3 window when no thinning is performed.

【0033】図7において、注目画素をP22とする
と、一般的に、フィルタ処理にはその周りの8画素P1
1,P12,P13,P21,P23,P31,P3
2,P33の全てを用いる。例えば、ローパスフィルタ
の場合、注目画素P22のフィルタ処理後の画素値Q2
2は、(数1)のように与えられる。
In FIG. 7, assuming that the pixel of interest is P22, generally, eight pixels P1 around it are used for filtering.
1, P12, P13, P21, P23, P31, P3
2, all of P33 are used. For example, in the case of a low-pass filter, the pixel value Q2 of the target pixel P22 after the filtering process is performed.
2 is given as (Equation 1).

【0034】[0034]

【数1】 (Equation 1)

【0035】ここで、フィルタ処理では、上下方向の4
画素P12,P21,P23,P32の関与度を低く抑
える係数を取ることが多い。そして、(数1)において
も、これらの画素の関与度は最も低い。これは、人間の
視覚特性上、斜め方向の変化に比べ、縦および横方向の
変化は知覚が鈍いことに着目したものである。したがっ
て、高速化を最優先するような場合では、これら上下左
右方向の4画素の畳み込み係数を0、つまり参照しない
場合もある。その場合の注目画素P22のフィルタ処理
後の画素値Q22は、(数2)のように与えられる。
Here, in the filtering process, the vertical four
In many cases, a coefficient for suppressing the degree of involvement of the pixels P12, P21, P23, and P32 is set low. Also, in (Equation 1), the degree of involvement of these pixels is the lowest. This focuses on the fact that, in terms of human visual characteristics, changes in vertical and horizontal directions are less perceived than changes in oblique directions. Therefore, when the highest priority is given to speeding up, the convolution coefficients of these four pixels in the vertical and horizontal directions may be 0, that is, may not be referred to. In this case, the pixel value Q22 of the target pixel P22 after the filtering process is given as in (Equation 2).

【0036】[0036]

【数2】 (Equation 2)

【0037】なお、これによる画質の劣化は、周り8画
素全てを参照する場合に比べて格段に劣るということは
ない。
Incidentally, the deterioration of the image quality due to this is not remarkably inferior to the case where all the surrounding eight pixels are referred to.

【0038】ところで、図7のP11〜P33の9画素
を千鳥状に間引くと、図8のようにP11,P13,P
22,P31,P33の5画素による形状になる。した
がって、(数2)で必要なフィルタ対象画素は全て残っ
ていることになり、間引きによるフィルタ処理への画質
劣化の影響は(数2)のフィルタ処理の場合と全く同じ
ということになる。
By the way, when nine pixels P11 to P33 in FIG. 7 are thinned out in a zigzag pattern, as shown in FIG.
The shape is formed by five pixels 22, P31 and P33. Therefore, all necessary pixels to be filtered remain in (Equation 2), and the effect of image quality degradation on filter processing due to thinning is exactly the same as in the case of filter processing in (Equation 2).

【0039】以上の例は、注目画素が偶数行の場合に当
てはまる。そこで、注目画素が奇数行の場合を以下に説
明する。
The above example applies to the case where the pixel of interest is an even-numbered row. Therefore, the case where the pixel of interest is an odd-numbered row will be described below.

【0040】図7のP6Dを注目画素とした場合、P5
C,P5D,P5E,P6C,P6E,P7C,P7
D,P7Eの8画素を含む9画素でブロックを構成する
ことになる。このときの間引き後の画素は、図8に示す
ように、P5C,P5E,P6D,P7C,P7Eの5
画素になる。そして、この場合も、(数2)のフィルタ
処理を必要とする画素がそのまま残っており、偶数行の
場合と同様、間引きによる画質への影響はないというこ
とがわかる。
When P6D in FIG. 7 is set as a target pixel, P5
C, P5D, P5E, P6C, P6E, P7C, P7
A block is composed of 9 pixels including 8 pixels of D and P7E. At this time, the pixels after decimation are the five pixels P5C, P5E, P6D, P7C, and P7E, as shown in FIG.
Pixel. Also in this case, the pixels requiring the filtering process of (Expression 2) remain as they are, and it can be seen that the thinning does not affect the image quality as in the case of the even-numbered rows.

【0041】次に、画像データの復号化の処理手順を、
図4および図9を用いて説明する。
Next, the processing procedure for decoding image data is as follows.
This will be described with reference to FIGS.

【0042】ここで、画像データを復元する場合に、単
純に復元対象画素の上下左右の画素の平均値を取る方法
は強いローパスフィルタをかけることになり、復元画像
の画質が大きく劣化する。したがって、以下のような手
順で復元する。
Here, when restoring image data, a method of simply taking the average value of the upper, lower, left, and right pixels of the pixel to be restored involves applying a strong low-pass filter, and the image quality of the restored image is greatly deteriorated. Therefore, restoration is performed in the following procedure.

【0043】先ず、画像データの復元に必要となる画素
値のデータ(図9において、復元対象画素Xの上下左右
の4画素(U,D,R,L)の画素値と、斜め左上の画
素(S)の画素値の5つのデータ)を抽出する(ステッ
プS401)。
First, pixel value data necessary for restoring image data (in FIG. 9, the pixel values of four pixels (U, D, R, L) at the top, bottom, left and right of the pixel X to be restored, (S data of five pixel values) is extracted (step S401).

【0044】次に、復元予測値Pの算出を行う。ここ
で、復元予測値Pは、図9に示すように、復元対象画素
Xの上画素Uと左画素Lと既に復元された左斜め上の画
素Sの3画素を用いた平面予測により、(数3)を用い
て復元対象画素Xについて算出する(ステップS40
2)。
Next, the predicted restoration value P is calculated. Here, as shown in FIG. 9, the restoration prediction value P is obtained by plane prediction using three pixels of the upper pixel U and the left pixel L of the restoration target pixel X and the already restored upper left pixel S, as shown in FIG. Calculation is performed on the restoration target pixel X using Expression 3) (Step S40).
2).

【0045】[0045]

【数3】 (Equation 3)

【0046】なお、本実施の形態では、予測は一つの色
チャンネルで行うように構成されているが、このような
予測を繰り返し行い、複数または全てのチャンネルで行
うようにしてもよい。また、選択するチャンネルは、R
GBのばあいはGチャンネル、CMYの場合はMチャン
ネルというように、最も視感度の高い色チャンネルで行
うことが望ましいが、色合いによって別のチャンネルを
選択することも可能である。
In the present embodiment, the prediction is performed on one color channel. However, such a prediction may be repeatedly performed and performed on a plurality of or all channels. The channel to be selected is R
It is desirable to use a color channel with the highest visibility, such as the G channel in the case of GB and the M channel in the case of CMY, but it is also possible to select another channel depending on the color tone.

【0047】このようにして復元予測値Pが求められた
ならば、複数の候補値の算出を行う。ここでは、2つの
候補値をC1,C2として、以下の(数4)および(数
5)で算出する。
When the predicted restoration value P is obtained in this manner, a plurality of candidate values are calculated. Here, the two candidate values are calculated as C1 and C2 by the following (Equation 4) and (Equation 5).

【0048】[0048]

【数4】 (Equation 4)

【0049】[0049]

【数5】 (Equation 5)

【0050】なお、これらの候補値も、一つの色チャン
ネルで行うように構成されているが、予測値Pを求めた
ときと同様、複数または全てのチャンネルで行ってもよ
い。
Note that these candidate values are also configured to be performed for one color channel, but may be performed for a plurality of or all channels similarly to the case where the predicted value P is obtained.

【0051】間引きが千鳥状の場合、復元の際は、間引
き後の残りの画素が復元画素を上下左右から挟んだ形と
なる。したがって、空間的距離が最も近いこれら4画素
を用いて復元することが適切である。
In the case where the thinning-out is in a staggered manner, at the time of restoration, the remaining pixels after the thinning-out have a shape sandwiching the restored pixel from above, below, left and right. Therefore, it is appropriate to perform restoration using these four pixels having the closest spatial distance.

【0052】そして、候補値C1は、復元対象画素Xの
上画素Uと下画素Dの平均値となる(ステップS40
3)。また、候補値C2は、復元対象画素Xの左の画素
Lと右の画素Rの平均値となる(ステップS404)。
The candidate value C1 is an average value of the upper pixel U and the lower pixel D of the pixel X to be restored (step S40).
3). The candidate value C2 is an average value of the left pixel L and the right pixel R of the restoration target pixel X (Step S404).

【0053】2つの候補値C1,C2が求められたなら
ば、復元画素値Aの決定を行う。すなわち、注目画素と
その周辺画素を調べ、注目画素と相関が高い、つまり空
間的な距離が近い画素群から得られた候補を復元画素値
Aとする。
After the two candidate values C1 and C2 have been obtained, the restored pixel value A is determined. That is, the target pixel and its surrounding pixels are checked, and a candidate obtained from a pixel group having a high correlation with the target pixel, that is, a pixel group having a short spatial distance is set as a restored pixel value A.

【0054】ここでは、先ず、復元画素と上下画素との
距離X1と、復元画素と左右画素との距離X2をそれぞ
れ求める。
Here, first, a distance X1 between the restored pixel and the upper and lower pixels and a distance X2 between the restored pixel and the left and right pixels are obtained.

【0055】すなわち、上下画素との距離X1は、ステ
ップS402で求めた復元画素の予測値と上画素値との
差分値の絶対値と、復元画素の予測値Pと下画素との差
分値の絶対値との和として求める(ステップS40
5)。また、左右画素との距離X2も同様に、ステップ
S402で求めた復元画素の予測値Pと右画素値との差
分値の絶対値と、復元画素の予測値Pと左画素との差分
値の絶対値との和として求める(ステップS406)。
That is, the distance X1 between the upper and lower pixels is determined by the absolute value of the difference between the predicted value of the restored pixel obtained in step S402 and the upper pixel value, and the difference between the predicted value P of the restored pixel and the lower pixel. (Step S40)
5). Similarly, the distance X2 between the left and right pixels is the absolute value of the difference between the predicted value P of the restored pixel obtained in step S402 and the right pixel value, and the difference between the predicted value P of the restored pixel and the left pixel. It is obtained as a sum with the absolute value (step S406).

【0056】そして、この2つの距離の近い方を調べ
(ステップS407)、復元画素と上下画素との距離X
1が近ければ、復元対象画素Xの上画素Uと下画素Dよ
り求めた候補値C1を復元画素値Aとして選択する(ス
テップS408)。逆に、復元画素と左右画素との距離
X2が近ければ、復元対象画素Xの左画素Lと右画素R
より求めた候補値C2を復元画素値Aとして選択する
(ステップS409)。
Then, the closer of the two distances is checked (step S407), and the distance X between the restored pixel and the upper and lower pixels is determined.
If 1 is close, the candidate value C1 obtained from the upper pixel U and the lower pixel D of the pixel X to be restored is selected as the restored pixel value A (step S408). Conversely, if the distance X2 between the restoration pixel and the left and right pixels is short, the left pixel L and the right pixel R of the restoration target pixel X
The obtained candidate value C2 is selected as the restored pixel value A (step S409).

【0057】復元画素値Aが求められたならば、最後に
他色チャンネルの復元を行う。すなわち、復元画素値A
の決定で得られた選択規則を残りのチャンネルに当ては
めて画素復元を行う。
When the restored pixel value A is obtained, the other color channel is finally restored. That is, the restored pixel value A
Is applied to the remaining channels to perform pixel restoration.

【0058】これにより、他のチャンネルの画素の復元
においてステップS401〜ステップS409の処理を
行う必要がなくなり、画質を損なうことなく高速化を図
ることができる。
As a result, it is not necessary to perform the processing of steps S401 to S409 in restoring pixels of another channel, and it is possible to increase the speed without deteriorating the image quality.

【0059】なお、画像データの並びが線順次や面順次
であった場合、このような選択規則を記憶する記憶容量
が大きくなる。特に面順次では、間引き後の全画素分の
選択規則を記憶する必要が生じるため、記憶容量がより
大きくなる。そこで、画像データフォーマットを点順次
(RGBであれば、R,G,B,R,G,B,・・・)
にすれば、各画素単位で選択規則を保持しておけば良い
ため、記憶容量を最小限に抑えることができる。
When the arrangement of the image data is line-sequential or plane-sequential, the storage capacity for storing such selection rules becomes large. Particularly, in the case of frame sequential, it is necessary to store the selection rules for all the pixels after the thinning, so that the storage capacity is further increased. Therefore, the image data format is changed to dot sequential (for RGB, R, G, B, R, G, B,...)
In this case, since the selection rule only needs to be held for each pixel, the storage capacity can be minimized.

【0060】以上の説明において、処理対象の画像デー
タのフォーマットについては特に言及していないが、バ
ンド単位、ブロック単位など、どのようなフォーマット
を採用することが可能である。
In the above description, the format of the image data to be processed is not particularly mentioned, but any format such as a band unit or a block unit can be adopted.

【0061】[0061]

【発明の効果】以上のように、本発明によれば、画素を
間引いた画像データに画像処理を施し、その後、間引か
れた画素を復元処理しているので、画像処理演算量が大
幅に削減され、高画質を維持しつつ安価で高速処理が可
能な画像処理装置を得ることが可能になるという有効な
効果が得られる。
As described above, according to the present invention, image processing is performed on image data in which pixels have been decimated, and after that, restoration processing has been performed on the decimated pixels. It is possible to obtain an effective effect that it is possible to obtain an inexpensive image processing apparatus capable of high-speed processing while maintaining high image quality.

【0062】画像を構成する画素を千鳥状に間引くよう
にすれば、注目画素の周辺画素を参照する画像処理にお
いて、画質の劣化を招くことなく画像処理を行うことが
可能になるという有効な効果が得られる。
If the pixels constituting the image are thinned out in a staggered manner, it is possible to perform the image processing without deteriorating the image quality in the image processing for referring to the peripheral pixels of the target pixel. Is obtained.

【0063】復元予測値と空間的に近接した候補値を復
元画素値とすれば、視覚的に違和感のない再現画像を得
ることが可能になるという有効な効果が得られる。
If a candidate value spatially close to the restored predicted value is used as the restored pixel value, an effective effect that it is possible to obtain a reproduced image that is visually uncomfortable can be obtained.

【0064】決定された復元画素値の選択規則に基づき
他のチャンネルの画素を復元するようにすれば、画質を
損なうことなく画像処理の高速化を図ることが可能にな
るという有効な効果が得られる。
If pixels of other channels are restored based on the determined restoration pixel value selection rule, an effective effect is obtained in that it is possible to speed up image processing without deteriorating image quality. Can be

【0065】線順次または面順次である画像データの並
びを点順次に変換して画像復元を行うようにすれば、画
像データの記憶容量を最小限に抑制することが可能にな
るという有効な効果が得られる。
If an image restoration is performed by converting a line-sequential or plane-sequential image data sequence into a dot-sequential one, the storage capacity of the image data can be minimized. Is obtained.

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

【図1】本発明の一実施の形態による画像処理装置の概
略を示すブロック図
FIG. 1 is a block diagram schematically illustrating an image processing apparatus according to an embodiment of the present invention;

【図2】図1の画像形成装置による処理概要を示すフロ
ーチャート
FIG. 2 is a flowchart showing an outline of processing by the image forming apparatus of FIG. 1;

【図3】図1の画像形成装置による画像処理の一例を示
す説明図
FIG. 3 is an explanatory diagram illustrating an example of image processing performed by the image forming apparatus of FIG. 1;

【図4】図1の画像形成装置における間引き画像データ
の復号化処理の流れを示すフローチャート
FIG. 4 is a flowchart showing the flow of decoding processing of thinned image data in the image forming apparatus of FIG. 1;

【図5】図1の画像形成装置によって画像データを主走
査方向に千鳥状に間引く処理を示す説明図
FIG. 5 is an explanatory diagram showing processing for thinning out image data in a zigzag manner in the main scanning direction by the image forming apparatus of FIG. 1;

【図6】図1の画像形成装置によって画像データを副走
査方向に千鳥状に間引く処理を示す説明図
FIG. 6 is an explanatory diagram showing processing for thinning out image data in a zigzag manner in the sub-scanning direction by the image forming apparatus of FIG. 1;

【図7】画像データに間引きを行わない場合におけるフ
ィルタ処理の対象画素を示す説明図
FIG. 7 is an explanatory diagram showing target pixels of a filtering process when no thinning is performed on image data;

【図8】画像データに間引きを行った場合におけるフィ
ルタ処理の対象画素を示す説明図
FIG. 8 is an explanatory diagram showing target pixels of a filtering process when image data is thinned out.

【図9】間引き画像データの復号化処理を示す説明図FIG. 9 is an explanatory diagram showing a decoding process of thinned image data.

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

101 画像処理部(画像処理手段) 102 画像データ間引き部(画像データ間引き手段) 103 画像データ復元部(画像データ復元手段) 101 image processing unit (image processing unit) 102 image data thinning unit (image data thinning unit) 103 image data restoring unit (image data restoring unit)

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C062 AA24 5C076 AA21 AA22 BB06 BB13 BB15 5C078 AA09 BA21 CA00 DA02 DB14 EA00 9A001 BB02 BB03 BB04 CC02 EE02 EE04 HH24 HH25 HH27 HH31 JJ35 KK42 KK56  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C062 AA24 5C076 AA21 AA22 BB06 BB13 BB15 5C078 AA09 BA21 CA00 DA02 DB14 EA00 9A001 BB02 BB03 BB04 CC02 EE02 EE04 HH24 HH25 HH27 HH31 JJ35 KK42KK56

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】画像データにおいて画像を構成する画素の
間引きを行う画像データ間引き手段と、 前記画像データ間引き手段により間引かれた画像データ
に所定の画像処理を施す画像処理手段と、 前記画像処理手段により処理された間引き画像データに
復元処理を施す画像データ復元手段とを有することを特
徴とする画像処理装置。
An image data thinning unit for thinning out pixels constituting an image in the image data; an image processing unit for performing predetermined image processing on the image data thinned out by the image data thinning unit; An image data restoring unit for restoring the thinned image data processed by the unit.
【請求項2】前記画像データ間引き手段は、画像を構成
する画素を千鳥状に間引くことを特徴とする請求項1記
載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein said image data thinning means thins out pixels forming an image in a staggered manner.
【請求項3】前記画像データ復元手段は、復元すべき画
素の予測値を求め、復元すべき画素の複数の候補値を算
出し、復元画素と上下画素との距離と復元画素と左右画
素との距離との比較から何れか一つの候補値を復元画素
値として決定することを特徴とする請求項1または2記
載の画像処理装置。
3. The image data restoring means calculates a predicted value of a pixel to be restored, calculates a plurality of candidate values of the pixel to be restored, and calculates a distance between the restored pixel and upper and lower pixels, a restored pixel, and left and right pixels. 3. The image processing apparatus according to claim 1, wherein one of the candidate values is determined as a restored pixel value based on a comparison with the distance.
【請求項4】前記画像データ復元手段は、決定された復
元画素値の選択規則に基づき他のチャンネルの画素を復
元することを特徴とする請求項3記載の画像処理装置。
4. The image processing apparatus according to claim 3, wherein said image data restoring means restores pixels of another channel based on the determined restoration pixel value selection rule.
【請求項5】前記画像データ復元手段は、線順次または
面順次である前記画像データの並びを点順次に変換して
画像復元を行うことを特徴とする請求項1〜4の何れか
一項に記載の画像処理装置。
5. The image data restoring means according to claim 1, wherein said image data restoring means restores the image by converting a line-sequential or plane-sequential arrangement of said image data into a dot-sequential manner. An image processing apparatus according to claim 1.
JP11141871A 1999-05-21 1999-05-21 Image processor Pending JP2000332994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11141871A JP2000332994A (en) 1999-05-21 1999-05-21 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11141871A JP2000332994A (en) 1999-05-21 1999-05-21 Image processor

Publications (1)

Publication Number Publication Date
JP2000332994A true JP2000332994A (en) 2000-11-30

Family

ID=15302109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11141871A Pending JP2000332994A (en) 1999-05-21 1999-05-21 Image processor

Country Status (1)

Country Link
JP (1) JP2000332994A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008288818A (en) * 2007-05-16 2008-11-27 Ricoh Co Ltd Color image processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008288818A (en) * 2007-05-16 2008-11-27 Ricoh Co Ltd Color image processor

Similar Documents

Publication Publication Date Title
JP4718542B2 (en) System and method for estimating compression noise of an image
US6091851A (en) Efficient algorithm for color recovery from 8-bit to 24-bit color pixels
US5917962A (en) Method and apparatus for partitioning an image
JP4495745B2 (en) Image processing apparatus, image processing method, computer program, and storage medium
JP2001283219A (en) Template fitting method
JPH11220632A (en) Picture processor and picture processing method and medium for recording picture processing control program
US6130661A (en) Seamless parallel neighborhood process halftoning
CN102868890B (en) Image processing equipment, imaging device and image processing method
JP2006319682A (en) Image processing apparatus, image processing method and computer readable recording medium
US5206719A (en) Image processing apparatus including means for extracting an outline
JPH11168638A (en) Method for processing color half-tone image
JP4424429B2 (en) Image processing device
JP3059205B2 (en) Image processing device
JP2015115837A (en) Control device, image processing apparatus, control method and program
US6181834B1 (en) Hybrid image reduction method and apparatus with moir{acute over (e)} suppression
JP2007086577A (en) Image processor, image processing method, image processing program, and image display device
JP4235306B2 (en) Low complexity, low memory consumption reverse dither method
JP2000332994A (en) Image processor
US20060232797A1 (en) Image processing for expressing gradation
JP4156194B2 (en) Method for converting first resolution raster digital data to second resolution digital data
JP2007087218A (en) Image processor
JP3888090B2 (en) Image processing apparatus and image processing method
JPH01125681A (en) Filtering processing method for digital picture data
JP3783815B2 (en) Image processing device
JP2013526733A (en) How to restore raster image edges