JPH0573668A - Mosaic processor - Google Patents

Mosaic processor

Info

Publication number
JPH0573668A
JPH0573668A JP3186527A JP18652791A JPH0573668A JP H0573668 A JPH0573668 A JP H0573668A JP 3186527 A JP3186527 A JP 3186527A JP 18652791 A JP18652791 A JP 18652791A JP H0573668 A JPH0573668 A JP H0573668A
Authority
JP
Japan
Prior art keywords
size
information
scanning direction
image
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3186527A
Other languages
Japanese (ja)
Other versions
JP2934061B2 (en
Inventor
Yukio Sakano
野 幸 男 坂
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 JP18652791A priority Critical patent/JP2934061B2/en
Publication of JPH0573668A publication Critical patent/JPH0573668A/en
Application granted granted Critical
Publication of JP2934061B2 publication Critical patent/JP2934061B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To form mosaic picture data having mosaic pictures in plural kinds of sizes in one picture on a real time basis. CONSTITUTION:A density change detection means 701 detecting a density difference between the picture elements of original picture information in picture element units obtained by dividing the picture into the picture elements in a main scan direction and an auxiliary scan direction, a size information generation means 702 generating size information obtained by permitting either the main scan direction or the auxiliary scan direction to designate the size of the picture element matrix of plural picture elements in accordance with the density difference, size setting means 703 and 704 setting the size of the picture element matrix corresponding to size information and a picture information conversion means 704 converting original picture information on the respective picture elements constituting the picture element matrix into picture information representing the picture element matrix by the division of the picture element matrix in the size which the size setting means 703 and 704 set are provided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、デジタル複写機等に装
備される直列的に入力するデジタル画像データに対し所
定の処理加工を施してモザイク画像データを形成するモ
ザイク処理装置に関し、特に1画像中に複数サイズのモ
ザイク画像が混在する画像データをリアルタイムに形成
するモザイク処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mosaic processing apparatus, which is installed in a digital copying machine or the like, for performing predetermined processing on digital image data input serially to form mosaic image data, and particularly to one image. The present invention relates to a mosaic processing device that forms image data in which mosaic images of a plurality of sizes are mixed in real time.

【0002】[0002]

【従来の技術】最近はデジタルカラー複写機,デジタル
カラー印刷機等の電子画像記録手段においては、原稿像
を用紙上に極めて忠実に再現しようとする要請が高まり
つつあり、その代表的なものの一つとしてモザイク画像
を挙げることができる。従来、モザイク画像を形成する
方法としては、原稿像を一定寸法の多数の矩形状領域
(以下「単位ブロック」と記す)に分割して該ブロック
内に代表点を定め、この代表点の色彩・濃度により単位
ブロックの全面積のそれを置換するものが一般的であっ
た。
2. Description of the Related Art Recently, in an electronic image recording means such as a digital color copying machine and a digital color printing machine, there is an increasing demand for extremely faithfully reproducing an original image on a sheet, and one of typical examples thereof. One example is a mosaic image. Conventionally, as a method of forming a mosaic image, an original image is divided into a large number of rectangular regions having a constant size (hereinafter referred to as “unit block”), a representative point is set in the block, and the color of the representative point is It was common to replace the entire area of a unit block with the concentration.

【0003】[0003]

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

【0004】上記に鑑みてなされた装置として、2系統
のラインメモリを備え、これを交互に使用し、ライン読
出し時に単位ブロック内に相当するデータを置換しなが
ら送出して(同一データを繰返して送出して)リアルタ
イムにモザイク画像を形成するデジタル画像処理装置
(特開平3-65873号)が提案されているが、1画像中に
1種類のモザイクサイズしか形成できないという欠点が
ある。
As a device made in view of the above, two lines of line memories are provided, and these line memories are alternately used, and when lines are read out, the data corresponding to the unit block is replaced and transmitted (the same data is repeated). A digital image processing apparatus (for sending out) to form a mosaic image in real time has been proposed (Japanese Patent Laid-Open No. 3-65873), but it has a drawback that only one kind of mosaic size can be formed in one image.

【0005】本発明は、リアルタイムにかつ1画像中に
複数種類のサイズのモザイク画像を有するモザイク画像
データを形成することを目的とする。
An object of the present invention is to form mosaic image data having mosaic images of a plurality of sizes in one image in real time.

【0006】[0006]

【課題を解決するための手段】第1の発明のモザイク処
理装置は、画像を主走査方向および副走査方向に画素区
分した画素単位の原画情報の、画素間の濃度差を検出す
る濃度変化検出手段(701);主走査方向と副走査方向の
少くとも一方が複数画素の画素マトリクスのサイズを指
定するサイズ情報を、前記濃度差に対応して発生するサ
イズ情報発生手段(702);前記サイズ情報に対応した画
素マトリクスサイズを設定するサイズ設定手段(703,70
4);および、該サイズ設定手段(703,704)が設定したサ
イズの画素マトリクス区分で、該画素マトリクスを構成
する各画素の原画情報を、該画素マトリクスを代表する
画情報に変換する画情報変換手段(704);を備える。な
お、カッコ内の記号は後述する実施例の対応要素であ
る。
A mosaic processing apparatus according to a first aspect of the present invention is a density change detection for detecting a density difference between pixels in original image information in pixel units obtained by dividing an image into pixels in a main scanning direction and a sub scanning direction. Means (701); size information generating means (702) for generating size information designating the size of a pixel matrix of at least one of a plurality of pixels in at least one of the main scanning direction and the sub scanning direction in correspondence with the density difference; Size setting means (703, 70) for setting the pixel matrix size corresponding to the information
4); and image information conversion means for converting the original image information of each pixel forming the pixel matrix in the pixel matrix division of the size set by the size setting means (703, 704) into image information representative of the pixel matrix (704); The symbols in parentheses are the corresponding elements of the examples described later.

【0007】また第2の発明のモザイク処理装置は、情
報内容がランダムなサイズ情報を発生するランダム情報
発生手段(801);主走査方向と副走査方向の少くとも一
方が複数画素の画素マトリクスのサイズを、前記サイズ
情報に対応して設定するサイズ設定手段(703,704);お
よび、該サイズ設定手段(703,704)が設定したサイズの
画素マトリクス区分で、該画素マトリクスを構成する各
画素の原画情報を、該画素マトリクスを代表する画情報
に変換する画情報変換手段(704);を備える。
The mosaic processing apparatus of the second invention is a random information generating means (801) for generating size information whose information content is random; a pixel matrix of a plurality of pixels in at least one of the main scanning direction and the sub scanning direction. Size setting means (703, 704) for setting the size in correspondence with the size information; and pixel matrix division of the size set by the size setting means (703, 704) for displaying the original image information of each pixel forming the pixel matrix. Image information conversion means (704) for converting the pixel matrix into image information representative of the pixel matrix.

【0008】さらに第3の発明のモザイク処理装置は、
画像を主走査方向および副走査方向に画素区分した画素
単位の原画情報の、画素間の濃度差を検出する濃度変化
検出手段;主走査方向と副走査方向の少くとも一方が複
数画素の画素マトリクスのサイズを指定する第1サイズ
情報を、前記濃度差に対応して発生する第1サイズ情報
発生手段(701);情報内容がランダムな第2サイズ情報
を発生するランダム情報発生手段(801);第1サイズ情
報と第2サイズ情報の一方を選択するサイズ情報選択手
段(802);主走査方向と副走査方向の少くとも一方が複
数画素の画素マトリクスのサイズを、前記サイズ情報選
択手段が選択したサイズ情報に対応して設定するサイズ
設定手段(703,704);および、該サイズ設定手段(703,70
4)が設定したサイズの画素マトリクス区分で、該画素マ
トリクスを構成する各画素の原画情報を、該画素マトリ
クスを代表する画情報に変換する画情報変換手段(70
4);を備える。
Furthermore, the mosaic processing apparatus of the third invention is
Density change detecting means for detecting a density difference between pixels in original image information in pixel units obtained by dividing an image into pixels in the main scanning direction and the sub scanning direction; a pixel matrix in which at least one of the main scanning direction and the sub scanning direction has a plurality of pixels First size information generating means (701) for generating the first size information designating the size of the first density information corresponding to the density difference; random information generating means (801) for generating the second size information having random information content; Size information selecting means (802) for selecting one of the first size information and the second size information; the size information selecting means selects the size of the pixel matrix of a plurality of pixels in at least one of the main scanning direction and the sub scanning direction. The size setting means (703, 704) that is set in accordance with the selected size information; and the size setting means (703, 70)
Image information conversion means (70) for converting the original image information of each pixel forming the pixel matrix into image information representative of the pixel matrix in the pixel matrix division of the size set by 4).
4);

【0009】[0009]

【作用】第1の発明によれば、サイズ設定手段(703,70
4)が、原画情報の画素間の濃度差に対応して発生する前
記サイズ情報に対応した画素マトリクスサイズを設定
し、画情報変換手段(704)が、サイズ設定手段(703,704)
が設定したサイズの画素マトリクス区分で、該画素マト
リクスを構成する各画素の原画情報を、該画素マトリク
スを代表する画情報に変換する。従って原画情報の画素
間濃度の変化に基づいて画素マトリクスサイズを選択す
るが、本発明の好ましい実施例では、変化分の大きい箇
所では小さいマトリクスサイズを、また変化分の小さい
箇所では大きいマトリクスサイズを選択するので、異な
るマトリクスサイズが混在した変化に富んだ独特の画情
報が再生できる。画像のエッジ部分や文字画像部分では
変化分が大きく、小さいマトリクスサイズが選ばれるの
で、これらの部分は比較的原稿に近い形状,濃度で画情
報が得られる。
According to the first invention, the size setting means (703, 70
4) sets the pixel matrix size corresponding to the size information generated corresponding to the density difference between pixels of the original image information, the image information conversion means (704), the size setting means (703, 704)
In the pixel matrix division of the size set by, the original image information of each pixel forming the pixel matrix is converted into image information representative of the pixel matrix. Therefore, although the pixel matrix size is selected based on the change in the inter-pixel density of the original image information, in the preferred embodiment of the present invention, a small matrix size is used at a large change amount and a large matrix size is used at a small change amount. Since the selection is made, it is possible to reproduce a variety of unique image information in which different matrix sizes are mixed. Since the amount of change is large in the edge portion of the image and the character image portion and a small matrix size is selected, image information can be obtained in these portions in a shape and density relatively close to the original.

【0010】また第2の発明によれば、サイズ設定手段
(703,704)が、情報内容がランダムなサイズ情報に対応
して、主走査方向と副走査方向の少くとも一方が複数画
素の画素マトリクスのサイズを設定し、また画情報変換
手段(704)が、該サイズ設定手段(703,704)が設定したサ
イズの画素マトリクス区分で、該画素マトリクスを構成
する各画素の原画情報を、該画素マトリクスを代表する
画情報に変換する。従って、1画像中にランダムに複数
種類のマトリクスサイズの混在する画情報を形成でき、
再生画像に特殊なデザイン効果を生む。また同一原稿に
対しても、処理毎にランダムにマトリクスサイズが選択
されるので、再生画情報が同一にならないという特徴を
持つ。
According to the second invention, the size setting means
(703, 704), the information content corresponds to the random size information, at least one of the main scanning direction and the sub-scanning direction sets the size of the pixel matrix of a plurality of pixels, the image information conversion means (704), In the pixel matrix section of the size set by the size setting means (703, 704), the original image information of each pixel forming the pixel matrix is converted into image information representative of the pixel matrix. Therefore, image information in which a plurality of types of matrix sizes coexist can be randomly formed in one image,
Creates a special design effect on the playback image. Further, even for the same original, since the matrix size is randomly selected for each process, the reproduction image information is not the same.

【0011】さらに第3の発明によれば、サイズ情報選
択手段(802)が、画素間の濃度差に対応して発生する前
記サイズ情報に対応した画素マトリクスサイズ情報と情
報内容がランダムなサイズ情報の一方を選択する。また
サイズ設定手段(703,704)が、主走査方向と副走査方向
の少くとも一方が複数画素の画素マトリクスのサイズ
を、前記サイズ情報選択手段が選択したサイズ情報に対
応して設定し、さらに、画情報変換手段(704)が、サイ
ズ設定手段(703,704)が設定したサイズの画素マトリク
ス区分で、該画素マトリクスを構成する各画素の原画情
報を、該画素マトリクスを代表する画情報に変換する。
従って、第1の発明および第2の発明により得られるそ
れぞれの効果をその時々の状況に応じて選択して得るこ
とができる。また本発明の好ましい実施例では、順次入
力される画像データを交互に1ライン分ずつ貯蔵する2
系統のメモリに対する書込/読出操作を交互に切り替え
ることにより、特に大量容のルームメモリや複雑な演算
によることなく、リアルタイムにマトリクス画像を形成
することができ、デジタル複写機等に効果的に適用でき
る。本発明の他の目的および特徴は図面を参照した以下
の実施例の説明により明らかになろう。
Further, according to the third invention, the size information selecting means (802) has the pixel matrix size information corresponding to the size information generated corresponding to the density difference between pixels and the size information in which the information content is random. Choose one. The size setting means (703, 704) sets the size of the pixel matrix of a plurality of pixels in at least one of the main scanning direction and the sub-scanning direction in correspondence with the size information selected by the size information selecting means, and further The information conversion unit (704) converts the original image information of each pixel forming the pixel matrix into image information representing the pixel matrix in the pixel matrix section of the size set by the size setting unit (703, 704).
Therefore, the respective effects obtained by the first invention and the second invention can be selected and obtained according to the situation at that time. In the preferred embodiment of the present invention, the image data that is sequentially input is alternately stored for each line.
By alternately switching the write / read operation to the system memory, it is possible to form a matrix image in real time without using a large amount of room memory or complicated calculation, and it is effectively applied to digital copiers, etc. it can. Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.

【0012】[0012]

【実施例】図1は本発明のモザイク処理を行なう画像処
理装置を装備した電子画像プリント装置の構成概略を示
すブロック図で、原稿像を走査しながらデジタルデータ
として読み取る画像読取装置1と、前記画像データに所
定の処理・加工を施す画像処理装置2と、該画像処理装
置2より供給される画像データを転写紙上にプリントす
る画像記録装置3とにより構成されている。なお、画像
処理装置2は画像処理を行なう画像処理部2aと、画像
処理に関する操作指示を入力する操作部2cと、画像処
理部2aおよび操作部2cを制御する制御部2bと、に
より構成されている。
1 is a block diagram showing a schematic configuration of an electronic image printing apparatus equipped with an image processing apparatus for performing mosaic processing according to the present invention. An image reading apparatus 1 for reading a document image as digital data while scanning the image, The image processing apparatus 2 is configured to perform predetermined processing / processing on the image data, and the image recording apparatus 3 for printing the image data supplied from the image processing apparatus 2 on a transfer sheet. The image processing apparatus 2 includes an image processing unit 2a that performs image processing, an operation unit 2c that inputs an operation instruction regarding image processing, and a control unit 2b that controls the image processing unit 2a and the operation unit 2c. There is.

【0013】図2は画像処理部2aの構成を示すブロッ
ク図であり、画像処理部2aは、変化分検出器701、
デコーダ702、ラッチ703、および処理回路704
により構成される。また、図3に変化分検出器701の
構成を、図4にラッチ703の構成を、図5に処理回路
704の構成を、それぞれ示す。以下に、図2,図3,
図4,および図5を参照して画像処理部2aの動作を説
明する。
FIG. 2 is a block diagram showing the configuration of the image processing unit 2a. The image processing unit 2a includes a change amount detector 701,
Decoder 702, latch 703, and processing circuit 704
It is composed of 3 shows the configuration of the change detector 701, FIG. 4 shows the configuration of the latch 703, and FIG. 5 shows the configuration of the processing circuit 704. Below, FIG. 2, FIG.
The operation of the image processing unit 2a will be described with reference to FIGS.

【0014】図5に示す処理回路704において、30
1及び302は夫々第1及び第2系統用メモリで、夫々
に主走査方向の1ライン分の画像データを貯蔵する機能
をもち、メモリの一方に画像データを書き込み中は、他
の一方からは画像データの読出しが行なわれる。即ち、
第1,第2系統用メモリ301及び302は交互に交換
しながら書込み及び読出しの機能を果たす。101,1
02は夫々第1,第2系統用の入力レジスタで、夫々第
1,第2系統用メモリ301,302へ出力する。20
1は画素クロック(以下「CLK」と記す)に応答して
第1,第2系統用メモリ301,302の書込みアドレ
スを計算する書込みアドレスカウンタ、同様に202は
読出しアドレスを計算する読出しアドレスカウンタであ
る。103,104は夫々第1,第2系統用書込アドレ
スバッファ、502は読出アドレスカウンタ202の出
力値を所定回数ごとに間引いて抽出する(以下「サンプ
ル」するという)読出アドレス変換部である。また、1
07,108は夫々第1,第2系統用レジスタ、109
は107,108より読出値の何れか一方を選択して次
工程(この場合は図1に示す画像記録装置3)へ供給す
るセレクタである。また402は画像処理部2a全体の
動作を規制するメモリ制御部である。
In the processing circuit 704 shown in FIG.
Reference numerals 1 and 302 denote memories for the first and second systems, respectively, which have a function of storing image data for one line in the main scanning direction, respectively. Image data is read. That is,
The first and second system memories 301 and 302 perform the writing and reading functions while being exchanged alternately. 101,1
Reference numerals 02 are input registers for the first and second systems, respectively, and output to the first and second system memories 301 and 302, respectively. 20
Reference numeral 1 is a write address counter that calculates the write address of the first and second system memories 301 and 302 in response to a pixel clock (hereinafter referred to as “CLK”), and 202 is a read address counter that calculates the read address. is there. Reference numerals 103 and 104 denote write address buffers for the first and second systems, respectively, and 502 is a read address conversion unit for thinning out and extracting the output value of the read address counter 202 every predetermined number of times (hereinafter referred to as "sampling"). Also, 1
07 and 108 are registers for the first and second systems, 109
Is a selector which selects one of the read values from 107 and 108 and supplies it to the next step (in this case, the image recording apparatus 3 shown in FIG. 1). Reference numeral 402 is a memory control unit that regulates the operation of the entire image processing unit 2a.

【0015】最初にモザイク機能を解除した場合(通常
の画像記録の場合)の動作を説明する。このときは読出
しアドレス変換部502の機能は解除され、読出アドレ
スカウンタ202の出力はそのまま第1,第2系統用読
出アドレスバッファ105,106へ入力する。前述し
た通り、第1系統用メモリ301へデータの書込進行中
の場合は、第2系等用メモリ302より既に貯蔵されて
いるデータの読出しが行なわれ、またその機能は所定期
間ごとに交換するので、以下これらの両系統の動作を並
行的に説明する。
First, the operation when the mosaic function is canceled (normal image recording) will be described. At this time, the function of the read address conversion unit 502 is canceled, and the output of the read address counter 202 is directly input to the read address buffers 105 and 106 for the first and second systems. As described above, when the data writing to the first system memory 301 is in progress, the data already stored is read from the second system memory 302 and the function thereof is exchanged at predetermined intervals. Therefore, the operations of these two systems will be described in parallel below.

【0016】原画像は1ライン分ずつ画像読取装置(図
1の1)によりデジタルデータとして読取られ、入力レ
ジスタ101(102)を経由してメモリ301(30
2)に順次貯蔵される。1画素分のデータが貯蔵される
こどに書込みアドレスカウンタ201は1カウントし、
書込みアドレスバッファ103(104)を経由して計
算値(読出アドレス)をメモリ301(302)に送
り、301(302)の書込みアドレスは1番地ずつ前
進する。
The original image is read as digital data by the image reading device (1 in FIG. 1) line by line, and is stored in the memory 301 (30) via the input register 101 (102).
Sequentially stored in 2). The write address counter 201 counts 1 when the data for one pixel is stored,
The calculated value (read address) is sent to the memory 301 (302) via the write address buffer 103 (104), and the write address of 301 (302) advances by one address.

【0017】これと並行してメモリ302(301)で
は、データの読出しが行なわれる。すなわち、読出アド
レスカウンタ202は、書込みアドレスカウンタ201
と同様に、CLKパルスに応答してカウント動作を繰り
返し、その計算値は読出バッファ502(機能停止中)
をそのまま通過し、読出アドレスバッファ106(10
5)を経過してメモリ302(301)へ伝達される。
従って、メモリ302(301)よりのデータ読出しア
ドレスは1番地ずつ前進する。これによりメモリ302
(301)へのデータの書込みと並行して、メモリ30
2(301)よりのデータの読出しが行なわれる。
In parallel with this, data is read from the memory 302 (301). That is, the read address counter 202 is the write address counter 201.
Similarly to, the counting operation is repeated in response to the CLK pulse, and the calculated value is the read buffer 502 (while the function is stopped).
Through the read address buffer 106 (10
After 5), it is transmitted to the memory 302 (301).
Therefore, the data read address from the memory 302 (301) advances by one address. This allows the memory 302
In parallel with the writing of data to (301), the memory 30
Data is read from 2 (301).

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

【0019】上述の全動作はメモリ制御部402より各
部へ向けて出力される制御信号により制御される。ま
た、この動作のタイミングチャートは図14の上段
((1)を付加した部分)に示す通りである。
All the operations described above are controlled by control signals output from the memory control unit 402 to the respective units. The timing chart of this operation is as shown in the upper part of FIG. 14 (portion with (1) added).

【0020】次にモザイク処理について、まずモザイク
サイズ信号の形成について説明する。図3において画像
データは、変化分検出器701の1ラインデータ遅延回
路901において1ライン分のデータ遅延がなされる。
さらに遅延されたデータは1ラインデータ遅延回路90
2において1ライン分のデータ遅延がなされる。これに
よりに3ライン分のデータを同時に得ることができる。
また以上の3ラインのデータは1画素データ遅延回路9
03,904,905により1画素のデータ遅延がなさ
れ、さらに3ラインの内、中心のラインはデータ遅延回
路906により再度1画素のデータ遅延がなされる。以
上により、1画素データ遅延回路904の出力画素Aに
対して、上下左右の画素を同度時に得ることができる。
図6は画素データで、図3に示す出力A,B,C,D,
Eの位置関系を示すものである。画像データは8ビット
256階調の濃度情報を持つ信号であり、対象画素をA
とした場合に検出器907が、BとCの差、DとEとの
差を検出し、どちらか大きい値の方を変化分aとして出
力する。なお、変化分aも8ビット256階調の濃度情
報を持つ信号である。このように変化分検出器701に
おいては、対象画素の、隣接する上下左右の画素に対す
る濃度変化分を検出する。
Next, regarding the mosaic processing, the formation of a mosaic size signal will be described first. In FIG. 3, the image data is delayed by one line in the one-line data delay circuit 901 of the change amount detector 701.
The further delayed data is the 1-line data delay circuit 90.
At 2, the data is delayed by one line. This makes it possible to obtain data for three lines at the same time.
In addition, the above three lines of data are processed by the 1-pixel data delay circuit 9
A data delay of 1 pixel is made by 03, 904, and 905, and a data delay circuit 906 again makes a data delay of 1 pixel for the central line of the three lines. As described above, the upper, lower, left and right pixels can be obtained at the same time with respect to the output pixel A of the one-pixel data delay circuit 904.
FIG. 6 shows pixel data, and the outputs A, B, C, D, shown in FIG.
It shows the positional relationship of E. The image data is a signal having density information of 8-bit 256 gradations, and the target pixel is A
In such a case, the detector 907 detects the difference between B and C and the difference between D and E, and outputs the larger one as the variation a. The change amount a is also a signal having density information of 8-bit 256 gradations. In this way, the change amount detector 701 detects the amount of change in the density of the target pixel with respect to the adjacent upper, lower, left and right pixels.

【0021】変化分検出器701により検出された変化
分aはデコーダ702(図2)に入力される。デコーダ
702はaをアドレス、bをデータとするROMで構成
されており、変化分aの値に応じて図7に示すように、
b=0またはb=1またはb=2またはb=3を出力す
る。すなわちbの値が画像データの変化分の代表値(ラ
ンク)となる。bは0〜3の値であるので2ビットで表
現される。
The change amount a detected by the change amount detector 701 is input to the decoder 702 (FIG. 2). The decoder 702 is composed of a ROM in which a is an address and b is data, and as shown in FIG.
Output b = 0 or b = 1 or b = 2 or b = 3. That is, the value of b becomes the representative value (rank) of the change amount of the image data. Since b is a value of 0 to 3, it is represented by 2 bits.

【0022】ラッチ703(図2,図4)は、図8に示
すように32×32画素の矩形領域から成るブロックの
X=1,Y=1に該当する画素のタイミングで信号bを
メモリ402に書込む。またY=1〜32の間、X=1
のタイミングで、メモリ402に書込んだ信号bを順次
読出し、2ビットのブロックサイズ信号BS(BS0,
BS1)とする。BS0,BS1は信号bの出力タイミ
ングが調整された信号であるので、値は図7に示すよう
に信号bのそのままの値である。すなわち、ラッチ70
3は32×32画素ブロック毎に1回だけ対応する画素
の変化分を取り込む動作を行ない、32画素分をライン
走査する間、各ラインの32画素毎にBS信号を出力す
る。この実施例では、モザイクサイズを32×32画素
を基本サイズとし、このサイズを2の2i乗(i=1,
2,3)個に分割した合計4種類の大きさのモザイクサ
イズを発生する。
The latch 703 (FIGS. 2 and 4) stores the signal b in the memory 402 at the timing of the pixel corresponding to X = 1 and Y = 1 of the block composed of the rectangular area of 32 × 32 pixels as shown in FIG. Write to. Also, between Y = 1 to 32, X = 1
The signal b written in the memory 402 is read out sequentially at the timing of the 2-bit block size signal BS (BS0,
BS1). Since BS0 and BS1 are signals whose output timing of the signal b is adjusted, the value is the same value of the signal b as shown in FIG. That is, the latch 70
3 performs an operation of fetching the change amount of the corresponding pixel only once for each 32 × 32 pixel block, and outputs the BS signal for every 32 pixels of each line while scanning the line for 32 pixels. In this embodiment, the mosaic size has a basic size of 32 × 32 pixels, and this size is 2 2 i (i = 1, 1).
A total of four types of mosaic sizes, which are divided into 2 and 3), are generated.

【0023】次にモザイクサイズ信号BSを使用して、
モザイクパターンを得る場合について説明する。この場
合、図5に示す処理回路において、読出アドレス変換部
502は本来の機能を復帰する。読出アドレス変換部5
02は、BS信号により決められた画素数N(N=4,
8,16,32)をカウントするごとに読出アドレスカ
ウンタ202の計数値を取り込む。換言すれば、読出し
アドレス変換部502は読出しアドレスカウンタ202
の計数値をN番地おきにサンプルし、読出アドレスバッ
ファ106(105)を経由してN回繰返して同一番地
の画像データが読出される。BS信号は32画素毎に到
来するので、32画素毎にNの値を変化させ、上述の動
作を繰返す。以上により主走査方向1ラインの読出しが
行なわれる。読出されたデータはレジスタ108(10
7)及びセレクタ109を経由して画像記録装置3へ向
けて出力される。なお、この際に出力した1ライン分の
データは順次、1ライン遅延回路110に取り込まれ
る。
Next, using the mosaic size signal BS,
A case of obtaining a mosaic pattern will be described. In this case, in the processing circuit shown in FIG. 5, the read address conversion unit 502 restores its original function. Read address conversion unit 5
02 denotes the number of pixels N (N = 4, which is determined by the BS signal).
Every time (8, 16, 32) is counted, the count value of the read address counter 202 is fetched. In other words, the read address conversion unit 502 uses the read address counter 202.
The sampled value is sampled every N addresses, and the read address buffer 106 (105) is repeated N times to read the image data of the same address. Since the BS signal arrives at every 32 pixels, the value of N is changed every 32 pixels and the above operation is repeated. As described above, reading of one line in the main scanning direction is performed. The read data is stored in the register 108 (10
7) and the selector 109 to output to the image recording apparatus 3. The data for one line output at this time is sequentially taken into the one-line delay circuit 110.

【0024】1ライン分のデータ処理(読出し)が終了
してもメモリ301,302の書込/読出動作の切替は
行なわず、メモリ302(301)から再びデータを読
出す。この間、メモリ301(302)には原稿像の次
のラインデータが書込まれる(旧データは消去され
る)。以下この操作を(副走査方向に4画素分)繰り返
す。すなわち、メモリ301(302)には副走査方向
に5画素目のデータが貯蔵され、1ライン遅延回路11
0は副走査方向に4画素目のラインデータの出力状態と
なる。ここで、メモリ301,302の書込/読出操作
の切替を行ない、副走査方向に5画素目のデータ読出し
を開始する。この時BS信号により決められたNの値が
5より小さい場合、すなわちN=4である場合はメモリ
301(302)から上述と同様にデータの読出しが行
なわれるが、N=8,16,32の場合は1ライン遅延
回路110よりデータが順次読出される。なお、メモリ
301(302)と1ライン遅延回路110の切替えは
セレクタ109が行なう。モザイクサイズの違いによ
り、1ライン上に前ラインのデータをそのまま読出すと
ころと、サンプルデータを更新して読出すところが混在
するためにセレクタ109による切替えが必要となる。
以上の操作を副走査方向に4画素分繰返す。
Even when the data processing (reading) for one line is completed, the write / read operation of the memories 301 and 302 is not switched, and the data is read again from the memory 302 (301). During this time, the line data next to the original image is written in the memory 301 (302) (the old data is erased). Thereafter, this operation is repeated (for four pixels in the sub-scanning direction). That is, the data of the fifth pixel is stored in the memory 301 (302) in the sub-scanning direction, and the 1-line delay circuit 11
0 is the output state of the line data of the fourth pixel in the sub-scanning direction. Here, the writing / reading operation of the memories 301 and 302 is switched, and the data reading of the fifth pixel is started in the sub-scanning direction. At this time, when the value of N determined by the BS signal is smaller than 5, that is, when N = 4, data is read from the memory 301 (302) in the same manner as described above, but N = 8, 16, 32. In this case, the data is sequentially read from the 1-line delay circuit 110. The selector 109 switches between the memory 301 (302) and the 1-line delay circuit 110. Due to the difference in mosaic size, there is a mixture of where the data of the previous line is read as it is on one line and where the sample data is updated and read, so switching by the selector 109 is necessary.
The above operation is repeated for four pixels in the sub-scanning direction.

【0025】同様に、副走査方向に9画素目を操作する
際にはBS信号により決められたNの値が9より小さい
場合、すなわちN=4,8である場合はメモリ302
(301)から上述と同様にデータの読出しが行なわれ
るが、N=16,32の場合は1ライン遅延回路110
よりデータが順次読出される。
Similarly, when the ninth pixel is operated in the sub-scanning direction, if the value of N determined by the BS signal is smaller than 9, that is, N = 4,8, the memory 302
Data is read from (301) in the same manner as described above, but if N = 16, 32, the 1-line delay circuit 110 is used.
The data is sequentially read.

【0026】また、副走査方向に17画素目を操作する
際にはBS信号により決められたNの値が17より小さ
い場合、すなわちN=4,8,16である場合はメモリ
301(302)から上述と同様にデータの読出しが行
なわれるが、N=32の場合は1ライン遅延回路110
よりデータが順次読出される。
Further, when the 17th pixel is operated in the sub-scanning direction, if the value of N determined by the BS signal is smaller than 17, that is, if N = 4, 8, 16 then the memory 301 (302). From the above, data is read in the same manner as described above, but when N = 32, the 1-line delay circuit 110
The data is sequentially read.

【0027】以上のように副走査方向に4画素毎にメモ
リ301および302を切替え、次の任意のM番目(M
画素目)操作の際は、Mの値がBS信号により決められ
たNの値が小さければ、メモリ301(302)から上
述と同様にデータの読出しが行なわれるが、Nの値が大
きければ1ライン遅延回路110よりデータが順次読出
される。この操作は副走査方向に32画素を1組の操作
として繰返される((32×n+1:n=正の整数)画
素目は副走査方向に1画素目と考える)。
As described above, the memories 301 and 302 are switched every 4 pixels in the sub-scanning direction, and the next arbitrary Mth (M
At the time of (pixel) operation, if the value of M is smaller than the value of N determined by the BS signal, data is read from the memory 301 (302) in the same manner as described above. Data is sequentially read from the line delay circuit 110. This operation is repeated as a set of 32 pixels in the sub-scanning direction (the (32 × n + 1: n = positive integer) pixel is considered to be the first pixel in the sub-scanning direction).

【0028】以上のようにメモリの切替操作(副走査方
向の制御)を行ないながら同時に主走査方向に対しても
上述した処理を続けることにより、図9に示すように、
32×32画素のブロックごとに4種類のサイズの異な
るモザイク画像を形成することができる。なお、例えば
4×4画素のモザイクを形成する際の動作のタイミング
チャートは図14の下段((2)を付した部分)及び図1
5に示す通りである。
By performing the memory switching operation (control in the sub-scanning direction) as described above and simultaneously continuing the above-described processing in the main-scanning direction, as shown in FIG.
It is possible to form four types of mosaic images having different sizes for each block of 32 × 32 pixels. Note that, for example, the timing chart of the operation when forming a mosaic of 4 × 4 pixels is shown in the lower part of FIG. 14 (the part marked with (2)) and FIG.
As shown in FIG.

【0029】以下に図5に示す処理回路に実際に用いた
ロジックについて説明する。まず、図10は、図5に示
す読出しアドレスカウンタ202の要部を示すもので、
704は13ビットのカウンタ、CLKは画素クロッ
ク、LSYNCにオバーラインを付加したものは同期信
号をそれぞれ示す。
The logic actually used in the processing circuit shown in FIG. 5 will be described below. First, FIG. 10 shows a main part of the read address counter 202 shown in FIG.
Reference numeral 704 indicates a 13-bit counter, CLK indicates a pixel clock, and LSYNC with an overline indicates a synchronization signal.

【0030】また図11は、図5に示すメモリ制御部4
02中の、ブロックサイズの副走査方向の制御のための
5ビットのカウンタ705を示す。信号FGは1画素分
の画像データ入力中はレベル“1”で、その以外の期間
では“0”である。Y2の信号をメモリ301,302
に読出し/書込みのトグル動作を制御する信号RWとし
て用いることにより、4画素毎にメモリ301および3
02のトグル動作を制御する。
FIG. 11 shows the memory control unit 4 shown in FIG.
5 shows a 5-bit counter 705 for controlling the block size in the sub-scanning direction. The signal FG is at level "1" while the image data for one pixel is being input, and is at "0" during other periods. The Y2 signal is stored in the memories 301 and 302.
Is used as the signal RW for controlling the read / write toggle operation, the memory 301 and the memory
02 toggle operation.

【0031】図12は、図5に示すアドレス変換部50
2の要部を示すもので、読出アドレスX0〜X12の
内、下位アドレスX0〜X4をX0′〜X4′に変換す
るもので、この変換によりモザイクサイズの主走査方向
の大きさを制御する。707はセレクタで、S0=
“0”,S0=“1”ならばYi=Ai(i=0,1,
2)に、S0=“1”,S0=“0”ならばYi=Bi
に、S0=“0”,S0=“1”ならばYi=Ciに、
S0=“1”,S0=“1”ならばYi=Diになる。
したがって例えば、BS=1の場合はX0′〜X3′=
0,X4′=X4となり、これは16画素毎に読出しア
ドレスが一気に16だけ歩進され、またBS=4の場合
はX0′〜X1′=0,X2′〜X4′=X2〜X4と
なり、これは4画素毎に読出しアドレスが一気に4だけ
歩進することになる。これによってモザイクサイズの主
走査方向サイズが制御されることになる。
FIG. 12 shows the address conversion unit 50 shown in FIG.
2 shows the main part of the read address X0 to X12 and converts the lower address X0 to X4 into X0 'to X4', and this conversion controls the size of the mosaic size in the main scanning direction. 707 is a selector, S0 =
If “0” and S0 = “1”, Yi = Ai (i = 0, 1,
If S0 = "1" and S0 = "0" in 2), Yi = Bi
If S0 = "0" and S0 = "1", then Yi = Ci,
If S0 = "1" and S0 = "1", Yi = Di.
Therefore, for example, when BS = 1, X0 'to X3' =
0, X4 '= X4, which means that the read address is incremented by 16 at every 16 pixels, and when BS = 4, X0'-X1' = 0, X2'-X4 '= X2-X4, This means that the read address advances by 4 at a stretch for every 4 pixels. This controls the size of the mosaic size in the main scanning direction.

【0032】図13は、モザイクサイズを選択切替した
場合の出力画像でのモザイクパターンを示すもので、図
に示すように4種類の大きさのモザイクサイズが1画像
中に混在した画像が得られる。特に画像データの変化の
激しい部分では小さいモザイクパターンが選択され、逆
に変化の少ない部分では大きいモザイクパターンが選択
されるので、単純にモザイクパターン化する場合に比較
して、画像のエッジ部や画像中の文字画像部分等は小さ
目のモザイクパターンが選択され、文字が判読し易い等
の独特の効果が得られる。
FIG. 13 shows a mosaic pattern in an output image when the mosaic size is selectively switched. As shown in the figure, an image in which mosaic sizes of four types are mixed in one image can be obtained. .. In particular, a small mosaic pattern is selected in the part where the image data changes drastically, and a large mosaic pattern is selected in the part where the change does not change much. A small mosaic pattern is selected for the character image portion and the like inside, and a unique effect such that the character is easy to read is obtained.

【0033】図16は、図2に示す画像処理部2aの別
の例を示す実施例であり、ブロックサイズ信号BSを疑
似的にランダムに発生するものである。801は4ビッ
トシフトレジスタである。画像データは画像読取装置1
で読取ったアナログ信号を画素毎に8ビット256階調
でA/D変換し量子化したもの(LSB)であり、この
LSBは原稿画像の濃淡にはほとんど依存せず、照明光
学系や読取回路系のノイズ成分に依存しているために疑
似的なランダム信号としての効果がある。シフトレジス
タ801により2画素隔てた2つの画素のそれぞれのL
SBの組合わせにより、2ビットのランダム数を得てい
る。ラッチ703は図2に示す例と同様の構成および動
作であり、32×32画素のブロックでのブロックサイ
ズ信号BS(BS0,BS1)を発生する。なお、処理
回路704についても図2に示す例と同様である。
FIG. 16 is an embodiment showing another example of the image processing section 2a shown in FIG. 2, in which the block size signal BS is pseudo-randomly generated. Reference numeral 801 is a 4-bit shift register. The image data is the image reading device 1
The analog signal read by the A / D converter is quantized (LSB) with 8-bit 256 gradations for each pixel, and the LSB hardly depends on the density of the original image, and the illumination optical system and the reading circuit. It is effective as a pseudo random signal because it depends on the noise component of the system. The shift register 801 allows the L of each of two pixels separated by two pixels.
A 2-bit random number is obtained by combining SBs. The latch 703 has the same configuration and operation as the example shown in FIG. 2, and generates the block size signal BS (BS0, BS1) in the block of 32 × 32 pixels. The processing circuit 704 is similar to the example shown in FIG.

【0034】このようにランダムにBSを発生すること
により、1画像中にランダムに4種類のモザイクサイズ
を混在させることができ、再生画像に特殊なデザイン効
果を生んだり、また同一原稿の場合でも読取り,画像処
理,再生毎に異なるモザイク配置の画像が得られる等の
効果がある。
By randomly generating BSs in this way, four kinds of mosaic sizes can be randomly mixed in one image, a special design effect is produced in a reproduced image, and even in the case of the same original document. There is an effect that an image with a different mosaic arrangement can be obtained for each reading, image processing, and reproduction.

【0035】図17は、セレクタ802により2種類の
ブロックサイズ信号BSA,BSBから1つをセレクト
して最終的なブロックセレクト信号BSを発生するもの
であり、701,702は図2に示す例と同様の構成
で、801は図16に示す例と同様の構成である。すな
わち、2種類のブロック信号の発生源を有し、これをセ
レクタ802により切替える。セククタ802の切替え
を行なうためのセレクト信号SELは装置の操作部2c
(図1)からの入力指示に基づいて制御部2bが発生す
る。図中のラッチ703および処理回路704も図2に
示す例と同様のものである。従って、操作部2cに選択
指示を入力することにより、図2に示す画像処理部によ
り形成される画像データと図16に示す画像処理部によ
り形成される画像データの、いずれか一方を選択して得
ることができる。
FIG. 17 shows that the selector 802 selects one of the two types of block size signals BSA and BSB to generate the final block select signal BS. 701 and 702 are the same as those shown in FIG. With the same configuration, 801 has the same configuration as the example shown in FIG. That is, there are two types of block signal generation sources, which are switched by the selector 802. The select signal SEL for switching the sectator 802 is the operation unit 2c of the apparatus.
The control unit 2b generates based on an input instruction from (FIG. 1). The latch 703 and the processing circuit 704 in the figure are also similar to the example shown in FIG. Therefore, by inputting a selection instruction to the operation unit 2c, one of the image data formed by the image processing unit shown in FIG. 2 and the image data formed by the image processing unit shown in FIG. 16 is selected. Obtainable.

【0036】以上のように、本発明に係るモザイク処理
について説明したが、この装置に入力する画像データは
原稿面より読み取られた直後のものに限られていたもの
でもよく、またファクシミリ装置のように遠隔の地から
伝送されてきたものであってもよい。すなわち、本発明
のデジタル画像処理装置は電子画像記録手段全般に広く
適用可能である。
As described above, the mosaic processing according to the present invention has been described. However, the image data input to this apparatus may be limited to that immediately after being read from the manuscript surface, or a facsimile apparatus. It may be transmitted from a remote place. That is, the digital image processing apparatus of the present invention can be widely applied to all electronic image recording means.

【0037】また、実現手段としての回路図も実施例に
限らず、種々変形が可能である。さらに、モザイクの大
きさ,種類も実施例に限らず変形が可能であるし、モザ
イクサイズの情報の切り替えも図17に示す例に限らず
変形が可能である。例えば、画像中の複写領域と文字領
域とを画像データの特徴から自動的に領域判別する技術
が種々公知であるが、この技術を応用することにより複
写領域のみモザイク画像モードとしたり、あるいは写真
領域と文字領域とでモザイクサイズを切り替える等の応
用も可能である。
Further, the circuit diagram as the realizing means is not limited to the embodiment, and various modifications can be made. Further, the size and type of the mosaic are not limited to those in the embodiment, and the mosaic size information can be changed without being limited to the example shown in FIG. For example, there are various known techniques for automatically discriminating a copy region and a character region in an image from the characteristics of image data. By applying this technique, only the copy region is set to the mosaic image mode, or the photo region is used. The application such as switching the mosaic size between the character area and the character area is also possible.

【0038】[0038]

【発明の効果】以上のように第1の発明によれば、サイ
ズ設定手段(703,704)が、原画情報の画素間の濃度差に
対応して発生する前記サイズ情報に対応した画素マトリ
クスサイズを設定し、画情報変換手段(704)が、サイズ
設定手段(703,704)が設定したサイズの画素マトリクス
区分で、該画素マトリクスを構成する各画素の原画情報
を、該画素マトリクスを代表する画情報に変換する。従
って原画情報の画素間濃度の変化に基づいて画素マトリ
クスサイズを選択するが、本発明の好ましい実施例で
は、変化分の大きい箇所では小さいマトリクスサイズ
を、また変化分の小さい箇所では大きいマトリクスサイ
ズを選択するので、異なるマトリクスサイズが混在した
変化に富んだ独特の画情報が再生できる。画像のエッジ
部分や文字画像部分では変化分が大きく、小さいマトリ
クスサイズが選ばれるので、これらの部分は比較的原稿
に近い形状,濃度で画情報が得られる。
As described above, according to the first invention, the size setting means (703, 704) sets the pixel matrix size corresponding to the size information generated corresponding to the density difference between pixels of the original image information. Then, the image information conversion unit (704) converts the original image information of each pixel forming the pixel matrix into image information representative of the pixel matrix in the pixel matrix division of the size set by the size setting unit (703, 704). To do. Therefore, although the pixel matrix size is selected based on the change in the inter-pixel density of the original image information, in the preferred embodiment of the present invention, a small matrix size is used at a large change amount and a large matrix size is used at a small change amount. Since the selection is made, it is possible to reproduce a variety of unique image information in which different matrix sizes are mixed. Since the amount of change is large in the edge portion of the image and the character image portion and a small matrix size is selected, image information can be obtained in these portions in a shape and density relatively close to the original.

【0039】また第2の発明によれば、サイズ設定手段
(703,704)が、情報内容がランダムなサイズ情報に対応
して、主走査方向と副走査方向の少くとも一方が複数画
素の画素マトリクスのサイズを設定し、また画情報変換
手段(704)が、該サイズ設定手段(703,704)が設定したサ
イズの画素マトリクス区分で、該画素マトリクスを構成
する各画素の原画情報を、該画素マトリクスを代表する
画情報に変換する。従って、1画像中にランダムに複数
種類のマトリクスサイズの混在する画情報を形成でき、
再生画像に特殊なデザイン効果を生む。また同一原稿に
対しても、処理毎にランダムにマトリクスサイズが選択
されるので、再生画情報が同一にならないという特徴を
持つ。
According to the second invention, the size setting means
(703, 704), the information content corresponds to the random size information, at least one of the main scanning direction and the sub-scanning direction sets the size of the pixel matrix of a plurality of pixels, the image information conversion means (704), In the pixel matrix section of the size set by the size setting means (703, 704), original image information of each pixel forming the pixel matrix is converted into image information representative of the pixel matrix. Therefore, image information in which a plurality of types of matrix sizes coexist can be randomly formed in one image,
Creates a special design effect on the playback image. Further, even for the same original, since the matrix size is randomly selected for each process, the reproduction image information is not the same.

【0040】さらに第3の発明によれば、サイズ情報選
択手段(802)が、画素間の濃度差に対応して発生する前
記サイズ情報に対応した画素マトリクスサイズ情報と情
報内容がランダムなサイズ情報の一方を選択する。また
サイズ設定手段(703,704)が、主走査方向と副走査方向
の少くとも一方が複数画素の画素マトリクスのサイズ
を、前記サイズ情報選択手段が選択したサイズ情報に対
応して設定し、さらに、画情報変換手段(704)が、サイ
ズ設定手段(703,704)が設定したサイズの画素マトリク
ス区分で、該画素マトリクスを構成する各画素の原画情
報を、該画素マトリクスを代表する画情報に変換する。
従って、第1の発明および第2の発明により得られるそ
れぞれの効果をその時々の状況に応じて選択して得るこ
とができる。また本発明の好ましい実施例では、順次入
力される画像データを交互に1ライン分ずつ貯蔵する2
系統のメモリに対する書込/読出操作を交互に切り替え
ることにより、特に大量容のルームメモリや複雑な演算
によることなく、リアルタイムにマトリクス画像を形成
することができ、デジタル複写機等に効果的に適用でき
る。
Further, according to the third invention, the size information selecting means (802) has the pixel matrix size information corresponding to the size information generated corresponding to the density difference between the pixels and the size information in which the information content is random. Choose one. The size setting means (703, 704) sets the size of the pixel matrix of a plurality of pixels in at least one of the main scanning direction and the sub-scanning direction in correspondence with the size information selected by the size information selecting means, and further The information conversion unit (704) converts the original image information of each pixel forming the pixel matrix into image information representing the pixel matrix in the pixel matrix section of the size set by the size setting unit (703, 704).
Therefore, the respective effects obtained by the first invention and the second invention can be selected and obtained according to the situation at that time. In the preferred embodiment of the present invention, the image data that is sequentially input is alternately stored for each line.
By alternately switching the write / read operation to the system memory, it is possible to form a matrix image in real time without using a large amount of room memory or complicated calculation, and it is effectively applied to digital copiers, etc. it can.

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

【図1】 本発明のモザイク処理を実行する画像処理装
置を装備した電子画像プリント装置の構成概略を示すブ
ロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic image printing apparatus equipped with an image processing apparatus that executes a mosaic process of the present invention.

【図2】 図1に示す画像処理部2aの構成概略の一例
を示すブロック図である。
FIG. 2 is a block diagram showing an example of a schematic configuration of an image processing unit 2a shown in FIG.

【図3】 図2に示す変化分検出器701の構成を示す
ブロック図である。
3 is a block diagram showing a configuration of a change amount detector 701 shown in FIG.

【図4】 図2に示すラッチ703の構成を示すブロッ
ク図である。
4 is a block diagram showing a configuration of a latch 703 shown in FIG.

【図5】 図2に示す処理回路704の構成を示すブロ
ック図である。
5 is a block diagram showing a configuration of a processing circuit 704 shown in FIG.

【図6】 画像データの一例を示すブロック図であり、
画像データの変化分の検出を説明するためのものであ
る。
FIG. 6 is a block diagram showing an example of image data,
This is for explaining the detection of the change in the image data.

【図7】 図2に示す、ROMで構成されるデコーダ7
02の、アドレスaおよびデータbに対する出力の関係
を示すビットアサイン図である。
FIG. 7 shows a decoder 7 including a ROM shown in FIG.
3 is a bit assignment diagram showing the output relationship of 02 with respect to address a and data b. FIG.

【図8】 32×32画素の矩形領域から成るモザイク
の一例を示すブロック図である。
FIG. 8 is a block diagram showing an example of a mosaic composed of rectangular regions of 32 × 32 pixels.

【図9】 モザイクサイズを選択切替した場合の出力画
像でのモザイクパターンを示すブロック図である。
FIG. 9 is a block diagram showing a mosaic pattern in an output image when the mosaic size is selectively switched.

【図10】 図5に示す読出しアドレスカウンタ202
の要部の構成を示すブロック図である。
FIG. 10 is a read address counter 202 shown in FIG.
3 is a block diagram showing the configuration of the main part of FIG.

【図11】 図5に示すメモリ制御部402中の、ブロ
ックサイズの副走査方向の制御のための5ビットのカウ
ンタ(出力のY2によりメモリ301,302の読出し
/書込みのトグル動作を制御するカウンタ)を示すブロ
ック図である。
11 is a 5-bit counter for controlling the block size in the sub-scanning direction in the memory control unit 402 shown in FIG. 5 (a counter that controls the read / write toggle operation of the memories 301 and 302 by the output Y2). ) Is a block diagram showing

【図12】 図5に示すアドレス変換部502に備わる
セレクタを示すブロック図である。
12 is a block diagram showing a selector included in the address conversion unit 502 shown in FIG.

【図13】 本発明により得られるモザイクパターンの
一例を示す平面図である。
FIG. 13 is a plan view showing an example of a mosaic pattern obtained by the present invention.

【図14】 通常の画像形成時および4×4画素のモザ
イク画像形成時の図5に示す各部の動作タイミングを示
すタイムチャートである。
FIG. 14 is a time chart showing the operation timing of each unit shown in FIG. 5 during normal image formation and during formation of a 4 × 4 pixel mosaic image.

【図15】 4×4画素のモザイク画像形成時の図5に
示す各部の動作タイミングを示すタイムチャートであ
る。
FIG. 15 is a time chart showing the operation timing of each unit shown in FIG. 5 when forming a 4 × 4 pixel mosaic image.

【図16】 図2に示す画像処理部2aと別の例の構成
概略を示すブロック図であり、ブロックサイズ信号BS
を疑似的にランダムに発生させる構成を示すものであ
る。
16 is a block diagram showing a schematic configuration of another example of the image processing unit 2a shown in FIG. 2, which is a block size signal BS.
It shows a configuration in which is generated in a pseudo-random manner.

【図17】 図2および図16に示す画像処理部2aと
さらに別の例の構成概略を示すブロック図であり、2種
類のブロックサイズ信号BSA,BSBから1つをセレ
クトしてモザイク画像を得る構成である。
FIG. 17 is a block diagram showing a schematic configuration of still another example of the image processing unit 2a shown in FIGS. 2 and 16, and one is selected from two types of block size signals BSA and BSB to obtain a mosaic image. It is a composition.

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

1:画像読取装置 2:画像処
理装置 2a:画像処理部 2b:制御
部 2c:操作部 3:画像記
録装置 101:第1系統用の入力レジスタ 102:第1系
統用の入力レジスタ 103:第1系統用書込アドレスバッアァ 104:第2系統用書込アドレスバッアァ 105:第1系統用読出アドレスバッアァ 106:第2系統用読出アドレスバッアァ 107:第1系統用出力レジスタ 108:第2系
統用の出力レジスタ 109:セレクタ 201:書込アドレスカウンタ 202:読出ア
ドレスカウンタ 203:副走査方向アドレスカウンタ 301:第1系統用メモリ 302:第2系
統用メモリ 401:出力レジスタ制御部 402:メモリ
制御部 502:読出アドレス変換部 701:変化分検出器(濃度変化検出手段) 702:デコーダ(サイズ情報発生手段,第1サイズ情
報発生手段) 703:ラッチ 704:処理回
路 (703,704:サイズ設定手段,704:画情報変
換手段) 705,706:カウンタ 707:セレク
タ 801:シフトレジスタ(ランダム情報発生手段,第2
サイズ情報発生手段) 802:セレクタ(サイズ情報選択手段)
1: Image reading device 2: Image processing device 2a: Image processing part 2b: Control part 2c: Operation part 3: Image recording device 101: Input register for first system 102: Input register for first system 103: First System write address buffer 104: Second system write address buffer 105: First system read address buffer 106: Second system read address buffer 107: First system output register 108: Second System output register 109: Selector 201: Write address counter 202: Read address counter 203: Sub-scanning direction address counter 301: First system memory 302: Second system memory 401: Output register control unit 402: Memory control Part 502: Read address conversion part 701: Change detector (density change detecting means) 702: Decoder ( Size information generating means, first size information generating means) 703: latch 704: processing circuit (703, 704: size setting means, 704: image information converting means) 705, 706: counter 707: selector 801: shift register (random information) Generating means, second
Size information generating means) 802: Selector (size information selecting means)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】画像を主走査方向および副走査方向に画素
区分した画素単位の原画情報の、画素間の濃度差を検出
する濃度変化検出手段;主走査方向と副走査方向の少く
とも一方が複数画素の画素マトリクスのサイズを指定す
るサイズ情報を、前記濃度差に対応して発生するサイズ
情報発生手段;前記サイズ情報に対応した画素マトリク
スサイズを設定するサイズ設定手段;および、 該サイズ設定手段が設定したサイズの画素マトリクス区
分で、該画素マトリクスを構成する各画素の原画情報
を、該画素マトリクスを代表する画情報に変換する画情
報変換手段;を備えるモザイク処理装置。
1. A density change detecting means for detecting a density difference between pixels of original image information in pixel units obtained by dividing an image into pixels in the main scanning direction and the sub scanning direction; at least one of the main scanning direction and the sub scanning direction. Size information generating means for generating size information designating a size of a pixel matrix of a plurality of pixels corresponding to the density difference; size setting means for setting a pixel matrix size corresponding to the size information; and the size setting means A mosaic processing apparatus comprising: an image information conversion unit that converts original image information of each pixel forming the pixel matrix into image information representative of the pixel matrix in a pixel matrix section having a size set by.
【請求項2】情報内容がランダムなサイズ情報を発生す
るランダム情報発生手段;主走査方向と副走査方向の少
くとも一方が複数画素の画素マトリクスのサイズを、前
記サイズ情報に対応して設定するサイズ設定手段;およ
び、 該サイズ設定手段が設定したサイズの画素マトリクス区
分で、該画素マトリクスを構成する各画素の原画情報
を、該画素マトリクスを代表する画情報に変換する画情
報変換手段;を備えるモザイク処理装置。
2. Random information generating means for generating size information whose information content is random; a size of a pixel matrix having a plurality of pixels in at least one of a main scanning direction and a sub scanning direction is set corresponding to the size information. Size setting means; and image information conversion means for converting the original image information of each pixel forming the pixel matrix in the pixel matrix division of the size set by the size setting means into image information representative of the pixel matrix. A mosaic processing device provided.
【請求項3】画像を主走査方向および副走査方向に画素
区分した画素単位の原画情報の、画素間の濃度差を検出
する濃度変化検出手段;主走査方向と副走査方向の少く
とも一方が複数画素の画素マトリクスのサイズを指定す
る第1サイズ情報を、前記濃度差に対応して発生する第
1サイズ情報発生手段;情報内容がランダムな第2サイ
ズ情報を発生するランダム情報発生手段;第1サイズ情
報と第2サイズ情報の一方を選択するサイズ情報選択手
段;主走査方向と副走査方向の少くとも一方が複数画素
の画素マトリクスのサイズを、前記サイズ情報選択手段
が選択したサイズ情報に対応して設定するサイズ設定手
段;および、 該サイズ設定手段が設定したサイズの画素マトリクス区
分で、該画素マトリクスを構成する各画素の原画情報
を、該画素マトリクスを代表する画情報に変換する画情
報変換手段;を備えるモザイク処理装置。
3. A density change detecting means for detecting a density difference between pixels in original image information in pixel units obtained by dividing an image into pixels in the main scanning direction and the sub scanning direction; at least one of the main scanning direction and the sub scanning direction. First size information generating means for generating first size information designating a size of a pixel matrix of a plurality of pixels corresponding to the density difference; random information generating means for generating second size information having random information content; Size information selecting means for selecting one of the first size information and the second size information; the size of the pixel matrix having a plurality of pixels in at least one of the main scanning direction and the sub scanning direction is set to the size information selected by the size information selecting means. Size setting means for correspondingly setting; and original image information of each pixel forming the pixel matrix in the pixel matrix division of the size set by the size setting means, A mosaic processing device comprising: image information conversion means for converting a pixel matrix into representative image information.
JP18652791A 1991-07-25 1991-07-25 Mosaic processing equipment Expired - Fee Related JP2934061B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18652791A JP2934061B2 (en) 1991-07-25 1991-07-25 Mosaic processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18652791A JP2934061B2 (en) 1991-07-25 1991-07-25 Mosaic processing equipment

Publications (2)

Publication Number Publication Date
JPH0573668A true JPH0573668A (en) 1993-03-26
JP2934061B2 JP2934061B2 (en) 1999-08-16

Family

ID=16190057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18652791A Expired - Fee Related JP2934061B2 (en) 1991-07-25 1991-07-25 Mosaic processing equipment

Country Status (1)

Country Link
JP (1) JP2934061B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009055634A (en) * 2008-10-31 2009-03-12 Roland Corp Video image editing apparatus
CN112150345A (en) * 2019-06-28 2020-12-29 北京嗨动视觉科技有限公司 Image processing method and device, video processing method and sending card

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009055634A (en) * 2008-10-31 2009-03-12 Roland Corp Video image editing apparatus
JP4628464B2 (en) * 2008-10-31 2011-02-09 ローランド株式会社 Video editing device
CN112150345A (en) * 2019-06-28 2020-12-29 北京嗨动视觉科技有限公司 Image processing method and device, video processing method and sending card

Also Published As

Publication number Publication date
JP2934061B2 (en) 1999-08-16

Similar Documents

Publication Publication Date Title
US4185304A (en) Electronic halftone screening
JPH0698165A (en) Parallel processor
JP3200873B2 (en) Image processing device
US5177623A (en) Image processing apparatus and method
CA2040562C (en) Half tone image processing circuit
JP2934061B2 (en) Mosaic processing equipment
JP3230282B2 (en) Image reading device
JPH06113106A (en) Data reading processor
JPH02185456A (en) Recording device
JP3391809B2 (en) Image processing method and apparatus
JP3271996B2 (en) Image synthesis device
JP3230281B2 (en) Image reading device
JP2670443B2 (en) Image information processing device
JP3092959B2 (en) Image synthesis device
JP3594760B2 (en) Image printing device
JPH0211063A (en) Picture processor
JP3093218B2 (en) Digital image processing equipment
JP2695434B2 (en) Image processing device
JP2901062B2 (en) Image forming device
JP3175169B2 (en) Buffer memory switching method of recording device
JPH0292562A (en) Image processor
JP2001008020A (en) Image processor
JP2001086358A (en) Method and device for gradation processing of image data
JPS61157073A (en) Halftone image reproducing device
JPS619764A (en) Picture processor

Legal Events

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