JPH07322054A - Area setting method - Google Patents

Area setting method

Info

Publication number
JPH07322054A
JPH07322054A JP6116311A JP11631194A JPH07322054A JP H07322054 A JPH07322054 A JP H07322054A JP 6116311 A JP6116311 A JP 6116311A JP 11631194 A JP11631194 A JP 11631194A JP H07322054 A JPH07322054 A JP H07322054A
Authority
JP
Japan
Prior art keywords
image
area
subject
region
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
JP6116311A
Other languages
Japanese (ja)
Inventor
Isamu Hatanaka
勇 畑中
Tatsuji Kitamoto
達治 北本
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP6116311A priority Critical patent/JPH07322054A/en
Publication of JPH07322054A publication Critical patent/JPH07322054A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and speedily set the area of only a subject part by designating a rough area including a desired subject in an image displayed in CRT and executing a necessary subject recognition processing on the image of the designated area. CONSTITUTION:An image pickup signal by a CCD camera 4 is reproduced by CPU 6 and the like and the reproduced image is displayed on CRT 14 of a console 13. When the subject 21B and the like in the image 20 is selected and the rough area 30 is designated through a mouse 16, the subject recognition processing of the subject 21B such as an outline recognition processing and a skin color recognition processing is executed as against the area 30 through CPU 6, a processing condition storage part 8 and memories 9-11. Then, a subject image area is easily and speedily set by following a subject outline without designating an image area.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、写真画像に画像処理等
を施すための処理領域を設定する領域設定方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an area setting method for setting a processing area for performing image processing on a photographic image.

【0002】[0002]

【従来の技術】従来より、イメージスキャナー、ビデオ
カメラ等で読み込んだ原画像を表す画像信号に対して階
調補正、色補正、輪郭強調等の画像処理を施し、所望の
画像を得る方法が種々提案されているが、原画像に対す
る処理範囲を特定しないで画像全体に画一的に処理を行
うと、適切な処理が施された部分と、適切な処理が施さ
れない部分とが生じることになる。
2. Description of the Related Art Conventionally, there are various methods for obtaining a desired image by performing image processing such as gradation correction, color correction, and edge enhancement on an image signal representing an original image read by an image scanner, a video camera or the like. Although proposed, if the entire image is uniformly processed without specifying the processing range for the original image, there will be a portion that is appropriately processed and a portion that is not appropriately processed. .

【0003】そこで、例えば、パソコン、ワークステー
ション上においてイメージスキャナー等で読み込まれ、
CRTに表示された原画像に対してライトペン等を用い
て処理領域を特定しその部分に対して所望とする画像処
理を行う方法が提案されている。また、このように処理
領域を特定する際に、領域の境界部分において画像に段
差が生じてしまうことがあるため、この強化部分におい
て不自然さが生じないようにすることができる領域設定
のための方法が提案されている(特開平5-250462号
等)。
Therefore, for example, it is read by an image scanner or the like on a personal computer or a workstation,
A method has been proposed in which a processing area is specified for an original image displayed on a CRT by using a light pen or the like, and desired image processing is performed on that portion. In addition, when specifying the processing area in this way, a step may occur in the image at the boundary portion of the area, so that the area setting that can prevent unnaturalness in this strengthened portion Has been proposed (Japanese Patent Laid-Open No. 5-250462, etc.).

【0004】また、原稿を読み取ってこの原稿を処理し
て記録を行う装置の分野において、原稿のある領域のみ
を記録する場合、あるいは原稿2頁のそれぞれにおける
ある領域を1頁の記録紙に記録する等トリミングやオー
バレイを行いたい場合がある。このため、特定色により
原稿に領域を設定し、原稿を読み取るときにこの領域を
認識する方法や、原稿にループにより領域を設定し、読
取りの際にこのループ内を処理を行うための領域として
認識する方法が提案されている(実公平6-2363号、特開
昭57-194670 号、同57-196660 号、同57-203372 号
等)。
Further, in the field of an apparatus for reading a document and processing the document for recording, only a certain region of the document is recorded, or a certain region in each of two pages of the document is recorded on one page of recording paper. You may want to perform trimming or overlay. Therefore, a method is used to set an area in the original with a specific color and recognize this area when reading the original, or to set an area in the original with a loop and use this loop as an area for processing. Recognition methods have been proposed (JP-B-6-2363, JP-A-57-194670, JP-A-57-196660, JP-A-57-203372, etc.).

【0005】一方、写真画像の分野においても、例え
ば、人物が映し込まれている写真画像のような場合、画
像上に人物を含む領域を設定して、この領域内の画像に
ついて濃度や階調を変えたり消去あるいはトリミングを
行う等してユーザーの希望に沿った写真画像を作成する
場合がある。このような場合、ユーザーはプリントされ
たポジ画像を見て処理を行うべき被写体を指定し、画像
処理システムを有するカメラ店のオペレータにこの領域
を指示することにより領域の指定を行っていた。そして
オペレータはポジ画像を読取装置にかけてこの画像をC
RTに表示し、CRT上でマウス等を用いてユーザの指
示した通りの処理を施すべき所望の被写体のみを含む領
域を設定し、この領域内の画像についてユーザの指示し
た処理(例えば、トリミング、濃度補正、階調補正、赤
目補正等)を行うようにしていた。この領域を設定する
方法としては例えばパソコン、ワークステーション上に
おいてクロマキーとして知られているような色の差を利
用して境界を自動的に描かせる方法、上述したマウスを
用いて境界線をトレースする方法、大まかに境界部分を
選んでおいてその中での色差、明度差を利用して境界線
を作成していく方法等が採用されている。
On the other hand, also in the field of photographic images, for example, in the case of a photographic image in which a person is reflected, an area including a person is set on the image, and the density and gradation of the image in this area are set. There are cases in which a photographic image is created in accordance with the user's wishes by changing, erasing or trimming. In such a case, the user specifies the subject to be processed by looking at the printed positive image, and specifies the region by instructing the operator of the camera store having the image processing system to this region. The operator then puts a positive image on the reading device and prints this image on C
A region including only the desired subject to be displayed on the RT and using the mouse or the like on the CRT to be processed as instructed by the user is set, and the image in this region is instructed by the user (for example, trimming, Density correction, gradation correction, red-eye correction, etc.). As a method of setting this area, for example, a method of automatically drawing a boundary using a color difference known as chroma key on a personal computer or a workstation, and tracing the boundary line using the mouse described above A method is used in which a boundary portion is roughly selected and a boundary line is created by utilizing a color difference and a brightness difference in the boundary portion.

【0006】[0006]

【発明が解決しようとする課題】上述したように画像に
種々の画像処理を施すために、画像中に領域を設定する
必要があるが、この領域を設定する際に、処理を施すべ
き所望の被写体の輪郭を精密にトレースして領域を設定
するのが好ましい。しかしながら、被写体の輪郭を精密
にトレースして領域を設定するのは非常に熟練した技術
を要し、また領域を設定するために長時間を要するのも
となっている。したがって、領域を設定する際には、処
理を施すべき所望の被写体の近傍の被写体以外の部分を
含む大まかな領域を設定する場合が多い。
As described above, in order to perform various image processings on an image, it is necessary to set an area in the image. When setting this area, the desired processing should be performed. It is preferable to precisely trace the contour of the subject to set the region. However, it takes a very skilled technique to accurately trace the contour of the subject and set the area, and it also takes a long time to set the area. Therefore, when setting a region, a rough region including a portion other than the subject near the desired subject to be processed is often set.

【0007】しかしながら、このように被写体以外の部
分を含む大まかな領域を設定して前述したような画像処
理を施すと、処理を施した領域と、それ以外の領域とに
不自然な境界ができてしまい、画像が不自然なものとな
る。
However, if a rough area including a portion other than the subject is set and the above-described image processing is performed, an unnatural boundary is formed between the processed area and other areas. The image becomes unnatural.

【0008】本発明は上記事情に鑑み、画像処理を施す
べき所定の被写体を含む領域を大まかに設定するのみ
で、この所定の被写体の部分のみを画像処理を施すべき
領域として設定することができる領域設定方法を提供す
ることを目的とするものである。
In view of the above circumstances, the present invention roughly sets an area including a predetermined subject to be subjected to image processing, and can set only a part of the predetermined subject as an area to be subjected to image processing. It is an object to provide an area setting method.

【0009】[0009]

【課題を解決するための手段】本発明による領域設定方
法は、上述したような画像中の所望の被写体のみに所定
の画像処理を施すために、該所望の被写体の領域を前記
画像中に設定する方法において、所望の被写体のみを選
択的に含むとともにこの被写体近傍の部分を含む領域を
画像中に指定し、この指定された領域内の画像部分に被
写体認識処理を施すことにより、所望の被写体に相当す
る領域を所望の被写体の領域として画像中に設定するこ
とを特徴とするものである。
A region setting method according to the present invention sets a region of a desired subject in the image in order to perform predetermined image processing only on the desired subject in the image as described above. In this method, a desired subject is selectively specified by selectively including only a desired subject and specifying a region including a portion near the subject in the image, and subjecting the image within the designated region to subject recognition processing. Is set in the image as an area of a desired subject.

