JP3009483B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3009483B2
JP3009483B2 JP2412101A JP41210190A JP3009483B2 JP 3009483 B2 JP3009483 B2 JP 3009483B2 JP 2412101 A JP2412101 A JP 2412101A JP 41210190 A JP41210190 A JP 41210190A JP 3009483 B2 JP3009483 B2 JP 3009483B2
Authority
JP
Japan
Prior art keywords
data
processing
line memory
contour
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 - Lifetime
Application number
JP2412101A
Other languages
Japanese (ja)
Other versions
JPH04218879A (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 JP2412101A priority Critical patent/JP3009483B2/en
Publication of JPH04218879A publication Critical patent/JPH04218879A/en
Application granted granted Critical
Publication of JP3009483B2 publication Critical patent/JP3009483B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、所定の画像入力手段を
介して入力した画像データを2値データに変換し、中ウ
メ処理,輪郭処理,かげ付け処理等の画像処理を施す画
像処理装置に関し、より詳細には、簡単な構成でライン
メモリの使用効率を向上させる画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for converting image data input through a predetermined image input means into binary data and performing image processing such as medium pit processing, contour processing and shading processing. More particularly, the present invention relates to an image processing apparatus that improves the efficiency of using a line memory with a simple configuration.

【0002】[0002]

【従来の技術】一般に、画像処理装置における2値処理
後の画像処理として、例えば、中ウメ処理,輪郭処理,
平カゲ処理,立体カゲ処理,中ウメ・立体カゲ処理,輪
郭・立体カゲ処理,輪郭・平カゲ処理等が行われてい
る。これらの処理は基本的に輪郭処理とカゲツケ処理の
組み合わせによって実現されており、画像処理に使用す
るメモリとしては、輪郭処理用メモリとカゲツケ処理用
メモリの2個のメモリが使用されている。
2. Description of the Related Art Generally, image processing after binary processing in an image processing apparatus includes, for example, medium ume processing, contour processing,
Flat lizard processing, solid lizard processing, medium ume / solid lizard processing, contour / solid lizard processing, contour / flat lizard processing, and the like are performed. These processes are basically realized by a combination of the outline processing and the shadow processing. As memories used for image processing, two memories, an outline processing memory and a shadow processing memory, are used.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
画像処理装置によれば、輪郭処理用メモリとカゲツケ処
理用メモリをそれぞれ独立して使用する構成であるた
め、例えば、画像処理として輪郭処理や中ウメ処理等を
行う場合には、ガケツケ処理用メモリが使用されず、逆
に、平カゲ処理や立体カゲ処理等を行う場合には、輪郭
処理用メモリが使用されず、それぞれのメモリが十分に
生かされない場合が多いという問題点、換言すれば、メ
モリの使用効率が悪いという問題点があった。
However, according to the conventional image processing apparatus, since the memory for contour processing and the memory for ruggedness processing are used independently of each other, for example, contour processing or medium processing is used as image processing. When performing ume processing or the like, the memory for slash processing is not used. Conversely, when performing flat or three-dimensional processing, the memory for contour processing is not used, and each memory is sufficiently used. There is a problem in that the memory is often not utilized, in other words, there is a problem that the use efficiency of the memory is poor.

【0004】本発明は上記に鑑みてなされたものであっ
て、効率良くメモリを使用することを目的とする。
The present invention has been made in view of the above, and has as its object to use a memory efficiently.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1に係る画像処理装置は、入力された画像
データに画像処理をする画像処理装置において、前記入
力された画像データを記憶するラインメモリと、複数の
異なる画像処理の内容に基づいて領域データを発生する
領域発生手段と、複数の異なるデータ形式で前記画像デ
ータを前記ラインメモリに書き込み又は読み出しする制
御手段と、前記領域データに基づき前記画像データに複
数の異なる色付け処理をする色付け処理手段と、を備え
たものである。
According to a first aspect of the present invention, there is provided an image processing apparatus for performing image processing on input image data. A line memory for storing, area generating means for generating area data based on a plurality of different image processing contents, control means for writing or reading the image data to or from the line memory in a plurality of different data formats; and Coloring means for performing a plurality of different coloring processes on the image data based on the data.

【0006】また、請求項2に係る画像処理装置は、所
定の画像入力手段を介して入力した画像データを2値デ
ータに変換し、中ウメ処理,輪郭処理,かげ付け処理等
の画像処理を施す画像処理装置において、2値データを
記憶するラインメモリと、ラインメモリを用いてN×N
のマトリック論理演算により2値データの輪郭データを
求める輪郭データ演算手段と、ラインメモリを用いて2
値データを右45度に移動してカゲデータを生成するカ
ゲデータ生成手段と、中ウメ処理,輪郭処理,かげ付け
処理等の画像処理の内容に基づいて、ラインメモリ内に
おける輪郭データ演算手段で使用する領域,及び,ライ
ンメモリ内におけるカゲデータ生成手段で使用する領域
のメモリサイズを変更するメモリ領域変更手段とを備え
たものである。
According to a second aspect of the present invention, an image processing apparatus converts image data input through a predetermined image input unit into binary data, and performs image processing such as medium ume processing, contour processing, and shading processing. In the image processing apparatus to be applied, a line memory for storing binary data and N × N
Contour data calculation means for obtaining contour data of binary data by a matrix logical operation of
It is used by the kage data generation means for moving the value data to the right by 45 degrees to generate kage data, and the outline data calculation means in the line memory based on the contents of image processing such as medium burr processing, outline processing and shading processing. And memory area changing means for changing the memory size of the area and the area used by the kage data generation means in the line memory.

【0007】また、請求項3に係る画像処理装置は、所
定の画像入力手段を介して入力した画像データを2値デ
ータに変換し、中ウメ処理,輪郭処理,かげ付け処理等
の画像処理を施す画像処理装置において、2値データを
記憶するラインメモリと、ラインメモリを用いてN×N
のマトリック論理演算により2値データの輪郭データを
求める輪郭データ演算手段と、ラインメモリを用いて2
値データを右45度に移動してカゲデータを生成するカ
ゲデータ生成手段と、中ウメ処理,輪郭処理,かげ付け
処理等の画像処理の内容に基づいて、ラインメモリへの
書き込み形式及びラインメモリからの読み出し形式を変
更するラインメモリ・アクセス制御手段とを備えたもの
である。
According to a third aspect of the present invention, there is provided an image processing apparatus which converts image data input through a predetermined image input means into binary data, and performs image processing such as medium stalk processing, contour processing, and shading processing. In the image processing apparatus to be applied, a line memory for storing binary data and N × N
Contour data calculation means for obtaining contour data of binary data by a matrix logical operation of
A kage data generation means for generating kage data by moving the value data to the right 45 degrees, and a writing format to the line memory and a format from the line memory based on the contents of image processing such as medium burr processing, contour processing and shading processing. Line memory access control means for changing the read format.

【0008】[0008]

【作用】本発明の画像処理装置において、色付け処理手
段は、領域発生手段で発生させた領域データに基づき、
各画像データに複数の異なる色付け処理をし、制御手段
は、領域発生手段で発生させた領域データに基づき複数
の異なるデータ形式で画像データをラインメモリに書き
込み又は読み出しする。
In the image processing apparatus according to the present invention, the coloring processing means is based on the area data generated by the area generating means.
A plurality of different coloring processes are performed on each image data, and the control unit writes or reads the image data to or from the line memory in a plurality of different data formats based on the region data generated by the region generation unit.

【0009】また、本発明の画像処理装置において、メ
モリ領域変更手段は、中ウメ処理,輪郭処理,かげ付け
処理等の画像処理の内容に基づいて、ラインメモリ内に
おける輪郭データ演算手段で使用する領域,及び,ライ
ンメモリ内におけるカゲデータ生成手段で使用する領域
のメモリサイズを変更する。
In the image processing apparatus according to the present invention, the memory area changing means is used by the contour data calculating means in the line memory based on the contents of the image processing such as the medium pit processing, the contour processing, and the shading processing. The memory size of the area and the area used by the kage data generation means in the line memory is changed.

【0010】また、本発明の画像処理装置において、ラ
インメモリ・アクセス制御手段は、中ウメ処理,輪郭処
理,かげ付け処理等の画像処理の内容に基づいて、ライ
ンメモリへの書き込み形式及びラインメモリからの読み
出し形式を変更する。
In the image processing apparatus according to the present invention, the line memory access control means includes a writing format for the line memory and a line memory based on the contents of the image processing such as the middle-size processing, the contour processing, and the shading processing. Change the read format from.

【0011】[0011]

【実施例】以下、本発明の画像処理装置を図面に基づい
て詳細に説明する。図1は本発明の画像処理装置の基本
構成のブロック図を示し、大別して、CCDセンサ等か
らなる画像読み取り部100と、画像読み取り部100
を介して入力した入力画像データに所定の画像処理を施
す画像処理部200と、画像処理部200で画像処理を
施した出力画像データをレーザープリンタ等を介して出
力する画像記録部300とから構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing apparatus according to the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a basic configuration of an image processing apparatus according to the present invention. The image reading unit 100 includes a CCD sensor and the like.
An image processing unit 200 that performs predetermined image processing on input image data input through the image processing unit 200, and an image recording unit 300 that outputs output image data that has been subjected to image processing by the image processing unit 200 via a laser printer or the like. Is done.

【0012】図2は、画像処理部200における種々の
画像処理のうち、本発明に関する画像処理を施す部分の
構成のみを抜き出したブロック図を示し、画像読み取り
部100を介して入力した多値の入力画像データを2値
化する2値処理部201と、画像処理の内容に基づいて
後述する領域データを発生する領域発生部202と、2
値処理部201で2値化した画像データ(以下、2値デ
ータと記載する),及び,領域データに基づいて、輪郭
データ及びカゲデータを出力する画像加工部203と、
入力画像データ,領域データ,輪郭データ,及び,カゲ
データに基づいて最終的な出力画像データを作成する色
付部204とを備えている。
FIG. 2 is a block diagram showing only a configuration of a portion for performing image processing according to the present invention out of various types of image processing in the image processing section 200. A binary processing unit 201 for binarizing input image data, an area generating unit 202 for generating area data to be described later based on the content of image processing,
An image processing unit 203 that outputs outline data and lizard data based on the image data binarized by the value processing unit 201 (hereinafter, referred to as binary data) and the region data;
A coloring section 204 for creating final output image data based on the input image data, the area data, the contour data, and the kage data.

【0013】領域発生部202は、前述したように画像
処理の内容に基づいて領域データを発生する。ここで、
図3(a)〜(h)を参照して、本実施例で行う画像処
理の種類を示す。(a)は入力した画像データをそのま
ま出力する場合を示し(以下、処理なしと記載する)、
(b)は画像データの輪郭データを作成し、その中心部
分を中ウメデータとして色付けする中ウメ処理、(c)
は画像データの輪郭部分を輪郭データとして作成する輪
郭処理、(d)は画像データのカゲを作成する平カゲ処
理、(e)は画像データのカゲを立体的に作成する立体
カゲ処理、(f)は画像データに対して中ウメ処理と立
体カゲ処理を合わせて行う中ウメ・立体カゲ処理、
(g)は画像データに対して輪郭処理と立体カゲ処理を
合わせて行う輪郭・立体カゲ処理、(h)は画像データ
に対して輪郭処理と平カゲ処理を合わせて行う輪郭・平
カゲ処理である。
The area generating section 202 generates area data based on the contents of the image processing as described above. here,
With reference to FIGS. 3A to 3H, types of image processing performed in the present embodiment will be described. (A) shows a case where the input image data is output as it is (hereinafter referred to as no processing),
(B) Medium ume processing for creating outline data of image data and coloring the center portion as medium ume data, (c)
Is a contour processing for creating a contour part of image data as contour data, (d) is a flat key processing for creating a key of the image data, (e) is a three-dimensional key processing for creating a key of the image data three-dimensionally, (f) ) Is a medium plum / stereoscopic processing that combines medium plumage processing and three-dimensional
(G) is a contour / solid kage process in which contour processing and three-dimensional key processing are performed on image data, and (h) is a contour / flat key process in which contour processing and flat key processing are performed on image data. is there.

【0014】領域発生部202は、操作パネル(詳細は
省略する)等の入力手段を介して前述した処理が指定さ
れると、表1に示すように領域データを発生する。尚、
本実施例では領域データを3ビットで構成した場合を例
をする。
When the above-described processing is designated through input means such as an operation panel (details are omitted), the area generating section 202 generates area data as shown in Table 1. still,
In the present embodiment, a case where the area data is composed of 3 bits will be described as an example.

【0015】[0015]

【表1】 [Table 1]

【0016】次に、図4を参照して、本発明の主要部と
なる画像加工部203のブロック図を示す。画像加工部
203は、N×Nのマトリック論理演算により2値デー
タの輪郭データを求める輪郭処理部205と、2値デー
タを右45度に移動してカゲデータを生成するカゲ処理
部206と、後述するラインメモリ207bを有し、領
域発生部202の領域データに基づいて、ラインメモリ
207b内における輪郭処理部205で使用する領域,
及び,カゲ処理部206で使用する領域のメモリサイズ
を変更する機能を有したラインメモリ部207とから構
成される。
Next, with reference to FIG. 4, a block diagram of the image processing unit 203 which is a main part of the present invention is shown. The image processing unit 203 includes an outline processing unit 205 that obtains outline data of binary data by an N × N matrix logic operation, a kage processing unit 206 that moves the binary data to the right by 45 degrees to generate kage data, A line memory 207b to be used by the contour processing unit 205 in the line memory 207b based on the area data of the area generating unit 202;
And a line memory unit 207 having a function of changing the memory size of an area used by the lizard processing unit 206.

【0017】更に、詳細には、輪郭処理部205は図5
に示す構成であり、カゲ処理部206は図7に示す構成
であり、ラインメモリ部207は図11及び図12に示
す構成である。
Further, in more detail, the contour processing unit 205
, The lizard processing unit 206 has the configuration shown in FIG. 7, and the line memory unit 207 has the configuration shown in FIG. 11 and FIG.

【0018】図5に示すように、輪郭処理部205にお
いて、3ビットの領域データが回路205dに入力され
ると、領域データが「0」ならば端子Y0から信号が出
力され、領域データが「1」ならば端子Y1から信号が
出力され、同様に「2」ならば端子Y2、「3」ならば
端子Y3、「4」ならば端子Y4、「5」ならば端子Y
5、「6」ならば端子Y6、「7」ならば端子Y7から
信号が出力される。ここでは、図示の如く、回路205
dから外部へ出力される端子はY1及びY2のみであ
り、領域データが「1」或いは「2」の時のみ回路20
5dから信号が出力される。
As shown in FIG. 5, in the contour processing unit 205, when 3-bit area data is input to the circuit 205d, if the area data is "0", a signal is output from the terminal Y0 and the area data is "0". If "1", a signal is output from terminal Y1, similarly if "2", terminal Y2, if "3", terminal Y3, if "4", terminal Y4, if "5", terminal Y
5, if "6", a signal is output from terminal Y6; if "7", a signal is output from terminal Y7. Here, as shown in FIG.
Only the terminals Y1 and Y2 output to the outside from "d" are output from the circuit 20 only when the area data is "1" or "2".
A signal is output from 5d.

【0019】輪郭幅セレクトP0 (205c)は、輪郭
処理部205における輪郭データの輪郭幅を決定するた
めのものであり、操作パネル等の入力手段(図示せず)
からの信号に基づいて、輪郭幅を2または4に設定す
る。但し、画像処理内容が輪郭+カゲの場合には輪郭幅
は自動的に2に設定される。回路205dの出力と、輪
郭幅セレクトP0 (205c)の出力とに基づいて、セ
レクタ205a及びセレクタ205bの出力が選択され
る。
The contour width select P 0 (205c) is for determining the contour width of the contour data in the contour processing unit 205, and is an input means (not shown) such as an operation panel.
The contour width is set to 2 or 4 based on the signal from. However, if the content of the image processing is “contour + kage”, the contour width is automatically set to “2”. The outputs of the selectors 205a and 205b are selected based on the output of the circuit 205d and the output of the contour width select P 0 (205c).

【0020】セレクタ205aの入力側には、詳細は省
略するがAND回路,OR回路,及び,FlipFlo
p回路(図中にFで記載)で構成された細らせ回路が配
設されており、セレクタ205bの入力側には、AND
回路,OR回路,及び,FlipFlop回路で構成さ
れた太らせ回路が配設されている。
Although not described in detail, an AND circuit, an OR circuit, and a FlipFlo are provided on the input side of the selector 205a.
A narrowing circuit composed of a p circuit (denoted by F in the figure) is provided, and an AND side is provided on the input side of the selector 205b.
A fattening circuit composed of a circuit, an OR circuit, and a FlipFlop circuit is provided.

【0021】本実施例では、図示の如く、細らせ回路及
び太らせ回路に2値データとラインメモリ部207から
の輪郭用FIFO OUTを入力することにより、2種
の細らせデータと、2種の太らせデータを生成する。こ
こでは、副走査方向の処理後、主走査方向の処理を行う
矩形パターンである。
In this embodiment, as shown in the figure, by inputting the binary data and the outline FIFO OUT from the line memory unit 207 to the thinning circuit and the thickening circuit, two types of thinning data are obtained. Two types of fat data are generated. Here, it is a rectangular pattern that performs processing in the main scanning direction after processing in the sub-scanning direction.

【0022】その後、セレクタ205a及びセレクタ2
05bにより、出力が選択され、輪郭データ(細らせデ
ータと太らせデータから生成したデータ)が色付部20
4へ出力され、太らせデータがカゲ処理部206へ出力
される。図6は、細らせデータと太らせデータから輪郭
データを生成する原理を示す。
Thereafter, the selector 205a and the selector 2
05b, the output is selected, and the outline data (data generated from the thinning data and the thickening data) is colored by the coloring unit 20.
4 and the fat data is output to the lizard processing unit 206. FIG. 6 shows the principle of generating contour data from thinned data and thickened data.

【0023】図7は、カゲ処理部206の回路構成を示
す。回路206b(回路205dと同様に付き詳細は省
略する)に領域データが入力されると、カゲツケが必要
な画像処理の場合、該当する端子(Y3,Y4,Y5,
Y6,Y7)から信号が出力される。
FIG. 7 shows a circuit configuration of the lizard processing unit 206. When the area data is input to the circuit 206b (similar to the circuit 205d and the details are omitted), in the case of image processing that requires a ridge, the corresponding terminal (Y3, Y4, Y5,
Y6, Y7).

【0024】カゲツケ幅P0 (206a)は、カゲ処理
部206におけるカゲデータのカゲツケ幅を決定するた
めのものであり、操作パネル等の入力手段(図示せず)
を介して設定されたカゲツケ幅を出力する。
The ridge width P 0 (206a) is used to determine the ridge width of the lizard data in the lizard processing unit 206, and is an input means (not shown) such as an operation panel.
To output the ridgeline width set via.

【0025】カゲ処理部206に入力された2値データ
と太らせデータは、領域データが「3」及び「4」の時
(即ち、カゲのみの場合)、2値データが選択され、領
域データが「5」,「6」,「7」の時(即ち、カゲ+
輪郭の場合)、太らせデータが選択され、それ以外は0
が入力データとして選択される。
When the area data is "3" or "4" (that is, when only the lizard is used), the binary data and the fat data input to the lizard processing unit 206 are selected. Are "5", "6", "7" (that is,
In case of contour), fat data is selected, otherwise, 0
Is selected as input data.

【0026】ここで、カゲのタイプは、領域データ
「3」及び「7」が平カゲ、領域データ「4」,
「5」,「6」が立体カゲであり、それぞれ処理が異な
る。従って、平カゲの時は、セレクタ206c及びセレ
クタ206dの入力Bが選択され、立体カゲの時には、
セレクタ206c及びセレクタ206dの入力Aが選択
される。図8はカゲツケ幅が3の場合の立体カゲを示
し、図9はカゲツケ幅が3の場合の平カゲを示す。
Here, as for the type of the lizard, the area data "3" and "7" are flat lizards, the area data "4",
“5” and “6” are three-dimensional lizards, each of which has different processing. Therefore, for a flat lizard, the input B of the selector 206c and the selector 206d is selected, and for a three-dimensional lizard,
The input A of the selector 206c and the selector 206d is selected. FIG. 8 shows a three-dimensional lizard when the ridge width is 3, and FIG. 9 shows a flat lizard when the ridge width is 3.

【0027】図10は、カゲ処理部206に入力された
入力データ,カゲ用FIFO OUT(ラインメモリ部
207より入力)と、出力されるカゲ用FIFO IN
(ラインメモリ部207へ出力),カゲデータの関係を
示したものである。図中においてXはカゲ用FIFO
OUTのデータを示す。
FIG. 10 shows the input data input to the lizard processing unit 206, the lizard FIFO OUT (input from the line memory unit 207), and the lizard FIFO IN output.
(Output to the line memory unit 207) and shows the relationship between the kage data. In the figure, X is FIFO for lizard
OUT data is shown.

【0028】次に、図11及び図12を参照して、ライ
ンメモリ部207の回路構成を示す。ラインメモリ部2
07は、回路207a、nライン分のデータ(本実施例
では、n=8の場合を説明する)を蓄えるラインメモリ
207b(本実施例では、NEC社製,μPD4250
5Cを使用)、ゲート回路207d1〜d3、セレクタ
207e1〜207e4を備えている。
Next, a circuit configuration of the line memory unit 207 will be described with reference to FIGS. Line memory unit 2
Reference numeral 07 denotes a circuit 207a and a line memory 207b (in this embodiment, μPD4250 manufactured by NEC Corporation) for storing data for n lines (this embodiment describes the case where n = 8).
5C) , gate circuits 207d1-d3, selector
207e1 to 207e4 .

【0029】領域データが回路207aに入力される
と、回路207aは、図5の205dと同様に、端子Y
0〜Y7のうち、該当する端子から信号を出力する。こ
の回路207aは3本の領域データを表す信号から8つ
の領域を示す信号(M0〜M7)を出力するデコード回
路である。具体的には、領域データが「0」ならば端子
Y0から信号が出力され、領域データが「1」ならば端
子Y1から信号が出力され、同様に「2」ならば端子Y
2、「3」ならば端子Y3、「4」ならば端子Y4、
「5」ならば端子Y5、「6」ならば端子Y6、「7」
ならば端子Y7から信号が出力される。ここで、Y0〜
Y7端子から出力される信号をそれぞれM0〜M7とす
る。回路207aから出力される信号M0〜M7のう
ち、M0はセレクタ207e4のGゲートに、M1およ
びM2はゲート回路207d3に、M3およびM4はゲ
ート回路207d1に、M5、M6、およびM7はゲー
ト回路207d2に出力される。そして、ゲート回路2
07d1の出力はセレクタ207e1のGゲートに、ゲ
ート回路207d2の出力はセレクタ207e2のGゲ
ートに、ゲート回路207d3の出力はセレクタ207
e3のGゲートに入力される。また、セレクタ207e
1には、カゲ処理部206からカゲ用FIFO INが
4ビット単位で入力される。セレクタ207e2には、
カゲ処理部206からカゲ用FIFO INが2ビット
単位および輪郭処理部205から輪郭用FIFO IN
が2ビット単位で入力される。セレクタ207e3に
は、輪郭処理部205から輪郭用FIFO INが4ビ
ット単位で入力される。セレクタ207e4には、
「0」レベルが入力される。そして、セレクタ207e
1〜207e4のうち、回路207bの出力に応じてい
ずれか1つが選択されて、選択されたセレクタからライ
ンメモリ207bにデータが出力される。尚、本実施例
のラインメモリ部207において、ラインメモリ207
bを除いたその他の回路が、ラインメモリ207bへの
書き込み形式及びラインメモリ207bからの読み出し
形式を変更する制御手段(請求項1)、メモリ領域変更
手段(請求項2)、ラインメモリ・アクセス制御手段
(請求項3)等を構成している。
When the area data is input to the circuit 207a , the circuit 207a operates similarly to the terminal Y in FIG.
A signal is output from a corresponding terminal among 0 to Y7. This
Is a circuit 207a of which eight signals are obtained from signals representing three area data.
Decoding circuit that outputs signals (M0 to M7) indicating the area of
Road. Specifically, if the area data is "0", the terminal
A signal is output from Y0, and if the area data is "1",
A signal is output from the child Y1. Similarly, if "2", the terminal Y
2, "3" for terminal Y3, "4" for terminal Y4,
If "5", terminal Y5; if "6", terminal Y6, "7"
Then, a signal is output from the terminal Y7. Here, Y0
The signals output from the Y7 terminals are respectively designated as M0 to M7.
You. The signals M0 to M7 output from the circuit 207a
M0 is connected to the G gate of the selector 207e4 and M1 and
And M2 are connected to the gate circuit 207d3, and M3 and M4 are connected to the gate circuit 207d3.
M5, M6, and M7 are connected to the gate circuit 207d1.
Output to the gate circuit 207d2. And the gate circuit 2
The output of 07d1 is supplied to the G gate of the selector 207e1.
The output of the gate circuit 207d2 is the G gate of the selector 207e2.
The output of the gate circuit 207d3 is
Input to G gate of e3. Also, the selector 207e
1 includes a FIFO FIFO IN for the lizard from the lizard processing unit 206.
It is input in 4-bit units. In the selector 207e2,
2-bit FIFO IN for lizard from lizard processing unit 206
From unit and contour processing unit 205 to FIFO IN for contour
Is input in units of 2 bits. Selector 207e3
Indicates that the contour FIFO IN from the contour processing unit 205 is
It is entered in units. In the selector 207e4,
"0" level is input. Then, the selector 207e
1 to 207e4, depending on the output of the circuit 207b.
One of them is selected and the license is selected from the selected selector.
The data is output to the memory 207b. Note that, in the line memory unit 207 of this embodiment, the line memory 207
The control circuit (claim 1), the memory area change means (claim 2), the line memory access control, and the other circuits except for “b” change the write format to the line memory 207b and the read format from the line memory 207b. This constitutes means (claim 3) and the like.

【0030】領域データが「0」の場合には、処理が行
われないので、回路207aからM0が出力され、セレ
クタ207e4が選択されて、ラインメモリ207bの
入力データは、all0(全てゼロ)が選択され、ライ
ンメモリ207bの出力はall0(全てゼロ)が選択
される。
When the area data is "0", the process is not executed.
Therefore, M0 is output from the circuit 207a, and
The selector 207e4 is selected , and all0 (all zeros) is selected as the input data of the line memory 207b, and all0 (all zeros) is selected as the output of the line memory 207b.

【0031】領域データが「1」または「2」の場合に
は、回路207aからM1またはM2が出力されセレク
タ207e3が選択されて、輪郭処理部205のみが処
理を行うので、輪郭用FIFO INのみをラインメモ
リ207bに入力して、ラインメモリ207bの出力は
輪郭用FIFO OUTより、ラインメモリ207bの
内容がそのまま出力され、同時にカゲ用FIFO OU
Tよりall0(全てゼロ)データが出力される。
When the area data is "1" or "2", M1 or M2 is output from the circuit 207a to select.
Data 207e3 is selected and only the contour processing unit 205 performs the processing. Therefore, only the contour FIFO IN is input to the line memory 207b, and the output of the line memory 207b is changed from the contour FIFO OUT to the content of the line memory 207b. It is output as it is, and at the same time, FIFO OU for lizard
T outputs all0 (all zero) data.

【0032】領域データが「3」または「4」の場合に
は、回路207aからM3またはM4が出力されセレク
タ207e1が選択されて、カゲ処理部206のみが処
理を行うので、カゲ用FIFO INのみをラインメモ
リ207bに入力して、ラインメモリ207bの出力は
カゲ用FIFO OUTより、ラインメモリ207bの
内容がそのまま出力され、同時に輪郭用FIFO OU
Tよりall0(全てゼロ)データが出力される。
If the area data is "3" or "4", the circuit 207a outputs M3 or M4 and selects
Is selected, and only the lizard processing unit 206 performs processing. Therefore, only the lizard FIFO IN is input to the line memory 207b, and the output of the line memory 207b is changed from the digging FIFO OUT to the contents of the line memory 207b. Output as it is, and at the same time, FIFO OU for contour
T outputs all0 (all zero) data.

【0033】領域データが「5」,「6」,または
「7」の場合には、回路207aからM5、M6、また
はM7が出力されセレクタ204e2が選択されて、
郭処理部205とカゲ処理部206の両方の処理を行う
ので、ラインメモリ207bが2分割されて半分ずつ使
用される。以上説明したように、上述した、制御手段
(請求項1)、メモリ領域変更手段(請求項2)、ライ
ンメモリ・アクセス制御手段(請求項3)等は、図11
や図12に示すカゲ用FIFO IN、輪郭用FIFO
IN、カゲ用FIFO OUT、輪郭用FIFO O
UTの切替を行っている。
When the area data is "5", "6",Or
In the case of "7",Circuits 207a through M5, M6, and
Outputs M7 and selects the selector 204e2,ring
Performs the processing of both the Guo processing unit 205 and the Kage processing unit 206
Therefore, the line memory 207b is divided into two and used by half.
Used. As described above, the control means described above
(Claim 1), memory area changing means (claim 2),
The memory access control means (claim 3) and the like
And the FIFO IN for contour and the FIFO for contour shown in FIG.
 IN, FIFO OUT for lizard, FIFO O for contour
The UT is being switched.

【0034】図13は、色付部204(色付け処理手
段)の回路構成を示し、204aは輪郭部分の色を指定
する輪郭色データP0 を保持している保持部、204b
はカゲツケの色を指定するカゲツケ色データP0 を保持
している保持部、204cは中ウメ部分の色を指定する
中ウメ色データP0 を保持している保持部を示し、輪郭
データ,カゲデータ,2値データと、領域データとの組
み合わせにより、入力画像データに対して、図3(a)
〜(h)に示したような画像処理を施した出力画像デー
タを得ることができる。
[0034] Figure 13 shows a circuit configuration of the colored portion 204 (colored processing means), the holding portion 204a is holding the contour color data P 0 to specify the color of the contour portion, 204b
The holding portion which holds the Kagetsuke color data P 0 that specifies the color of Kagetsuke, 204c denotes a holding portion that holds the plum color data P 0 in specifying the color of the middle plum partial, outline data, Kagedeta , Binary data, and the area data, the input image data is compared with that shown in FIG.
It is possible to obtain output image data subjected to image processing as shown in (h).

【0035】前述したように本実施例の画像処理装置で
は、輪郭処理部205で使用するラインメモリ207b
の領域と、カゲ処理部206で使用するラインメモリ2
07bの領域との割合を変更することができるので、ラ
インメモリ207bを効率良く使用することができる。
また、領域データに基づいて、ラインメモリ207bへ
の書き込み形式及びラインメモリ207bからの読み出
し形式を変更しているので、効率良く1つのメモリを使
用することができる。
As described above, in the image processing apparatus of this embodiment, the line memory 207b used in the contour processing unit 205
Area and the line memory 2 used by the
Since the ratio with the area 07b can be changed, the line memory 207b can be used efficiently.
Further, since the writing format to the line memory 207b and the reading format from the line memory 207b are changed based on the area data, one memory can be used efficiently.

【0036】次に、図14に示すような同一原稿の中で
異なる複数の画像処理を行う場合の例を説明する。尚、
図中の数字は画像処理の内容を示す領域データである。
図15は、図14の入力画像データをラインメモリ20
7bで処理する場合の処理イメージを示す。図14の入
力画像データを処理する場合、先ず、領域データ「0」
が選択され、この時、ラインメモリ207bの内容は0
が書き続けられる。次に、領域データ「1」が選択され
ると、該当する処理(図15に1で示す位置)が行わ
れ、その後、再度領域データ「0」になると、ラインメ
モリ207bに0が書き込まれてリセットされる。
Next, an example in which a plurality of different image processes are performed in the same original as shown in FIG. 14 will be described. still,
Numerals in the figure are area data indicating the contents of image processing.
FIG. 15 shows a case where the input image data of FIG.
7B shows a processing image when processing is performed in 7b. When processing the input image data of FIG. 14, first, the area data "0"
Is selected, and at this time, the contents of the line memory 207b are set to 0.
Continues to be written. Next, when the area data “1” is selected, the corresponding processing (the position indicated by 1 in FIG. 15) is performed. Thereafter, when the area data becomes “0” again, 0 is written to the line memory 207b. Reset.

【0037】このように処理と処理の間で、ラインメモ
リ207bの内容に0を書き込みリセットすることによ
り、どのような図形でも処理が可能となる。換言すれ
ば、領域データ毎にラインメモリ207bを異なったフ
ォーマットで使用できるので、メモリの容量を大幅に節
約することができる。また、複数の処理に対して、ライ
ンメモリ207bをリセットすることにより、容易に矛
盾なく利用することができる。
As described above, by writing 0 in the content of the line memory 207b and resetting it between processes, any graphic can be processed. In other words, since the line memory 207b can be used in a different format for each area data, the capacity of the memory can be greatly reduced. Further, by resetting the line memory 207b for a plurality of processes, it is possible to easily use the processes without inconsistency.

【0038】[0038]

【発明の効果】以上説明したように、本発明の画像処理
装置(請求項1)は、入力された画像データに画像処理
をする画像処理装置において、入力された画像データを
記憶するラインメモリと、複数の異なる画像処理の内容
に基づいて領域データを発生する領域発生手段と、複数
の異なるデータ形式で画像データをラインメモリに書き
込み又は読み出しする制御手段と、領域データに基づき
画像データに複数の異なる色付け処理をする色付け処理
手段と、を備えたため、効率良くメモリを使用すること
ができる。
As described above, an image processing apparatus according to the present invention (claim 1) is an image processing apparatus for performing image processing on input image data, comprising: a line memory for storing input image data; Area generating means for generating area data based on a plurality of different image processing contents, control means for writing or reading image data to or from a line memory in a plurality of different data formats, and a plurality of image data based on the area data. And a coloring processing means for performing different coloring processing, so that the memory can be used efficiently.

【0039】また、本発明の画像処理装置(請求項2)
は、所定の画像入力手段を介して入力した画像データを
2値データに変換し、中ウメ処理,輪郭処理,かげ付け
処理等の画像処理を施す画像処理装置において、2値デ
ータを記憶するラインメモリと、ラインメモリを用いて
N×Nのマトリック論理演算により2値データの輪郭デ
ータを求める輪郭データ演算手段と、ラインメモリを用
いて2値データを右45度に移動してカゲデータを生成
するカゲデータ生成手段と、中ウメ処理,輪郭処理,か
げ付け処理等の画像処理の内容に基づいて、ラインメモ
リ内における輪郭データ演算手段で使用する領域,及
び,ラインメモリ内におけるカゲデータ生成手段で使用
する領域のメモリサイズを変更するメモリ領域変更手段
とを備えたため、効率良くメモリを使用することができ
る。
An image processing apparatus according to the present invention (claim 2)
Is a line for storing binary data in an image processing apparatus that converts image data input via a predetermined image input unit into binary data and performs image processing such as medium-size processing, contour processing, and shading processing. A memory, contour data calculating means for obtaining contour data of binary data by N × N matrix logical operation using a line memory, and moving the binary data to the right 45 degrees using a line memory to generate kage data. The area used by the contour data calculating means in the line memory, and the area used by the shading data generating means in the line memory, based on the contents of the image processing such as the medium image processing, the outline processing, and the shading processing. Since the memory area changing means for changing the memory size of the area is provided, the memory can be used efficiently.

【0040】また、本発明の画像処理装置(請求項3)
は、所定の画像入力手段を介して入力した画像データを
2値データに変換し、中ウメ処理,輪郭処理,かげ付け
処理等の画像処理を施す画像処理装置において、2値デ
ータを記憶するラインメモリと、ラインメモリを用いて
N×Nのマトリック論理演算により2値データの輪郭デ
ータを求める輪郭データ演算手段と、ラインメモリを用
いて2値データを右45度に移動してカゲデータを生成
するカゲデータ生成手段と、中ウメ処理,輪郭処理,か
げ付け処理等の画像処理の内容に基づいて、ラインメモ
リへの書き込み形式及びラインメモリからの読み出し形
式を変更するラインメモリ・アクセス制御手段とを備え
たため、容易に矛盾なく、且つ、効率良く1つのメモリ
を使用することができる。
An image processing apparatus according to the present invention (claim 3)
Is a line for storing binary data in an image processing apparatus that converts image data input via a predetermined image input unit into binary data and performs image processing such as medium-size processing, contour processing, and shading processing. A memory, contour data calculating means for obtaining contour data of binary data by N × N matrix logical operation using a line memory, and moving the binary data to the right 45 degrees using a line memory to generate kage data. And a line memory access control means for changing a writing format to the line memory and a reading format from the line memory based on the contents of image processing such as medium burr processing, contour processing, and shading processing. Therefore, one memory can be used easily and efficiently.

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

【図1】本発明の画像処理装置の基本構成のブロック図
である。
FIG. 1 is a block diagram of a basic configuration of an image processing apparatus according to the present invention.

【図2】画像処理部から本発明に関する画像処理を施す
部分の構成のみを抜き出したブロック図である。
FIG. 2 is a block diagram in which only a configuration of a part that performs image processing according to the present invention is extracted from an image processing unit.

【図3】(a)〜(h)は本実施例で行う画像処理の種
類を示す説明図である。
FIGS. 3A to 3H are explanatory diagrams illustrating types of image processing performed in the present embodiment.

【図4】本発明の主要部である画像加工部のブロック図
である。
FIG. 4 is a block diagram of an image processing unit which is a main part of the present invention.

【図5】輪郭処理部の回路構成を示す説明図である。FIG. 5 is an explanatory diagram illustrating a circuit configuration of a contour processing unit.

【図6】細らせデータと太らせデータから輪郭データを
生成する原理を示す説明図である。
FIG. 6 is an explanatory diagram showing the principle of generating contour data from thinned data and thickened data.

【図7】カゲ処理部の回路構成を示す説明図である。FIG. 7 is an explanatory diagram illustrating a circuit configuration of a lizard processing unit.

【図8】カゲツケ幅が3の場合の立体カゲを示す説明図
である。
FIG. 8 is an explanatory view showing a three-dimensional lizard when the ridge width is 3.

【図9】カゲツケ幅が3の場合の平カゲを示す説明図で
ある。
FIG. 9 is an explanatory diagram illustrating a flat key when the key width is 3;

【図10】カゲ処理部に入力された入力データ,カゲ用
FIFO OUT,カゲ用FIFO IN,カゲデータ
の関係を示す説明図である。
FIG. 10 is an explanatory diagram showing a relationship among input data, a FIFO FIFO OUT for a lizard, a FIFO IN for a lizard, and lizard data input to a lizard processing unit.

【図11】ラインメモリの回路構成を示す説明図であ
る。
FIG. 11 is an explanatory diagram showing a circuit configuration of a line memory.

【図12】ラインメモリの回路構成を示す説明図であ
る。
FIG. 12 is an explanatory diagram illustrating a circuit configuration of a line memory.

【図13】色付部の回路構成を示す説明図である。FIG. 13 is an explanatory diagram illustrating a circuit configuration of a coloring unit.

【図14】同一原稿の中で異なる複数の画像処理を行う
場合の例を示す説明図である。
FIG. 14 is an explanatory diagram illustrating an example in which a plurality of different image processes are performed in the same document.

【図15】図14の入力画像データをラインメモリで処
理する場合の処理イメージを示す説明図である。
FIG. 15 is an explanatory diagram showing a processing image when the input image data of FIG. 14 is processed by a line memory.

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

100 画像読取部 200 画像処理部 300 画像記録部 201 2値処理部 REFERENCE SIGNS LIST 100 image reading unit 200 image processing unit 300 image recording unit 201 binary processing unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 5/00 - 5/50 G06T 1/00 - 1/20 H04N 1/387 H04N 1/56 - 1/62 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G06T 5/00-5/50 G06T 1/00-1/20 H04N 1/387 H04N 1/56-1 / 62

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力された画像データに画像処理をする
画像処理装置において、 前記入力された画像データを記憶するラインメモリと、 複数の異なる画像処理の内容に基づいて領域データを発
生する領域発生手段と、 複数の異なるデータ形式で前記画像データを前記ライン
メモリに書き込み又は読み出しする制御手段と、 前記領域データに基づき前記画像データに複数の異なる
色付け処理をする色付け処理手段と、 を備えたことを特徴とする画像処理装置。
1. An image processing apparatus for performing image processing on input image data, comprising: a line memory for storing the input image data; and an area generator for generating area data based on a plurality of different image processing contents. Means, control means for writing or reading the image data to or from the line memory in a plurality of different data formats, and coloring processing means for performing a plurality of different coloring processes on the image data based on the area data. An image processing apparatus characterized by the above-mentioned.
【請求項2】 所定の画像入力手段を介して入力した画
像データを2値データに変換し、中ウメ処理,輪郭処
理,かげ付け処理等の画像処理を施す画像処理装置にお
いて、 前記2値データを記憶するラインメモリと、 前記ラインメモリを用いてN×Nのマトリック論理演算
により前記2値データの輪郭データを求める輪郭データ
演算手段と、 前記ラインメモリを用いて前記2値データを右45度に
移動してカゲデータを生成するカゲデータ生成手段と、 前記中ウメ処理,輪郭処理,かげ付け処理等の画像処理
の内容に基づいて、前記ラインメモリ内における前記輪
郭データ演算手段で使用する領域,及び,前記ラインメ
モリ内における前記カゲデータ生成手段で使用する領域
のメモリサイズを変更するメモリ領域変更手段と、 を備えたことを特徴とする画像処理装置。
2. An image processing apparatus for converting image data input via a predetermined image input means into binary data and performing image processing such as medium-mesh processing, contour processing, shading processing, and the like. A contour data calculating means for obtaining contour data of the binary data by N × N matrix logical operation using the line memory; and a 45 ° rightward conversion of the binary data using the line memory. And a region used by the contour data calculation unit in the line memory based on the contents of the image processing such as the medium burr process, the contour process, and the shading process, and A memory area changing means for changing a memory size of an area used by the kage data generating means in the line memory. The image processing apparatus according to claim.
【請求項3】 所定の画像入力手段を介して入力した画
像データを2値データに変換し、中ウメ処理,輪郭処
理,かげ付け処理等の画像処理を施す画像処理装置にお
いて、 前記2値データを記憶するラインメモリと、 前記ラインメモリを用いてN×Nのマトリック論理演算
により前記2値データの輪郭データを求める輪郭データ
演算手段と、 前記ラインメモリを用いて前記2値データを右45度に
移動してカゲデータを生成するカゲデータ生成手段と、 前記中ウメ処理,輪郭処理,かげ付け処理等の画像処理
の内容に基づいて、前記ラインメモリへの書き込み形式
及びラインメモリからの読み出し形式を変更するライン
メモリ・アクセス制御手段と、 を備えたことを特徴とする画像処理装置。
3. An image processing apparatus for converting image data input through a predetermined image input means into binary data and performing image processing such as medium pitting processing, contour processing, shading processing, and the like. A contour data calculating means for obtaining contour data of the binary data by N × N matrix logical operation using the line memory; and a 45 ° rightward conversion of the binary data using the line memory. A writing data generating means for generating the writing data by moving to a memory, and changing a writing format to the line memory and a reading format from the line memory based on the contents of the image processing such as the medium burr processing, the contour processing, and the shading processing. And a line memory access control unit.
JP2412101A 1990-12-19 1990-12-19 Image processing device Expired - Lifetime JP3009483B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2412101A JP3009483B2 (en) 1990-12-19 1990-12-19 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2412101A JP3009483B2 (en) 1990-12-19 1990-12-19 Image processing device

Publications (2)

Publication Number Publication Date
JPH04218879A JPH04218879A (en) 1992-08-10
JP3009483B2 true JP3009483B2 (en) 2000-02-14

Family

ID=18520985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2412101A Expired - Lifetime JP3009483B2 (en) 1990-12-19 1990-12-19 Image processing device

Country Status (1)

Country Link
JP (1) JP3009483B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3192561B2 (en) * 1994-10-20 2001-07-30 シャープ株式会社 Image processing device
JP5628246B2 (en) 2012-07-31 2014-11-19 ビステオン グローバル テクノロジーズ インコーポレイテッド Vehicle shock absorber and vehicle interior part having the same

Also Published As

Publication number Publication date
JPH04218879A (en) 1992-08-10

Similar Documents

Publication Publication Date Title
US4847689A (en) Method of and apparatus for tint generation and color separation over closed regioons of an image including generation of run-length color data
GB2087683A (en) Video signal processing
JPH0142544B2 (en)
JPH05328094A (en) Method and device for picture processing
JPH0439780A (en) Image synthesizing device
JP3009483B2 (en) Image processing device
JPS5839345B2 (en) Arithmetic mask device
JPH04252562A (en) Picture processing unit
JP2831390B2 (en) Image processing device
JPH0481227B2 (en)
JPH0370431B2 (en)
JPS6027465B2 (en) image transmission device
JP2648030B2 (en) Image editing method and image editing device
JP3061830B2 (en) Image processing device
JPS58108868A (en) Picture converter
JP3064305B2 (en) Digital copier
JP2624659B2 (en) Superimposed block decoding device
JP2862498B2 (en) Image processing method
JP2712426B2 (en) Image transmission device
JP2641432B2 (en) Interface device
JP2825927B2 (en) Image processing device
JP2974596B2 (en) Color image processing equipment
JPS58204666A (en) Copying method
JPH047144B2 (en)
JP2637402B2 (en) Image processing system

Legal Events

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

Free format text: PAYMENT UNTIL: 20071203

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111203

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111203

Year of fee payment: 12