JPS6346573A - Color image processor - Google Patents
Color image processorInfo
- Publication number
- JPS6346573A JPS6346573A JP19003586A JP19003586A JPS6346573A JP S6346573 A JPS6346573 A JP S6346573A JP 19003586 A JP19003586 A JP 19003586A JP 19003586 A JP19003586 A JP 19003586A JP S6346573 A JPS6346573 A JP S6346573A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- background
- backgrounds
- background color
- designated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000003086 colorant Substances 0.000 claims abstract description 3
- 230000015654 memory Effects 0.000 abstract description 33
- 238000000034 method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000002131 composite material Substances 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
く技術分野〉
本発明はオリジナルカラー画像の一部領域を切り出すカ
ラー画像処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a color image processing device that cuts out a partial area of an original color image.
〈従来技術〉
オリジナルカラー画像の一部を切り出し、他の画像と合
成する処理が種々行われている。<Prior Art> Various processes have been performed to cut out a part of an original color image and combine it with other images.
この切り出しにおいて、切り出し領域と背景との分離が
キーポイントとなる。この分離法は各種提案され実用化
されている。例えば、クロマキ一方式といわれる特定の
色相を背景色として認識する方法や、対象物の輪郭をエ
ツジ検出で求、めたり、何らかのポインティングデバイ
ス(例えばライトベンやデジタイザ等で)を用いて手動
で切り出す方式がある。前者のクロマキ一方式では対象
物内に同一色相があった時は背景として認識される欠点
が有り、後者の輪郭を求める方式では、エツジ検出では
不要なエツジが検出されたり、手動で求めるには手間が
かかるという欠点があった。In this cutting, the key point is the separation of the cutting area from the background. Various separation methods have been proposed and put into practical use. For example, there is a method known as the chroma-ki method that recognizes a specific hue as the background color, a method that uses edge detection to find the outline of the object, or a method that manually cuts out the object using some kind of pointing device (such as a light ben or digitizer). There is. The former chroma system has the disadvantage that when there is the same hue in the object, it is recognized as the background, and the latter method, which calculates the contour, may detect unnecessary edges during edge detection, or it may be too difficult to calculate manually. The drawback was that it was time-consuming.
(目 的〉
本発明は、前述の欠点を除去すると同時に、クロマキ一
方式では不可能であった多種類の色相を背景として認識
させたり、背景中の不要領域も背景として認識させたり
することが可能なカラー画像処理装置の提供を目的とし
ている。(Purpose) The present invention eliminates the above-mentioned drawbacks, and at the same time makes it possible to recognize various hues as a background, which was impossible with the chroma system, and also to recognize unnecessary areas in the background as a background. The purpose of this paper is to provide a color image processing device that is capable of color image processing.
〈実施例〉
第1図は本発明の実施例で、従来のフレームメモリ及び
画像処理CPUに領域指定メモリ及び背景色メモリとい
う2つのメモリが付加された形となっている。以下簡単
に全体の説明を行うと、人力された画像信号はA/D変
換器10でデジタル(3号に変換されフレームメモリA
20に入力される。フレームメモリA20に格納されて
いる画像及び領域指定メモリ60で指定された領域はオ
ーバーラツプされ、タイミングコントローラ30により
常時D/にコンバータ40に送られモニターデイスプレ
ィ50に表示されている。これらの画像データはビデオ
バスVBを通じて転送される。Embodiment FIG. 1 shows an embodiment of the present invention, in which two memories, an area designation memory and a background color memory, are added to the conventional frame memory and image processing CPU. To give a brief overview below, the manually inputted image signal is converted into a digital signal (No. 3) by the A/D converter 10,
20 is input. The image stored in the frame memory A 20 and the area specified in the area specification memory 60 are overlapped, and are constantly sent to the converter 40 by the timing controller 30 and displayed on the monitor display 50. These image data are transferred via video bus VB.
一方、合成しようとするもう一つの画像はフレームメモ
リB70に格納されていて、フレームメモリA20及び
B2Oの間のデータは、システムバスSBを経由して画
像処理コントローラ100により自由に読込、書込、転
送が行える様になっている。さらにシステムバスSB上
には背景色メモリ80が接続されている。On the other hand, another image to be synthesized is stored in the frame memory B70, and the data between the frame memories A20 and B20 can be freely read, written, and read by the image processing controller 100 via the system bus SB. Transfer is now possible. Furthermore, a background color memory 80 is connected on the system bus SB.
フレームメモリA20.870は横640×縦480ド
ツトR,G、B各8ビツトのフルカラーの画像メモリで
、領域指定メモリ60も縦禍サイズは同一で深さ8ビツ
トのメモリとする。この8ビツトのうち1ビツトは合成
領域指定、1ビツトは背景領域指定に使われ、他はワー
ク用である。The frame memory A20.870 is a full-color image memory with 640 dots horizontally x 480 dots vertically, 8 bits each for R, G, and B, and the area specifying memory 60 is also a memory of the same vertical size and 8 bits deep. Of these 8 bits, 1 bit is used to designate the compositing area, 1 bit is used to designate the background area, and the others are used for work.
またデジタイザ・タブレット等のポインティングデバイ
ス90が画像処理コントローラ100に接続されていて
、モニターデイスプレィ50に現在位置が表示されてい
る。Further, a pointing device 90 such as a digitizer tablet is connected to the image processing controller 100, and the current position is displayed on the monitor display 50.
さて、今フレームメモリA20には第2図の様な人物画
が人っており、フレームメモリB70には第3図の様な
風景画が人っているとする。人物画の背景は壁であるが
、多少シェーディングがかかっていて、−抹ではない。Now, assume that the frame memory A20 contains a portrait as shown in FIG. 2, and the frame memory B70 contains a landscape as shown in FIG. The background of the portrait is a wall, but there is some shading, so it is not a blank space.
また壁の色と同一色相と思われる丸印の模様が洋服中に
含まれているとする。この様なフレームメモリA、Bの
画像を第4図に示す様な画像に合成したい。これを行う
には、合成させたい人物のみを切り出してもできるが、
輪郭を忠実にトレースするのは難しく、また髪の毛の一
木一本の様な細い部分は不可能である。そこでまず背景
色と混同しやすい部分あるいは合成したい部分の内側の
大まかな部分を切り出す。切り出し方はデジタイザ・タ
ブレット等のポインティングデバイス90を用い、A画
面にカーソルを表示させながら、その領域をぬりつぶす
方法で行う。この領域を合成領域とする。Also suppose that the clothes contain a circle pattern that seems to have the same hue as the wall color. I would like to combine the images in frame memories A and B into an image as shown in FIG. To do this, you can cut out only the person you want to combine, but
It is difficult to trace the outline faithfully, and it is impossible to trace a thin part like a single hair. First, cut out the rough part inside the part that is likely to be confused with the background color or the part you want to combine. The cutting is performed by using a pointing device 90 such as a digitizer or tablet, and displaying a cursor on screen A, and filling in the area. This area is defined as the compositing area.
第5図はモニターに表示される画面でその切り出した部
分を横線で示しである。逆に第2図中に除去したい部分
がある時は、その外側の大きな部分を同様な方法で指定
する。この領域を背景領域どする。合成領域と背景領域
はモニター上では別々の色でぬりつぶされ表示されるが
、あくまで領域指定メモリのみを変化させているだけで
、元の画像は彰テを受けない。FIG. 5 shows the cutout portion of the screen displayed on the monitor with horizontal lines. Conversely, if there is a part in Figure 2 that you want to remove, specify a large part outside of it in the same way. Make this area the background area. The composite area and background area are displayed in different colors on the monitor, but only the area specification memory is changed, and the original image is not modified.
以上の様に、領域指定メモリには、切り出したい領域お
よび除去したい領域が手動により大まかに指定される。As described above, the area to be cut out and the area to be removed are roughly specified manually in the area specification memory.
次に背景色の除去であるが、背景色の指定は、カーソル
で代表的な場所を何点か入力し指定されたポイントの色
相をR−G−Bにある上下中を設定し、背景色メモリの
ビットをたて背景色とする。例えばR−G−Bが50−
100−200の値の時は上下中を±10とすると、0
〜0式をすべて
40≦R≦60 □ ■
90≦G≦110 □ ■
190≦B≦210 □ ■
満たす様なR−G−Bの領域のビットを立てる。The next step is to remove the background color.To specify the background color, input several representative points with the cursor, set the hue of the specified point to the upper and lower middle of R-G-B, and then Set the memory bits as the background color. For example, R-G-B is 50-
When the value is 100-200, if the upper and lower middle are ±10, then 0
- Set bits in the R-G-B area that satisfy all expressions 40≦R≦60 □ ■ 90≦G≦110 □ ■ 190≦B≦210 □ ■.
これを人力したポイント数くり返す。Repeat this for the number of points you manually achieved.
このメモリの大きさはR,G、B各8ビットとすると2
’ x2’ x26=2”=16Mビットと膨大な量で
あるが、上下中を持たせる事を考えれば、各5ビツトで
十分と考えられ、その時は25 x 2 S x 2
S冨2 ”= 32 Kビットと小容量のRAMで実現
できる。以上の様に領域指定メモリは画面の平面方向を
制御し、背景色メモリは一点一点の色相という深さ方向
を制御する。The size of this memory is 2 if each R, G, and B are 8 bits.
'x2'x26=2''=16 Mbits, which is a huge amount, but if you consider having upper and lower middles, 5 bits each is considered sufficient, and in that case, 25 x 2 S x 2
This can be realized with a small capacity RAM of 32K bits.As described above, the area specification memory controls the plane direction of the screen, and the background color memory controls the depth direction of the hue of each point. .
実1際の合成は画像処理コントローラが画面を水平、垂
直方向に一点一点スキャニングさせながら領域指定メモ
リで合成領域と指定されている時は画面への画素を画面
Bに置き換え、背景領域と指定さねている時は何もせず
、どちらも指定されていない時は背景色メモリを参照し
、背景ビットが立フていない時は画面Aの画素を画面B
のと百ぎ換えながら画面全体について行う6
以上説明した様に、本実施例に依り、合成しようとする
画像の背景がシェーディングがかかった様な均一でなく
とも何点かポイントし、背景とみなすことができ、また
背景色と同一の色相があってもマスクビットをたてるこ
とにより背景と混同されることもなく、また背景中の不
要な領域は予め指定することにより背景とみなすことか
でき、良好な画像の切り出し及び合成が可能である。In actual compositing, the image processing controller scans the screen point by point in the horizontal and vertical directions, and when the area designation memory specifies the compositing area, it replaces the pixels on the screen with screen B, and then scans the screen point by point in the horizontal and vertical directions. If neither is specified, do nothing; if neither is specified, refer to the background color memory; if the background bit is not set, change the pixels of screen A to screen B.
6. As explained above, according to this embodiment, even if the background of the image to be synthesized is not uniform, such as shading, several points can be pointed and regarded as the background. Even if the color has the same hue as the background color, by setting a mask bit, it will not be confused with the background, and unnecessary areas in the background can be considered as the background by specifying them in advance. , it is possible to cut out and synthesize good images.
〈効 果〉
以上の如く本発明に依わば、細部に渡って画像の切り出
しが可能となる。<Effects> As described above, according to the present invention, it is possible to cut out the image in detail.
第1図は本実施例の処理ブロック図、第2図はフレーム
メモリA内の画像を示す図、第3図はフレームメモリB
内の画像を示す図、第4図は合成画像を示す図、第5図
は第2図の切り出し部分を示す図である。Figure 1 is a processing block diagram of this embodiment, Figure 2 is a diagram showing images in frame memory A, and Figure 3 is a diagram showing images in frame memory B.
FIG. 4 is a diagram showing a composite image, and FIG. 5 is a diagram showing a cut-out portion of FIG. 2.
Claims (1)
領域外の背景色を複数指定する指定手段、及び前記設定
手段および指定手段の出力を用いて前記オリジナル画像
の一部を切り出す手段より成ることを特徴とするカラー
画像処理装置。It is characterized by comprising a setting means for setting an area of the original color image, a specifying means for specifying a plurality of background colors outside the area, and a means for cutting out a part of the original image using the outputs of the setting means and the specifying means. Color image processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19003586A JPH07104915B2 (en) | 1986-08-13 | 1986-08-13 | Color image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19003586A JPH07104915B2 (en) | 1986-08-13 | 1986-08-13 | Color image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6346573A true JPS6346573A (en) | 1988-02-27 |
JPH07104915B2 JPH07104915B2 (en) | 1995-11-13 |
Family
ID=16251276
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP19003586A Expired - Lifetime JPH07104915B2 (en) | 1986-08-13 | 1986-08-13 | Color image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07104915B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9417754B2 (en) | 2011-08-05 | 2016-08-16 | P4tents1, LLC | User interface system, method, and computer program product |
-
1986
- 1986-08-13 JP JP19003586A patent/JPH07104915B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH07104915B2 (en) | 1995-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0369702B1 (en) | Image processing apparatus and method | |
JPH0640219B2 (en) | How to create cutout mask data | |
JPH10507280A (en) | Method and apparatus for detecting the position of a reflective object in a video field | |
JP3078088B2 (en) | Character image synthesis display device | |
JP2943170B2 (en) | Color image processing equipment | |
JPS6346573A (en) | Color image processor | |
JP2936599B2 (en) | Color image processing equipment | |
JP2973432B2 (en) | Image processing method and apparatus | |
JP3133093B2 (en) | Electronic image correction method and apparatus | |
JP3384873B2 (en) | Image display system and image display method | |
JPH0812692B2 (en) | Image processing device | |
JPS62256085A (en) | Magazine editing system | |
JPH0571099B2 (en) | ||
JP2701056B2 (en) | Secondary representation method for three-dimensional objects | |
JPH05225299A (en) | Color conversion system | |
JPS6177088A (en) | Image data processor | |
JP2859883B2 (en) | Display device for presentation | |
JPS61213975A (en) | Area detecting system | |
JPH10188019A (en) | Method and device for processing image | |
KR930004645B1 (en) | Apparatus for encoding image signal | |
JP3504281B2 (en) | Time series image information processing method and apparatus | |
JPH0464112B2 (en) | ||
JPH04333174A (en) | System for trimming | |
JP2000011201A (en) | Image simulation device | |
JPH05290133A (en) | Color image processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |