[go: up one dir, main page]

JP3093218B2 - Digital image processing equipment - Google Patents

Digital image processing equipment

Info

Publication number
JP3093218B2
JP3093218B2 JP01204165A JP20416589A JP3093218B2 JP 3093218 B2 JP3093218 B2 JP 3093218B2 JP 01204165 A JP01204165 A JP 01204165A JP 20416589 A JP20416589 A JP 20416589A JP 3093218 B2 JP3093218 B2 JP 3093218B2
Authority
JP
Japan
Prior art keywords
data
image
memory
mosaic
read
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
Application number
JP01204165A
Other languages
Japanese (ja)
Other versions
JPH0368266A (en
Inventor
慎二 山川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP01204165A priority Critical patent/JP3093218B2/en
Publication of JPH0368266A publication Critical patent/JPH0368266A/en
Application granted granted Critical
Publication of JP3093218B2 publication Critical patent/JP3093218B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は,デジタル複写機等に適用される直列的に入
力するデジタル画像データに対し,所定の処理加工を施
してモザイク画像を形成するデジタル画像処理装置に関
し,特に大容量のフレームメモリや複雑な演算によるこ
となく,リアルタイムでモザイク画像を形成することが
できるように,3系統のラインメモリを設け,これらに対
する書込/読出操作を交互に切替えることによりデータ
処理に時間的余裕度を持たせ,更に前記メモリより主走
査方向及び含走査方向に夫々所定間隔ごとにサンプルさ
れた画素のデータによって単位ブロック内の画像データ
を代表させることによりモザイク画像を形成するデジタ
ル画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a digital image forming apparatus that forms a mosaic image by subjecting serially input digital image data applied to a digital copying machine or the like to predetermined processing. Regarding the image processing device, three line memories are provided so that a mosaic image can be formed in real time without using a large-capacity frame memory or complicated calculations, and writing / reading operations for these are alternately performed. By switching, the data processing is given a margin of time, and the image data in the unit block is represented by the pixel data sampled at predetermined intervals from the memory in the main scanning direction and the scanning direction, respectively. The present invention relates to a digital image processing device that forms an image.

〔従来の技術〕[Conventional technology]

最近はデジタルカラー複写機,デジタルカラー印刷機
等の電子画像記録手段においては,原稿像を用紙上に極
めて忠実に再現しようとする要請のほかに画像データに
一定の処理加工を施し,独特の美観を醸成しようとする
要請が高まりつつあり,その代表的なものの一つとして
モザイク画像処理を挙げることができる。
Recently, electronic image recording means such as digital color copiers and digital color printing machines have been required to reproduce original images on paper with extremely high fidelity, and have also applied certain processing to image data to provide unique aesthetics. There is an increasing demand for fostering mosaic images, and mosaic image processing can be cited as one of the representative ones.

従来,モザイク画像を形成する方法としては,原稿像
を一定寸法の多数の矩形状領域(以下「単位ブロック」
と記す)に分割して該ブロック内に代表点を定め,この
代表点の色彩・濃度により単位ブロックの全面積のそれ
を置換するものが一般的であった。
Conventionally, as a method of forming a mosaic image, a manuscript image is formed into a large number of rectangular regions (hereinafter, referred to as “unit blocks”) of a certain size.
In general, a representative point is defined in the block, and the color and density of the representative point replace the entire area of the unit block.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

従来の製版用トータルスキャナやDTP(Data Top Publ
ishing)等のモザイク機能(モザイク画像を形成する機
能)では,全原稿像の画像データを大規模のフレームメ
モリ(2次元的画像メモリ)内に一旦貯蔵し,内蔵のCP
Uによる複雑な演算を経て,各単位ブロック内の代表点
を正確に定めていた。このため装置も大型化して高価と
なり,更にデータに対するリアルタイム処理が不可能と
なる問題点があった。
Conventional plate making total scanner and DTP (Data Top Publ
In the mosaic function (function to form a mosaic image) such as ishing), image data of all original images is temporarily stored in a large-scale frame memory (two-dimensional image memory),
Through complicated calculations by U, the representative points in each unit block were accurately determined. For this reason, there has been a problem that the apparatus becomes large and expensive, and furthermore, real-time processing of data becomes impossible.

本発明は,上記に鑑みてなされたものであって,装置
の大型化及びコストアップを回避し,各単位ブロック内
の代表点を平均化し,データに対するリアルタイム処理
を実現することを目的とする。
The present invention has been made in view of the above, and has as its object to realize a real-time process on data by avoiding an increase in size and cost of the device, averaging representative points in each unit block.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は上記の目的を達成するため、デジタル画像情
報に対し,所定の処理加工を施してモザイク画像を形成
するデジタル画像処理装置において,3本のラインメモリ
と,ラインメモリのトグル動作の切り換えタイミングを
変化させる手段と,ラインメモリの読み出しデータを、
主走査方向および副走査方向に所定の数おきにそれぞれ
サンプリングして単位ブロックを形成し、単位ブロック
に含まれる読み出しデータをサンプリングデータに置換
することにより平均化する手段とを備えたデジタル画像
処理装置を提供するものである。
In order to achieve the above object, the present invention provides a digital image processing apparatus for forming a mosaic image by performing predetermined processing on digital image information. And the data read from the line memory
Means for sampling each predetermined number in the main scanning direction and the sub-scanning direction to form a unit block, and averaging by replacing read data included in the unit block with sampling data. Is provided.

また、上記の他にモザイク画像領域を指定する領域発
生手段を付加したデジタル画像処理装置を提供するもの
である。
Another object of the present invention is to provide a digital image processing apparatus to which an area generating means for designating a mosaic image area is added in addition to the above.

〔作用〕 本発明によるデジタル画像処理装置は,逐次入力する
デジタル画像データを交互に1ライン分ずつ貯蔵する3
系統のメモリに対する書込/読出操作を交互に切り替え
ことを通して,主走査方向にはN画素おきに,また副走
査方向にはM画素おきに画像データを抽出し,該抽出さ
れた画像データにより,前記M×N画素を含む矩形状領
域内の全画像データを置換して,これを所定タイミング
で画像記録部へ転送する。
[Operation] The digital image processing apparatus according to the present invention stores digital image data input sequentially one by one alternately.
By alternately switching the writing / reading operation to the memory of the system, image data is extracted every N pixels in the main scanning direction and every M pixels in the sub-scanning direction. The entire image data in the rectangular area including the M × N pixels is replaced and transferred to the image recording unit at a predetermined timing.

また,全画像面内に任意に設定された矩形状領域内に
おいて,モザイク機能を作動/解除する。
In addition, the mosaic function is activated / released in a rectangular area arbitrarily set in the entire image plane.

〔実施例〕〔Example〕

以下,本発明によるデジタル画像処理を図面に基づい
て詳細に説明する。
Hereinafter, digital image processing according to the present invention will be described in detail with reference to the drawings.

第1図は本装置の構造を説明するブロック図で,原稿
像を走査しながらデジタルデータとして読み取る画像読
取部1と,前記画像データに所定の処理・加工を施す画
像処理部2と,該画像処理部2より供給される画像デー
タを転写紙上にプリントする画像記録部3とにより電子
画像プリント手段が構成されるている。
FIG. 1 is a block diagram for explaining the structure of the present apparatus. An image reading section 1 for reading a document image as digital data while scanning the image, an image processing section 2 for performing predetermined processing and processing on the image data, The image recording unit 3 that prints the image data supplied from the processing unit 2 on transfer paper constitutes an electronic image printing unit.

上記画像処理部2においてラインメモリを3本使用し
てモザイク処理を実行するものであるが,最初にライン
メモリを2本使用する場合について説明する。
The image processing unit 2 executes mosaic processing using three line memories. First, a case where two line memories are used will be described.

第2図は画像処理部(本発明の要部)の構成の一例を
示すブロック図で,301及び302は夫々第1及び第2系統
用メモリで,夫々に主走査方向の1ライン分の画像デー
タを貯蔵する機能をもち,一方に画像データを書き込み
中は,他の一方からは同データの読出しが行われる。即
ち,第1,第2系統用メモリ301及び302は交互に交換しな
がら書込み及び読出しの機能を果たす。101,102は夫々
第1,第2系統用の入力レジスタで,入力する画像データ
を1ライン分ずつ一時貯蔵し,夫々第1,第2系統用メモ
リ301,302へ出力する。201は画素クロック(以下「CL
K」と記す)に応答して第1,第2系統用メモリ301,302の
書込みアドレスを計数する書込アドレスカウンタ,同様
に202は読出しアドレスを計数する読出アドレスカウン
タである。103,104は夫々第1,第2系統用書込アドレス
バッファ,105,106は夫々第1,第2系統用の読出アドレス
バッファ,401は第1,第2系統用出力レジスタ107,108の
動作を制御する出力レジスタ制御部である。また,107,1
08は夫々第1,第2系統用出力レジスタ,109は107,108よ
りの読出値の何れか一方を選択して次工程(この場合は
第1図に示す画像記録部3)へ供給するセレクタであ
る。また,402は画像処理部全体の動作を制御するメモリ
制御部である。
FIG. 2 is a block diagram showing an example of the configuration of an image processing unit (a main part of the present invention). Reference numerals 301 and 302 denote first and second system memories, respectively, each of which stores an image for one line in the main scanning direction. It has a function of storing data. While image data is being written to one, the same data is read from the other. That is, the memories 301 and 302 for the first and second systems perform the functions of writing and reading while being alternately exchanged. Reference numerals 101 and 102 denote input registers for the first and second systems, respectively, for temporarily storing input image data for one line and outputting the image data to the first and second system memories 301 and 302, respectively. 201 is the pixel clock (hereinafter “CL
K)), a write address counter for counting the write addresses of the first and second system memories 301 and 302, and similarly a read address counter 202 for counting the read addresses. 103 and 104 are write address buffers for the first and second systems, respectively, 105 and 106 are read address buffers for the first and second systems, respectively, and 401 is an output register control for controlling the operation of the output registers 107 and 108 for the first and second systems. Department. Also, 107,1
08 is a first and second system output register, respectively, and 109 is a selector that selects one of the read values from 107 and 108 and supplies it to the next step (in this case, the image recording unit 3 shown in FIG. 1). . Reference numeral 402 denotes a memory control unit that controls the operation of the entire image processing unit.

第2図の構成において,最初にモザイク機能を解除し
た場合(通常の画像記録の場合)の動作を説明する。
The operation when the mosaic function is canceled first (in the case of normal image recording) in the configuration of FIG. 2 will be described.

読出アドレスカウンタ202の出力はそのまま第1,第2
系統用読出アドレスバッファ105,106へ入力する。前述
した通り,第1系統用メモリ301へデータの書込み進行
中の場合は,第2系統用メモリ302より既に貯蔵されて
いるデータの読出しが行われ,またその機能は所定期間
ごとに交換するので,以下これら両系統の動作を並行的
に説明する。
The output of the read address counter 202 remains unchanged from the first and second
Input to the system read address buffers 105 and 106. As described above, when data writing to the first system memory 301 is in progress, data already stored is read from the second system memory 302, and its function is exchanged every predetermined period. The operation of these two systems will be described in parallel below.

原画像は1ライン分ずつ画像読取部(第1図の1)に
よりデジタルデータとして読取られ,入力レジスタ101
(102)を経由してメモリ301(302)に順次貯蔵され
る。1画素分のデータが貯蔵されるごとに書込アドレス
カウンタ201は1カウントし,書込アドレスバッファ103
(104)を経由して計数値(読出アドレス)をメモリ301
(302)へ送り,301(302)の書込アドレスは1番地ずつ
前進する。
The original image is read as digital data by an image reading unit (1 in FIG. 1) for each line, and the input register 101
The data is sequentially stored in the memory 301 (302) via (102). Each time data for one pixel is stored, the write address counter 201 counts one, and the write address buffer 103
The count value (read address) is stored in the memory 301 via (104).
(302), and the write address of 301 (302) advances by one address.

これと並行してメモリ302(301)では,データの読出
しが行われる。すなわち,読出アドレスカウンタ202
は,書込アドレスカウンタ201と同様に,CLKパルスに応
答してカウント動作を繰り返し,その計数値は,読出バ
ッファ502(機能停止中)をそのまま通過し,読出アド
レスバッファ106(105)を経由してメモリ302(301)へ
伝達される。従って,メモリ302(301)の読出アドレス
は1番地ずつ前進する。これにより,メモリ302(301)
へのデータ書込みと並行して,メモリ302(301)よりの
データ読出しが行われる。
At the same time, data is read from the memory 302 (301). That is, the read address counter 202
As in the case of the write address counter 201, the count operation is repeated in response to the CLK pulse, and the count value passes through the read buffer 502 (during function stop) as it is and passes through the read address buffer 106 (105). And transmitted to the memory 302 (301). Therefore, the read address of the memory 302 (301) advances by one address. As a result, the memory 302 (301)
Data reading from the memory 302 (301) is performed in parallel with data writing to the memory 302.

メモリ302(301)より1画素分ずつ読みだされたデー
タは出力レジスタ108(107)を経由し,更にセレクタ10
9を経由して次工程(画像記録部3)へ向けて出力され
る。セレクタ109はメモリ302(301)からデータが読出
されているときは出力レジスタ108(107)を選択する。
1ライン分のデータの読出が終了すると,セレクタ109
は切り替り,出力レジスタ107(108)を選択する。
The data read one pixel at a time from the memory 302 (301) passes through the output register 108 (107),
It is output to the next step (image recording unit 3) via 9. The selector 109 selects the output register 108 (107) when data is being read from the memory 302 (301).
When the reading of one line of data is completed, the selector 109
Switches and selects the output register 107 (108).

上述の全動作はメモリ制御部402より各部へ向けて出
力される制御信号により制御される。
All the operations described above are controlled by a control signal output from the memory control unit 402 to each unit.

次に,第2図の構成により,N×M画素を単位ブロック
とする第3図に示すような格子状のパターンを得ようと
する場合は,出力レジスタ制御部401よりの指令によ
り,出力レジスタ108(107)はN回に1度ずつデータを
取り込み,その後はこのデータをN回繰り返してセレク
タ109へ送出する。1ライン分のデータ処理が完了して
も,メモリ301(302)の書込/読出操作の切替は行わ
ず,Mライン分のデータが302(301)より繰り返し読出さ
れ,次工程(画像記録部3)へ送出される。
Next, in order to obtain a grid-like pattern as shown in FIG. 3 using N × M pixels as a unit block by the configuration of FIG. 108 (107) fetches data once every N times, and thereafter repeats this data N times and sends it to the selector 109. Even if the data processing for one line is completed, the switching of the write / read operation of the memory 301 (302) is not performed, and the data for M lines is repeatedly read from the 302 (301), and the next step (image recording unit) Sent to 3).

また,出力レジスタ108及び107よりのデータ出力のタ
イミングを適当にずらすことにより,第4図に示すモザ
イクパターンを形成することができる。
By appropriately shifting the data output timing from the output registers 108 and 107, the mosaic pattern shown in FIG. 4 can be formed.

前述した2通りのモザイク機能においては,原画像デ
ータを主走査方向にN画素おきに,副走査方向にM画素
おきに,夫々画像データをサンプルし,該データにより
単位ブロック内の全画像データを置換するものであるか
ら,装置も簡潔化・経済化し,リアルタイム画像処理が
可能となる。この点は大規模のフレームメモリに貯蔵さ
れた2次元的画像データについて,単位ブロック内の代
表点を厳密に算出する従来の方法に較べ,顕著な改善と
いうことができる。他面,本発明の構成では代表点の決
定する操作に厳密性が欠ける欠点はあるが,多くの場
合,単位ブロック内の画素データの間には比較的強い相
互関係があるので,本発明の構成によっても略々満足な
結果が得られる。
In the two types of mosaic functions described above, original image data is sampled every N pixels in the main scanning direction and every M pixels in the sub-scanning direction, and all image data in a unit block is sampled by the data. Since it is a replacement, the device can be simplified and economical, and real-time image processing can be performed. This can be said to be a remarkable improvement over the conventional method of strictly calculating a representative point in a unit block for two-dimensional image data stored in a large-scale frame memory. On the other hand, the configuration of the present invention has a drawback that the operation of determining the representative point is not strict, but in many cases, there is a relatively strong correlation between the pixel data in the unit blocks. Substantially satisfactory results are obtained with some configurations.

次に,前記回路を発展させた回路(第5図及び第6
図)について説明する。401は,除算レジスタであり,40
2〜403は加算器であり,101は,平均化処理におけるアド
レスのずれを補正するライトアドレスレジスタ,201はラ
イトアドレスカウンタ,202はリードアドレスカウンタで
あり,102は1系統用ライトアドレスバッファ,103は2系
統用ライトアドレスバッファ,104は3系統用ライトアド
レスバッファであり,105は1系統用平均化リードアドレ
スバッファ,106は2系統用平均化リードアドレスバッフ
ァ,107は3系統用平均化リードアドレスバッファであ
り,108は1系統用リードアドレスバッファ,109は2系統
用リードアドレスバッファであり,301は1系統用メモ
リ,302は2系統用メモリ,303は3系統用メモリであり,5
00は前記1系統用メモリ301と2系統用メモリ302とのト
グル動作が切り替わると同時に切り替わり,前記リード
アドレスカウンタ202において読みだしていない方のメ
モリを選択するセレクタであり,110〜11nは出力レジス
タ群を構成し,501はセレクタ,405は平均化レジスタであ
る。
Next, a circuit (FIGS. 5 and 6
FIG. 401 is a division register, 40
2 to 403 are adders; 101 is a write address register for correcting an address shift in the averaging process; 201 is a write address counter; 202 is a read address counter; 102 is a one-system write address buffer; Is a write address buffer for two systems, 104 is a write address buffer for three systems, 105 is an averaged read address buffer for one system, 106 is an averaged read address buffer for two systems, and 107 is an averaged read address for three systems. Reference numeral 108 denotes a read address buffer for one system, 109 denotes a read address buffer for two systems, 301 denotes a memory for one system, 302 denotes a memory for two systems, and 303 denotes a memory for three systems.
Reference numeral 00 denotes a selector that switches at the same time as the toggle operation between the one-system memory 301 and the two-system memory 302, and selects the memory that has not been read in the read address counter 202. Reference numerals 110 to 11n denote output registers. A group is constituted, 501 is a selector, and 405 is an averaging register.

以上の構成において,第7図はライン方向のタイミン
グチャートであり,第8図は画像クロック方向のタイミ
ングチャートであり,ここではモザイクサイズが4×4
の場合を示している。
In the above configuration, FIG. 7 is a timing chart in the line direction, and FIG. 8 is a timing chart in the image clock direction, where the mosaic size is 4 × 4.
Is shown.

更に,第7図中において,(1)に対応するタイミン
グチャートが通常のトグル動作を意味し,(2)に対応
するタイミングチャートがモザイクを形成するための動
作を意味する。また,このとき,第3図に示すモザイク
パターンを形成する。
Further, in FIG. 7, the timing chart corresponding to (1) indicates a normal toggle operation, and the timing chart corresponding to (2) indicates an operation for forming a mosaic. At this time, a mosaic pattern shown in FIG. 3 is formed.

以下その動作を詳細に説明する。 Hereinafter, the operation will be described in detail.

1ライン目(奇数ライン) 入力画像データは,除算レジスタ401によってモザイ
クサイズに応じて除算される。この除算レジスタ401の
出力が加算器404に入力されて,該加算器404から除算レ
ジスタ401の出力がそのまま出力され,3系統用メモリに
入力される。このデータが1個格納される毎にライトア
ドレスカウンタ201はカウント動作を行い,ライトアド
レスレジスタ101,3系統用ライトアドレスバッファ104を
経由して3系統用メモリ303にアドレスを送る。そのと
き,リードアドレスカウンタ202は,ライトアドレスカ
ウンタ201と同様にカウント動作を行い,2系統用リード
アドレスバッファ109〔1系統用リードアドレスバッフ
ァ108〕を経由して2系統用メモリ302〔1系統用メモリ
301〕の中からメモリデータを読みだす。上記2系統用
メモリ302〔1系統用メモリ301〕の中から読み出された
データは出力レジスタ111〔110〕に入力され,セレクタ
501を経由してレジスタ112,113・・・11nへとシフトし
て行く。ここで,N個のデータを取り込む毎に平均化レジ
スタ405はセレクタ501,出力レジスタ112,113・・・11n
のデータの内のN個分のデータで平均化を行う。従っ
て,この動作により平均化レジスタ405の出力はN回毎
に変化することとなり,画素方向のモザイク形成を行
う。
First line (odd line) The input image data is divided by the division register 401 according to the mosaic size. The output of the division register 401 is input to the adder 404, and the output of the division register 401 is directly output from the adder 404 and input to the three-system memory. Each time one piece of this data is stored, the write address counter 201 performs a count operation, and sends an address to the three-system memory 303 via the write address register 101 and the three-system write address buffer 104. At this time, the read address counter 202 performs a counting operation in the same manner as the write address counter 201, and the two-system memory 302 [the one-system read address buffer 108] via the two-system read address buffer 109 [the one-system read address buffer 108]. memory
301] to read memory data. The data read from the two-system memory 302 (the one-system memory 301) is input to the output register 111 [110], and the selector
Shift to registers 112, 113,... 11n via 501. Here, the averaging register 405 sets the selector 501, the output registers 112, 113,.
Averaging is performed on N pieces of data among the pieces of data. Therefore, the output of the averaging register 405 changes every N times by this operation, and the mosaic formation in the pixel direction is performed.

2ライン目(偶数ライン) 入力画像データが除算レジスタ401によりモザイクサ
イズに応じて除算される。該除算レジスタ401の出力が
加算器402〔403〕に入力される。該加算器402〔403〕の
もう一方の入力には1ライン目で書き込んだ3系統用メ
モリ303をライトアドレスカウンタ201のアドレスにより
3系統用平均化リードアドレスバッファ107を経由して
読み出す。加算器402〔403〕で加算された出力が1系統
用メモリ301〔2系統用メモリ302〕に入力される。ま
た,データが1個格納される毎にライトアドレスカウン
タ201は,カウント動作を行い,ライトアドレスレジス
タ101,1系統用ライトアドレスバッファ102〔2系統用ラ
イトアドレスバッファ103〕を経由して3系統用メモリ3
03にアドレスを送る。
Second line (even line) The input image data is divided by the division register 401 according to the mosaic size. The output of the division register 401 is input to an adder 402 [403]. At the other input of the adder 402 [403], the three-system memory 303 written in the first line is read out via the three-system averaging read address buffer 107 based on the address of the write address counter 201. The output added by the adder 402 [403] is input to the one-system memory 301 [two-system memory 302]. Each time one piece of data is stored, the write address counter 201 performs a count operation, and passes through the write address register 101, the write address buffer 102 for one system (the write address buffer 103 for two systems), and the data for the three systems. Memory 3
Send the address to 03.

それ以降の2系統用メモリ302〔1系統用メモリ301〕
の読み出し動作は上記した1ライン目と同じであるた
め,その説明は省略する。
Subsequent two-system memory 302 [one-system memory 301]
Is the same as that of the first line described above, and a description thereof will be omitted.

3ライン目(1ライン目以外の奇数ライン) この場合にあっては,1ライン目の動作と概略相似的で
あるため,1ライン目の動作と異なる部分のみを説明す
る。
Third line (odd lines other than the first line) In this case, since the operation is substantially similar to the operation of the first line, only portions different from the operation of the first line will be described.

加算器404の入力は,除算レジスタ401の出力と前ライ
ンで書き込んだ1系統用メモリ301〔2系統用メモリ30
2〕をライトアドレスカウンタ201のアドレスにより1系
統用平均化リードアドレスバッファ105〔2系統用平均
化リードアドレスバッファ106〕を経由して読み出す。
この加算器404はこの入力の加算処理を実行する。加算
器404の処理以外は上記した1ライン目の動作と同じで
ある。
The input of the adder 404 is the output of the division register 401 and the one-system memory 301 [the two-system memory 30] written in the previous line.
2] is read out from the address of the write address counter 201 via the one-system averaged read address buffer 105 [the two-system averaged read address buffer 106].
The adder 404 performs an addition process of the input. The operation other than that of the adder 404 is the same as the operation of the first line described above.

以降,上記とを交互に繰り返し,Mライン分の操
作(但し,Mは偶数)が終了するまで行う。
Thereafter, the above is alternately repeated until the operation for M lines (where M is an even number) is completed.

上記のMライン分の動作が終了すると,1系統用メ
モリ301と2系統用メモリ302の動作を入れ換えることに
よりライン方向のモザイク形成を実行する。
When the operation for the M lines described above is completed, the mosaic formation in the line direction is executed by exchanging the operations of the one-system memory 301 and the two-system memory 302.

上記の動作によりN×Mのブロックのモザイク画像を
形成することが可能となり,第3図に示すようなモザイ
ク形状を形成する。
By the above operation, a mosaic image of N × M blocks can be formed, and a mosaic shape as shown in FIG. 3 is formed.

更に,平均化レジスタ405の処理タイミングを1系統
用メモリ301と2系統用メモリ302の読み出し時によって
別々にすることにより第4図に示すようなモザイク形状
を容易に形成することが可能となる。
Further, by setting the processing timing of the averaging register 405 to be different depending on when the one-system memory 301 and the two-system memory 302 are read, a mosaic shape as shown in FIG. 4 can be easily formed.

次に,前記発明を更に改良し,その機能を拡張した実
施例について説明する。即ち,第9図に示すように,原
稿画像内に設定された矩形状領域(モザイク領域)にモ
ザイク画像を形成し,残余の領域(ノーマル領域)に通
常の態様で画像を記録しようとするものである。本発明
の実施例は第5図,第6図の回路構成に対し第10図の回
路を付加し,第5図,第6図の回路は第10図の回路から
出力される領域信号により制御される。
Next, an embodiment in which the above-described invention is further improved and its function is extended will be described. That is, as shown in FIG. 9, a mosaic image is formed in a rectangular area (mosaic area) set in a document image, and an image is to be recorded in a normal manner in the remaining area (normal area). It is. In the embodiment of the present invention, the circuit of FIG. 10 is added to the circuit configuration of FIGS. 5 and 6, and the circuits of FIGS. 5 and 6 are controlled by the area signal output from the circuit of FIG. Is done.

ここで,第11図A,Bは,ライン方向のタイミングチャ
ートであり,第12図は画素クロック方向のタイミングチ
ャートであり,ここではモザイクサイズが4×4の場合
である。また,第11図の(1)に対応するところが,通
常のトグル動作で,(2)に対応するところが,モザイ
クを形成するための動作であり,このとき,第3図に示
すモザイクパターンを形成する。
Here, FIGS. 11A and 11B are timing charts in the line direction, and FIG. 12 is a timing chart in the pixel clock direction, where the mosaic size is 4 × 4. The part corresponding to (1) in FIG. 11 is a normal toggle operation, and the part corresponding to (2) is an operation for forming a mosaic. At this time, the mosaic pattern shown in FIG. I do.

第10図は領域信号発生回路の1構成を例示する回路図
である。603〜606は比較器で,便宜上,P端子及びQ端子
の入力を夫々P及びQにより表示すれば,P>QならL
を,P<QならHを夫々出力する。607はNAND回路,608はO
R回路であり,また,609は排他的論理和回路で,周知の
通り,片側の入力がH,残る片側の入力がLの場合に限り
Hを出力し,それ以外の入力に対しては常にLを出力す
る。203はライン同期信号(LSYNC)を計数する副方向ア
ドレスカウンタである。
FIG. 10 is a circuit diagram illustrating one configuration of the area signal generation circuit. 603 to 606 are comparators. For convenience, if the inputs of the P terminal and the Q terminal are indicated by P and Q, respectively, if P> Q, L
, And if P <Q, H is output. 607 is NAND circuit, 608 is O
R circuit, 609 is an exclusive OR circuit, which outputs H only when one input is H and the other input is L, as is well known, and always outputs H for the other inputs. L is output. Reference numeral 203 denotes a sub-direction address counter that counts a line synchronization signal (LSYNC).

ここで,画像データの主走査方向(画像クロック方
向)のアドレスをx,同副走査方向(ラインクロック方
向)のアドレスをyとすることにする。これに対応し
て,第9図に示すモザイク領域のx方向のスタートアド
レスをx,同エンドアドレスをx2により表示し,また,y方
向のスタートアドレスをy1,同エンドアドレスをy2によ
り表示することとする。また,現に読出中の主走査方向
及び副走査方向のアドレスを夫々x及びyにより表す。
従って,xは第10または第11図の読出アドレスカウンタ20
2の計数値であり,yは前述の副走査方向アドレスカウン
タ203の計数値である。
Here, it is assumed that an address of the image data in the main scanning direction (image clock direction) is x, and an address of the image data in the sub-scanning direction (line clock direction) is y. Correspondingly, the start address of the x-direction of the mosaic region shown in FIG. 9 x, the same end address displayed by x 2, also, y 1 a start address in the y direction, by the same end address y 2 It shall be displayed. The addresses in the main scanning direction and the sub-scanning direction that are currently being read are represented by x and y, respectively.
Therefore, x is the read address counter 20 of FIG. 10 or 11.
2 is the count value, and y is the count value of the sub-scanning direction address counter 203 described above.

第10図の構成から明らかな通り, x1<x<x2,y1<y<y2 の場合(x,yが共に第9図のモザイク領域における場
合)に限り,NAND回路607はHを出力し,他の場合の出力
はLとなる。また,第10図において,MODE1,2はモード信
号を完成する1ビットの指令信号(装置使用者により選
択される)である。この回路構成から明らかな通り, MODE1=L,MODE2=L の場合には,第9図に示す通りの態様で画像記録が行わ
れる。
As is clear from the configuration of FIG. 10, only when x 1 <x <x 2 , y 1 <y <y 2 (both x and y are in the mosaic area in FIG. 9), the NAND circuit 607 has the H level. Is output, and the output in other cases is L. In FIG. 10, MODE1 and MODE2 are 1-bit command signals for completing the mode signal (selected by the user of the apparatus). As is apparent from this circuit configuration, when MODE1 = L and MODE2 = L, image recording is performed in the manner shown in FIG.

MODE1=L,MODE2=H の場合には,第9図のモザイク領域とノーマル領域とは
入れ替る。更に, MODE1=H,MODE2=H の場合には,x1,x2,y1,y2の値を如向に設定しても領域・
信号は常にLになり,従って全面にわたりモザイク処理
は行われず,通常の態様で画像記録が行われる。
When MODE1 = L and MODE2 = H, the mosaic area and the normal area in FIG. 9 are interchanged. Further, in the case of MODE1 = H, MODE2 = H is, x 1, x 2, y 1, also to set the value of y 2 in如向region,
The signal is always at L level, so that mosaic processing is not performed over the entire surface, and image recording is performed in a normal manner.

最後に MODE1=H,MODE2=L の場合には,NAND回路607の出力値にかかわらず,領域信
号はHとなる。すなわち,仮にx1,x2,y1,y2の値を設定
しなくても,全面にわたりモザイク処理が行われる。
Finally, when MODE1 = H and MODE2 = L, the area signal becomes H regardless of the output value of the NAND circuit 607. That is, even if without setting the value of x 1, x 2, y 1 , y 2, mosaic processing is performed over the entire surface.

このように簡単な回路構成を負荷するのみで,画像記
録態様に種々のバラエティを持たせることができる。
By simply loading such a simple circuit configuration, various varieties of image recording modes can be provided.