【0010】ここで、被写体認識処理としては、指定さ
れた領域内の画像について所望とする被写体の輪郭線を
認識する処理、あるいは指定された領域内の画像につい
て肌色認識を行う処理とすることが好ましい。この場
合、輪郭線認識処理により認識された輪郭線に囲まれた
領域、あるいは肌色認識により認識された肌色の領域を
所望の被写体の領域とするものである。
Here, the subject recognition process may be a process of recognizing a desired contour line of a subject in an image in a designated region, or a process of performing skin color recognition in an image in the designated region. preferable. In this case, the area surrounded by the contour lines recognized by the contour line recognition processing or the skin color area recognized by the skin color recognition is set as the desired subject area.

【0011】[0011]

【作用】本発明による領域設定方法は、画像処理を施す
べき所望の被写体のみを選択的に含み、かつこの被写体
近傍の領域を含む大まかな領域を画像中に指定するのみ
により、この指定された領域に被写体認識処理を施して
所望とする被写体に相当する領域を画像中に設定するよ
うにしたものである。このため、画像上に領域を設定す
る際に被写体の輪郭を正確にトレースすることなく、短
時間で処理を施すべき被写体に相当する領域のみを設定
することができる。したがって、処理後の領域とそれ以
外の領域との境界は所望とする被写体の輪郭部分に位置
することとなるため、処理後の領域とそれ以外の領域と
の間の不自然な境界ができることが防止される。また、
この領域内に画像処理を施す場合でも、所望とする被写
体以外の部分に処理を施す必要がなくなる。
The area setting method according to the present invention selectively specifies only a desired subject to be image-processed, and only specifies a rough area including the area near the subject in the image. The subject recognition processing is performed on the region to set a region corresponding to a desired subject in the image. Therefore, it is possible to set only the region corresponding to the subject to be processed in a short time without accurately tracing the contour of the subject when setting the region on the image. Therefore, since the boundary between the processed area and the other area is located at the contour portion of the desired subject, an unnatural boundary between the processed area and the other area may be created. To be prevented. Also,
Even when image processing is performed within this area, it is not necessary to perform processing on a portion other than the desired subject.

【0012】なお、上述した被写体認識処理として肌色
認識処理を行う場合は、所望とする被写体を人間とした
ときにこの所望とする被写体に対応する領域を良好に検
出することができ、輪郭線を認識する処理とした場合
は、例えば人間の顔等閉領域に囲まれた被写体を所望と
する被写体としたときにこの所望被写体に対応する領域
を良好に検出することができる。
When the flesh color recognition processing is performed as the above-mentioned subject recognition processing, when the desired subject is a human, the area corresponding to this desired subject can be satisfactorily detected, and the contour line When the recognition processing is performed, for example, when a subject surrounded by a closed region such as a human face is set as a desired subject, the region corresponding to the desired subject can be favorably detected.

【0013】[0013]

【実施例】以下図面を参照して本発明の実施例について
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は本発明による領域設定方法を実施す
るための装置の概略を表す図である。
FIG. 1 is a diagram showing an outline of an apparatus for carrying out the area setting method according to the present invention.

【0015】図1に示すように本発明の実施例による領
域設定装置1は、原画像が記録されたネガフイルム、こ
のネガフイルムに基づいて感光材料等の記録媒体上に可
視像として再生されたポジ画像等の媒体2からRGB切
換フィルタ3を介して画像信号の読取りを行うCCDカ
メラ4と、CCDカメラ4から出力された画像を表す画
像信号をA/D変換するA/D変換手段5と、CPU6
と、ROM7と、処理条件記憶部8と、読み取られた画
像信号を記憶しておくためのメモリ9と、設定された領
域内の画像を記憶しておくための領域記憶部としてのメ
モリ10と、後述するような画像処理がなされた画像信号
を記憶しておくための処理画像記憶部としてのメモリ11
と、処理された画像信号を感光材料に可視像として記録
するためのプリンタ12と、コンソール13とからなり、こ
れら各構成要素はバス17を介して相互に接続されてい
る。
As shown in FIG. 1, an area setting device 1 according to an embodiment of the present invention reproduces a negative image on which an original image is recorded and a visible image reproduced on a recording medium such as a photosensitive material based on the negative film. A CCD camera 4 for reading an image signal from a medium 2 such as a positive image through an RGB switching filter 3, and an A / D conversion means 5 for A / D converting an image signal representing an image output from the CCD camera 4. And CPU6
A ROM 7; a processing condition storage unit 8; a memory 9 for storing a read image signal; and a memory 10 as an area storage unit for storing an image in a set area. A memory 11 as a processed image storage unit for storing an image signal subjected to image processing as described later.
A printer 12 for recording the processed image signal on the photosensitive material as a visible image, and a console 13, and these respective components are interconnected via a bus 17.

【0016】CPU6は、装置1全体の制御を行い、R
OM7はCPU6における処理手順を規定するためのプ
ログラムが記憶されている。また、処理条件記憶部8
は、コンソール13により設定された、領域内の画像に対
する処理条件を記憶する。メモリ9はRGBフィルタ4
によって分離され、CCDカメラ4により読み取られた
R(レッド),G(グリーン),B(ブルー)各色の画
像に対応する画像信号を記憶する。領域記憶部としての
メモリ10は原画像に対して所望の画像処理をすべく設定
された領域を、後述するように作成された領域信号とし
て記憶する。
The CPU 6 controls the entire apparatus 1, and R
The OM 7 stores a program for defining the processing procedure in the CPU 6. Further, the processing condition storage unit 8
Stores the processing conditions set by the console 13 for the images in the area. The memory 9 is the RGB filter 4
The image signals corresponding to the R (red), G (green), and B (blue) color images separated by the CCD camera 4 are stored. The memory 10 as an area storage unit stores an area set to perform desired image processing on the original image as an area signal created as described later.

【0017】また、コンソール13はCRT14と、キーボ
ード15と、マスク16とを備え、原画像あるいは領域内の
処理画像に対して後述するような処理を施すための指示
を入力するものである。
The console 13 is provided with a CRT 14, a keyboard 15 and a mask 16 and is used to input an instruction for performing processing as will be described later on an original image or a processed image in an area.

【0018】まず、図2に示すように、感光材料等の記
録媒体に再生された再生画像20をCCDカメラ4によっ
て読み取る。この再生画像20には図2に示すように3人
の人物21A,21B,21Cが映し込まれているものであ
る。そして、ユーザーは人物21Bの顔の濃度を変化させ
る処理を希望しているものとする。
First, as shown in FIG. 2, the CCD camera 4 reads a reproduced image 20 reproduced on a recording medium such as a photosensitive material. In this reproduced image 20, three persons 21A, 21B and 21C are shown as shown in FIG. Then, it is assumed that the user desires a process for changing the density of the face of the person 21B.

【0019】この読取りは図3に示すフローチャートに
基づいて行われる。すなわち、再生画像20をRGB切換
フィルタ3をRに設定した状態でCCDカメラ4によっ
て読み取る(ステップS1,S2)。読み取られた原画
像はA/D変換器5によってデジタル信号に変換された
後バス17を介してメモリ9に記憶される(ステップS
3)。次いで、RGB切換フィルタ3をGおよびBに設
定した状態でステップS2からステップS3の動作を繰
り返し、メモリ9にそれぞれの再生画像20を表す画像信
号S1 を記憶させる(ステップS4)。
This reading is performed based on the flow chart shown in FIG. That is, the reproduced image 20 is read by the CCD camera 4 with the RGB switching filter 3 set to R (steps S1 and S2). The read original image is converted into a digital signal by the A / D converter 5 and then stored in the memory 9 via the bus 17 (step S
3). Next, the operations of steps S2 to S3 are repeated with the RGB switching filter 3 set to G and B, and the image signals S 1 representing the respective reproduced images 20 are stored in the memory 9 (step S4).

【0020】このようにして得られた画像信号S1 に基
づいて、以下説明するように所望とする被写体に対応す
る領域が設定される。
Based on the image signal S 1 obtained in this way, a region corresponding to a desired subject is set as described below.

【0021】図4は本発明の実施例による領域設定方法
における領域設定のステップを表すフローチャートであ
る。
FIG. 4 is a flow chart showing the steps of area setting in the area setting method according to the embodiment of the present invention.

【0022】図4に示すように、まず画像信号S1 がコ
ンソール13のCRT14に入力され、ここで可視像として
表示される(ステップS11)。次いでオペレータはマウ
ス16やキーボード15により所望とする被写体のみを選択
的に含むとともに、この被写体近傍の部分を含む領域を
CRT14上において指定する(ステップS12)。ここ
で、本実施例においては、後に画像処理を施すべき所望
の被写体として、前述したように図2に示す3人の人物
21A,21B,21Cのうち人物21Bを選択するものであ
る。したがって、このCRT14上には図5に示すように
人物21Bのみ選択的に含むとともに、この人物21Bの近
傍の部分22(図5において斜線で示す部分)を含む領域
30が指定される。
As shown in FIG. 4, the image signal S 1 is first input to the CRT 14 of the console 13 and displayed as a visible image here (step S11). Next, the operator selectively includes only a desired subject with the mouse 16 or the keyboard 15 and designates a region including a portion near the subject on the CRT 14 (step S12). Here, in this embodiment, as the desired subjects to be subjected to image processing later, the three persons shown in FIG.
The person 21B is selected from 21A, 21B, and 21C. Therefore, as shown in FIG. 5, only a person 21B is selectively included on the CRT 14, and a region 22 (a hatched portion in FIG. 5) near the person 21B is included in the area.
30 is specified.

