JP2834758B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2834758B2
JP2834758B2 JP2939289A JP2939289A JP2834758B2 JP 2834758 B2 JP2834758 B2 JP 2834758B2 JP 2939289 A JP2939289 A JP 2939289A JP 2939289 A JP2939289 A JP 2939289A JP 2834758 B2 JP2834758 B2 JP 2834758B2
Authority
JP
Japan
Prior art keywords
area
block
image processing
processing
image
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
JP2939289A
Other languages
Japanese (ja)
Other versions
JPH02207668A (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 JP2939289A priority Critical patent/JP2834758B2/en
Priority to US07/475,378 priority patent/US5086346A/en
Publication of JPH02207668A publication Critical patent/JPH02207668A/en
Application granted granted Critical
Publication of JP2834758B2 publication Critical patent/JP2834758B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、原稿画像中の指定領域毎に異なる画像処理
を行うことのできる「画像処理装置」に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an "image processing apparatus" capable of performing different image processing for each designated area in a document image.

従来の技術 一般に、デジタル複写機にあっては、読取った原稿画
像データを電気信号で画像処理するために、アナログ複
写機ではできないような、画像加工、画像編集を行うこ
とができる。例えば、文字原稿に対してエッジ強調処理
を行い文字の鮮鋭度を上げるとか、網点原稿に対して平
滑化処理を行いモアレを抑圧するとか、原稿画像データ
の一部を繰り返し出力させたり、他の原稿と合成したり
することも可能である。
2. Description of the Related Art Generally, in a digital copying machine, image processing and image editing that cannot be performed by an analog copying machine can be performed in order to perform image processing on read document image data with an electric signal. For example, edge enhancement processing is performed on a character document to increase the sharpness of characters, halftone document processing is performed to suppress moiré, a part of document image data is repeatedly output, It is also possible to combine with the original.

ここに、画像処理は、通常は読取り原稿全体に対して
均一に行うが、絵、文字、写真混在の原稿に対する画像
処理や特殊効果を得るための画像処理では、原稿の特定
部分に対して他とは異なる画像処理を行うことが多い、
原稿の特定部分に対して処理を行う場合には、画像処理
回路において処理の対象となる閉領域及びその画像処理
内容を指定しなければならない。
Here, the image processing is usually performed uniformly on the entire read original, but in the image processing for the original containing a mixture of pictures, characters, and photographs, and in the image processing for obtaining a special effect, other processing is performed on a specific portion of the original. Often performs image processing different from
When processing is performed on a specific portion of a document, the image processing circuit must specify a closed region to be processed and the content of the image processing.

このような目的から、例えば特開昭59−45765号公報
に示されるような画像処理回路における領域指定回路が
ある。これは、まず、原稿の画像処理内容を決める領域
識別符号を各画素毎に用意し、その領域識別符号をゾー
ンメモリに記憶させる。ここに、領域識別符号は‘0'又
は‘1'であり、‘0'の箇所の画像データに対しては第1
の画像処理を行い、‘1'の箇所の画像データに対しては
第2の画像処理を行う、この際、ゾーンメモリの容量を
減らすために、1mm角の面積分を1画素として領域識別
符号を1mm角単位で用意している。
For this purpose, there is, for example, an area designating circuit in an image processing circuit as disclosed in JP-A-59-45765. First, an area identification code that determines the content of image processing of a document is prepared for each pixel, and the area identification code is stored in the zone memory. Here, the area identification code is “0” or “1”, and the first image data is “0”.
Is performed, and the second image processing is performed on the image data of the location '1'. In this case, in order to reduce the capacity of the zone memory, the area identification code is set to 1 mm square area as one pixel. Are prepared in 1 mm square units.

発明が解決しようとする課題 ところが、同公報方式による場合、下記のような課題
である。
Problems to be Solved by the Invention However, in the case of the method disclosed in the publication, there are the following problems.

領域情報を記憶するメモリが多く必要となる。即
ち、領域情報を数画素×数画素で構成される基本単位毎
に記憶するために領域情報メモリが多く必要になる。ま
た、読取り原稿の大きさに比例した容量の領域情報メモ
リを用意しなければならない、 領域切換えの位置精
度が悪い。即ち、数画素×数画素の基本単位が領域の位
置精度となるため、本来の1画素毎に領域を指定するこ
とができない。
Many memories for storing the area information are required. That is, many area information memories are required to store the area information for each basic unit composed of several pixels × several pixels. Further, an area information memory having a capacity proportional to the size of the document to be read must be prepared, and the positional accuracy of the area switching is poor. That is, since the basic unit of several pixels × several pixels is the position accuracy of the region, the region cannot be designated for each original pixel.

複数の領域について、その領域毎に異なる画像処理
を行うことができない。即ち、領域情報として、‘0'又
は‘1'の2つ(1ビット)の領域識別情報を用い、‘0'
が記憶されている領域の画像データに対しては第1の画
像処理を行い、 ‘1'が記憶されている領域の画像データに対しては第2
の画像処理を行うというものであり、第3以降の画像処
理を指定することはできない。この点、第3の画像処理
を可能とするには、領域識別符号のメモリを増やせばよ
いが、数画素×数画素の基本単位毎に2ビットの情報と
なり2倍も必要となってしまう。より一般的に考えて、
各領域毎に異なる画像処理を可能にするためには、大量
の領域情報メモリが必要となってしまう。
Different image processing cannot be performed for each of a plurality of regions. That is, as area information, two (1 bit) area identification information of '0' or '1' is used, and '0'
The first image processing is performed on the image data in the area where “1” is stored, and the second image processing is performed on the image data in the area where “1” is stored.
The third and subsequent image processing cannot be designated. In this regard, in order to enable the third image processing, it is sufficient to increase the memory of the area identification code. However, the basic unit of several pixels × several pixels is 2-bit information, which is twice as large. More generally,
In order to enable different image processing for each area, a large amount of area information memory is required.

課題を解決するための手段 本発明は、原稿画像中の任意の位置の矩形の閉領域を
指定し、この閉領域内外で異なる画像処理を行う画像処
理装置において、副走査方向にて前ラインの状態と異な
る領域の状態を境界として、各々の領域をブロック化し
たときに、各ブロックに付与された副走査ブロック番号
と、主走査方向にて前画素の領域と異なる領域を境界と
して、前記副走行方向の各ブロックについて各々独立に
領域を再ブロック化したときに、各ブロックに付与され
た主走査ブロック番号と、各ブロックの切り換え点の座
標と、各ブロックの画像処理内容に応じた領域番号とか
らなる領域情報をブロック毎に複数記憶する記憶手段
と、画像位置と前記記憶手段に記憶された切り換え点の
座標とが一致したときに前記記憶手段から領域番号を読
み出す読み出し手段を備え、前記読み出し手段から読み
出された領域番号に応じて前記画像位置の画像に画像処
理がされることを特徴とする。
Means for Solving the Problems The present invention specifies a rectangular closed region at an arbitrary position in a document image and performs different image processing inside and outside the closed region. When each area is divided into blocks with the state of the area different from the state as a boundary, the sub-scanning block number assigned to each block and the sub-scanning area with the area different from the area of the previous pixel in the main scanning direction as the boundary are used. When the area is re-blocked independently for each block in the traveling direction, the main scanning block number assigned to each block, the coordinates of the switching point of each block, and the area number according to the image processing content of each block Storage means for storing a plurality of pieces of area information for each block, and when the image position and the coordinates of the switching point stored in the storage means coincide with each other, the area number is stored in the storage means. Reading means for reading the image, wherein image processing is performed on the image at the image position in accordance with the area number read from the reading means.

作用 まず、指定された閉領域については主走査方向及び副
走査方向に状態の変化する箇所、例えば主走査方向であ
れば画素単位で前画素領域と異なる領域、副走査方向で
あれば前ライン領域と異なる領域状態となったところ
を、境界としてブロック化される。そして、各ブロック
単位でその領域情報が閉領域内外の切換え点に関する領
域座標のデータにて記憶手段に記憶される。このような
指定領域をブロック化し各ブロック毎に領域情報の記憶
手段への書込み及び読出しを行うので、主走査及び副走
査を伴う後の画像処理に際して通常の処理のまま各領域
を特定できるものとなる。このように領域情報をブロッ
ク単位で取扱うことにより、少量の記憶容量にして複数
の領域指定が可能となる。読取り原稿の大きさに対応し
た容量とする必要もない。また、本来の画素単位の処理
ともなる。この際、実際の画像処理内容は、その内容に
応じた領域番号を予め用意しておき、この領域番号によ
り画像処理内容を指定すればよい。このような領域番号
により画像処理内容を決定するため、各領域毎に内容の
異なる画像処理を行わせることができる。また、このよ
うな領域番号を利用しても、同一の記憶手段に領域座標
とともに各ブロック毎に記憶されるので、領域情報に関
する記憶容量が大幅に増えることもない。
First, for a designated closed area, a location where the state changes in the main scanning direction and the sub-scanning direction, for example, an area different from the previous pixel area in pixel units in the main scanning direction, and a previous line area in the sub-scanning direction The area that is different from the area state is blocked as a boundary. Then, the area information is stored in the storage means in each block as area coordinate data relating to the switching points inside and outside the closed area. Since such a specified area is divided into blocks and writing and reading of the area information to and from the storage means are performed for each block, each area can be specified in the normal processing during image processing involving main scanning and sub-scanning. Become. By handling the area information in block units, a plurality of areas can be designated with a small storage capacity. It is not necessary to have a capacity corresponding to the size of the document to be read. In addition, it is also the original pixel unit processing. At this time, as the actual image processing content, an area number corresponding to the content is prepared in advance, and the image processing content may be designated by the area number. Since image processing content is determined based on such area numbers, image processing having different contents can be performed for each area. Further, even if such an area number is used, since the same storage means is stored for each block together with the area coordinates, the storage capacity relating to the area information does not greatly increase.

実施例 本発明の一実施例を第1図ないし第5図に基づいて説
明する。
Embodiment An embodiment of the present invention will be described with reference to FIGS.

まず、本発明例の具体的な使用例として、読取り画像
中に、第2図に示すような領域を指定する場合を例にと
り、説明する。ここに、X座標方向を主走査方向、Y座
標方向を副走査方向とする。また、読取り原稿画像領域
は(0,0)(Xmax,0)(0,Ymax)(Xmax,Ymax)なる座標
で囲まれた領域とする。第2図ではこのような読取り原
稿画像中に、対角座標(X1,Y1)〜(X2,X2)で囲まれた
矩形状の第1の領域、対角座標(X3,Y3)〜(X4,Y4)で
囲まれた矩形状の第2の領域、対角座標(X5,Y5)〜(X
6,Y6)で囲まれた矩形状の第3の領域が示される。これ
らの第1,第2及び第3のどの領域にも属さない、その他
の領域を加えて、4つの領域とし、各々の領域において
異なる4種類の画像処理を行う場合を説明する。このよ
うな領域指定は、例えばデジタイザ等による対角指定等
により行われる。
First, as a specific use example of the present invention, a case where an area as shown in FIG. 2 is designated in a read image will be described as an example. Here, the X coordinate direction is a main scanning direction, and the Y coordinate direction is a sub scanning direction. The read document image area is an area surrounded by coordinates (0, 0) (Xmax, 0) (0, Ymax) (Xmax, Ymax). In FIG. 2 , a rectangular first area surrounded by diagonal coordinates (X 1 , Y 1 ) to (X 2 , X 2 ) and diagonal coordinates (X 3 , Y 3) ~ (X 4, Y 4) rectangular second region surrounded by the diagonal coordinates (X 5, Y 5) ~ (X
6 , Y 6 ) shows a rectangular third region. A case will be described in which four regions are added by adding other regions that do not belong to any of the first, second, and third regions, and four different types of image processing are performed in each region. Such area designation is performed by, for example, diagonal designation by a digitizer or the like.

そして、処理の異なる領域毎に領域番号を与える。領
域番号の与え方は任意であるが、ここでは、図示のよう
に、第1の領域には領域番号1、第2の領域には領域番
号2、第3の領域には領域番号3、その他の領域には領
域番号0を与える。これは、領域番号−画像処理内容対
応表等に基づく番号指定或いは画像処理内容を直接入力
することにより番号変換させる、といった方法による。
Then, an area number is given to each area having different processing. The way of giving the area number is arbitrary, but here, as shown in the figure, the first area has the area number 1, the second area has the area number 2, the third area has the area number 3, and the like. Is assigned an area number 0. This is based on a method of specifying the number based on an area number-image processing content correspondence table or the like or converting the number by directly inputting the image processing content.

次に、副走査方向について、領域のブロック化を行
う。この副走査方向のブロックは、副走査方向にライン
単位で走査を行った時、前ラインの領域の状態と異なる
領域の状態が現れたところに境界を持つ。例えば、Y3
る副走査ラインは、第1の領域ではその途中ではその途
中となるが、第2の領域の出現するラインであり、境界
に当該し、このY3なる副走査ラインを境に異なるブロッ
クとなる。ブロック化された領域には各々副走査ブロッ
ク番号が与えられるが、ブロック内に含まれる領域の状
態が同じであれば、同一の副走査ブロック番号が使用で
きる。第2図に示す領域を副走査方向にブロック化した
結果を第3図に示す。
Next, the area is divided into blocks in the sub-scanning direction. The block in the sub-scanning direction has a boundary where a state of an area different from the state of the area of the previous line appears when scanning is performed in units of lines in the sub-scanning direction. For example, Y 3 becomes the sub-scanning lines in the first region but that becomes the way in the middle, a line that appears in the second region, and the at the boundary, the boundary of the Y 3 becomes the sub-scanning line It is a different block. A sub-scanning block number is given to each of the blocked areas, but the same sub-scanning block number can be used if the state of the area included in the block is the same. FIG. 3 shows the result of blocking the area shown in FIG. 2 in the sub-scanning direction.

次いで、主走査方向について領域のブロック化を行
う。主走査方向のブロックは、主走査方向に画素単位で
前画素の領域と異なる領域が現われたところに境界を持
つ。また、この主走査方向のブロック化は、上記の副走
査方向の各ブロックについて各々独立して行われる。こ
の場合も、ブロック化された領域には主走査方向に各々
順に主走査ブロック番号が与えれる。よって、同一の主
走査ブロック番号であっても、副走査ブロックが異なれ
ば異なるものとなる。第3図を主走行方向にブロック化
して各ブロックに主走査番号を付与した結果を第4図に
示す。
Next, the area is divided into blocks in the main scanning direction. The block in the main scanning direction has a boundary where an area different from the area of the previous pixel appears in pixel units in the main scanning direction. The blocking in the main scanning direction is performed independently for each block in the sub-scanning direction. Also in this case, the main scanning block numbers are sequentially given to the blocked areas in the main scanning direction. Therefore, even if the main scanning block number is the same, the sub scanning block is different if it is different. FIG. 4 shows the result of dividing FIG. 3 into blocks in the main running direction and assigning a main scanning number to each block.

このようなブロック化のための手段は、特に図示しな
いが、公知の画像処理手段により達成し得る。
Although not particularly shown, such means for blocking can be achieved by known image processing means.

このようにして、主走査方向及び副走査方向にブロッ
ク化した領域の領域情報を、後述する第1図の回路中の
領域情報メモリに書込む。第4図の各ブロックの状態を
領域情報メモリ3に書込むデータに変換したものを第5
図に示す。第5図において、領域情報(A,B,C,D)なる
表現は、(主走査ブロック番号,副走査ブロック番号,
領域座標,領域番号)が対応する。ここに、領域座標と
しては、次の領域内外の主走査切換え点の座標を与え
る。これにより、後の画像処理に際しては、例えば領域
情報が(1,2,X2,1)の場合であれば、主走査ブロック番
号1、副走査ブロック番号2なるブロック領域について
の領域番号1に対応する画像処理が、主走査座標X2まで
行われ、主走査座標X2以降になると、異なる画像処理の
ブロックとなることを意味する。
In this way, the area information of the area divided into the main scanning direction and the sub-scanning direction is written to the area information memory in the circuit shown in FIG. The state obtained by converting the state of each block in FIG.
Shown in the figure. In FIG. 5, the expression of the area information (A, B, C, D) is (main scanning block number, sub scanning block number,
Area coordinates, area numbers). Here, as the area coordinates, the coordinates of the main scanning switching point inside and outside the next area are given. Thereby, in the subsequent image processing, for example, if the area information is (1,2, X 2 , 1), the area number 1 for the main scanning block number 1 and the sub scanning block number 2 corresponding image processing is carried out until the main scanning coordinates X 2, becomes the main scanning coordinate X 2 or later, which means that the blocks of different image processing.

しかして、第1図に、本実施例による領域指定回路中
の領域情報メモリ部のブロック図を示す。第1図におい
て、外部から入力される信号は、主走査方向1画素単位
の画素クロック信号IPCLK、副走査方向1ライン単位の
ライン同期クロックIPLSYNCである。また、本回路によ
り作成され外部に出力される信号は、予め指定されてい
る領域の画像処理内容に対応する領域番号を示す信号AN
UMで、この信号ANUMにより原稿画像中の複数に対して画
像処理内容を間接的に指定することになる。
FIG. 1 shows a block diagram of the area information memory section in the area designating circuit according to the present embodiment. In FIG. 1, signals input from the outside are a pixel clock signal IPCLK in units of one pixel in the main scanning direction and a line synchronization clock IPLSYNC in units of one line in the sub-scanning direction. Further, a signal generated by the present circuit and output to the outside is a signal AN indicating an area number corresponding to image processing content of a previously specified area.
In the UM, this signal ANUM indirectly designates image processing contents for a plurality of document images.

システムコントローラ1は領域指定回路全体を制御す
るための各種の信号を生成する。この内、信号SMDはモ
ードコントロール信号であり、領域指定回路はこの信号
SMDにより2つの動作モードを切換える。
The system controller 1 generates various signals for controlling the entire area designating circuit. The signal SMD is a mode control signal, and the area designating circuit
Two operation modes are switched by SMD.

第1の動作モードは、領域設定モードである。この領
域設定モードでは、トライステートゲート2がイネーブ
ルとなり、領域番号データ信号SAN、領域座標データ信
号SAPが記憶手段としての領域情報メモリ3に与えら
れ、領域情報メモリライト信号SWEにより書込まれる。
この時、領域情報メモリ3のアドレス、即ち、主走査ブ
ロック番号は主走査領域ブロックカウンタ5より与えら
れ、副走査ブロック番号はラッチ4を通ったSARE信号に
より与えられる。そして、領域座標と領域番号とがデー
タ信号として与えられる。また、この領域設定モードに
おいては、データセレクタ6,7が信号Aを選択し信号Y
として出力するので、主走査領域ブロックカウンタ5の
クロック信号として領域情報メモリライト信号SWEが与
えられ、クリア信号としては信号SCLが与えられる。こ
のため、主走査領域ブロックカウンタ5は信号SCLによ
り0に初期化され、領域情報メモリライト信号SWEによ
り領域情報メモリ3に書込みが行われる毎にカウントア
ップしてこの領域情報メモリ3のアドレスを更新する。
The first operation mode is an area setting mode. In this area setting mode, the tristate gate 2 is enabled, the area number data signal SAN and the area coordinate data signal SAP are given to the area information memory 3 as storage means, and written by the area information memory write signal SWE.
At this time, the address of the area information memory 3, that is, the main scanning block number is given by the main scanning area block counter 5, and the sub-scanning block number is given by the SARE signal passed through the latch 4. Then, the area coordinates and the area number are given as a data signal. In this area setting mode, the data selectors 6 and 7 select the signal A and the signal Y
Thus, the area information memory write signal SWE is provided as a clock signal of the main scanning area block counter 5, and the signal SCL is provided as a clear signal. For this reason, the main scanning area block counter 5 is initialized to 0 by the signal SCL, counts up each time data is written to the area information memory 3 by the area information memory write signal SWE, and updates the address of the area information memory 3. I do.

一方、第2の動作モードはコピー動作モードである。
このコピー動作モードにおいては。領域設定モードで領
域情報メモリ3に書込まれた領域番号データと領域座標
データが、処理される読取り画像データに同期して読出
される。トライステートゲートは高インピーダンス状態
となり、領域情報メモリ3はラッチ4を通った副走査領
域ブロックアドレス信号SAREと主走査領域ブロックカウ
ンタ5により与えられるアドレスに応じた領域番号デー
タと領域座標データを出力する。領域情報メモリ3から
読出された領域座標データはコンパレータ8に入力さ
れ、画像クロック信号IPCLKによりカウントアップする
主走査カウンタ9と比較される。コンパレータ8の一致
出力及びライン同期クロックIPLSYNCは各々データセレ
クタ6,7に入力される。
On the other hand, the second operation mode is a copy operation mode.
In this copy operation mode. The area number data and the area coordinate data written in the area information memory 3 in the area setting mode are read out in synchronization with the read image data to be processed. The tristate gate enters a high impedance state, and the area information memory 3 outputs the area number data and area coordinate data corresponding to the sub-scanning area block address signal SARE passed through the latch 4 and the address given by the main scanning area block counter 5. . The area coordinate data read from the area information memory 3 is input to a comparator 8 and compared with a main scanning counter 9 which counts up by an image clock signal IPCLK. The coincidence output of the comparator 8 and the line synchronization clock IPLSYNC are input to the data selectors 6 and 7, respectively.

この時、コピー動作モードでは、データセレクタ6,7
は信号Bを選択し信号Yとして出力するので、主走査領
域ブロックカウンタ5のクロック信号としてコンパレー
タ8の出力が与えられ、クリア信号としてはクロックIP
LSYNCが与えられる。このため、領域座標データと主走
査画像位置が一致すると領域情報メモリ3に与えられる
アドレスが更新され、次の領域番号データと領域座標デ
ータとが読出される。そして、領域番号に応じて予め設
定されている画像処理が行われることになる。
At this time, in the copy operation mode, the data selectors 6 and 7
Selects the signal B and outputs it as the signal Y, so that the output of the comparator 8 is given as the clock signal of the main scanning area block counter 5, and the clock IP is used as the clear signal.
LSYNC is given. Therefore, when the area coordinate data matches the main scanning image position, the address given to the area information memory 3 is updated, and the next area number data and area coordinate data are read. Then, image processing set in advance according to the area number is performed.

このような領域指定回路の構成によりブロック化処理
した後で、各ブロック単位で閉領域内外の切換え点を領
域座標データとして領域情報メモリ3に記憶させる時
に、領域内外の切換え点から始まる画像データに対する
画像処理内容を指定する領域番号データも同時に記憶さ
せることにより、小量の領域情報メモリ3構成にて複数
の領域を指定し、かつ、これらの領域について画像処理
内容を変えることも可能となる。もちろん、異なる領域
について同一の領域番号を与えたものは同一の画像処理
となる。
After the block processing is performed by the configuration of the area designating circuit, when the switching points inside and outside the closed area are stored as area coordinate data in the area information memory 3 in units of blocks, the image data starting from the switching points inside and outside the area is stored. By simultaneously storing area number data for specifying image processing contents, it is also possible to specify a plurality of areas with a small amount of area information memory 3 and to change the image processing contents for these areas. Of course, the same image processing is performed for the same area number given to different areas.

つづいて、「本発明の変形例」を第6図ないし第8図
により説明する。前記実施例で示した第1図ないし第5
図はそのまま用いるものとする。
Next, a "modification of the present invention" will be described with reference to FIGS. 1 to 5 shown in the above embodiment.
The figures are used as they are.

前記実施例では、画像処理内容に応じて予め設定され
ている領域番号を用いるため、領域情報メモリ3中に領
域座標とともに領域番号を記憶させ、これを読出すだけ
のものとしたが、本実施例では、領域番号は任意とし領
域番号毎にその画像処理内容を記憶する処理内容メモリ
部を設けたものである。
In the above-described embodiment, since the area number preset according to the content of the image processing is used, the area number is stored in the area information memory 3 together with the area coordinates, and the area number is simply read. In the example, the area number is arbitrary and a processing content memory unit for storing the image processing content for each area number is provided.

領域指定回路の内、第1図に示したような領域番号を
発生させる領域情報メモリ部の他に、第6図に示すよう
な、領域内の画像処理内容を記憶する処理内容メモリ部
及び画像処理部を設けてなる。これにより、指定領域内
の画像処理内容を領域番号により間接的に指定するよう
にしたものである。
In the area designating circuit, in addition to the area information memory section for generating an area number as shown in FIG. 1, a processing content memory section for storing image processing contents in the area and an image as shown in FIG. A processing unit is provided. Thus, the content of image processing in the designated area is indirectly designated by the area number.

まず、第1図に示した領域情報メモリ部による領域設
定モード及びコピー動作モードは、前記実施例の場合と
同様に行われる。
First, the area setting mode and the copy operation mode by the area information memory unit shown in FIG. 1 are performed in the same manner as in the above embodiment.

一方、第6図に示す処理内容メモリ部も第1図に示し
た領域情報メモリ部と同様に2つの動作モードを持ち、
システムコントローラ11のモードコントロール信号SMD
により、領域設定モードコピー動作モードとが切換えら
れる。
On the other hand, the processing content memory unit shown in FIG. 6 also has two operation modes similarly to the area information memory unit shown in FIG.
Mode control signal SMD of system controller 11
Thus, the mode is switched between the area setting mode and the copy operation mode.

第1の領域設定モードでは、トライステートゲート12
がイネーブルとなり、処理内容データ信号SIPが記憶手
段としての処理内容メモリ13に与えられ、処理内容メモ
リライト信号SWE2により書込まれる。処理内容メモリ13
のアドレスはデータセレクタ14により与えられるが、こ
の領域設定モードでは信号Aが選択されるため、領域番
号カウンタ15の出力が処理内容メモリ13のアドレスとな
る。また、処理番号カウンタ15は処理内容メモリライト
信号SWE2により処理内容メモリ13に書込みが行われる毎
にカウントアップするため、システムコントローラ11は
処理内容データ信号SIPによるデータを処理内容メモリ1
3に次々と書込むことができる。
In the first area setting mode, the tri-state gate 12
Is enabled, the processing content data signal SIP is applied to the processing content memory 13 as a storage means, and is written by the processing content memory write signal SWE2. Processing content memory 13
Is given by the data selector 14, but in this area setting mode, the signal A is selected, so that the output of the area number counter 15 becomes the address of the processing content memory 13. Further, the processing number counter 15 counts up each time data is written to the processing content memory 13 by the processing content memory write signal SWE2.
3 can be written one after another.

一方、第2のコピー動作モードでは、処理内容メモリ
13の内容が読出されて画像処理部16に与えられる。この
時、処理内容メモリ13のアドレス信号にはデータセレク
タ14により選択された領域番号信号ANUMが与えられ、そ
の領域番号に応じた処理内容データが読出される。
On the other hand, in the second copy operation mode, the processing content memory
The content of 13 is read and provided to the image processing unit 16. At this time, an area number signal ANUM selected by the data selector 14 is given to the address signal of the processing content memory 13, and the processing content data corresponding to the area number is read.

画像処理部16では、入力画像データIMAGIをガンマ処
理回路16a、色補正回路16b、フィルタ処理回路16c及び
ディザ処理回路16dにより、ガンマ補正処理、色補正処
理、フィルタ処理及びディザ処理して、出力画像データ
IMGOを作成する。画像処理部16中の各回路16a〜16dに
は、処理の内容を切換えるための入力IPC1〜IPC4があ
り、各々に処理内容メモリ13からデータが与えられ、処
理内容が制御される。
In the image processing unit 16, the input image data IMAGI is subjected to gamma correction processing, color correction processing, filter processing and dither processing by a gamma processing circuit 16a, a color correction circuit 16b, a filter processing circuit 16c, and a dither processing circuit 16d, and an output image is output. data
Create IMGO. Each of the circuits 16a to 16d in the image processing unit 16 has inputs IPC1 to IPC4 for switching the contents of processing. Data is supplied to the respective circuits 16a to 16d from the processing content memory 13 to control the processing content.

ここに、「本変形例」では領域番号信号ANUMが8ビッ
トであるため、最大256個の領域を指定することができ
る。また、処理内容メモリ13に記憶されるデータが8ビ
ットであるため、各指定領域毎に最大256種類の画像処
理中から1種類を指定することができる。256種類の画
像処理は、ガンマ補正処理4種類、色補正処理4種類、
フィルタ処理4種類、ディザ処理4種類の組合せで指定
することになる。
Here, in the present modification, since the area number signal ANUM is 8 bits, a maximum of 256 areas can be designated. In addition, since the data stored in the processing content memory 13 is 8 bits, one of a maximum of 256 types of image processing can be designated for each designated area. The 256 types of image processing include four types of gamma correction processing, four types of color correction processing,
This is designated by a combination of four types of filter processing and four types of dither processing.

もっとも、第7図に示すように、デコーダ17を通すこ
とにより、画像処理部16全体を制御するIPCに入力する
ことで、任意の256種類の画像処理を指定することも可
能である。
However, as shown in FIG. 7, it is also possible to designate arbitrary 256 types of image processing by inputting to the IPC that controls the entire image processing unit 16 by passing through the decoder 17.

しかして、「本変形例」についても、第2図ないし第
5図に示した具体例を適用してみる。即ち、第5図に示
したようにブロック化され領域番号が与えられた各領域
の、画像処理内容を決めるデータを処理内容メモリ13に
書込むことになる。その一例として、第2図の各領域に
対応して第8図に示す処理を行うように設定する場合を
考える。
Thus, the specific examples shown in FIGS. 2 to 5 will be applied to “this modification”. That is, as shown in FIG. 5, data for determining the content of the image processing for each of the areas which are divided into blocks and to which the area numbers are given are written in the processing content memory 13. As an example, consider a case in which the processing shown in FIG. 8 is set to be performed corresponding to each area in FIG.

まず、画像処理部16内の各処理回路16a〜16dの入力IP
C1からIPC4までの各2ビットの信号により行われる処理
内容を、下表に示すように定めるものとする。
First, the input IP of each processing circuit 16a to 16d in the image processing unit 16
The content of processing performed by each 2-bit signal from C1 to IPC4 shall be determined as shown in the table below.

まず、領域番号0のブロックの処理内容「ノーマル処
理」の設定は、 γ処理 「ノーマル」…IPC1=00 色処理 「ノーマル」…IPC2=00 フィルタ処理 「スルー」…IPC3=00 ディザ処理 「ノーマル」…IPC4=00 とし、処理内容メモリ13の0番地に00000000を書込む。
また、領域番号1のブロックの処理内容「文字処理」の
設定は、 γ処理 「ノーマル」…IPC1=00 色処理 「ノーマル」…IPC2=00 フィルタ処理「エッジ強調」…IPC3=10 ディザ処理 「2値化」…IPC4=01 とし、処理内容メモリ13の1番地に00001001を書込む。
First, the setting of the processing content “normal processing” of the block with the area number 0 is γ processing “normal” ... IPC1 = 00 color processing “normal”… IPC2 = 00 filter processing “through”… IPC3 = 00 dither processing “normal” ... IPC4 = 00, and 00000000 is written to address 0 of the processing content memory 13.
The setting of the processing content “character processing” of the block of the area number 1 is as follows: γ processing “Normal” ... IPC1 = 00 Color processing “Normal” ... IPC2 = 00 Filter processing “edge enhancement” ... IPC3 = 10 Dither processing “2” "Value conversion" ... IPC4 = 01, and "00001001" is written to address 1 of the processing content memory 13.

以下、同様にして、領域番号2の「明部強調、写真処
理」の設定は、 γ処理 「明細強調」…IPC1=10 色処理 「ノーマル」…IPC2=00 フィルタ処理 「平滑化」…IPC3=01 ディザ処理「スクリーン角」…IPC4=11 とし、処理内容メモリ13の2番地に10000111を書込む。
Hereinafter, similarly, the setting of “bright area emphasis, photo processing” of the area number 2 is as follows: γ processing “detail emphasis” ... IPC1 = 10 color processing “normal” ... IPC2 = 00 filter processing “smoothing” ... IPC3 = 01 Dither processing “screen angle”: IPC4 = 11, and 10000111 is written to address 2 of the processing content memory 13.

領域番号3の「指定色色変換処理」の設定は、 γ処理 「ノーマル」…IPC1=00 色処理 「指定色色変換」…IPC2=01 フィルタ処理 「ノーマル」…IPC3=00 ディザ処理 「ノーマル」…IPC4=00 とし、処理内容メモリ13の3番地に00010000を書込む。 The setting of “Specified color conversion” for area number 3 is γ processing “Normal”… IPC1 = 00 Color processing “Specified color conversion”… IPC2 = 01 Filter processing “Normal”… IPC3 = 00 Dither processing “Normal”… IPC4 = 00, and 00010000 is written to address 3 of the processing content memory 13.

このような設定により、「本変形例」による領域指定
回路は第8図に示すような領域内容で画像処理を行う。
With such settings, the area designating circuit according to the present modification performs image processing with the area contents as shown in FIG.

発明の効果 本発明は上述のように、原稿画像中の位置に矩形の閉
領域を指定し、この閉領域内外で異なる画像処理を行う
画像処理装置において、副走査方向にて前ラインの状態
と異なる領域の状態を境界として、各々の領域をブロッ
ク化したときに、各ブロックに付与された副走査ブロッ
ク番号と、主走査方向にて前画素の領域と異なる領域を
境界として、前記副走査方向の各ブロックについて各々
独立に領域を再ブロック化したときに、各ブロックに付
与された主走査ブロック番号と、各ブロックの切り換え
点の座標と、各ブロックの画像処理内容に応じた領域番
号とからなる領域情報をブロック毎に複数記憶する記憶
手段と、画像位置と前記記憶手段に記憶された切り換え
点の座標とが一致したときに前記記憶手段から領域番号
を読み出す読み出し手段とを備え、前記読み出し手段か
ら読み出された領域番号に応じて前記画像位置の画像に
画像処理がされることを特徴とするものである。従っ
て、主走査及び副走査を伴う後の画像処理に際して通常
の処理のまま支障なく各領域を特定し得るものであり、
よって、このようなブロック単位で領域情報を取扱いに
より、小量の記憶容量にして複数かつ本来の画像単位で
の領域指定を可能とすることができ、かつ、読取り原稿
の大きさに対応した容量とする必要もなく、また、本来
の画素単位の処理ともなる。この際、実際の画像処理内
容は、その内容に応じた領域番号を予め用意しておき、
この領域番号により画像処理内容を指定すればよく、こ
のような領域番号により画像処理内容を決定するため、
各領域毎に内容の異なる画像領域の行わせることがで
き、かつ、このような領域番号を利用しても、同一の記
憶手段に領域座標とともに各ブロック毎に記憶されるの
で、領域情報に関する記憶内容が特に増えることもない
ものである。
According to the present invention, as described above, in an image processing apparatus that specifies a rectangular closed area at a position in a document image and performs different image processing inside and outside the closed area, the state of the previous line in the sub-scanning direction is When each area is divided into blocks using the state of a different area as a boundary, the sub-scanning block number given to each block and the area different from the area of the previous pixel in the main scanning direction as a boundary are used in the sub-scanning direction. When the area is re-blocked independently for each block, the main scanning block number given to each block, the coordinates of the switching point of each block, and the area number according to the image processing content of each block Storage means for storing a plurality of pieces of area information for each block, and reading an area number from the storage means when an image position matches the coordinates of the switching point stored in the storage means. Reading means, wherein image processing is performed on the image at the image position according to the area number read from the reading means. Therefore, it is possible to specify each area without any trouble in the normal processing in the image processing after the main scanning and the sub-scanning,
Therefore, by handling the area information in units of blocks, it is possible to specify a plurality of areas in units of original images with a small amount of storage capacity, and to obtain a storage capacity corresponding to the size of the read original. It is not necessary to perform the above-described processing, and the processing is performed in the original pixel unit. At this time, the actual image processing content is prepared in advance with an area number corresponding to the content,
What is necessary is just to specify the image processing content by this area number, and to determine the image processing content by such an area number,
Since image areas having different contents can be performed for each area, and even if such an area number is used, the area information is stored for each block together with the area coordinates in the same storage means. The content does not particularly increase.

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

第1図ないし第5図は本発明の一実施例を示すもので、
第1図はブロック図、第2図は領域指定例を示す説明
図、第3図は副走査方向ブロック化処理を示す説明図、
第4図は主走査方向ブロック化処理を示す説明図、第5
図は領域情報付与例を示す説明図、第6図ないし第8図
は本発明の変形例を示すもので、第6図はブロック図、
第7図はさらにその変形例を示すブロック図、第8図は
処理内容を伴う領域指定例を示す説明図である。 3……領域情報記憶手段、13……処理内容記憶手段
1 to 5 show an embodiment of the present invention.
1 is a block diagram, FIG. 2 is an explanatory diagram showing an example of area designation, FIG. 3 is an explanatory diagram showing sub-scanning direction block processing,
FIG. 4 is an explanatory diagram showing the main scanning direction block processing, and FIG.
6 is an explanatory diagram showing an example of area information addition, FIGS. 6 to 8 show modifications of the present invention, FIG. 6 is a block diagram,
FIG. 7 is a block diagram showing a modified example thereof, and FIG. 8 is an explanatory diagram showing an example of area designation accompanied by processing contents. 3 ... area information storage means, 13 ... processing content storage means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿画像中の任意の位置の矩形の閉領域を
指定し、この閉領域内外で異なる画像処理を行う画像処
理装置において、副走査方向にて前ラインの状態と異な
る領域の状態を境界として、各々の領域をブロック化し
たときに、各ブロックに付与された副走査ブロック番号
と、主走査方向にて前画素の領域と異なる領域を境界と
して、前記副走査方向の各ブロックについて各々独立に
領域を再ブロック化したときに、各ブロックに付与され
た主走査ブロック番号と、各ブロックの切り換え点の座
標と、各ブロックの画像処理内容に応じた領域番号とか
らなる領域情報をブロック毎に複数記憶する記憶手段
と、画像位置と前記記憶手段に記憶された切り換え点の
座標とが一致したときに前記記憶手段から領域番号を読
み出す読み出し手段とを備え、前記読み出し手段から読
み出された領域番号に応じて前記画像位置の画像に画像
処理がされることを特徴とする画像処理装置。
An image processing apparatus for designating a rectangular closed area at an arbitrary position in a document image and performing different image processing inside and outside the closed area, wherein a state of an area different from a state of a previous line in a sub-scanning direction is provided. As a boundary, when each area is divided into blocks, the sub-scanning block number given to each block and the area different from the area of the previous pixel in the main scanning direction as a boundary are used for each block in the sub-scanning direction. When independently re-blocking the area, the area information including the main scanning block number assigned to each block, the coordinates of the switching point of each block, and the area number corresponding to the image processing content of each block is obtained. Storage means for storing a plurality of blocks for each block; read means for reading out an area number from the storage means when an image position matches the coordinates of the switching point stored in the storage means The image processing apparatus according to claim to comprise, that the image processing is an image of the image position in accordance with the area number read from said reading means.
JP2939289A 1989-02-08 1989-02-08 Image processing device Expired - Fee Related JP2834758B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2939289A JP2834758B2 (en) 1989-02-08 1989-02-08 Image processing device
US07/475,378 US5086346A (en) 1989-02-08 1990-02-05 Image processing apparatus having area designation function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2939289A JP2834758B2 (en) 1989-02-08 1989-02-08 Image processing device

Publications (2)

Publication Number Publication Date
JPH02207668A JPH02207668A (en) 1990-08-17
JP2834758B2 true JP2834758B2 (en) 1998-12-14

Family

ID=12274870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2939289A Expired - Fee Related JP2834758B2 (en) 1989-02-08 1989-02-08 Image processing device

Country Status (1)

Country Link
JP (1) JP2834758B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07101917B2 (en) * 1991-05-14 1995-11-01 富士ゼロックス株式会社 Area controller
JP4005959B2 (en) * 2003-08-29 2007-11-14 京セラミタ株式会社 Image forming apparatus

Also Published As

Publication number Publication date
JPH02207668A (en) 1990-08-17

Similar Documents

Publication Publication Date Title
US5086346A (en) Image processing apparatus having area designation function
US5179642A (en) Image synthesizing apparatus for superposing a second image on a first image
US5086497A (en) Image output command method for image processing system
JP2618101B2 (en) Image layout processing method
EP0320014A2 (en) Image processing system
US5703696A (en) Image memory apparatus
JPH0127412B2 (en)
US4947269A (en) Image reproduction apparatus capable of dividing an image into parts for reproduction on respective sheets
JPH03189878A (en) Edit control system for image processing device
US5602655A (en) Image forming system for single bit image data
US5148294A (en) Image processing apparatus and method for painting a memory with plural colors
JP2834758B2 (en) Image processing device
US5583955A (en) Image processing apparatus
JPS59125470A (en) Processing method for variable magnification of picture data
JP2559710B2 (en) Image processing method
JP2537192B2 (en) Image playback device
JPS6113381A (en) Image processor
JP3039657B2 (en) Image processing device
JPH05334434A (en) Page make-up device for image
JPH0568157A (en) Area specifying circuit for image processor
JP2903175B2 (en) Image processing device
JP2592104B2 (en) Color image storage method
JPH0568161A (en) Digital copying machine
JPS6346872A (en) Image processing device
JP2596628B2 (en) Italic processing circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081002

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees