JPH0462108B2 - - Google Patents

Info

Publication number
JPH0462108B2
JPH0462108B2 JP61066822A JP6682286A JPH0462108B2 JP H0462108 B2 JPH0462108 B2 JP H0462108B2 JP 61066822 A JP61066822 A JP 61066822A JP 6682286 A JP6682286 A JP 6682286A JP H0462108 B2 JPH0462108 B2 JP H0462108B2
Authority
JP
Japan
Prior art keywords
information
edge
memory
color
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
JP61066822A
Other languages
Japanese (ja)
Other versions
JPS62222373A (en
Inventor
Masaki Takakura
Hideto Hayazaki
Hideo Takemura
Masao Izumi
Keisuke Iwasaki
Yoji Noguchi
Yasukuni Yamane
Nobutoshi Gako
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP61066822A priority Critical patent/JPS62222373A/en
Priority to US06/946,482 priority patent/US4878178A/en
Publication of JPS62222373A publication Critical patent/JPS62222373A/en
Publication of JPH0462108B2 publication Critical patent/JPH0462108B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、所望の領域の切出す際にエツジ処理
を行なう機能を備えた画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an image processing apparatus having a function of performing edge processing when cutting out a desired area.

<従来の技術> 画像処理技術の一つとして原画中のある領域を
切出し、その部分の色彩を変更する方法がある。
この場合に問題となるのは、切出し領域のエツジ
部分の処理である。例えば、第9図aに画像メモ
リの内容を拡大した図を示す。ここで、斜線部分
を赤、点々の部分を青とすると、どうしても太線
で示されるエツジが目だち、不自然な印象を与え
る。これをなくすなための技術として、エツジ周
辺の画素の濃度値を周辺の画素の濃度値の平均値
で置きかえるという方法がある。例えば、第9図
bに示すような矩形内の各濃度値に対して、上下
左右の平均値をとるという処理を行なえば、第9
図cのようにエツジの部分が2つの領域のデータ
の中間値になり、エツジが目だたなくなる。
<Prior Art> As one of the image processing techniques, there is a method of cutting out a certain area in an original image and changing the color of that part.
In this case, the problem is the processing of the edge portion of the cutout area. For example, FIG. 9a shows an enlarged view of the contents of the image memory. If we make the diagonal lines red and the dotted areas blue, the thick edges will stand out and give an unnatural impression. As a technique to avoid this problem, there is a method of replacing the density values of pixels around the edge with the average value of the density values of surrounding pixels. For example, if the average value of the top, bottom, left, and right is taken for each density value within a rectangle as shown in FIG. 9b,
As shown in Figure c, the edge portion becomes an intermediate value between the data in the two areas, and the edge becomes less noticeable.

<発明が解決しようとする問題点> ところが、この方法の問題点はエツジ部分の画
素のデータを変更するため、元のデータが失われ
るという点である。従つて、色彩変更シミユレー
シヨンのように、元の色彩と変更後の色彩とを頻
繁に比較するケースの多いシステムには不向きで
ある。
<Problems to be Solved by the Invention> However, the problem with this method is that the original data is lost because the data of pixels in the edge portion is changed. Therefore, it is unsuitable for a system in which the original color and the changed color are frequently compared, such as in a color change simulation.

そこで、本発明の目的は、画像から切出された
切出し領域の色彩変更において問題となるエツジ
の不自然さをエツジ部分の元のデータを失うこと
なく目だたなくすることにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to make the unnaturalness of edges, which is a problem when changing the color of a cutout region cut out from an image, less noticeable without losing the original data of the edge portion.

<問題点を解決するための手段> 上記目的を達成するため、第1の発明の画像処
理装置は、画像を構成する各画素の濃度情報と、
この濃度情報が変更されて切出される切出し領域
の画素または上記切出し領域のエツジに対応する
画素を判別するエツジ情報とを記憶する兼用メモ
リと、上記兼用メモリの出力情報が導入され、上
記濃度情報を変更する切出し領域に相当する画素
とそのエツジに相当する画素の濃度情報を変更し
て出力するルツクアツプテーブルメモリと、上記
ルツクアツウプテーブルメモリの出力情報に基づ
いて画像を表示する表示手段と、上記兼用メモリ
にエツジ情報を書き込む書き込み手段と、上記濃
度情報とエツジ情報とに基づいて、上記エツジの
画素の濃度情報が切出し領域の色変換後の色彩と
原画像の色彩との中間色を表すようにルツクアツ
プテーブルメモリの内容を設定するルツクアツプ
テーブル設定手段とを備えて、切出し領域の色彩
変更をエツジが目だたないように行なうようにし
たことを特徴としている。
<Means for Solving the Problems> In order to achieve the above object, the image processing device of the first invention uses density information of each pixel constituting an image;
A dual-purpose memory for storing pixels of a clipped region to be clipped with this density information changed or edge information for determining pixels corresponding to edges of the clipped region, and output information of the dual-purpose memory are introduced, and the density information a look-up table memory for changing and outputting density information of pixels corresponding to a cut-out area to be changed and pixels corresponding to edges thereof; and a display means for displaying an image based on the output information of the look-up table memory. , a writing means for writing edge information into the dual-purpose memory, and based on the density information and edge information, the density information of the pixel of the edge represents an intermediate color between the color of the cropped area after color conversion and the color of the original image. The present invention is characterized in that it includes a lookup table setting means for setting the contents of the lookup table memory as shown in FIG.

また、第2の発明の画像処理装置は、画像を構
成する各画素の濃度を記憶する画像メモリと、濃
度情報が変更されて切出される切出し領域の画素
または上記切出し領域のエツジに対応する画素を
判別するエツジ情報を記憶するエツジメモリと、
上記画像メモリとエツジメモリの両方の出力情報
が導入され、上記濃度情報を変更する切出し領域
に相当する画素とそのエツジに相当する画素の濃
度情報を変更して出力するルツクアツプテーブル
メモリと、上記ルツクアツプテーブルメモリの出
力情報に基づいて画像を表示する表示手段と、上
記エツジメモリにエツジ情報を書き込む書き込み
手段と、上記濃度情報とエツジ情報とに基づい
て、上記エツジの画素の濃度情報が切出し領域の
色変換後の色彩と原画像の色彩との中間色を表す
ようにルツクアツプテーブルメモリの内容を設定
するルツクアツプテーブル設定手段とを備えて、
切出し領域の色彩変更をエツジが目だたないよう
に行なうよにしたことを特徴としている。
The image processing device of the second invention also includes an image memory that stores the density of each pixel constituting the image, and a pixel of a cutout area whose density information is changed and is cut out or a pixel corresponding to an edge of the cutout area. an edge memory that stores edge information for determining the
The output information of both the image memory and the edge memory is introduced, and the lookup table memory changes and outputs the density information of the pixel corresponding to the cutout area whose density information is to be changed and the pixel which corresponds to its edge. A display means for displaying an image based on the output information of the up table memory, a writing means for writing edge information into the edge memory, and a display means for displaying an image based on the output information of the up table memory; Lookup table setting means for setting the contents of the lookup table memory so as to represent an intermediate color between the color after color conversion and the color of the original image,
The feature is that the color of the cutout area is changed so that the edges are not noticeable.

<作用> 濃度情報とエツジ情報は兼用メモリあるいは画
像メモリとエツジメモリに保持されたままで、ル
ツクアツプテーブルメモリにおいて、切出し領域
のエツジに相当する画素の濃度情報が色変更後の
色彩と変更前の色との中間色になるようにルツク
アツプテーブル設定手段により変更される。
<Function> Density information and edge information are retained in the dual-purpose memory or image memory and edge memory, and in the lookup table memory, the density information of the pixel corresponding to the edge of the cutout area is divided into the color after color change and the color before change. The lookup table setting means changes the color so that the color is intermediate between the two.

したがつて、エツジ部分の元のデータを変更す
ることなく、エツジ部分が目だたないように表示
される。
Therefore, the edge portion is displayed inconspicuously without changing the original data of the edge portion.

<実施例> 以下、本発明を具体例を用いて詳細に説明す
る。第1図はフルカラー画像をR(レツド)、G
(グリーン)、B(ブルー)の3成分に色分解して
記憶する画像処理装置のブロツク図である。この
画像処理装置は、RGB各8ビツトの兼用メモリ
15を備え、この兼用メモリ15は画像の構成す
る濃度情報と切出し領域あるいはそのエツジを判
別するエツジ情報を場合に応じて記憶する。上記
兼用メモリ15の出力はルツクアツプテーブルメ
モリ16のアドレスに接続され、ルツクアツプテ
ーブルメモリ16の出力はゲート回路17を介し
てD/Aコンバータ18に接続される。
<Example> Hereinafter, the present invention will be explained in detail using specific examples. Figure 1 shows full-color images of R (Red) and G.
2 is a block diagram of an image processing device that separates the color into three components of (green) and B (blue) and stores them. FIG. This image processing apparatus includes a dual-purpose memory 15 of 8 bits each for RGB, and this dual-purpose memory 15 stores density information constituting an image and edge information for determining a cutout region or its edge, depending on the case. The output of the dual-purpose memory 15 is connected to the address of a lookup table memory 16, and the output of the lookup table memory 16 is connected to a D/A converter 18 via a gate circuit 17.

上記ルツクアツプテーブルメモリ16はバス1
4、ゲート20を通じマイクロプロセツサ13か
らアクセスされる。上記マイクロプロセツサ13
は、ルツクアツプテーブルメモリ16の濃度情報
を後述する計算をして書き換えるルツクアツプテ
ーブル設定手段を含む。
The lookup table memory 16 is bus 1.
4. Accessed by microprocessor 13 through gate 20. The above microprocessor 13
includes a lookup table setting means for calculating and rewriting density information in the lookup table memory 16, which will be described later.

また、D/Aコンバータ18の出力(ビデオア
ナログ信号)は、表示器19に送られ、画像表示
が行なわれる。上記兼用メモリ15および主記憶
装置12はバス14を通じて、上記マイクロプロ
セツサ13からアクセスされる。座標入力手段2
1はバス14を通じてマイクロプロセツサ13か
らアクセスされ、画像上の特定の座標を入力でき
る。
Further, the output (video analog signal) of the D/A converter 18 is sent to a display 19, where an image is displayed. The dual-purpose memory 15 and main memory 12 are accessed by the microprocessor 13 via the bus 14. Coordinate input means 2
1 is accessed by the microprocessor 13 through the bus 14, and allows input of specific coordinates on the image.

次に、本装置の処理について説明する。まず、
スキヤナー、TVカメラ等の手段を用い、画像を
兼用メモリ15に入力する。この段階では兼用メ
モリ15は、1ドツトあたりRGB各8ビツトの
情報を蓄えることとする。次に、一例として兼用
メモリ15の上位6ビツトを画像すなわち濃度情
報報用とし、下位2ビツトをエツジ情報用とす
る。第2図にこのように設定した兼用メモリを示
す。何ビツトを画像情報用とし、何ビツトをエツ
ジ情報用とするかは入力した画像情報の内容によ
り変更してもよい。以上のように設定を行なえ
は、RGB各兼用メモリ15のK成分(K=r、
g、b)に蓄えられる情報は濃度情報iK(0≦iK
<26)と、エツジ情報e(0≦e<22)となり、
兼用メモリ15の出力xKはxK=22×iK+eとな
る。
Next, the processing of this device will be explained. first,
Images are input into the dual-purpose memory 15 using means such as a scanner or a TV camera. At this stage, the dual-purpose memory 15 stores 8 bits of each RGB information per dot. Next, as an example, the upper 6 bits of the dual-purpose memory 15 are used for image information, that is, density information, and the lower 2 bits are used for edge information. FIG. 2 shows the dual-purpose memory set in this way. How many bits are used for image information and how many bits are used for edge information may be changed depending on the content of the input image information. To perform the settings as described above, the K component (K=r,
The information stored in g, b) is concentration information i K (0≦i K
<2 6 ) and edge information e (0≦e<2 2 ),
The output x K of the dual-purpose memory 15 becomes x K =2 2 ×i K +e.

次に、エツジ情報を用い、エツジ処理を行なう
方法を説明する。まず、エツジ情報はマイクロプ
ロセツサ13に含まれる書き込み手段を用い、次
のように設定する。背景の領域は0、切出しの対
象領域は3、エツジ処理が必要な領域のうち、切
出し対象領域に近い領域2は、遠い領域は1とす
る。第3図にエツジ情報を書き込んだ例を示す。
斜線部がエツジ処理領域である。
Next, a method of performing edge processing using edge information will be explained. First, edge information is set as follows using the writing means included in the microprocessor 13. The background area is set to 0, the cutout target area is set to 3, and among the areas that require edge processing, an area close to the cutout target area is set to 2, and an area far from the cutout target area is set to 1. FIG. 3 shows an example of writing edge information.
The shaded area is the edge processing area.

また、エツジ情報を書き込む方法には、次のよ
うな方法が考えられる。
Furthermore, the following methods can be considered as methods for writing edge information.

切出し対象領域に、エツジ情報3を書き込む方
法は本発明人らによつて既に発明されている。色
濃度情報に関するしきい値を用いて切出しを行な
う方法を用いることが可能である。
A method for writing edge information 3 into the region to be cut out has already been invented by the present inventors. It is possible to use a method of cutting out using a threshold value regarding color density information.

背景領域にエツジ情報0を書き込む方法は、エ
ツジ情報の書き込みを行なう前にエツジ情報全て
に0をあらかじめ書き込んでおく方法が考えられ
る。
A possible method for writing edge information 0 in the background area is to write 0 in advance to all edge information before writing edge information.

エツジ処理領域にエツジ情報1,2を書き込む
方法は次のようなものが考えられる。
The following methods can be considered for writing edge information 1 and 2 in the edge processing area.

(1) まず、座標手段21により入力された座標値
に従つて移動する筆のような図形を画面に表示
させ、この図形の表示位置にエツジ情報1もし
くは2を書き込んでいく方法が考えられる。こ
こで図形の大きさは、何種類かを選択できるよ
うにしておけばよい。
(1) First, a method can be considered in which a brush-like figure that moves according to the coordinate values input by the coordinate means 21 is displayed on the screen, and edge information 1 or 2 is written at the display position of this figure. Here, the size of the figure may be selected from several types.

また、第4図aのように中心にはエツジ情報
の2を、また周囲にはエツジ情報1を書き込む
筆手段を設定し、この筆手段を用い、エツジ情
報1,2を同時に設定していく方法も考えられ
る。この筆手段を用いる場合には、書き込むべ
きエツジ情報値を既にその位置に書き込まれで
いたエツジ情報と比較し、大きければ書き込み
を行なう。例えば、第4図bのようにエツジ情
報が与えられている上に、矢印で示されるよう
に、第4図aの筆を移動させれば、第4図cの
ように背景の領域にエツジ情報が書き込まれ
る。さて、この筆手段は背景の領域にエツジ情
報を書き込む機能を持つが、切出された領域を
削りながらエツジ情報を書き込む方法も次のよ
うにして実現できる。例えば、第5図aのよう
に、中心にはエツジ情報0、その周囲にはエツ
ジ情報1、さらにその周囲にはエツジ情報2を
書き込む筆手段を設定し、書き込むべき情報
が、既にその位置に書き込まれていたエツジ情
報と比較してそのエツジ情報よりも小さければ
書き込みを行なうようにする。
Also, as shown in Figure 4a, set a brush means to write edge information 2 in the center and edge information 1 around it, and use this brush means to set edge information 1 and 2 at the same time. There are other possible methods. When using this brush means, the edge information value to be written is compared with the edge information that has already been written at that position, and if it is larger, writing is performed. For example, if edge information is given as shown in Fig. 4b, and if you move the brush in Fig. 4a as shown by the arrow, an edge will appear in the background area as shown in Fig. 4c. Information is written. Now, this brush means has a function of writing edge information in the background area, but a method of writing edge information while scraping the cut out area can also be realized as follows. For example, as shown in Figure 5a, a brush means is set to write edge information 0 in the center, edge information 1 around it, and edge information 2 around it, and the information to be written is already at that position. The edge information is compared with the edge information that has been written, and if it is smaller than the edge information, writing is performed.

この結果、例えば第5図bのようにエツジ情
報が与えられる上に、矢印で示されるように、
第5図aの筆手段を移動させれば、第5図cの
ように切出された領域内にエツジ情報が書き込
まれる。
As a result, in addition to providing edge information as shown in FIG. 5b, for example, as shown by the arrow,
When the brush means shown in FIG. 5a is moved, edge information is written in the cut out area as shown in FIG. 5c.

(2) 先の例では、座標入力手段21により入力さ
れる座標付近に対話的にエツジ情報を書き込ん
で行く方法を示したが、筆手段のような図形を
用いない方法も考えられる。
(2) In the previous example, a method was shown in which edge information was written interactively near the coordinates input by the coordinate input means 21, but a method that does not use a graphic such as a brush means may also be considered.

例えば、第6図aに示す方法は、あらかじめ
切出された領域のエツジを追跡し、周囲にエツ
ジ情報2を書き込んだ例である。同じ方法を用
い、さらに周囲にエツジ情報1を書き込めば、
第6図bのようになる。エツジを追跡する方法
は3×3のマスクを用いる方法等、2値画像を
解析するのに用いられる方法を利用することが
できる。周囲に何重のエツジ情報を付加するか
は当然のことながら、場合に応じ、いろいろ選
択すればよい。また、切出された領域の周囲の
一部分にのみエツジ情報を付加する方法も考え
られる。例えば、第6図cのように矩形を入力
し、この矩形内にのみ上記の処理を行なう方法
である。この方法を用いればエツジをはつきり
残しておきたい部分にはエツジ情報を付加せ
ず、エツジをなめらかにしたい部分にのみエツ
ジ情報の書き込みが行なえるという利点があ
る。また、上記例ではエツジ情報は切出された
領域の周囲から外側に向かつて書き込んでいつ
たが、当然のことながら、内側に向かつて書き
込んでいく方法も考えられる。
For example, the method shown in FIG. 6a is an example in which edges of a region cut out in advance are tracked and edge information 2 is written around them. If you use the same method and further write edge information 1 around it,
The result will be as shown in Figure 6b. As a method for tracking edges, a method used for analyzing binary images, such as a method using a 3×3 mask, can be used. Naturally, the number of layers of edge information to be added to the surrounding area can be selected in various ways depending on the situation. Another possible method is to add edge information only to a part of the periphery of the cut out area. For example, there is a method in which a rectangle is input as shown in FIG. 6c, and the above processing is performed only within this rectangle. This method has the advantage that edge information is not added to areas where edges should be left intact, and edge information can be written only to areas where edges are desired to be smoothed. Furthermore, in the above example, the edge information is written from the periphery of the cut out region outwards, but it is of course possible to write it inward.

以上、いくつかのエツジ情報を書き込む方法を
示したが、重要な点はエツジ処理を行なう部分に
切出しずみの領域や背景とは異なるエツジ情報の
値を書き込んでおくという点である。
Several methods for writing edge information have been described above, but the important point is that edge information values that are different from those of the cut out area or background are written in the portion where edge processing is to be performed.

次に、上のようにして設定したエツジ情報を用
いてエツジが目だたない色変更を行なうには、ル
ツクアツプテーブルメモリ16をルツクアツプテ
ーブル設定手段で次のように計算して設定すれば
よい。ここでiKは色のK成分の濃度情報の出力で
濃度およびエツジの兼用メモリの出力xKとエツ
ジ情報eとはxK=22×iK+eの関係がある。fK
(xKは、ルツクアツプテーブルメモリ16の出力
である[ ]がガウス記号である。
Next, in order to change the color so that the edges are not noticeable using the edge information set as above, the lookup table memory 16 should be calculated and set as follows using the lookup table setting means. good. Here, i K is the output of the density information of the K component of the color, and the output x K of the density/edge dual-purpose memory and the edge information e have a relationship of x K =2 2 ×i K +e. f K
(x K is the output of the lookup table memory 16, and [ ] is a Gaussian symbol.

fK(xK=[e×FK(iK)+(3−e
)×IK(iK)/3]
(e=0、1、2、3) この式の意味は、エツジ情報eの値に従い、関
数fK(iK)、IK(iK)の値を混合した値を出力すると
いうことである。つまりエツジ情報eが0の場合
fK(xK)=IK(iK)となり、エツジ情報eが3の場合
fK(xK)=FK(iK)となるが、eが1もしくは2の
場合、fK(iK)は両者の中間的な値となる。以上
のことから、FK(iK)は画像の濃度情報を色変換
して出力する関数、IK(iK)は画像の濃度情報を
そのまま出力する関数に設定しておけば、切出し
領域(e=3)はFK(iK)による色彩変更画像、
背景領域(e=0)はIK(iK)による原画像が表
示される。また、その2つの領域の間にエツジ処
理領域(e=1、2)があれば、その部分は色彩
変更画像と原画像の中間的な色が表示されるた
め、エツジが目だたない。
f K (x K = [e×F K (i K ) + (3-e
)×I K (i K )/3]
(e=0, 1, 2, 3) The meaning of this formula is that it outputs a value that is a mixture of the values of the functions f K (i K ) and I K (i K ) according to the value of edge information e. be. In other words, if edge information e is 0
f K (x K )=I K (i K ), and when edge information e is 3
f K (x K )=F K (i K ), but if e is 1 or 2, f K (i K ) will be an intermediate value between the two. From the above, if F K (i K ) is set as a function that converts the density information of the image and outputs it, and I K (i K ) is set as a function that outputs the density information of the image as it is, then the cropping area will be (e=3) is a color-changed image by F K (i K ),
In the background area (e=0), the original image based on I K (i K ) is displayed. Furthermore, if there is an edge processing area (e=1, 2) between the two areas, an intermediate color between the color-changed image and the original image is displayed in that area, so that the edges are not noticeable.

第7図a,b,cに上記のように設定したルツ
クアツプテーブルのR、G、B成分をそれぞれ例
として示す。ここで実線は赤を強調し、緑、青を
減少させるように色変換する関数FK、点線が原
画を表示する関数IK、一点鎖線がその中間的な関
数を表す。黒丸が実際にルツクアツプテーブルメ
モリに設定される値である。横軸がxK、縦軸がfK
(xK)を表わす。
FIGS. 7a, b, and c show examples of the R, G, and B components of the lookup table set as described above, respectively. Here, the solid line represents a color conversion function F K that emphasizes red and reduces green and blue, the dotted line represents a function I K that displays the original image, and the dashed line represents an intermediate function. The black circles are the values actually set in the lookup table memory. The horizontal axis is x K and the vertical axis is f K
(x K ).

本実施例では、エツジ情報の情報量を2ビツト
に設定したが、もつと情報量を増やしてもよい。
In this embodiment, the amount of edge information is set to 2 bits, but the amount of information may be increased.

また、本実施例では、色変更は同時に一種類し
かできなかつたが、濃度つまり濃淡情報とエツジ
情報の他にラベル情報を特定のビツトに設定する
ことにより、複数の色変更を同時に行なうことも
可能である。濃淡情報とラベル情報の兼用メモリ
を用い、複数の色変更を行なう画像処理装置は本
発明人らにより既に発明されているが、本発明は
その方法と組み合わせて複数の色変更をエツジを
目だたなくして行なうことも可能である。
In addition, in this embodiment, only one type of color change can be made at the same time, but by setting label information to specific bits in addition to density information and edge information, it is also possible to change multiple colors at the same time. It is possible. The present inventors have already invented an image processing device that performs multiple color changes using a dual-purpose memory for shading information and label information, but the present invention combines this method to perform multiple color changes with an eye to the edges. It is also possible to do it without.

また、本実施例ではエツジ情報を兼用メモリ1
5中に蓄える例を示したが、第8図に示すよう
に、エツジ情報専用のエツジメモリ26を別に設
けてもよい。エツジ情報はRGB各色同じ情報で
よいため1画面分でよく、その出力はRGB各色
のルツクアツプテーブルメモリの入力に接続され
る。この第8図に示す画像処理装置は、画像メモ
リ25とエツジメモリ26を別々にした他は第1
図と同様なので説明を省略する。
In addition, in this embodiment, the edge information is stored in the shared memory 1.
Although an example in which edge information is stored in 5 is shown, as shown in FIG. 8, an edge memory 26 exclusively for edge information may be provided separately. The edge information needs to be the same for each RGB color, so it only needs to be for one screen, and its output is connected to the input of the lookup table memory for each RGB color. The image processing device shown in FIG.
Since it is similar to the figure, the explanation will be omitted.

<発明の効果> 本発明によれば、濃度情報およびエツジ情報用
の兼用メモリ、あるいは画像メモリおよびエツジ
メモリと、ルツクアツプテーブルメモリと、エツ
ジ情報を書き込む書き込み手段と、濃度情報とエ
ツジ情報とに基づいてルツクアツプテーブルメモ
リの内容を設定するルツクアツプテーブル設定手
段を設けたので、画像の濃度情報を書き換えずに
保持したままで、したがつて、何度でも非常に高
速に、色彩変更による切出し処理とエツジを目だ
たないようにするエツジ処理とを行なうことがで
きる。
<Effects of the Invention> According to the present invention, a dual-purpose memory for density information and edge information, or an image memory and an edge memory, a lookup table memory, a writing means for writing edge information, and a Since we have provided a lookup table setting means for setting the contents of the lookup table memory, the density information of the image can be retained without being rewritten, and therefore the cropping process by changing the color can be performed any number of times at very high speed. and edge processing to make the edges less noticeable.

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

第1図は本発明の一実施例の画造処理装置のブ
ロツク図、第2図は兼用メモリとルツクアツプテ
ーブルメモリの内容を説明する図、第3図はエツ
ジ情報を書き込んだ図形を示す図、第4図a,
b,c、第5図a,b,cは筆手段の説明図、第
6図a,b,cはエツジ情報を書き込んだ図形を
示す図、第7図a,b,cはルツクアツプテーブ
ルのRGB成分を示す線図、第8図は他の実施例
のブロツク図、第9図a,b,cは従来のエツジ
処理を示す図である。 12……主記憶装置、13……マイクロプロセ
ツサ、14……バス、15……兼用メモリ、16
……ルツクアツプテーブルメモリ、17……ゲー
ト回路、18……D/Aコンバータ、19……表
示器、20……ルツクアツプテーブル読み書き用
ゲート回路、21……座標入力手段、25……画
像メモリ、26……エツジメモリ。
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention, FIG. 2 is a diagram explaining the contents of a dual-purpose memory and a lookup table memory, and FIG. 3 is a diagram showing a figure in which edge information is written. , Figure 4a,
b, c, Fig. 5 a, b, c are explanatory diagrams of the brush means, Fig. 6 a, b, c are diagrams showing figures written with edge information, Fig. 7 a, b, c are lookup tables. FIG. 8 is a block diagram of another embodiment, and FIGS. 9a, b, and c are diagrams showing conventional edge processing. 12... Main memory, 13... Microprocessor, 14... Bus, 15... Dual-purpose memory, 16
... Lookup table memory, 17 ... Gate circuit, 18 ... D/A converter, 19 ... Display, 20 ... Gate circuit for reading and writing lookup table, 21 ... Coordinate input means, 25 ... Image memory , 26...Edge Memory.

Claims (1)

【特許請求の範囲】 1 画像を構成する各画素の濃度情報と、この濃
度情報が変更されて切出される切出し領域の画素
または上記切出し領域のエツジに対応する画素を
判別するエツジ情報とを記憶する兼用メモリと、 上記兼用メモリの出力情報が導入され、上記濃
度情報を変更する切出し領域に相当する画素とそ
のエツジに相当する画素の濃度情報を変更して出
力するルツクアツプテーブルメモリと、 上記ルツクアツプテーブルメモリの出力情報に
基づいて画像を表示する表示手段と、 上記兼用メモリにエツジ情報を書き込む書き込
み手段と、 上記濃度情報とエツジ情報とに基づいて、上記
エツジの画素の濃度情報が切出し領域の色変換後
の色彩と原画像の色彩との中間色を表すようにル
ツクアツプテーブルメモリの内容を設定するルツ
クアツプテーブル設定手段とを備えて、切出し領
域の色彩変更をエツジが目だたないように行なう
ようにしたことを特徴とする画像処理装置。 2 上記書き込み手段は、入力された領域の中心
から周辺に向かつて値の異なるエツジ情報を書き
込むようになつている特許請求の範囲第1項に記
載の画像処理装置。 3 画像を構成する各画素の濃度情報を記憶する
画像メモリと、 濃度情報が変更されて切出される切出し領域の
画素または上記切出し領域のエツジに対応する画
素を判別するエツジ情報を記憶するエツジメモリ
と、 上記画像メモリとエツジメモリの両方の出力情
報が導入され、上記濃度情報を変更する切出し領
域に相当する画素とそのエツジに相当する画素の
濃度情報を変更して出力するルツクアツプテーブ
ルメモリと、 上記ルツクアツプテーブルメモリの出力情報に
基づいて画像を表示する表示手段と、 上記エツジメモリにエツジ情報を書き込む書き
込み手段と、 上記濃度情報とエツジ情報とに基づいて、上記
エツジの画素の濃度情報が切出し領域の色変換後
の色彩と原画像の色彩との中間色を表すようにル
ツクアツプテーブルメモリの内容を設定するルツ
クアツプテーブル設定手段とを備えて、切出し領
域の色彩変更をエツジが目だたないように行なう
ようにしたことを特徴とする画像処理装置。 4 上記書き込み手段は、入力された領域の中心
から周辺に向かつて値の異なるエツジ情報を書き
込むようになつている特許請求の範囲第3項に記
載の画像処理装置。
[Scope of Claims] 1. Stores density information of each pixel constituting an image, and edge information for determining a pixel of a cutout area whose density information is changed and is cut out or a pixel corresponding to an edge of the cutout area. a look-up table memory into which the output information of the dual-purpose memory is introduced, and which changes and outputs the density information of pixels corresponding to the cutout area whose density information is to be changed and pixels corresponding to the edges thereof; a display means for displaying an image based on the output information of the lookup table memory; a writing means for writing edge information into the dual-purpose memory; A look-up table setting means is provided for setting the contents of the look-up table memory so as to represent an intermediate color between the color of the region after color conversion and the color of the original image, so that the color change of the cut-out region is made so that edges are not noticeable. An image processing device characterized in that it performs the following operations. 2. The image processing apparatus according to claim 1, wherein the writing means writes edge information having different values from the center of the input area toward the periphery. 3. An image memory that stores density information of each pixel constituting an image, and an edge memory that stores edge information that determines pixels of a cutout area whose density information is changed and is cut out or pixels that correspond to edges of the cutout area. , a lookup table memory into which output information from both the image memory and the edge memory is introduced, and which changes and outputs the density information of pixels corresponding to the cutout area whose density information is to be changed and pixels corresponding to the edges thereof; a display means for displaying an image based on output information of the lookup table memory; a writing means for writing edge information into the edge memory; and a display means for writing edge information into the edge memory; and a lookup table setting means for setting the contents of the lookup table memory so as to represent an intermediate color between the color after color conversion and the color of the original image. An image processing device characterized in that the image processing device performs the following operations. 4. The image processing apparatus according to claim 3, wherein the writing means writes edge information having different values from the center of the input area toward the periphery.
JP61066822A 1985-12-25 1986-03-24 Image processor Granted JPS62222373A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61066822A JPS62222373A (en) 1986-03-24 1986-03-24 Image processor
US06/946,482 US4878178A (en) 1985-12-25 1986-12-24 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61066822A JPS62222373A (en) 1986-03-24 1986-03-24 Image processor

Publications (2)

Publication Number Publication Date
JPS62222373A JPS62222373A (en) 1987-09-30
JPH0462108B2 true JPH0462108B2 (en) 1992-10-05

Family

ID=13326922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61066822A Granted JPS62222373A (en) 1985-12-25 1986-03-24 Image processor

Country Status (1)

Country Link
JP (1) JPS62222373A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2578170B2 (en) * 1988-06-23 1997-02-05 シャープ株式会社 Image display device
JPH07104919B2 (en) * 1989-02-28 1995-11-13 シャープ株式会社 Image coding / synthesizing device
JP2756048B2 (en) * 1991-10-30 1998-05-25 富士通株式会社 Color image color adjustment and image synthesis method and apparatus
JP2756047B2 (en) * 1991-10-30 1998-05-25 富士通株式会社 Color image color adjustment method and apparatus, and image synthesis method

Also Published As

Publication number Publication date
JPS62222373A (en) 1987-09-30

Similar Documents

Publication Publication Date Title
US5715331A (en) System for generation of a composite raster-vector image
US5459529A (en) Video processing for composite images
JP3095818B2 (en) Method and apparatus for mapping a color image to a black and white image
US6026179A (en) Digital video processing
US7417647B2 (en) Making an overlay image edge artifact less conspicuous
US4931956A (en) Video image creation systems
EP0660295A2 (en) Method and apparatus for NTSC display of full motion animation
JPH0695273B2 (en) Display control device
JPS6025794B2 (en) color graphic display device
JP3564118B2 (en) Method and apparatus for filling object-based rasterized images
JPH10187966A (en) Method and device for filtering image
JP3328741B2 (en) Display device for anti-aliased images
JP2578170B2 (en) Image display device
JPH05346953A (en) Image data processor
US20030090494A1 (en) Image processing apparatus and image processing program
EP0515031B1 (en) Video treatment of images
JPH0462108B2 (en)
JPH10149431A (en) Picture processing method
JPH03150971A (en) Display system and device for synthesized picture and hatching circuit
JPH09138846A (en) Method and device for picture processing
JP2898569B2 (en) Video accelerator board for computer game development
JPH0467672B2 (en)
JPH10124039A (en) Graphic display device
JPS63131793A (en) Image synthesizing device
JPH0588653A (en) Screen composite display area determining device