なお,前述の諸実施例の説明を通じ,本発明に係るデ
ジタル画像処理装置の動作を,第1図に示すブロック図
を基礎にして,説明してきたが,この装置に入力する画
像データは原稿面より読み取られた直後のものに限られ
るものでなく,データベース等に収納されていたもので
もよく,またファクシミリ装置のように遠隔の地から伝
送されてきたものであってもよい。すなわち,本発明の
ディジタル画像処理装置は電子画像記録手段全般に広く
適用可能である。
The operation of the digital image processing apparatus according to the present invention has been described based on the block diagram shown in FIG. 1 through the description of the above embodiments. It is not limited to the one immediately after reading, but may be one stored in a database or the like, or one transmitted from a remote place such as a facsimile machine. That is, the digital image processing apparatus of the present invention is widely applicable to electronic image recording means in general.

上記の如く,本発明によりデジタル画像処理装置は,
主走査方向及び副走査方向の夫々一定画像間隔ごとに画
像データをサンプルし,該サンプルされた画像データに
より,単位ブロック内の全画素のデータを置換したこと
になる。
As described above, according to the present invention, the digital image processing apparatus
This means that the image data is sampled at regular image intervals in the main scanning direction and the sub-scanning direction, and the data of all the pixels in the unit block is replaced by the sampled image data.

このため,大規模なフレームメモリは不要となり,ま
た,画像データに対するリアルタイム処理,が可能とな
る。また,3系統に対する書込/読出操作を交互に切替え
る方法であるため,データ処理に時間的余裕が得られ,
次の数ラインの繰返し記録操作の準備は事前に容易に完
整することがすることができる。
For this reason, a large-scale frame memory becomes unnecessary, and real-time processing on image data becomes possible. In addition, since the write / read operation for the three systems is alternately switched, time margin is obtained for data processing.
Preparation for the repetitive recording operation of the next several lines can be easily completed in advance.

〔発明の効果〕〔The invention's effect〕

以上説明した通り,本発明によるデジタル画像処理装
置によれば,デジタル画像情報に対し,所定の処理加工
を施してモザイク画像を形成するデジタル画像処理装置
において,3本のラインメモリと,該ラインメモリのトグ
ル動作の切り換えタイミングを変化させる手段と,前記
ラインメモリの読み出しデータを平均化する手段と備え
たため,装置の大型化及びコストアップを回避し,各単
位ブロック内の代表点を平均化し,データに対するリア
ルタイム処理を実現することができる。
As described above, according to the digital image processing apparatus according to the present invention, in the digital image processing apparatus that performs predetermined processing on digital image information to form a mosaic image, three line memories and the line memory Means for changing the switching timing of the toggle operation, and means for averaging the read data of the line memory, avoiding an increase in the size and cost of the device, averaging the representative points in each unit block, and Real-time processing can be realized.

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

第1図は本発明のディジタル画像処理装置の構成を示す
ブロック図であり,第2図は第1図の画像処理部の構成
の一例を示すブロック図であり,第3図は格子状のモザ
イクパターンを示す説明図であり,第4図は第3図のモ
ザイクパターンの一変形例を示す説明図であり,第5図
及び第6図は第1図の画像処理部の他の構成を示す説明
図であり,第7図は第5図及び第6図に示した回路構成
のライン方向のタイミングチャートであり,第8図は第
5図及び第6図に示した回路構成の画素クロック方向の
タイミングチャートであり,第9図はモザイク機能を所
定のタイミングで作動/解除する構成の一例を示す説明
図であり,第10図は領域信号発生回路の構成を示す説明
図であり,第11図は第10図に示した領域信号発生回路を
付加した第5図及び第6図に示した回路構成のライン方
向のタイミングチャートであり,第12図は第10図に示し
た領域信号発生回路を付加した第5図及び第6図に示し
た回路構成の画素クロック方向のタイミングチャートで
ある。 符号の説明 1……画像読み取り部、2……画像処理部 3……画像記録部、11n……出力レジスタ 101……ライトアドレスレジスタ 102……1系統用ライトアドレスバッファ 103……2系統用ライトアドレスバッファ 104……3系統用ライトアドレスバッファ 105……1系統用平均化リードアドレスバッファ 106……2系統用平均化リードアドレスバッファ 107……3系統用平均化リードアドレスバッファ 108……1系統用リードアドレスバッファ 109……2系統用リードアドレスバッファ 110,111,112,113……出力レジスタ 201……ライトアドレスカウンタ 202……リードアドレスカウンタ 203……副走査方向アドレスカウンタ 301……1系統用メモリ 302……2系統用メモリ 303……3系統用メモリ 401……除算レジスタ 402,403,404……加算器 405……平均化レジスタ 500,501……セレクタ
FIG. 1 is a block diagram showing a configuration of a digital image processing apparatus according to the present invention, FIG. 2 is a block diagram showing an example of a configuration of an image processing unit in FIG. 1, and FIG. FIG. 4 is an explanatory diagram showing a pattern, FIG. 4 is an explanatory diagram showing a modification of the mosaic pattern in FIG. 3, and FIGS. 5 and 6 show other configurations of the image processing unit in FIG. FIG. 7 is a timing chart in the line direction of the circuit configuration shown in FIGS. 5 and 6, and FIG. 8 is a pixel clock direction in the circuit configuration shown in FIG. 5 and FIG. FIG. 9 is an explanatory diagram showing an example of a configuration for operating / releasing the mosaic function at a predetermined timing, FIG. 10 is an explanatory diagram showing a configuration of the area signal generating circuit, and FIG. FIG. 5 is a diagram in which the area signal generating circuit shown in FIG. 10 is added. FIG. 12 is a timing chart in the line direction of the circuit configuration shown in FIG. 6, and FIG. 12 is a timing chart in the pixel clock direction of the circuit configuration shown in FIGS. 5 and 6 to which the area signal generation circuit shown in FIG. 10 is added. It is a timing chart. DESCRIPTION OF SYMBOLS 1 ... Image reading unit 2 ... Image processing unit 3 ... Image recording unit 11n ... Output register 101 ... Write address register 102 ... Write address buffer 103 for one system 103 ... Write for two systems Address buffer 104: Write address buffer for three systems 105: Averaged read address buffer for one system 106: Averaged read address buffer for two systems 107: Averaged read address buffer for three systems 108: One system Read address buffer 109: Two-system read address buffer 110, 111, 112, 113 Output register 201: Write address counter 202: Read address counter 203: Sub-scanning direction address counter 301: One-system memory 302: Two systems Memory 303: Three-system memory 401: Division register 402, 403, 404: Adder 405: Averaging register 500, 501 ……selector

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/38 - 1/393 H04N 1/21 G06T 1/00 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/38-1/393 H04N 1/21 G06T 1/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】デジタル画像情報に対し,所定の処理加工
を施してモザイク画像を形成するデジタル画像処理装置
において, 3本のラインメモリと, 前記ラインメモリのトグル動作の切り換えタイミングを
変化させる手段と, 前記ラインメモリの読み出しデータを、主走査方向およ
び副走査方向に所定の数おきにそれぞれサンプリングし
て単位ブロックを形成し、前記単位ブロックに含まれる
読み出しデータをサンプリングデータに置換することに
より平均化する手段とを備えたことを特徴とするデジタ
ル画像処理装置。
1. A digital image processing apparatus for forming a mosaic image by performing predetermined processing on digital image information, comprising: three line memories; and means for changing a switching timing of a toggle operation of the line memories. And averaging by sampling the read data of the line memory at predetermined intervals in the main scanning direction and the sub-scanning direction to form a unit block, and replacing the read data included in the unit block with the sampling data. A digital image processing apparatus comprising:
【請求項2】デジタル画像情報に対し,所定の処理加工
を施してモザイク画像を形成するデジタル画像処理装置
において, 3本のラインメモリと, 前記ラインメモリのトグル動作の切り換えタイミングを
変化させる手段と, 前記ラインメモリの読み出しデータを、主走査方向およ
び副走査方向に所定の数おきにそれぞれサンプリングし
て単位ブロックを形成し、前記単位ブロックに含まれる
読み出しデータをサンプリングデータに置換することに
より平均化する手段と, 前記モザイク画像領域を指定する領域発生手段とを備え
たことを特徴とするデジタル画像処理装置。
2. A digital image processing apparatus for forming a mosaic image by performing predetermined processing on digital image information, comprising: three line memories; and means for changing a switching timing of a toggle operation of the line memories. And averaging by sampling the read data of the line memory at predetermined intervals in the main scanning direction and the sub-scanning direction to form a unit block, and replacing the read data included in the unit block with the sampling data. A digital image processing apparatus, comprising:
JP01204165A 1989-08-07 1989-08-07 Digital image processing equipment Expired - Fee Related JP3093218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01204165A JP3093218B2 (en) 1989-08-07 1989-08-07 Digital image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01204165A JP3093218B2 (en) 1989-08-07 1989-08-07 Digital image processing equipment

Publications (2)

Publication Number Publication Date
JPH0368266A JPH0368266A (en) 1991-03-25
JP3093218B2 true JP3093218B2 (en) 2000-10-03

Family

ID=16485913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01204165A Expired - Fee Related JP3093218B2 (en) 1989-08-07 1989-08-07 Digital image processing equipment

Country Status (1)

Country Link
JP (1) JP3093218B2 (en)

Also Published As

Publication number Publication date
JPH0368266A (en) 1991-03-25

Similar Documents

Publication Publication Date Title
US5453845A (en) Apparatus for providing variable gamma correction in both on-line and off-line modes of operation
JPH0640080A (en) Printer
EP0369301B1 (en) An apparatus of and a method for image reproducing with variable reproduction scale
JP3183691B2 (en) Image synthesis device
EP1143696B1 (en) Image processing apparatus, image processing circuit, and image processing method
JP3093218B2 (en) Digital image processing equipment
JPH04252562A (en) Picture processing unit
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JP2925198B2 (en) Memory drive
EP1163640B1 (en) Bit string conversion device and method
JP2934061B2 (en) Mosaic processing equipment
JP2952270B2 (en) Image conversion device
JP2803588B2 (en) Image processing device
JPS6260358A (en) Recording correction circuit
JPH11120341A (en) Digital image forming device
JPS59204378A (en) Image processor
JP3698196B2 (en) Image processing apparatus and image input apparatus
JP3594760B2 (en) Image printing device
JP2904829B2 (en) Synthetic image forming device
JP3685589B2 (en) Image printing device
JP3530211B2 (en) Image forming device
JP4142813B2 (en) Image recording apparatus and image recording method
JP3607308B2 (en) Image processing device
JPH0779421B2 (en) Image output interface device
JPH0787323A (en) Image processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees