JPH0430666A - Smoothing system for area data - Google Patents
Smoothing system for area dataInfo
- Publication number
- JPH0430666A JPH0430666A JP13607290A JP13607290A JPH0430666A JP H0430666 A JPH0430666 A JP H0430666A JP 13607290 A JP13607290 A JP 13607290A JP 13607290 A JP13607290 A JP 13607290A JP H0430666 A JPH0430666 A JP H0430666A
- Authority
- JP
- Japan
- Prior art keywords
- area data
- area
- data
- resolution
- pattern matching
- 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
Links
Landscapes
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、低解像度て編集した領域メモリのデータを高
解像度で出力する画像データのスムージング方式に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image data smoothing method for outputting data in a region memory edited at low resolution at high resolution.
デジタル画像処理装置は、中間調の画像データを多値デ
ータに変換してメモリへの格納、加工処理か簡便かつ自
由に行うことかできるという点てアナログ画像処理装置
より優れている。Digital image processing apparatuses are superior to analog image processing apparatuses in that they can convert halftone image data into multivalued data, store it in memory, and process it easily and freely.
例えばデジタルカラー複写機では、領域毎に読み込んだ
原稿の画像データに色を加えたり(ぬり工)、メッンユ
をかけたりすることかできる。このような編集処理を行
うために、領域メモリが用意される。そして、原稿を読
み込んだ画像データに所望の編集処理を施そうとする場
合には、まず、この領域メモリに領域データとして例え
ば編集コマンドを設定し、その後画像データの処理時に
画像データの領域を抽出して画像データと同期会ゎせを
行って領域データを読み出し編集回路に送出するように
構成している。For example, in a digital color copying machine, it is possible to add color (coloring) or to add color to the image data of a document read for each area. In order to perform such editing processing, area memory is prepared. When attempting to perform desired editing processing on image data read from a document, first set an editing command as area data in this area memory, and then extract the area of the image data when processing the image data. The area data is read out and sent to the editing circuit in synchronization with the image data.
デジタルカラー複写機等のデジタルカラー画像処理装置
に領域メモリ(ブレーンメモリ)を用意し、それに編集
コマンドを領域データとして設定し画像データの編集を
行い出力する方式は、本出願人も既に幾つかの提案(例
えば特願平l−44174号)をしている。領域メモリ
に領域データを設定する場合には、例えば予め編集コマ
ンドを指定して或いはマーカーにより編集領域を指定し
て原稿をブリスキャンし、原稿を読み取った画像データ
からマーカー色を認識することによって指定された領域
を抽出し、4枚のブレーンからなる領域メモリに領域デ
ータとして4ビツトの編集コマンドを書き込む。The present applicant has already developed a method in which an area memory (brain memory) is prepared in a digital color image processing device such as a digital color copying machine, and editing commands are set as area data to edit and output image data. A proposal has been made (for example, Japanese Patent Application No. 1-44174). When setting area data in the area memory, for example, specify an editing command in advance or specify the editing area with a marker, bliscan the original, and then recognize the marker color from the image data read from the original. The extracted area is extracted and a 4-bit editing command is written as area data into an area memory consisting of four brains.
上記のように領域メモリは、原稿の領域毎に領域データ
を設定するため、基本的に原稿サイズのメモリ容量か必
要となる。しかし、デジタルカラー複写機等の画像処理
装置では、実用機が16ドツト/mm(1画素62.5
μm)の解像度のものとなり、この解像度で領域メモリ
を使うとメモリ容量か膨大になるため、4ドツト/ m
mに解像度を落とした領域メモリを使っている。その
ため、領域編集を行うと、4ドツト/mmの解像度で処
理された領域データかそのまま16ドツト/ m mの
解像度の画像に出力され、画質劣化か生じている。特に
、斜め方向にギザギザが現れ、所謂ジャギーが目立って
しまうという問題が生じている。As described above, the area memory sets area data for each area of the document, so basically a memory capacity equal to the size of the document is required. However, in image processing devices such as digital color copying machines, practical machines have a resolution of 16 dots/mm (one pixel is 62.5
If you use area memory at this resolution, the memory capacity will be enormous, so the resolution is 4 dots/m.
It uses area memory with a resolution lowered to m. Therefore, when area editing is performed, area data processed at a resolution of 4 dots/mm is output as is as an image at a resolution of 16 dots/mm, resulting in image quality deterioration. In particular, a problem arises in that jagged edges appear in diagonal directions, making so-called jaggies noticeable.
本発明は、上記の課題を解決するものであって、その目
的は、低解像度の領域メモリを用いた編集処理を行って
も、ジャギーの目立たない高画質の領域データを得るこ
とである。本発明の他の目的は、低解像度の領域データ
を補完して高解像度の領域データを得ることである。The present invention is intended to solve the above-mentioned problems, and its purpose is to obtain high-quality region data in which jaggies are not noticeable even when editing processing is performed using a low-resolution region memory. Another object of the present invention is to obtain high resolution region data by complementing low resolution region data.
そのために本発明は、低解像度で編集し格納した領域メ
モリの領域データを読み出して高解像度で出力する領域
データのスムージング方式であって、第1図に示すよう
にラインバッファ3.3X3ブロック化回路4からなる
ブロック化手段を設は領域メモリ2の領域データを所定
のサイズでブロック化し、LUTで構成するパターンマ
ツチング回路5によりブロック化された領域データでパ
ターンマツチングを行い、高解像度の領域データを補完
して出力するように構成したことを特徴とするものであ
る。また、高解像度の領域データを変換するパターンマ
ツチング回路5は、上下左右の領域データを用いでパタ
ーンマッチングを行うように構成したことを特徴とする
。To this end, the present invention provides a smoothing method for area data that reads out area data from an area memory that has been edited and stored at low resolution and outputs it at high resolution.As shown in FIG. A blocking means consisting of 4 is set up to block the area data in the area memory 2 to a predetermined size, and pattern matching is performed on the blocked area data by a pattern matching circuit 5 composed of an LUT to create a high-resolution area. It is characterized by being configured to complement and output data. Furthermore, the pattern matching circuit 5 for converting high-resolution area data is characterized in that it is configured to perform pattern matching using upper, lower, left, and right area data.
本発明の領域データのスムージング方式では、領域メモ
リ2の領域データを所定のサイズでブロック化するので
、周囲の領域データのパターンを抽出してそのパターン
で高解像度の領域データを補完することかできる。この
場合、上下左右の領域データを用い、上下の一方と左右
の一方のデータか同じパターンに対して、注目領域デー
タの斜め半分を同じ領域データとするように高解像度の
領域データを補完することができるので、斜め方向のジ
ャギーか目立つ画質を改善することかできる。In the area data smoothing method of the present invention, the area data in the area memory 2 is divided into blocks of a predetermined size, so it is possible to extract a pattern of surrounding area data and complement high-resolution area data with that pattern. . In this case, using the upper, lower, left, and right area data, complement the high-resolution area data so that the diagonal half of the attention area data is the same area data for the same pattern, such as one of the top and bottom and one of the left and right data. This allows you to improve the image quality of noticeable jaggies in the diagonal direction.
以下、図面を参照しつつ実施例を説明する。 Examples will be described below with reference to the drawings.
第1図は本発明に係る領域データのスムージング方式の
1実施例を示す図、第2図はパターンマツチングによる
補完方法を例を示す図である。FIG. 1 is a diagram showing an embodiment of a region data smoothing method according to the present invention, and FIG. 2 is a diagram showing an example of a complementary method using pattern matching.
第1図において、領域抽出回路lは、領域メモリ2と入
力データとを対応させるために、入力データの領域を抽
出するものである。すなわち、領域メモリの解像度か4
ドツト/ m mで、入力データの解像度か16ドツト
/mmである場合には、入力データのライン毎で4画素
分、ライン数で4ライン分の領域か領域メモリの1領域
データに対応することになるので、領域抽出回路lでは
、この解像度の変換を行って領域抽出を行い、領域メモ
リ2の領域データの読み出しを制御する。In FIG. 1, a region extracting circuit 1 extracts a region of input data in order to make the region memory 2 correspond to the input data. That is, the resolution of the area memory is 4
dots/mm, and if the resolution of the input data is 16 dots/mm, each line of input data corresponds to 4 pixels, and the number of lines corresponds to an area of 4 lines or 1 area data of area memory. Therefore, the region extraction circuit 1 performs this resolution conversion to extract the region, and controls reading of region data from the region memory 2.
ラインバッファ3は、領域メモリ2から読み出した領域
データをそれぞれlライン分ずつ遅延させて、3ライン
分の領域データを用意するものであり、3×3ブロック
化回路4は、領域メモリ2から読み出した領域データと
ラインバッファ3で遅延させたlライン前の領域データ
、2ライン前の領域データからなる3ライン分の領域デ
ータを順次取り込んで3×3のブロック化を行うもので
ある。The line buffer 3 delays the area data read from the area memory 2 by one line each to prepare three lines of area data, and the 3×3 blocking circuit 4 reads out the area data from the area memory 2. Three lines of area data consisting of the area data from the previous line, the area data from one line before delayed by the line buffer 3, and the area data from two lines before are sequentially taken in to form 3×3 blocks.
パターンマツチング回路(LUT)5は、3×3ブロッ
ク化回路4のデータのうち、第2図(a)に示すように
中央を注目領域データとし、上下左右の領域データA0
〜A、をパターンマツチングの対象データとするもので
あり、それぞれのパターンに対応してLUT (ルック
アップテーブル)方式により第2図(b)、(C1に示
すような4×4の高解像度の領域データa0゜〜a63
、・・・・・・a3゜〜a33を読み出すものである。The pattern matching circuit (LUT) 5 sets the center of the data of the 3×3 blocking circuit 4 as attention area data as shown in FIG.
~A is the target data for pattern matching, and corresponding to each pattern, a 4×4 high-resolution image as shown in Figure 2(b) and (C1) is created using the LUT (look-up table) method. Area data a0°~a63
, . . . read out a3° to a33.
例えば3×3ブロツクの八〇、A1か「0」で、A2、
A3か「1」のパターンの例を示したのか同図(b)で
あり、この場合の注目領域データの補完は、A、 、A
、側(右下隅寄り)の半分を「1」とするものとなる。For example, 80 in a 3x3 block, A1 or "0", A2,
The example of the pattern A3 or "1" is shown in (b) of the same figure, and the complementation of the attention area data in this case is A,
, the half of the side (closer to the lower right corner) is set to "1".
また、同図(C)に示すように上下左右の領域データA
0〜A3の3つか同じ場合には、全画素かそれらと同じ
値になるように注目領域データが補完される。なお、同
図(b)に示す高解像度の領域データは、右上がり対角
線の下側を「1」て補完するように構成したか、対角線
に当たる画素も補完するように構成してもよいことは勿
論である。また、同図(C1に示す高解像度の領域デー
タは、全画素か同じ値となるように構成したが、上下左
右の領域データの重み付けにより一部残すように構成し
たもよい。In addition, as shown in the same figure (C), upper, lower, left and right area data A
If the three values 0 to A3 are the same, the attention area data is complemented so that all pixels have the same value. It should be noted that the high-resolution area data shown in Figure (b) is configured to complement the lower side of the diagonal line upward to the right, or may also be configured to complement the pixels on the diagonal line. Of course. Furthermore, although the high-resolution area data shown in FIG. 1 (C1) is configured so that all pixels have the same value, it may also be configured to leave some portions by weighting the upper, lower, left, and right area data.
4X4デ一タラツチ回路6は、パターンマツチング回路
5から読み出した高解像度の領域データa0゜〜a02
、・・・・・・a3゜〜a3Sをラッチするものである
。ピンポンラインバッファ7は、領域メモリ2の1ライ
ンに対応する、高解像度の領域データでは4ライン分の
メモリを2組み持ち、一方で4×4デ一タラツチ回路6
てラッチした領域データを書き込み、その間他方から読
み出して編集回路8に送るものである。そして、この書
き込み、読み出しを交互に切り替える。The 4X4 data matching circuit 6 receives the high-resolution area data a0° to a02 read out from the pattern matching circuit 5.
, . . . latches a3° to a3S. The ping-pong line buffer 7 has two sets of memories for 4 lines of high-resolution area data corresponding to one line of the area memory 2, while the 4×4 data synchronization circuit 6
The latched area data is written in one area, and during that time, it is read out from the other side and sent to the editing circuit 8. Then, this writing and reading are alternately switched.
第3図は高解像度の領域データの書き込み処理を説明す
るための図、第4図はピンポンラインバッファの構成例
を示す図である。FIG. 3 is a diagram for explaining the writing process of high-resolution area data, and FIG. 4 is a diagram showing an example of the configuration of a ping-pong line buffer.
パターンマツチング回路5で読み出された第2図fbl
の領域データのラインバッファへの書き込み例を示した
のか第3図である。ラインバッファへの書き込みは、第
1図に示す4×4デ一タラツチ回路6のラッチデータ1
1かあると、4ライン分のラインバッファ12に、まず
領域データaOS、a13、a!ff5a33からなる
1列か書き込まれ、続いてa。2、a(Nのそれぞれの
列、最後にa。0の列か書き込まれる。同様にして次々
に4×4のラッチデータか書き込まれ、領域メモリ2か
ら読み出された1542分の領域データからパターンマ
ツチングにより補完された4ライン分の領域データか書
き込まれるとラインバッファ12は満杯となる。このよ
うにして満杯になったラインバッファ]2の領域データ
は、入力データと同期合わせを行って1ラインずつ順に
読み出されセレクタ13を通して編集回路8に送出され
る。FIG. 2 fbl read out by the pattern matching circuit 5
FIG. 3 shows an example of writing area data into the line buffer. Writing to the line buffer is performed by latch data 1 of the 4×4 data latch circuit 6 shown in FIG.
If there is one, the area data aOS, a13, a! is first stored in the line buffer 12 for four lines. One column consisting of ff5a33 is written, followed by a. 2, each column of a (N, and finally the column of a. The line buffer 12 becomes full when four lines of area data supplemented by pattern matching are written.The area data of line buffer [2] that has become full in this way is synchronized with the input data. The data is read out one line at a time and sent to the editing circuit 8 through the selector 13.
4ライン分の領域データの送出か終了すると、入力デー
タは次のラインへ続くか、第3図に示す構成では、その
入力データに対応する領域データか直ちに用意てきない
。そこで、第4図に示すように2組のラインバッファ2
2A、22Bを備えたピンポンラインバッファの構成か
必要となる。When the transmission of four lines of area data is completed, the input data either continues to the next line or, in the configuration shown in FIG. 3, the area data corresponding to the input data cannot be prepared immediately. Therefore, as shown in FIG. 4, two sets of line buffers 2
A ping-pong line buffer configuration with 2A and 22B is required.
第4図に示すピンポンラインバッファの構成では、ライ
ンバッファ22Aに4ライン分の領域データを書き込み
、読み出しモートで、入力データと同期合わせを行い順
次読み出して編集回路8に送出している間、ラインバッ
ファ22Bを書き込みモートにして領域メモリ2から次
のラインの領域データを読み出し、パターンマツチング
回路5による補完処理を行ってラインバッファ22Bに
書き込むことかできる。In the configuration of the ping pong line buffer shown in FIG. It is possible to set the buffer 22B to write mode, read out the area data of the next line from the area memory 2, perform complementation processing by the pattern matching circuit 5, and write it into the line buffer 22B.
したかって、ラインバッファ22Aの読み出しか終了す
る迄に、ラインパンツ722Bの書き込みを終了させ、
直ちにラインバッファ22Aからラインバッファ22B
に読み出しモートを切り替えて入力データの次のライン
に対応する領域データをラインバッファ22Bから読み
出して送出することかできる。同時にラインバッファ2
2Aは書き込みモートとなり、さらに次のラインの領域
データの書き込み処理に移行することはいうまてもない
。そのモード切り替えを行うのかセレクタ21.24て
あり、切り替え信号を生成するのがラインシンク4分周
回路25である。Therefore, by the time reading from the line buffer 22A is completed, writing to the line pants 722B is completed,
Immediately from line buffer 22A to line buffer 22B
By switching the read mode, the area data corresponding to the next line of input data can be read out from the line buffer 22B and sent out. Line buffer 2 at the same time
Needless to say, 2A becomes the write mode, and further moves to write processing of area data of the next line. Selectors 21 and 24 are used to switch the mode, and a line sync 4 frequency divider circuit 25 is used to generate the switching signal.
第5図はパターンマツチング回路に用いられるLUTの
構成例を示す図である。FIG. 5 is a diagram showing an example of the configuration of an LUT used in a pattern matching circuit.
先に説明したパターンマツチングでは、第5図に示すよ
うに上下左右4ビツトの領域データA0〜A、をアドレ
スとして4X4=16ビツトからなる領域データa。。In the above-described pattern matching, as shown in FIG. 5, area data A0 to A of 4 bits on the top, bottom, left and right sides are used as addresses to form area data a consisting of 4X4=16 bits. .
〜a03、・・・・・・aso−a23か読み出される
。~a03, . . . aso-a23 is read.
なお、本発、明は、上記の実施例に限定されるものでは
なく、種々の変形か可能である。例えば上記の実施例で
は、3×3ブロツクの上下左右の領域データを用いたパ
ターンマツチングを行ったか、斜め方向の領域データも
含めでパターンマッチングを行うように構成してもよい
し、ブロックサイズを大きくしてもよい。また、2値の
領域データを補完するものを示したか、多値の領域デー
タを補完するようにこういせしてもよい。Note that the present invention is not limited to the above-mentioned embodiments, and various modifications are possible. For example, in the above embodiment, pattern matching was performed using the upper, lower, left, and right region data of a 3×3 block, or pattern matching could be performed using diagonal region data as well. may be made larger. Moreover, although the example shown here complements binary area data, it may also be designed to complement multi-value area data.
〔発明の効果〕
以上の説明から明らかなように、本発明によれば、領域
毎の編集コマンドを低解像度の領域メモリで設定しても
、周囲のパターンから出力する解像度に合わせて画素単
位での補完を行うので、斜めの線や曲線においてもジャ
ギーの目立たない高画質の領域データを生成することが
できる。また、パターンマツチングにより補完処理を行
うので、回路を簡素化し、処理速度を向上させることか
できる。[Effects of the Invention] As is clear from the above description, according to the present invention, even if editing commands for each area are set in a low-resolution area memory, the editing commands for each area can be edited pixel by pixel according to the resolution to be output from the surrounding pattern. , it is possible to generate high-quality area data with inconspicuous jaggies even on diagonal lines and curves. Furthermore, since the complementary processing is performed by pattern matching, the circuit can be simplified and the processing speed can be improved.
第1図は本発明に係る領域データのスムージング方式の
1実施例を示す図、第2図はパターンマツチングによる
補完方法を例を示す図、第3図は高解像度の領域データ
の書き込み処理を説明するための図、第4図はピンポン
ラインバッファの構成例を示す図、第5図はパターンマ
ツチング回路に用いられるLUTの構成例を示す図であ
る。
■・・・領域抽出回路、2・・・領域メモリ、3・・・
ラインバッファ、4・・・3×3ブロック化回路、5・
・・パターンマツチング回路、
6・・・4×4データラツチ
回路、
ア
・ピンポンラインバッファ、
8・・・編集回
路。
出
願
人
富士ゼロックス株式会社FIG. 1 is a diagram showing an example of a smoothing method for area data according to the present invention, FIG. 2 is a diagram showing an example of a complementary method using pattern matching, and FIG. 3 is a diagram showing an example of a complementary method using pattern matching. FIG. 4 is a diagram showing an example of the configuration of a ping-pong line buffer, and FIG. 5 is a diagram showing an example of the configuration of an LUT used in a pattern matching circuit. ■...Area extraction circuit, 2...Area memory, 3...
Line buffer, 4...3x3 blocking circuit, 5.
...Pattern matching circuit, 6.4x4 data latch circuit, A. Ping-pong line buffer, 8.Editing circuit. Applicant Fuji Xerox Co., Ltd.
Claims (2)
タを読み出して高解像度で出力する領域データのスムー
ジング方式であって、領域メモリの領域データを所定の
サイズでブロック化する手段、及びブロック化された領
域データでパターンマッチングを行い高解像度の領域デ
ータに変換する手段を備え、高解像度の領域データをブ
ロックの領域データのパターンにより補完して出力する
ように構成したことを特徴とする領域データのスムージ
ング方式。(1) A smoothing method for area data that reads out area data in an area memory that has been edited and stored at low resolution and outputs it at high resolution, and includes means for dividing area data in the area memory into blocks of a predetermined size, and blocking. The area data is characterized in that the area data is provided with means for performing pattern matching on the imaged area data and converting it into high-resolution area data, and is configured to complement and output the high-resolution area data with a pattern of area data of a block. smoothing method.
右の領域データを用いてパターンマッチングを行うよう
に構成したことを特徴とする請求項1記載の領域データ
のスムージング方式。(2) The area data smoothing method according to claim 1, wherein the means for converting the high-resolution area data is configured to perform pattern matching using upper, lower, left, and right area data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13607290A JPH0430666A (en) | 1990-05-24 | 1990-05-24 | Smoothing system for area data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13607290A JPH0430666A (en) | 1990-05-24 | 1990-05-24 | Smoothing system for area data |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0430666A true JPH0430666A (en) | 1992-02-03 |
Family
ID=15166573
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13607290A Pending JPH0430666A (en) | 1990-05-24 | 1990-05-24 | Smoothing system for area data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0430666A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006061897A1 (en) * | 2004-12-08 | 2006-06-15 | Software Cradle Co.,Ltd. | Output device and program |
| JP2009211376A (en) * | 2008-03-04 | 2009-09-17 | Fuji Xerox Co Ltd | Image processing apparatus and image forming apparatus |
-
1990
- 1990-05-24 JP JP13607290A patent/JPH0430666A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006061897A1 (en) * | 2004-12-08 | 2006-06-15 | Software Cradle Co.,Ltd. | Output device and program |
| JP2009211376A (en) * | 2008-03-04 | 2009-09-17 | Fuji Xerox Co Ltd | Image processing apparatus and image forming apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0300509B1 (en) | Display apparatus capable of simultaneously displaying a television picture and a compressed display page of character and graphics data | |
| US5861892A (en) | Image processing apparatus using compressed-data processing | |
| US5832141A (en) | Image processing method and apparatus using separate processing for pseudohalf tone area | |
| US5117294A (en) | Image processing method and system | |
| US4962542A (en) | Method for reducing artifacts in error diffused images | |
| EP0285271B1 (en) | Character and other graphical generating system and method for video display | |
| JPH04294166A (en) | Image processor | |
| JP2982509B2 (en) | Image reduction processing method | |
| JPH03276964A (en) | Image processing device | |
| JPH02132967A (en) | Image processing device | |
| JP2568172B2 (en) | Image information processing device | |
| JP3788563B2 (en) | Image data scaling device | |
| JP3736099B2 (en) | Image processing apparatus and image processing method | |
| JP2653781B2 (en) | Image editing processing method | |
| JP2885996B2 (en) | Image processing method and apparatus | |
| JPH0227369A (en) | Color picture processor | |
| JPS58184871A (en) | Method and apparatus of picture element density conversion | |
| JP3249498B2 (en) | Image synthesis recording device | |
| JP3015048B2 (en) | Image processing method | |
| JP3054315B2 (en) | Image processing method and apparatus | |
| JP3088871B2 (en) | Image synthesis recording device | |
| JPH06311351A (en) | Picture processing method | |
| JPS634749B2 (en) | ||
| JP3121826B2 (en) | Image processing device | |
| JP4109328B2 (en) | Video signal encoding device |