【0023】次いで、領域30内の画像についてのみ被写
体認識処理が施される(ステップS13)。本実施例にお
いては、領域30内の所望とする被写体は人物であるた
め、肌色認識処理を施すものとする。
Then, subject recognition processing is performed only on the image in the area 30 (step S13). In this embodiment, since the desired subject in the area 30 is a person, the skin color recognition process is performed.

【0024】肌色認識の方法としては、まずCRT14に
再生された領域30内の画像を表す画像信号S1 ′につい
て、この画像信号S1 ′のB,G,Rの成分の濃度の組
合せを軸とした3次元座標系を設定し、この座標系にお
ける肌色を表す領域を楕円または円断面を有する立体で
定義する。そして、CRT14に再生された領域30内の画
素が担持する画像信号でのB,G,Rのそれぞれの成分
の画像信号値がこの立体の中に含まれるときに、その画
像信号を担持する画素の部分を肌色として認識する。こ
の肌色認識の方法は、具体的には特開昭52-156624 号、
同60-217353 号に開示されている。
As a skin color recognition method, first, for the image signal S 1 ′ representing the image in the region 30 reproduced on the CRT 14, the combination of the densities of the B, G and R components of this image signal S 1 ′ is used as the axis. The three-dimensional coordinate system is set, and the region representing the skin color in this coordinate system is defined by a solid having an elliptical or circular cross section. Then, when the image signal value of each of the B, G, and R components in the image signal carried by the pixel in the region 30 reproduced on the CRT 14 is included in this solid, the pixel carrying the image signal The part of is recognized as a skin color. This flesh color recognition method is specifically described in JP-A-52-156624.
No. 60-217353.

【0025】このようにして肌色認識がなされると、図
6に示すように領域30内の画像中、人物21Bの顔に対応
する領域31が肌色として認識される。
When the flesh color is recognized in this way, the region 31 corresponding to the face of the person 21B in the image in the region 30 is recognized as the flesh color as shown in FIG.

【0026】そして、このように肌色として認識された
領域31がユーザーが希望する、画像処理を施す領域とし
てCRT14に表示された再生画像20中に設定される(ス
テップS14)。このようにして設定された領域31内に対
応する画像を表す画像信号S1 ″は、メモリ10に一旦記
憶される。
Then, the area 31 recognized as the skin color is set in the reproduced image 20 displayed on the CRT 14 as an area to be subjected to image processing desired by the user (step S14). The image signal S 1 ″ representing the image corresponding to the area 31 thus set is temporarily stored in the memory 10.

【0027】このように、本発明による領域設定方法
は、CRT14に再生された再生画像20に、処理を施した
い所望の被写体21Bの顔を領域30を大まかに指定するこ
とにより、所望の被写体21Bの顔の部分に対応する領域
31のみを再生画像20中に設定することができるものであ
る。
As described above, according to the area setting method of the present invention, the face of the desired subject 21B to be processed is roughly designated in the reproduced image 20 reproduced on the CRT 14 so that the desired area of the desired subject 21B can be obtained. Area corresponding to the face part of
Only 31 can be set in the reproduced image 20.

【0028】このようにして領域31が設定されることに
より検出された領域31内の画像信号S1 ″について、ユ
ーザーの指定した処理、例えば、濃度の強調、階調を変
化させる等の処理がコンソール13のマウス16、キーボー
ド15から入力され、CPU6はこれらの入力に従って処
理条件記憶部8に記憶された処理条件に従って画像信号
1 ″に対して画像処理を行う(ステップS15)。
With respect to the image signal S 1 ″ in the area 31 detected by setting the area 31 in this way, processing specified by the user, for example, processing such as density enhancement and gradation change is performed. Input from the mouse 16 and the keyboard 15 of the console 13, and the CPU 6 performs image processing on the image signal S 1 ″ according to the processing conditions stored in the processing condition storage unit 8 according to these inputs (step S15).

【0029】このようにして画像信号S1 ″に対して画
像処理がなされると、次いで画像処理がなされた画像信
号S1 ″と画像信号S1 により表される画像との合成が
なさるれる。すなわち、図7に示すように、画像処理が
施された画像信号S1 ″により表される画像34と、それ
以外の画像32との合成が行われる。
[0029] "When the image processing is performed on, then the image processing is image signals S 1 was made" Thus the image signals S 1 in the synthesis of the image represented by the image signals S 1 is Nasaru. That is, as shown in FIG. 7, the image 34 represented by the image signal S 1 ″ subjected to image processing and the image 32 other than that are combined.

【0030】そしてこのように合成された画像を表す画
像信号S2 が一旦メモリ11に記憶され、その後画像信号
2 はプリンタ12に入力されこの画像信号S2 により表
される画像が感光材料等の記録媒体に可視像として再生
される。
The image signal S 2 representing the image thus synthesized is once stored in the memory 11, and then the image signal S 2 is input to the printer 12 so that the image represented by the image signal S 2 is a photosensitive material or the like. Is reproduced as a visible image on the recording medium.

【0031】このように、本発明による領域設定方法を
用いることにより、再生画像中に画像処理を施すべき所
望とする被写体のみを含む領域を大まかに指定するのみ
で、所望とする被写体のみに画像処理を行うべき領域が
設定されるため、CRT14を見ながら所望とする被写体
の輪郭を正確にトレースする必要がなくなり、短時間で
所望とする被写体のみに画像処理を施すべき領域を設定
することができる。また、画像処理後の領域とそれ以外
の領域との境界は人物21とそれ以外の領域との境界に位
置することとなるため、処理後の領域とそれ以外の領域
との間に不自然な境界ができることが防止される。さら
に、大まかに領域を指定しても所望とする被写体以外の
余分な領域について画像処理を施す必要がなくなるた
め、画像処理のための演算時間を短縮することができ
る。
As described above, by using the area setting method according to the present invention, it is only necessary to roughly specify the area including only the desired subject to be subjected to the image processing in the reproduced image, and only the desired subject is imaged. Since the area to be processed is set, it is not necessary to accurately trace the contour of the desired object while observing the CRT 14, and it is possible to set the area to be subjected to image processing only to the desired object in a short time. it can. Further, since the boundary between the image-processed area and the other area is located at the boundary between the person 21 and the other area, there is an unnaturalness between the processed area and the other area. Boundaries are prevented. Further, even if the area is roughly specified, it is not necessary to perform the image processing on the extra area other than the desired subject, so that the calculation time for the image processing can be shortened.

【0032】なお、上述した実施例においては、図4に
示す被写体認識処理のステップS13において肌色認識を
行うようにしているが、これに限定されるものではな
く、被写体の輪郭線を認識する処理を施すようにしても
よいものである。
In the embodiment described above, the skin color recognition is performed in step S13 of the subject recognition process shown in FIG. 4, but the invention is not limited to this, and the process of recognizing the contour line of the subject is performed. May be applied.

【0033】図8(a)に示すように領域30内の画像を
表す画像信号を微分処理すると、その微分値例えば、I-
I 線断面は図8(b)に示すものとなる。したがって、
このように微分値がピークを示し、かつこのピークが連
続するような画像信号値となる画素を輪郭線とし、この
輪郭線に囲まれる領域33を、画像処理を施すべき所望と
する被写体に対応する領域として認識するようにしても
よいものである。
When the image signal representing the image in the area 30 is differentiated as shown in FIG. 8A, the differential value, for example, I-
A cross section taken along line I is shown in FIG. Therefore,
In this way, a pixel having an image signal value such that the differential value shows a peak and the peak is continuous is defined as a contour line, and an area 33 surrounded by the contour line corresponds to a desired subject to be image-processed. It may be recognized as a region to be operated.

【0034】さらに、上述した実施例においては、感光
材料等の記録媒体に記録された再生画像をCCDカメラ
4により読み取って得られた画像に所望とする被写体の
みを含む領域を設定するようにしているが、これに限定
されるものではなく、例えば、ネガフイルムに記録され
た画像をCCDカメラ4により読み取った画像信号をC
RTに表示して、これに対して領域設定をするようにし
てもよく、またフォトCDのように画像を表す画像信号
を直接CRTに表示してこれに領域設定をするようにし
てもよい。さらに、感光材料等の記録媒体に記録された
再生画像に、所望とする被写体を含む領域を直接書き込
み、この領域とともにこの再生画像をCCDカメラ4に
より読み取って、CRT上で所望とする被写体を含む領
域を指定することなく、即時に被写体認識処理を行うよ
うにしてもよいものである。
Further, in the above-mentioned embodiment, the reproduced image recorded on the recording medium such as the photosensitive material is read by the CCD camera 4 to set the area including only the desired subject in the image obtained. However, the present invention is not limited to this. For example, an image signal obtained by reading the image recorded on the negative film with the CCD camera 4 is C
The area may be displayed on the RT and the area may be set, or an image signal representing an image such as a photo CD may be directly displayed on the CRT and the area may be set on the CRT. Further, an area including a desired subject is directly written in a reproduced image recorded on a recording medium such as a photosensitive material, and the reproduced image is read by the CCD camera 4 together with the area to include the desired subject on the CRT. The subject recognition process may be performed immediately without specifying the area.

【0035】また、上述した被写体認識処理において、
輪郭認識処理を行うものについては、所望とする被写体
は人物に限られるものではなく、閉領域を含む被写体で
あればいかなる被写体をも画像処理を施すべき所望とす
る被写体として選択するようにしてもよいものである。
In the subject recognition processing described above,
Regarding the object for which the contour recognition processing is performed, the desired subject is not limited to a person, and any subject including a closed region may be selected as the desired subject to be subjected to image processing. It's good.

【0036】[0036]

【発明の効果】以上詳細に説明したように、本発明によ
る領域設定方法は、画像中に画像処理を施すべき所望と
する被写体のみを含む領域を大まかに設定するのみで、
この所望とする被写体のみを含む領域を画像中に設定す
ることができるため、領域設定の際に画像中の所望とす
る被写体の輪郭を正確にトレースする必要がなくなり、
短時間で画像処理を施すべき領域を設定することができ
る。また、処理後の領域とそれ以外の領域との境界は所
望とする被写体の輪郭部分に位置することとなるため、
処理後の領域とそれ以外の領域との間の不自然な境界が
できることが防止される。さらに、大まかに領域を設定
しても所望とする被写体以外の余分な領域について画像
処理を施す必要がなくなるため、画像処理のための演算
時間を短縮することができる。
As described in detail above, the area setting method according to the present invention can roughly set an area including only a desired subject to be image-processed in an image.
Since the area including only the desired subject can be set in the image, it is not necessary to accurately trace the contour of the desired subject in the image when setting the area,
It is possible to set an area to be subjected to image processing in a short time. In addition, since the boundary between the processed region and the other regions is located at the outline of the desired subject,
It is possible to prevent an unnatural boundary between the processed area and the other areas. Further, even if the area is roughly set, it is not necessary to perform the image processing on the extra area other than the desired subject, so that the calculation time for the image processing can be shortened.

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

【図1】本発明による領域設定方法を実施するための装
置の概略を表す図
FIG. 1 is a schematic diagram of an apparatus for carrying out a region setting method according to the present invention.

【図2】感光材料等の記録媒体に再生された所望とする
被写体を含む再生画像を表す図
FIG. 2 is a diagram showing a reproduced image including a desired subject reproduced on a recording medium such as a photosensitive material.

【図3】再生画像からの画像信号の読取りを説明するた
めのフローチャート
FIG. 3 is a flowchart for explaining reading of an image signal from a reproduced image.

【図4】本発明による領域設定方法を説明するためのフ
ローチャート
FIG. 4 is a flowchart for explaining a region setting method according to the present invention.

【図5】再生画像に所望とする被写体のみを選択的に含
むとともにこの被写体の近傍の部分を含む領域を指定し
た状態を表す図
FIG. 5 is a diagram showing a state in which a reproduced image selectively includes only a desired subject and a region including a portion near the subject is designated.

【図6】所望とする被写体のみに対応する領域が設定さ
れた状態を表す図
FIG. 6 is a diagram showing a state in which an area corresponding to only a desired subject is set.

【図7】画像処理が施された所望とする領域に対応する
画像とそれ以外の画像との合成を説明するための図
FIG. 7 is a diagram for explaining composition of an image corresponding to a desired area that has been subjected to image processing and an image other than that.

【図8】輪郭線の認識を説明するための図FIG. 8 is a diagram for explaining recognition of a contour line.

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

1 領域設定装置 2 媒体 3 RGB切換フィルタ 4 CCDカメラ 5 A/D変換手段 6 CPU 7 ROM 8 処理条件記憶部 9,10,11 メモリ 12 プリンタ 13 コンソール 17 バス 20 再生画像 21A,21B,21C 人物 30 大まかな領域 31 画像処理を施すべき領域 1 area setting device 2 medium 3 RGB switching filter 4 CCD camera 5 A / D conversion means 6 CPU 7 ROM 8 processing condition storage unit 9, 10, 11 memory 12 printer 13 console 17 bus 20 replay image 21A, 21B, 21C person 30 Rough area 31 Area to be subjected to image processing

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 7459−5L G06F 15/70 330 Z H04N 1/46 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location H04N 1/46 7459-5L G06F 15/70 330 Z H04N 1/46 Z

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像中の所望の被写体のみに所定の画像
処理を施すために、該所望の被写体の領域を前記画像中
に設定する方法において、 前記所望の被写体のみを選択的に含むとともに該被写体
近傍の部分を含む領域を前記画像中に指定し、 該指定された領域内の画像部分に被写体認識処理を施す
ことにより、前記所望の被写体に相当する領域を前記所
望の被写体の領域として前記画像中に設定することを特
徴とする領域設定方法。
1. A method for setting a region of a desired subject in the image for performing predetermined image processing only on the desired subject in an image, the method comprising selectively including only the desired subject. A region including a portion near the subject is designated in the image, and subject recognition processing is performed on the image portion in the designated region, so that a region corresponding to the desired subject is set as the region of the desired subject. An area setting method characterized by setting in an image.
【請求項2】 前記被写体認識処理が、前記指定された
領域内の画像について前記被写体の輪郭線を認識する処
理であり、 該輪郭線に囲まれる領域を前記所望の被写体の領域とす
ることを特徴とする請求項1記載の領域設定方法。
2. The subject recognition process is a process of recognizing a contour line of the subject for an image in the designated region, wherein a region surrounded by the contour line is set as a region of the desired subject. The area setting method according to claim 1, wherein the area setting method is provided.
【請求項3】 前記被写体認識処理が、前記指定された
領域内の画像について肌色認識を行う処理であり、 該肌色認識により認識された肌色の領域を前記所望の被
写体の領域とすることを特徴とする請求項1記載の領域
設定方法。
3. The subject recognition process is a process of performing flesh color recognition on an image in the designated region, and the flesh color region recognized by the flesh color recognition is set as the desired subject region. The area setting method according to claim 1.
JP6116311A 1994-05-30 1994-05-30 Area setting method Pending JPH07322054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6116311A JPH07322054A (en) 1994-05-30 1994-05-30 Area setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6116311A JPH07322054A (en) 1994-05-30 1994-05-30 Area setting method

Publications (1)

Publication Number Publication Date
JPH07322054A true JPH07322054A (en) 1995-12-08

Family

ID=14683862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6116311A Pending JPH07322054A (en) 1994-05-30 1994-05-30 Area setting method

Country Status (1)

Country Link
JP (1) JPH07322054A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728400B1 (en) 1999-07-30 2004-04-27 Canon Kabushiki Kaisha Apparatus, method, and storage medium for setting an extraction area in an image
JP2012216179A (en) * 2011-03-31 2012-11-08 Casio Comput Co Ltd Image processing device, image processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728400B1 (en) 1999-07-30 2004-04-27 Canon Kabushiki Kaisha Apparatus, method, and storage medium for setting an extraction area in an image
JP2012216179A (en) * 2011-03-31 2012-11-08 Casio Comput Co Ltd Image processing device, image processing method, and program
US9020255B2 (en) 2011-03-31 2015-04-28 Casio Computer Co., Ltd. Image processing apparatus, image processing method, and storage medium

Similar Documents

Publication Publication Date Title
US20070247474A1 (en) Method, apparatus and recording medium for image processing
US7206445B2 (en) Method, apparatus and recording medium for image processing
US7663779B2 (en) Image processing apparatus, image processing method and program therefor
JP2002262094A (en) Image processing method and image processor
JPH10187966A (en) Method and device for filtering image
JPS61161091A (en) Image processing method
JPH08154172A (en) Image processing method, image file and file for image processing
US7212674B1 (en) Method, apparatus and recording medium for face extraction
JPH1091761A (en) Picture processor
JP2000196890A (en) Method and device for image processing and recording medium
US20090067718A1 (en) Designation of Image Area
JPH07322054A (en) Area setting method
JP4507082B2 (en) Catch light synthesis method
KR20020084321A (en) real-time character composition method using template
JP3473832B2 (en) Digital image automatic correction method and system
JPH1065923A (en) Image processing method and device
JP2006072743A (en) Catch light composition method and device
JP3579249B2 (en) Index print creation method and image processing system
JP3740150B2 (en) How to create an index print
JP2002209090A (en) Test print generating method and photo image print method employing it
JP4314525B2 (en) Corrected image display method and apparatus
JPH01200357A (en) Automatic cutting system
JPH07320033A (en) Method and device for setting area
JPH02228653A (en) Cutting device
JP2006023949A (en) Image processor and image processing method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030630