JPH11308439A - Image processor - Google Patents

Image processor

Info

Publication number
JPH11308439A
JPH11308439A JP12815098A JP12815098A JPH11308439A JP H11308439 A JPH11308439 A JP H11308439A JP 12815098 A JP12815098 A JP 12815098A JP 12815098 A JP12815098 A JP 12815098A JP H11308439 A JPH11308439 A JP H11308439A
Authority
JP
Japan
Prior art keywords
area
data
memory
unit
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP12815098A
Other languages
Japanese (ja)
Inventor
Hitoshi Nakamura
仁 中村
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 JP12815098A priority Critical patent/JPH11308439A/en
Publication of JPH11308439A publication Critical patent/JPH11308439A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prepare the area data of a complicated graphic while reducing a memory capacity and accelerating a processing speed. SOLUTION: In this image processor, an original is read by a scanner 101, the binarization processing of the image data of the read original is performed, data after the binarization processing are written in a memory 505 and a closed loop in the read original is specified. The contour of the specified closed loop is contour line tracked by the data of the memory 505, the contour line tracked contour is written in the memory 504 and the memory 506 as the area data and area signals are generated from the memory 504 and the memory 506 by an area signal generation part 209.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置に関
し、特に、デジタル複写機等において任意の領域を指定
し、その指定した領域に対して画像処理を施す画像処理
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus for designating an arbitrary area in a digital copying machine or the like and performing image processing on the designated area.

【0002】[0002]

【従来の技術】従来、画像処理装置は一般に、読み取っ
た原稿の任意の領域に対して画像処理を施すようにして
いるが、この画像処理を施すために領域データを記憶す
るメモリは、読み取った画像と解像度および領域数によ
り決まる。
2. Description of the Related Art Conventionally, an image processing apparatus generally performs image processing on an arbitrary area of a read document. However, a memory for storing area data for performing this image processing is read. Determined by image, resolution and number of areas.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記し
た従来の画像処理装置によれば、読み取り原稿が高解像
度になるとメモリ容量が増加し、メモリ容量が増加する
と処理速度が低下するという問題がある。また、メモリ
容量を減らすために領域の情報として頂点のみの情報を
記憶する方法があるが、複雑な図形の領域データを作成
することができないという問題がある。
However, according to the above-described conventional image processing apparatus, there is a problem that the memory capacity increases when the read original has a high resolution, and the processing speed decreases when the memory capacity increases. Further, there is a method of storing information of only vertices as area information in order to reduce the memory capacity. However, there is a problem that area data of a complicated figure cannot be created.

【0004】従って、本発明の目的は、メモリ容量を減
らして処理速度を向上させつつ、複雑な図形の領域デー
タを作成することができる画像処理装置および画像処理
方法を提供することにある。
Accordingly, it is an object of the present invention to provide an image processing apparatus and an image processing method capable of creating complicated graphic area data while reducing the memory capacity and improving the processing speed.

【0005】[0005]

【課題を解決するための手段】本発明は、上記の目的を
達成するため、所定の原稿を読み取る原稿読取手段と、
読み取った原稿画像を表示する原稿表示手段と、表示さ
れた原稿画像の任意の領域を指定する領域指定手段と、
指定された領域に対して画像加工処理を施す画像加工処
理手段と、指定した領域内の画像データを区別するため
の領域データを記憶保持する第1の記憶保持手段と、原
稿画像を2値化処理した2値化データを記憶保持する第
2の記憶保持手段と、第2の記憶保持手段に保持されて
いる2値化データにより任意の閉ループの輪郭を追跡し
て、追跡した輪郭を領域データとして記憶保持する第3
の記憶保持手段とを有し、第1の記憶保持手段および第
3の記憶保持手段に保持された領域データから領域信号
を発生することを特徴とする画像処理装置を提供するも
のである。
In order to achieve the above object, the present invention provides a document reading means for reading a predetermined document,
Document display means for displaying the read document image, area designation means for designating an arbitrary area of the displayed document image,
Image processing means for performing image processing on a specified area; first storage and holding means for storing and holding area data for distinguishing image data in the specified area; Second storage and holding means for storing and holding the processed binarized data; and an arbitrary closed-loop contour is tracked by the binary data held by the second storage and holding means. 3rd to memorize and hold
And an image processing apparatus for generating an area signal from the area data held in the first storage holding means and the third storage holding means.

【0006】以上の構成において、第1の記憶保持手段
は、領域の主走査方向のエッジデータから領域信号を発
生することが望ましく、第3の記憶保持手段は、領域内
に書き込まれているすべてのデータから領域信号を発生
することが望ましい。
In the above configuration, it is preferable that the first storage unit generates the area signal from the edge data of the area in the main scanning direction, and the third storage unit stores all the data written in the area. It is desirable to generate the area signal from the data of the above.

【0007】[0007]

【発明の実施の形態】以下、添付図面を参照しながら、
本発明の実施の形態を詳細に説明する。図1は、本実施
の形態による画像処理装置の全体構成を示すブロック図
である。この画像処理装置は、原稿の画像をR,G,B
のデジタルデータとして読み取るスキャナ101と、ス
キャナ101で読み取った画像データに加工処理等を施
す画像加工処理部102と、画像加工処理部102に画
像データの加工処理等の手順を指示する操作部103
と、画像データや加工処理等の結果の表示および特定の
領域に対して加工処理を施すための領域を指示する表示
/座標指示部104と、画像加工処理部102における
画像データの加工処理等を施すための領域データを保持
する記憶部105と、装置全体の制御を行うCPU10
6と、CPU106によって制御を行なうためのパラメ
ータおよび制御手順等を記憶するROM107と、処理
結果を出力するプリンタ108とで構成されている。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
An embodiment of the present invention will be described in detail. FIG. 1 is a block diagram showing the overall configuration of the image processing apparatus according to the present embodiment. This image processing apparatus converts an image of a document into R, G, B
A scanner 101 for reading as digital data, an image processing unit 102 for performing processing and the like on image data read by the scanner 101, and an operation unit 103 for instructing the image processing unit 102 to perform procedures such as processing of image data
A display / coordinate instructing unit 104 for displaying an image data, a result of processing, and the like, and instructing an area for performing a processing on a specific area, and processing the image data in the image processing unit 102. A storage unit 105 for storing area data to be applied, and a CPU 10 for controlling the entire apparatus.
6, a ROM 107 for storing parameters for controlling by the CPU 106, a control procedure, and the like, and a printer 108 for outputting a processing result.

【0008】図2は、図1における画像加工処理部10
2の詳細な説明図である。図において、図2の破線部分
が図1の画像加工処理部102に相当する。この実施の
形態では、R(レッド),G(グリーン),B(ブル
ー)の3種類の信号を入力して、Y(イエロー),M
(マゼンタ),C(シアン),K(ブラック)の4種類
の信号をプリンタ108により転写紙に記録・出力する
構成の一例を示す。
FIG. 2 shows an image processing unit 10 shown in FIG.
FIG. 2 is a detailed explanatory diagram of FIG. 2, the broken line portion in FIG. 2 corresponds to the image processing unit 102 in FIG. In this embodiment, three types of signals of R (red), G (green), and B (blue) are inputted, and Y (yellow), M
An example of a configuration in which four types of signals (magenta), C (cyan), and K (black) are recorded and output on transfer paper by the printer 108 will be described.

【0009】この画像加工処理部102は、R,G,B
独立に主走査変倍を行なう変倍部201と、R,G,B
のグレーバランスなどγ補正を行なうRGBγ補正部2
02と、レンズ系のぼけなどを補正するために、R,
G,B独立にMTF補正(鮮鋭化)するRGBフィルタ
203と、ミラー,斜体,影付け,中抜き,ペイント,
移動などの画像加工を行なうクリエイト部204と、一
次のマスキング方程式で、R,G,BからY,M,C,
Kにデータの系を変換する色補正部205と、プリンタ
108のMTFに応じてフィルム処理を行なうCMYK
フィルタ206と、プリンタのγ特性に応じてγ補正を
行なうCMYKγ補正部207と、ディザ処理や濃度パ
ターン法により中間調処理を行ないC,M,Y,Kを
C’,M’,Y’,K’(但し、ビット数は、C>
C’、M>M’、Y>Y’、K>K’)に変換する階調
処理部208と、領域毎に処理を切り替える信号を発生
する領域信号発生部209とから構成されている。
The image processing unit 102 includes R, G, B
A scaling unit 201 for independently performing main scanning scaling, and R, G, B
Γ correction unit 2 that performs γ correction such as gray balance
02 and R, in order to correct blurring of the lens system, etc.
An RGB filter 203 for MTF correction (sharpening) independently for G and B, and a mirror, italic, shadowing, hollow, paint,
A create unit 204 that performs image processing such as movement, and a linear masking equation that converts R, G, B to Y, M, C,
A color correction unit 205 that converts a data system into K, and CMYK that performs film processing according to the MTF of the printer 108
A filter 206, a CMYK γ correction unit 207 for performing γ correction in accordance with the γ characteristic of the printer, and performing C, M, Y, K by C ′, M ′, Y ′, K '(however, the number of bits is C>
C ′, M> M ′, Y> Y ′, K> K ′), and an area signal generator 209 which generates a signal for switching processing for each area.

【0010】この画像加工処理部102の各処理の接続
は、変倍部201、RGBγ補正部202、RGBフィ
ルタ203、クリエイト部204、色補正部205、C
MYKフィルタ206、CMYKγ補正部207、階調
処理部208の順に接続されている。
The connection of each process of the image processing unit 102 includes a scaling unit 201, an RGB γ correction unit 202, an RGB filter 203, a create unit 204, a color correction unit 205,
The MYK filter 206, the CMYK γ correction unit 207, and the gradation processing unit 208 are connected in this order.

【0011】なお、図においては、領域信号にかかる部
分を説明するため、領域信号発生部209との接続しか
示していない。
In the figure, only the connection with the area signal generator 209 is shown in order to explain the portion related to the area signal.

【0012】領域信号発生部209は、変倍部201、
記憶部105、CPU107に接続されている。この領
域信号発生部209は、変倍部201に対して、スキャ
ナ101からの画像データに同期して領域信号を発生さ
せる。CPU107に対しては、表示/座標指示部10
4により指定された領域のデータを書き込むための制御
を行い、領域データを記憶部105に保持する。
The area signal generator 209 includes a scaling unit 201,
The storage unit 105 is connected to the CPU 107. The area signal generation unit 209 causes the scaling unit 201 to generate an area signal in synchronization with the image data from the scanner 101. For the CPU 107, the display / coordinate indicating unit 10
The control for writing the data of the area designated by the step 4 is performed, and the area data is stored in the storage unit 105.

【0013】領域信号による処理の切り替えは、例え
ば、領域信号が0番は通常の処理、1番はミラー、2番
は反転などと任意に定義することができる。
The switching of the processing based on the area signal can be arbitrarily defined as, for example, a normal processing is performed when the area signal is No. 0, a mirror is processed when the area signal is No. 1, and an inversion is performed when the area signal is No. 2.

【0014】メモリ210は、原稿画像の特定の領域に
ついて画像処理を施すための領域情報を記憶するための
ビットマップメモリである。また、メモリ210のメモ
リの一部は、表示/座標指示部104への領域処理の結
果を反映するために使用される。領域情報は、原稿画像
の1ドットに対してnビットの情報を持つ。nビットの
情報量は、複数の特定領域が各々の処理を施すとき、領
域を区別することが可能な値となる。つまり、2のn乗
の値が区別可能な値である。8種類の処理を区別する場
合は、2の3乗(3ビット)により0から7の領域デー
タを表すことができる。区別すべき処理領域が多けれ
ば、それだけメモリ容量が必要となる。例えば、原稿画
像のサイズがA3(297mm×420mm)、密度が
16画素/mm、指定領域が8種類の処理を施すために
は、メモリ容量は32×3Mbit必要となる。
The memory 210 is a bitmap memory for storing area information for performing image processing on a specific area of a document image. A part of the memory of the memory 210 is used to reflect the result of the area processing on the display / coordinate instruction unit 104. The area information has n bits of information for one dot of the document image. The n-bit information amount is a value that allows the regions to be distinguished when a plurality of specific regions perform respective processes. That is, a value of 2 n is a distinguishable value. When the eight types of processing are distinguished, the area data from 0 to 7 can be represented by 2 to the third power (3 bits). The more processing areas to be distinguished, the more memory capacity is required. For example, a memory capacity of 32 × 3 Mbit is required to perform processing of a document image size of A3 (297 mm × 420 mm), a density of 16 pixels / mm, and a designated area of eight types.

【0015】次に、領域信号を発生させる場合について
説明する。領域信号を発生させる処理は2つあり、1つ
は、領域の主走査方向のエッジのみのデータから領域デ
ータを発生させる場合と、もう1つは、領域内すべてが
データとして書かれているものをそのまま発生せる場合
である。
Next, a case where a region signal is generated will be described. There are two processes for generating an area signal. One is for generating area data from only data in the edge of the area in the main scanning direction, and the other is for processing the entire area as data. Is generated as it is.

【0016】まず、領域の主走査方向のエッジのみのデ
ータから領域データを発生させる場合について説明す
る。スキャナ101からの原稿画像データは、表示/座
標指示部104に表示される。原稿画像データの任意の
範囲に対して加工処理を行う場合、表示/座標指示部1
04からその領域を図3(a)のように指定する。ここ
で、指定した領域内302と領域外301について各種
の画像処理を施すため、区別するための領域信号を発生
させることが必要となる。このため、指定した領域が領
域内302と領域外301で異なる番号をビットマップ
メモリに書き込み記憶する。記憶する方法としては、図
3(b)に示すように領域の主走査方向のエッジ303
のみをメモリに書き込み、ハード処理により領域内30
2と領域外301とを区別する信号を発生する。
First, the case where the area data is generated from the data of only the edge in the main scanning direction of the area will be described. Original image data from the scanner 101 is displayed on the display / coordinate instruction unit 104. When processing is performed on an arbitrary range of the original image data, the display / coordinate indicating unit 1
From 04, the area is designated as shown in FIG. Here, in order to perform various types of image processing on the designated area 302 and outside area 301, it is necessary to generate an area signal for discrimination. For this reason, different numbers are written in the bitmap memory for the designated area 302 between the inside area 302 and the outside area 301 and stored. As a storage method, as shown in FIG. 3B, the edge 303 in the main scanning direction of the area is used.
Only in the memory, and 30
2 and a signal for distinguishing the area 301 from the outside.

【0017】例えば、領域として“1”の情報をもつデ
ータをビットマップメモリに記憶する場合は、図4
(a)に示すように領域内302の主走査方向のエッジ
303のみが領域データとして記憶される(なお、図4
は指定した領域の一部を示したものである)。ここで、
格子1つが1ドットに対応し、領域を区別できる容量を
もつ。図中では示していないが、空欄は“0”データで
ある。記憶された領域データは、処理時に主走査方向へ
順に読み出し、1ライン読み終えると副走査方向へ1つ
ずれ、また主走査方向へ順に読み出す。
For example, when data having information of "1" as an area is stored in the bit map memory, the data shown in FIG.
As shown in FIG. 4A, only the edge 303 of the area 302 in the main scanning direction is stored as area data (see FIG. 4).
Indicates a part of the specified area). here,
One lattice corresponds to one dot, and has a capacity to distinguish regions. Although not shown in the figure, blanks are "0" data. The stored area data is sequentially read out in the main scanning direction at the time of processing, and after one line has been read, the data is shifted by one in the sub-scanning direction and read out sequentially in the main scanning direction.

【0018】このように、読み出したデータが“0”以
外のときは領域データであるため、その領域データが表
す領域番号を変化させる。即ち、図4(b)に示すよう
に、領域信号がHiであるときは、Lowに変化させ、
LowであるときはHiに変化させる。このようにし
て、各領域番号毎に信号を発生する。ここで、領域外は
“0”となる。但し、“0”データに関してはこの処理
は行わない。
As described above, when the read data is other than "0", the data is area data, and the area number represented by the area data is changed. That is, as shown in FIG. 4B, when the area signal is Hi, it is changed to Low,
When it is Low, it is changed to Hi. Thus, a signal is generated for each area number. Here, outside the area is “0”. However, this process is not performed on the “0” data.

【0019】次に、領域内すべてがデータとして書かれ
ているものをそのまま発生せる場合について説明する。
前述したように、領域信号を発生させるためのメモリと
して、このようなエッジデータより領域データに変換し
出力するもの以外に、領域内すべてに書き込まれている
データをそのまま出力するものがある。図5は、そのメ
モリの構成図である。図において、501は領域データ
を書き込む制御と全体の制御を行うCPUであり、50
2はスキャナである。領域信号発生部503は領域信号
を発生し、メモリ504,505,506を制御する。
Next, description will be made on a case where a data in which the entire area is written as data is generated as it is.
As described above, as a memory for generating an area signal, there is a memory that converts the edge data into area data and outputs the data, and outputs the data written in the entire area as it is. FIG. 5 is a configuration diagram of the memory. In the figure, a CPU 501 performs control for writing area data and overall control.
2 is a scanner. The area signal generation unit 503 generates an area signal and controls the memories 504, 505, and 506.

【0020】図6は、メモリに領域データを書き込むま
での処理の流れを示すフローチャートである。ここで
は、矩形領域と閉ループ処理を行なう場合を例として、
図5を参照しながら説明する。
FIG. 6 is a flowchart showing the flow of processing until the area data is written to the memory. Here, as an example, a case where a closed loop process is performed with a rectangular area will be described.
This will be described with reference to FIG.

【0021】まず、ステップ601において、加工処理
を選択するメニューから領域処理を選択する。ステップ
602において、領域指定方法を選択し、その指定方法
が閉ループ処理であるか否か判断する。領域指定方法と
しては、例えば、対角2点、直角多角形、矩形、閉ルー
プなどがある。これらから、オペレータが閉ループ処理
を選択したかを判断する。領域指定方法を選択すると、
表示部(図示せず)に原稿画像データを表示する。
First, in step 601, an area process is selected from a menu for selecting a processing process. In step 602, a region designation method is selected, and it is determined whether the designation method is a closed loop process. Examples of the area designating method include two diagonal points, a right polygon, a rectangle, and a closed loop. From these, it is determined whether the operator has selected the closed loop processing. If you select the area specification method,
The document image data is displayed on a display unit (not shown).

【0022】ステップ602で閉ループ処理以外を選択
した場合(NOの判断)、ステップ603において、オ
ペレータが表示部(図示せず)に表示された画像データ
から処理を施したい領域を指示する。これにより指示さ
れた領域をメモリ506に記憶する。領域は、矩形ある
いは直角多角形等であるため解像度として100dpi
×100dpi程度で十分である。よって、メモリ50
6は、サイズがA3、解像度が100×100dpi、
区別する領域の数が16領域(4bit)のとき512
KBの容量となる。そして、ステップ604において、
メモリ506に領域内を塗り潰した形で領域データを書
き込む。メモリ506に書き込まれた領域データは、表
示部に反映されその処理結果が確認できる。これにより
領域データの処理結果と表示部(図示せず)の表示を同
一の結果とすることができる。
If a process other than the closed loop process is selected in step 602 (determination of NO), in step 603, the operator designates a region to be processed from the image data displayed on the display unit (not shown). Thus, the designated area is stored in the memory 506. Since the area is a rectangle or a right-angled polygon, the resolution is 100 dpi.
About 100 dpi is sufficient. Therefore, the memory 50
6, the size is A3, the resolution is 100 × 100 dpi,
512 when the number of areas to be distinguished is 16 areas (4 bits)
KB capacity. Then, in step 604,
The area data is written into the memory 506 in a form in which the area is filled. The area data written in the memory 506 is reflected on the display unit, and the processing result can be confirmed. As a result, the same result can be obtained for the processing result of the area data and the display on the display unit (not shown).

【0023】一方、ステップ602で閉ループ処理を選
択した場合(YESの判断)、ステップ605におい
て、スキャナ502により原稿を読み取る。そして、ス
テップ606において、ステップ605で読み取った原
稿の画像データの2値化処理を行う。ステップ607で
は、2値化処理後のデータをメモリ505に書き込み、
ステップ608において、オペレータが読み取った原稿
中の閉ループを指定する。ステップ609においては、
指定された閉ループの輪郭をメモリ505のデータによ
り輪郭線追跡を行い、ステップ610においては、この
輪郭線追跡した輪郭を領域データとしてメモリ504お
よびメモリ506に書き込む。
On the other hand, when the closed loop processing is selected in step 602 (determination of YES), in step 605, the original is read by the scanner 502. Then, in step 606, the image data of the document read in step 605 is binarized. In step 607, the data after the binarization processing is written to the memory 505,
In step 608, the operator specifies a closed loop in the read original. In step 609,
The contour of the designated closed loop is traced by using the data in the memory 505. In step 610, the contour traced by the contour is written to the memories 504 and 506 as area data.

【0024】原稿の閉ループは、曲線を含むため解像度
が低いと目立つ。これを避けるため、解像度の高いデー
タとして2値化したデータを蓄えるメモリ505と閉ル
ープ領域の領域データを記憶するメモリ504は、A3
サイズで400×200dpiの解像度としてそれぞれ
2MBの容量が必要となる。
A closed loop of a document includes a curve and is conspicuous when the resolution is low. In order to avoid this, the memory 505 for storing binarized data as high-resolution data and the memory 504 for storing area data of the closed-loop area are A3
Each requires a capacity of 2 MB as a resolution of 400 × 200 dpi.

【0025】このように、領域データを蓄えたメモリ5
04とメモリ506から領域信号発生部503により領
域信号を発生させる。発生した領域信号は、図7に示す
ような回路により処理される。図7のデコーダ701は
メモリ506に蓄えられたデータを読み出しデコードを
行う。例えば、1ドットが4ビットの情報量であると
き、0から15の信号として16本の信号が後段に接続
される。データ変換部702は、メモリ504のデータ
を読み出し、予め設定されている特定のデータ番号71
0に変換し、コード変換部706により上述のエッジデ
ータから領域データに変換するように処理される。
As described above, the memory 5 storing the area data
An area signal is generated by the area signal generator 503 from the memory 04 and the memory 506. The generated area signal is processed by a circuit as shown in FIG. A decoder 701 shown in FIG. 7 reads out and decodes data stored in the memory 506. For example, when one dot has an information amount of 4 bits, 16 signals are connected to the subsequent stage as signals of 0 to 15. The data conversion unit 702 reads the data in the memory 504 and sets a specific data number 71 set in advance.
The data is converted to 0, and is processed by the code conversion unit 706 so as to convert the edge data into the area data.

【0026】AND回路704でそれぞれのメモリ50
4、メモリ506からデータ変換とデコードした信号の
同番号となる信号線のANDをとった結果は、閉ループ
データとして優先順位判定部707へ入力される。AN
D回路704のAND処理を図8により説明する。
The AND circuit 704 controls each of the memories 50
4. The result of ANDing the signal lines having the same number of the data converted and decoded signals from the memory 506 is input to the priority determining unit 707 as closed loop data. AN
The AND processing of the D circuit 704 will be described with reference to FIG.

【0027】図8(a)の801はメモリ506に記憶
された領域データの状態であり、閉ループ部分(A)と
それ以外の領域(B)である。網がかかっている格子部
分に領域データが書き込まれている。白い格子は領域デ
ータが無いものとする。同様に802は、メモリ504
に記憶された領域データの状態であり、閉ループ部分で
ある。図8(b)に示すように、803の位置での領域
データは、それぞれメモリ506からは804のように
信号が発生され、メモリ504からは805のように発
生する。805は、上述のようにエッジのみの領域デー
タから領域信号が作成され806のような信号を発生す
る。804と806のAND703の結果は807のよ
うな信号となる。これが優先順位判定部706へ入力さ
れ、優先順位に従い領域信号を発生する。
FIG. 8A shows a state 801 of the area data stored in the memory 506, which is a closed loop part (A) and other areas (B). The area data is written in the grid portion where the screen is shaded. The white grid has no area data. Similarly, 802 is a memory 504
Is the state of the area data stored in the area, and is a closed loop part. As shown in FIG. 8B, a signal is generated from the memory 506 as shown at 804 and a signal is generated from the memory 504 as shown at 805 for the area data at the position 803. In step 805, an area signal is generated from the area data of only the edge as described above, and a signal 806 is generated. The result of AND 703 between 804 and 806 is a signal like 807. This is input to the priority determination unit 706, and a region signal is generated according to the priority.

【0028】一方、メモリ506からのデータは、閉ル
ープの番号である特定のデータ番号710はデコーダ7
03においてデコードされ、AND回路705で信号の
反転とANDを行い優先順位判定部707へ入力され
る。デコーダ703では、領域データが4ビット(16
種類)の場合、デコードされ16信号となる。これらの
メモリ504とメモリ506からの信号が領域信号とし
て優先順位判定部707に入力され、予め設定された優
先順位に従い領域データ信号となる。その結果、図8
(c)に示すような領域データ808が得られる。
On the other hand, the data from the memory 506 has a specific data number
The signal is decoded at step 03, and is inverted and ANDed by an AND circuit 705, and is input to a priority determination unit 707. In the decoder 703, the area data is 4 bits (16 bits).
Type), it is decoded into 16 signals. The signals from these memories 504 and 506 are input to the priority determination unit 707 as area signals, and become area data signals in accordance with a preset priority. As a result, FIG.
Area data 808 as shown in (c) is obtained.

【0029】[0029]

【発明の効果】以上説明したとおり、本発明の画像処理
装置によれば、領域データを保持するメモリを領域デー
タの形状にあわせて、低解像度のメモリと高解像度のメ
モリとに使い分けるようにしたので、メモリ容量を減ら
しつつ処理速度を向上させることができ、また、複雑な
図形の領域データの作成も容易となる。
As described above, according to the image processing apparatus of the present invention, the memory holding the area data is selectively used as the low-resolution memory and the high-resolution memory in accordance with the shape of the area data. Therefore, the processing speed can be improved while reducing the memory capacity, and the creation of complicated graphic area data becomes easy.

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

【図1】全体構成の説明図である。FIG. 1 is an explanatory diagram of an overall configuration.

【図2】画像処理部詳細ブロックの説明図である。FIG. 2 is an explanatory diagram of a detailed block of an image processing unit.

【図3】(a)は領域指定の説明図であり、(b)は領
域データの説明図である。
FIG. 3A is an explanatory diagram of area designation, and FIG. 3B is an explanatory diagram of area data.

【図4】(a)はビットマップに書き込まれた領域デー
タの状態説明図であり、(b)は領域信号発生の説明図
である。
4A is an explanatory diagram of a state of area data written in a bit map, and FIG. 4B is an explanatory view of generation of an area signal.

【図5】メモリ構成の説明図である。FIG. 5 is an explanatory diagram of a memory configuration.

【図6】メモリに領域データを書き込むまでの処理の流
れを示すフローチャートである。
FIG. 6 is a flowchart showing a flow of processing until writing area data in a memory.

【図7】領域データ発生回路を説明するための図であ
る。
FIG. 7 is a diagram illustrating an area data generation circuit.

【図8】領域データの処理を説明するための図である。FIG. 8 is a diagram for explaining processing of area data.

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

101 スキャナ 102 画像加工処理部 103 操作部 104 表示/座標指示部 105 記憶部 106 CPU 107 ROM 108 プリンタ 201 変倍部 202 RGBγ補正部 203 RGBフィルタ 204 クリエイト部 205 色補正部 206 CMYKフィルタ 207 CMYKγ補正部 208 階調処理部 209 領域信号発生部 210 メモリ 211 CPU 301 領域外 302 領域内 303 領域データ 501 CPU 502 スキャナ 503 領域信号発生部 504、505、506 メモリ 701 デコーダ 702 データ変換部 703 デコーダ 704 閉ループの信号のAND回路 705 閉ループ以外の信号のAND回路 706 コード変換部 707 優先順位判定部 801 メモリ3のデータ保持状態 802 メモリ1のデータ保持状態 804、805 メモリからのデータ 806 エッジデータの領域信号変換の出力 807 2つのメモリからのデータを合成した領域信号 808 結果 Reference Signs List 101 scanner 102 image processing unit 103 operation unit 104 display / coordinate instruction unit 105 storage unit 106 CPU 107 ROM 108 printer 201 scaling unit 202 RGBγ correction unit 203 RGB filter 204 create unit 205 color correction unit 206 CMYK filter 207 CMYKγ correction unit 208 gradation processing section 209 area signal generation section 210 memory 211 CPU 301 outside area 302 inside area 303 area data 501 CPU 502 scanner 503 area signal generation section 504, 505, 506 memory 701 decoder 702 data conversion section 703 decoder 704 signal of closed loop 705 AND circuit for signals other than the closed loop 706 Code conversion unit 707 Priority determination unit 801 Data holding state of memory 3 802 Data of memory 1 Data holding state 804, 805 Data from memory 806 Output of edge signal area signal conversion 807 Area signal obtained by combining data from two memories 808 Result

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定の原稿を読み取る原稿読取手段と、 前記読み取った前記原稿画像を表示する原稿表示手段
と、 前記表示された原稿画像の任意の領域を指定する領域指
定手段と、 前記指定された領域に対して画像加工処理を施す画像加
工処理手段と、 前記指定した領域内の画像データを区別するための領域
データを記憶保持する第1の記憶保持手段と、 前記原稿画像を2値化処理した2値化データを記憶保持
する第2の記憶保持手段と、 前記第2の記憶保持手段に保持されている前記2値化デ
ータにより任意の閉ループの輪郭を追跡して、前記追跡
した輪郭を領域データとして記憶保持する第3の記憶保
持手段とを有し、 前記第1の記憶保持手段および前記第3の記憶保持手段
に保持された前記領域データから領域信号を発生するこ
とを特徴とする画像処理装置。
An original reading unit that reads a predetermined original; an original displaying unit that displays the read original image; an area specifying unit that specifies an arbitrary area of the displayed original image; Image processing means for performing image processing on the selected area; first storage and holding means for storing and holding area data for distinguishing image data in the specified area; binarizing the document image A second storage unit for storing and holding the processed binarized data; and an arbitrary closed-loop outline is tracked by the binarized data held in the second storage unit. And a third storage unit for storing and holding as area data, and generating an area signal from the area data stored in the first storage unit and the third storage unit. The image processing apparatus according to claim.
【請求項2】 前記第1の記憶保持手段は、前記領域の
主走査方向のエッジデータから前記領域信号を発生する
ことを特徴とする請求項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the first storage unit generates the area signal from edge data of the area in the main scanning direction.
【請求項3】 前記第3の記憶保持手段は、前記領域内
に書き込まれているすべてのデータから前記領域信号を
発生することを特徴とする請求項1に記載の画像処理装
置。
3. The image processing apparatus according to claim 1, wherein the third storage unit generates the area signal from all data written in the area.
JP12815098A 1998-04-21 1998-04-21 Image processor Pending JPH11308439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12815098A JPH11308439A (en) 1998-04-21 1998-04-21 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12815098A JPH11308439A (en) 1998-04-21 1998-04-21 Image processor

Publications (1)

Publication Number Publication Date
JPH11308439A true JPH11308439A (en) 1999-11-05

Family

ID=14977630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12815098A Pending JPH11308439A (en) 1998-04-21 1998-04-21 Image processor

Country Status (1)

Country Link
JP (1) JPH11308439A (en)

Similar Documents

Publication Publication Date Title
JPH01184581A (en) Document image processor
US7633508B2 (en) Data transfer apparatus
JP2578170B2 (en) Image display device
US5195175A (en) Image synthesizing system
JPH07322057A (en) Increase of resolution of binary input picture and its increasing device together with improvement of appearance ofbinary input picture
US5563713A (en) Image processing method and apparatus with adding of a white outline to an outline of a character image
JPH04134570A (en) Reduced picture generator
JPH05342314A (en) Picture processor
JPH11308439A (en) Image processor
JPH08123939A (en) Picture processor
JP4200369B2 (en) Image converter
JPH10285387A (en) Image-processing unit
JP4126827B2 (en) Image forming apparatus
JP3477658B2 (en) Image processing device
JP2885890B2 (en) Recording control device
JP3775458B2 (en) Image processing apparatus and image smoothing method
JP2004320361A (en) Image processor and image processing method
JP2002290709A (en) Image processor
JP3039657B2 (en) Image processing device
JPH11289449A (en) Picture processor
JPH10126612A (en) Pixel high speed interpolating system for enlarged picture and image processor
JP2001157020A (en) Image processor
JPH04339470A (en) Image synthesizer
JP2001157021A (en) Image processor
JP2001144948A (en) Image processing unit