CN102790857A - Image processing method - Google Patents

Image processing method Download PDF

Info

Publication number
CN102790857A
CN102790857A CN 201110131015 CN201110131015A CN102790857A CN 102790857 A CN102790857 A CN 102790857A CN 201110131015 CN201110131015 CN 201110131015 CN 201110131015 A CN201110131015 A CN 201110131015A CN 102790857 A CN102790857 A CN 102790857A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
image
face
processing method
position
focal length
Prior art date
Application number
CN 201110131015
Other languages
Chinese (zh)
Inventor
苏玉修
Original Assignee
华晶科技股份有限公司
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

Links

Abstract

An image processing method is suitable for an image collecting device. The method includes collecting a first image; performing face recognition on the first image to position a face position in the first image; collecting a second image after adjusting a photograph multiplying factor, and performing face recognition on the second image to obtain a face image; and placing the face image taken from the second image in the face position of the first image to generate a synthesized image. The image processing method synthesizes two images via face recognition technology to generate synthesized images.

Description

影像处理方法 Image processing method

技术领域 FIELD

[0001] 本发明涉及一种影像处理方法,且特别是涉及一种针对变焦镜头在不同焦距下所撷取的影像的影像处理方法。 [0001] The present invention relates to an image processing method, and more particularly relates to an image processing method for the zoom lens at different focal lengths of the image captured.

背景技术 Background technique

[0002] 随着科技的发展,相机、摄影机等各类影像撷取装置在生活中已扮演着不可或缺的角色,无论是日常生活或是工作环境都是影像撷取装置发挥其功能的舞台。 [0002] With the development of technology, cameras, video cameras and other image capture device in life has been playing an indispensable role, whether in daily life or work environment is an image capturing device to function arena . 由于市面上充斥着各式各样的影像撷取装置,因此影像撷取装置的功能多寡便成为使用者在购买时的考虑之一。 Since the market is flooded with a wide range of image capture device, and therefore the amount of image capturing devices function has become one of the user at the time of the purchase consideration.

[0003] 近年来,由于社群网站的兴起,人们通过社群网站来进行互动,使得人们渐渐习惯于利用数字相机来记录生活,并将照片分享至社群网站。 [0003] In recent years, the rise of social networking sites, people to interact through social networking sites, so that people gradually accustomed to using digital cameras to record live, and photo sharing to social networking sites. 据此,能够拍出与众不同的照片的相机更能够引起使用者的兴趣。 This makes it possible to shoot distinctive photo camera capable of more interest to the user.

发明内容 SUMMARY

[0004] 本发明提供一种影像处理方法,利用人脸辨识来产生具有趣味性的合成影像。 [0004] The present invention provides an image processing method, using face recognition to produce a synthesized image with interesting.

[0005] 本发明提出一种影像处理方法,适用于影像撷取装置。 [0005] The present invention provides an image processing method applicable to image capturing device. 首先,撷取第一影像。 First of all, capturing the first image. 接着,对第一影像执行人脸辨识,以定位第一影像中的脸部位置。 Next, a first performs face recognition image, face position to locate the first image. 之后,再撷取第二影像,对第二影像执行人脸辨识,并获得人脸影像。 After that, then capture a second image of the second image performs face recognition, and get facial image. 然后,将自第二影像所获得的人脸影像置放至第一影像中的脸部位置。 Then, the placement position of the first image to the face of the second acquired image from human face image.

[0006] 在本发明的一实施例中,上述第一影像是在将影像撷取装置的镜头调整至第一焦距下所撷取。 [0006] In an embodiment of the present invention, the first image in the lens is adjusted to the image capturing device at a first focal retrieved. 而第二影像则是将镜头调整至第二焦距而撷取。 And the second image to a second focal length of the lens adjustment sucked and captured. 其中,第一焦距例如为广角焦距,第二焦距例如为望远焦距。 Wherein the first focal length, for example, wide-angle focal length, the focal length of the second focal length, for example telescopic.

[0007] 在本发明的一实施例中,上述在对第一影像执行人脸辨识之后,依据在第一影像中所辨识出的人脸影像数量,判断第一影像中是否包括多个被摄人物。 [0007] In an embodiment of the present invention, after the above-described first image executor face recognition, person in the first image based on the identified number of facial images, the first image is determined whether the subject comprises a plurality of character. 当人脸影像数量大于或等于2时,分别储存每一个被摄人物在第一影像中所对应的第一脸部特征,以及储存每一个被摄人物在第一影像中所对应的脸部位置。 When the number of facial images is greater than or equal to 2, each of the first face are stored subject character feature in the first image corresponding to, and storing each of the characters in the subject image corresponding to a first position of the face .

[0008] 在本发明的一实施例中,当人脸影像数量大于或等于2时,分别对每一个被摄人物撷取对应的第二影像。 [0008] In an embodiment of the present invention, when the number of face images is greater than or equal to 2, each capturing a second image corresponding to each subject character. 并且在自第二影像获得人脸影像之后,储存此人脸影像的第二脸部特征。 And wherein the second face from the second image obtained after the facial image, the storage of this facial image.

[0009] 在本发明的一实施例中,在上述将人脸影像置放至第一影像中的脸部位置之前,可先比对自各个被摄人物对应的第二影像所取出的第二脸部特征与第一影像中的各被摄人物所对应的第一脸部特征,以判断自第二影像所获得的人脸影像在第一影像中所对应的脸部位置。 [0009] In an embodiment of the present invention, prior to placing the image face position in the face image to the first person in the above, may first match the second image from each camera corresponding to the extracted character second wherein the first face and facial features are corresponding to each character of the first video camera in order to judge the image obtained from the second facial image in the first image corresponding to the face position. 之后,将自第二影像所获得的人脸影像置放在第一影像中其所对应的脸部位置。 Thereafter, the image obtained from the second person's facial image in which it is disposed in a first image corresponding to the face position.

[0010] 基于上述,本发明藉由人脸辨识的技术来合成两张影像,据以产生合成影像。 [0010] Based on the above, the present invention is by face recognition technique to synthesize the two images, which to produce a composite image. 并且,还可通过改变焦距来缩放所撷取的影像中的被摄人物的大小,以将头部影像进行替换,使得影像撷取装置的拍照功能更具趣味性。 Further, the size may also be scaled image captured in the subject by changing the focal length of the character to replace the head of the image, so that the camera image capturing device more interesting. [0011] 为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。 [0011] In order to make the above features and advantages of the invention more comprehensible, several embodiments accompanied with figures are described in detail below.

附图说明 BRIEF DESCRIPTION

[0012] 图I是依照本发明第一实施例所示的影像处理方法的流程图。 [0012] Figure I is a flow chart of a first embodiment of the image processing method of the present invention is illustrated.

[0013] 图2A〜图2C是依照本发明第一实施例所示的第一影像、第二影像及合成影像的示意图。 [0013] FIG 2A~ FIG. 2C is a schematic diagram of the first embodiment of the present invention, a first image illustrated embodiment, the second image and the synthetic image.

[0014] 图3是依照本发明第二实施例所示的影像处理方法的流程图。 [0014] FIG. 3 is a flowchart illustrating an image processing method according to the second embodiment of the present invention shown in FIG.

[0015] 图4A〜图4D是依照本发明第二实施例所示的第一影像、第二影像及合成影像的示意图。 [0015] FIG 4D is a schematic view of FIG 4A~ first image, the second image and the synthetic image shown according to the second embodiment of the present invention.

[0016] 附图标记: [0016] reference numerals:

[0017] 210、410 :第一影像 [0017] 210, 410: first image

[0018] 211、411、413 :脸部位置 [0018] 211,411,413: a face position

[0019] 220、420、430 :第二影像 [0019] 220,420,430: second image

[0020] 221、421、431 :人脸影像 [0020] 221,421,431: facial image

[0021] 230、440:合成影像 [0021] 230,440: Synthesis of Imaging

[0022] S105〜S125 :本发明第一实施例的影像处理方法各步骤[0023] S305〜S330 :本发明第二实施例的影像处理方法各步骤 [0022] S105~S125: image processing method of the second embodiment of the present invention, the steps of: the image processing method according to the first embodiment of the present invention, the steps of [0023] S305~S330

具体实施方式 detailed description

[0024] 在数字相机充斥的时代,能够拍出与众不同的照片的相机才会引起使用者的兴趣。 [0024] In the era of digital cameras flooded, be of interest to a user's camera will shoot different pictures. 为此,本发明提出一种用于影像撷取装置中的影像处理方法,利用人脸辨识的功能来产生具有趣味性的合成影像。 To this end, the present invention provides an image processing method for an image capture device, using a face recognition function to produce a synthesized image with interesting. 为了使本发明的内容更为明了,以下特举实施例作为本发明确实能够据以实施的范例。 In order to make the present invention more apparent, the following examples of embodiment cited Patent indeed present invention accordingly embodiment of FIG.

[0025] 第一实施例 [0025] First embodiment

[0026] 图I是依照本发明第一实施例所示的影像处理方法的流程图。 [0026] Figure I is a flow chart of a first embodiment of the image processing method of the present invention is illustrated. 在本实施例中,由影像撷取装置撷取两张影像,并搭配人脸辨识的技术来产生一合成影像。 In the present embodiment, two images captured by the video capturing device, and with face recognition technology to produce a composite image. 在此,可在不同焦距之下来撷取第一影像与第二影像,以取得被摄人物在不同倍率下的画面。 Here, the capture of the first image and the second down image, to obtain the subject character picture at different focal lengths at different magnifications. 举例来说,影像撷取装置配置有一变焦镜头(zoomlens)。 For example, the image capturing apparatus is provided with a zoom lens (zoomlens). 影像撷取装置可藉由调整变焦镜头的焦距(focal length)来控制所撷取的影像的视角及被摄主体的大小。 The image capturing apparatus may be adjusted by the focal length of the zoom lens (focal length) to control the size and angle of view of the main subject in the captured image. 一般而言,标准焦距为50毫米(millimeter,mm),相当于人眼的视角47度。 Generally, the standard focal length of 50 mm (millimeter, mm), corresponding to 47 degrees of the human eye. 而焦距越长,视角越小;焦距越短,则视角越大。 The longer the focal length, the smaller the angle of view; the shorter the focal length, the larger the angle of view.

[0027] 请参照图1,在步骤S105,藉由影像撷取装置撷取第一影像。 [0027] Referring to FIG. 1, at step S105, the image capturing device by capturing the first image. 在此,可将影像撷取装置的镜头调整至第一焦距,以撷取第一影像。 Here, the lens apparatus can be adjusted to a first image capture focal length, to capture a first image. 例如,可由使用者自行将影像撷取装置的焦距调整至第一焦距之后按下快门以撷取第一影像。 For example, a user may own the focal length of the image capturing apparatus after adjusting the shutter to a first focal length to capture a first image. 或者,可在影像撷取装置中设置一特殊拍照模式,当使用者将影像撷取装置切换至此特殊拍照模式时,影像撷取装置的处理器便会自动将镜头的焦距调整至第一焦距来撷取第一影像。 Alternatively, a specific photographing mode can be set in the image capturing apparatus, when the user image capture device is switched to this particular photographing mode, the image capturing device processor will automatically adjust the focus of the lens to a first focal length capturing the first image. 在此特殊拍照模式中,可预先设定第一焦距的值。 In this particular photographing mode, a first value of the focal length may be set in advance.

[0028] 接着,在步骤SllO中,对第一影像执行人脸辨识,以定位第一影像中的脸部位置。 [0028] Next, in step SllO, the first performs face recognition image, face position to locate the first image. 目前已有许多人脸辨识的技术被提出,藉由人脸辨识的技术来判断第一影像中是否具有人脸影像,并且定位出此人脸影像在第一影像中的脸部位置。 There are many face recognition techniques have been proposed, with face recognition technology to determine whether the first image in the face image and positioning of the face image of the face of this position in the first image.

[0029] 之后,在步骤S115中,藉由影像撷取装置撷取第二影像。 After [0029] In step S115, by the image capturing device captures a second image. 在此,可将镜头调整至第二焦距,以撷取第二影像。 Here, the lens can be adjusted to a second focal length, to capture a second image. 例如,使用者可手动调整影像撷取装置的镜头焦距,或者由影像撷取装置的处理器自动将镜头的焦距调整至第二焦距(可预先设定第二焦距的值)来撷取第二影像。 For example, a user may manually adjust the focal length of the lens of the image capturing device, or automatically adjusted by the focal length of the lens image capturing device according to a second processor, the focal length (second focal length can be pre-set value) is used to retrieve a second image. 另外,使用者亦可直接移动影像撷取装置与被摄人物之间的距离,以调整第二影像中的被摄人物画面的放大倍率。 Further, the user can also direct movement distance between the image capturing device and the subject figure to adjust the magnification of the subject character pictures second image.

[0030] 然后,在步骤S120中,对第二影像执行人脸辨识,而获得人脸影像。 [0030] Then, in step S120, performs face recognition on the second image, and the facial image is obtained. 例如,在找到人脸影像之后,顺着此人脸影像的头部轮廓(包括头发)而剪下此人脸影像。 For example, after finding a face image, along the contour of the head this facial image (including hair) Cut this and facial image. 一般而言,光学变焦的特性在调整到望远焦距时,景深差异会比较明显,因此,在望远焦距之下所撷取的第二影像,其人脸影像便能够与背景具有更大的区别性使得辨识度提高。 In general, the characteristics of the optical zoom while adjusting to the telephoto focus, depth of field difference is more obvious, therefore, under the second image captured by telephoto focal length, its facial images will be able to have a greater difference between background makes recognizable increase. 据此,为了能够获得较佳的人脸辨识结果,可将第一焦距设定为广角焦距(短焦距),将第二焦距设定为望远焦距(长焦距),即,第一焦距小于第二焦距。 Accordingly, in order to obtain better results of face recognition may be set to a first focal length wide-angle focal length (short focal length), the focal length of the second set to a telephoto focal length (focal length), i.e., smaller than the first focal length The second focal length. 例如,假设影像撷取装置的变焦焦段范围为35mm〜85mm,则可将第一焦距设为35mm,将第二焦距设为85mm。 For example, assume a zoom range of focal lengths of the image capturing apparatus 35mm~85mm, the first focal length may be 35mm, the second focal length 85mm. 或者,可将第一焦距设为40mm,将第二焦距设为70mm。 Alternatively, the first focal length can be set to 40mm, the second focal length 70mm. 然,在此仅为举例说明,并不以此为限。 However, this is only illustrative, and not limited thereto.

[0031] 最后,在步骤S125中,将自第二影像所获得的人脸影像置放至第一影像中的脸部位置,而产生一合成影像。 [0031] Finally, in step S125, the person placing the second image obtained from the face image to the face image in a first position, generate a synthetic image. 在本实施例中,可以将在第一影像所辨识到的人脸影像中间最下方的位置(例如:下巴位置)定位为所辨识到的脸部位置。 In the lowermost position of the present embodiment, the image may be the first person to recognize intermediate facial image (e.g.: chin) is positioned to face the recognized position. 而在自第二影像所获得的人脸影像在置放至第一影像中,则可以下巴位置做为粘贴基准,以避免在将第二影像的人脸影像贴至第一影像之后覆盖到脖子以下的部分。 In the second picture obtained from human face image to the first image is placed, the paste can be used as a reference position of the chin, to avoid overwriting to the neck after the face image pasted to the second image of the first image the following sections. 然,在此仅为举例说明,并不以此为限。 However, this is only illustrative, and not limited thereto.

[0032] 以下再举一例来说明上述步骤。 [0032] Here will be described another example the above-described steps. 图2A〜图2C是依照本发明第一实施例所示的第一影像、第二影像及合成影像的示意图。 FIG 2A~ FIG. 2C is a schematic diagram of the first embodiment of the present invention, a first image illustrated embodiment, the second image and the synthetic image. 在此,图2A为影像撷取装置在广角焦距下所撷取的第一影像210,图2B为影像撷取装置在望远焦距下所撷取的第二影像220,图2C是以图2A及图2B为例而产生的合成影像230。 Here, FIG. 2A is a first image capturing device 210 at the wide-angle image captured by the focal length, and FIG. 2B is a second video image capturing device 220 at the telephoto focus retrieved, 2A and FIG. 2C is a FIG. 2B as an example the synthetic image 230 is generated.

[0033] 在图2A中,在影像撷取装置的处理器对第一影像210执行人脸辨识之后,可辨识出一个人脸影像,并定位出脸部位置211。 [0033] In Figure 2A, the processor after the image capturing apparatus of a first face image recognition executor 210 can recognize a face image, the face position 211 and position. 而在图2B中,由于镜头调整至望远焦距以将景物拉近,因而第二影像220中的被摄人物会被放大,以便于取出人脸影像221。 In FIG. 2B, due to the telephoto focus lens adjustment closer to the scene, so the subject character is enlarged second image 220 in order to remove facial image 221. 当影像撷取装置的处理器剪下第二影像220的人脸影像221之后,将人脸影像221置放至第一影像210的脸部位置211 (在此为将人脸影像211的下巴对齐脸部位置211),而形成合成影像230,如图2C所示。 When the face image processor 221 of the image capturing apparatus 220 is cut out of the second image, the facial image 221 disposed to a first image 211 face position 210 (here, the face image alignment jaw 211 face position 211), to form a synthetic image 230, shown in Figure 2C.

[0034] 据此,由于在切换至第二焦距时,人脸影像能够与背景具有更大的区别性而使得辨识度提高。 [0034] Accordingly, since the switching to a second focal length, facial image can have a greater distinction of the background such that recognizable increase. 并且,在撷取第二影像时,使用者还可对着镜头做出不同的表情,又,由于人脸影像被放大,因此使得合成影像更具趣味性。 And, when the second image capture, the camera, the user may make different facial expressions, and, since the facial image is enlarged, so that the resultant image more interesting.

[0035] 另外,还可依据在第一影像中所辨识出的人脸影像数量,判断第一影像中是否包括多个被摄人物。 [0035] Further, also based on a first image of the person identified by the number of facial images, the first image is determined whether the subject comprises a plurality of characters. 当人脸影像数量大于或等于2时,表示被摄人物为多个。 When the number of facial images is greater than or equal to 2, showing a plurality of people as the subject. 以下再列举一实施例来说明当被摄人物为多个时的影像处理方法。 Include the following a further embodiment will be described when an object image processing method when the character is a plurality.

[0036] 第二实施例 [0036] Second Embodiment

[0037] 图3是依照本发明第二实施例所示的影像处理方法的流程图。 [0037] FIG. 3 is a flowchart illustrating an image processing method according to the second embodiment of the present invention shown in FIG. 请参照图3,在步骤S305,将影像撷取装置的镜头调整至第一焦距(例如,广角焦距),以撷取第一影像。 Referring to FIG 3, in step S305, the lens of the image capturing device is adjusted to a first focal length (e.g., focal length wide-angle) to capture a first image. 接着,在步骤S310中,对第一影像执行人脸辨识,以分别定位多个被摄人物在第一影像中的脸部位置。 Next, in step S310, performs face recognition on the first image, position of the face are positioned respectively to the plurality of the subject in the first image of the character.

[0038] 在此,可依据在第一影像中所辨识出的人脸影像数量,判断第一影像中是否包括多个被摄人物。 [0038] Here, the first image can be based on the person identified as the number of facial images, the first image is determined whether the subject comprises a plurality of characters. 也就是说,当第一影像中的人脸影像数量大于或等于2时,表示第一影像包括多个被摄人物。 That is, when the number of the first image of a face image than or equal to 2, represents a first image comprising a plurality of subject people. 而在辨识出各被摄人物所对应的人脸影像之后,储存这些被摄人物各自在第一影像中所对应的第一脸部特征,并且储存这些被摄人物各自在第一影像中所对应的脸部位置。 And after identifying the face image of each character being taken corresponding stored first facial features each of these characters in the subject image corresponding to the first, and store these characters corresponding to each subject in the first image the position of the face. 例如,假设被摄人物为两位,则会在第一影像中辨识出两张人脸影像。 For example, suppose two people as the subject, it will identify two facial images in the first image. 接着,储存每一个被摄人物对应的第一脸部特征,并且储存每一个被摄人物在第一影像中的脸部位置。 Subsequently, each of the first storage corresponding to the facial feature is subject character, and stores the position of each face of the subject in the first image of the character.

[0039] 之后,在步骤S315中,将镜头调整至第二焦距(例如,望远焦距),以分别对各个·被摄人物撷取第二影像。 After [0039] In step S315, the lens is adjusted to a second focal length (e.g., telephoto focal length), respectively for each subject character · second captured image. 例如,若被摄人物为2位,则分别在第二焦距的下对这2位拍摄第二影像,也就是会获得2张第二影像。 For example, if they are taken as two characters, respectively, these two captured second image at a second focal length, that is, you will get two second images.

[0040] 然后,在步骤S320中,对第二影像执行人脸辨识,而获得人脸影像。 [0040] Then, in step S320, performs face recognition on the second image, and the facial image is obtained. 并且,储存此人脸影像的第二脸部特征。 And, storing the facial features of this second facial image. 由于第一影像中包括多个被摄人物,因此可藉由比对脸部特征来找出第二影像的人脸影像在第一影像中所对应的脸部位置。 Since the first image comprises a plurality of subject people, thus by comparing facial features to identify a second image of the face image in the first image corresponding to the face position.

[0041] 接着,在步骤S325中,比对自第二影像所取出的第二脸部特征与第一影像中各被摄人物所对应的第一脸部特征,藉以找出自第二影像所获得的人脸影像在第一影像中所对应的脸部位置。 [0041] Next, in step S325, the specific features of the second face from the second image and the extracted image in each of the first subject a first character corresponding to the facial feature, from the second image so as to identify the face image obtained in the first image corresponding to the face position. 最后,在找出此人脸影像在第一影像中所对应的脸部位置之后,在步骤S330中,将人脸影像置放至第一影像中对应的脸部位置,以产生合成影像。 Finally, after the facial image to identify the person in the first image corresponding to the face position, in the step S330, the facial image to the first image corresponding to the disposed position of the face, in order to produce a composite image.

[0042] 以下再举一例说明。 [0042] For another example described hereinafter. 图4A〜图4D是依照本发明第二实施例所示的第一影像、第二影像及合成影像的示意图。 FIG 4D is a schematic view of FIG 4A~ first image according to a second embodiment of the present invention illustrated embodiment, the second image and the synthetic image. 在本实施例中,假设影像撷取装置用以对被摄人物A及被摄人物B进行拍照。 In the present embodiment, the image capturing device is assumed to be subject to character A and character B the subject photographed. 其中,图4A为影像撷取装置在广角焦距下所撷取的第一影像410,图4B及图4C为影像撷取装置在望远焦距下分别对第一影像410中的每一个被摄人物所撷取的第二影像420及430,图4D则是将第二影像420及430中的人脸影像421及431剪下并且贴至第一影像410对应的脸部位置411及413而产生的合成影像440。 Wherein FIG 4A is a first image capturing device 410 at the wide-angle image captured by the focal length, 4B and 4C are respectively a first image capturing device image 410 in each of the subject character in the telephoto focus capturing a second image 420, 430, 420 in FIG. 4D sucked and a second image of the facial image 430 and the cut 421 and 431 affixed to the synthesis of corresponding face position 411 and 413 to generate a first image 410 image 440.

[0043] 在图4A中,在影像撷取装置的处理器对第一影像410执行人脸辨识之后,可辨识出两张人脸影像,并分别定位出脸部位置411及脸部位置413。 [0043] In Figure 4A, the processor after the image capturing device 410 first performs face recognition image, it can be identified two facial images, respectively, and locate the position of the face 411 and face position 413. 在此,假设脸部位置411对应被摄人物A,脸部位置413对应被摄人物B。 Here, assuming the position of a face 411 corresponding to the subject character A, the face position 413 corresponding to the subject character B. 接着,将镜头调整至望远焦距以将景物拉近,而分别对被摄人物A及B撷取第二影像420及第二影像430,如图4B及图4C所示。 Subsequently, the lens is adjusted to the telephoto focus closer to the scene, respectively for the characters A and B are subject to retrieve the second image 420 and the second image 430, FIG. 4B and FIG. 4C.

[0044] 之后,影像撷取装置的处理器剪下第二影像420的人脸影像421,并且藉由比对人脸影像421的第二脸部特征与第一影像中的两笔第一脸部特征,而找到人脸影像421所对应为脸部位置411,再将人脸影像421贴至第一影像410的脸部位置411。 After the [0044] processor of the image capturing device 420 of the second image cut out face image 421, and second by comparing facial feature face image 421 and the two strokes of the first image of the first face wherein, the facial image to find the corresponding position of the face 421 is 411, then the facial image 421 image 410 to the face 411 of the first position. 另外,影像撷取装置的处理器剪下第二影像430的人脸影像431,并且藉由比对人脸影像431的第二脸部特征与第一影像中的两笔第一脸部特征,而找到人脸影像431所对应的脸部位置413,再将人脸影像431贴至第一影像410的脸部位置413。 Further, the processor of the image capturing device 430 of the second image cut out face image 431, and second by comparing facial feature face image 431 on two of the first facial feature of the first image, and to find the face image 431 corresponding to the position of the face 413, then the facial image 431 image 410 to the face 413 of the first position. 据此,产生合成影像440。 Accordingly, synthetic image 440 is generated.

[0045] 综上所述,本发明利用人脸辨识功能与具有变焦镜头的影像撷取装置来产生具有趣味性的合成影像。 [0045] In summary, the present invention is the use of face recognition function and a zoom lens having an image capturing device to generate synthetic image having interesting. 并且,将镜头切换至望远焦距时,所撷取的影像中的人脸影像能够与背景具有更大的区别性而使得辨识度提高。 Then, the facial image when switching to a telephoto focus lens, the captured image can have a greater distinction of the background such that recognizable increase. 再者,由于人脸影像被放大,因此使得合成影像更具趣味性。 Further, since the facial image is enlarged, so that the resultant image more interesting. [0046] 虽然本发明已以实施例揭示如上,然其并非用以限定本发明,任何所属技术领域的普通技术人员,当可作些许的更动与润饰,而不脱离本发明的精神和范围。 [0046] While the invention has been disclosed in the above embodiments, they are not intended to limit the present invention, any person of ordinary skill in the art, may make various modifications and variations, without departing from the spirit and scope of the invention . ,

Claims (9)

  1. 1. 一种影像处理方法,适用于影像撷取装置,该方法包括: 撷取第一影像; 对该第一影像执行人脸辨识,以定位该第一影像中的脸部位置; 撷取第二影像; 对该第二影像执行该人脸辨识,而获得人脸影像;以及将该人脸影像置放至该第一影像中的该脸部位置,而产生合成影像。 1. An image processing method applicable to image capturing device, the method comprising: capturing a first image; performs face recognition on the first image to locate the position of the face in the first image; capture section two images; the second image to execute the face recognition, the face image is obtained; and placing the face image to the face position in the first image, and generating a composite image.
  2. 2.根据权利要求I所述的影像处理方法,其中, 撷取该第一影像的步骤包括: 调整该影像撷取装置的镜头至第一焦距,以撷取该第一影像; 撷取该第二影像的步骤包括: 调整该镜头至第二焦距,以撷取该第二影像。 The image processing method according to claim I, wherein the step of capturing the first image comprises: adjusting the focal length of the first lens to the image capturing device to capture the first image; capturing the second two image comprises the step of: adjusting the lens to a second focal length, to capture the second image.
  3. 3.根据权利要求2所述的影像处理方法,其中该第一焦距为广角焦距,该第二焦距为望远焦距。 3. The image processing method according to claim 2, wherein the first focal length wide-angle focal length, the second focal length telephoto focal length.
  4. 4.根据权利要求I所述的影像处理方法,其中在对该第一影像执行该人脸辨识的步骤之后,还包括: 依据在该第一影像中所辨识出的人脸影像数量,判断该第一影像中是否包括多个被摄人物。 The image processing method according to claim I, wherein after the step of performing the face recognition of the first image, further comprising: a face image depending on the number in the first image are identified, it is determined that whether the subject comprises a plurality of first character image.
  5. 5.根据权利要求4所述的影像处理方法,其中当该人脸影像数量大于或等于2时,还包括: 储存所述被摄人物各自在该第一影像中所对应的第一脸部特征;以及储存所述被摄人物各自在该第一影像中所对应的该脸部位置。 The image processing method according to claim 4, wherein when the number of face image of the person is greater than or equal to 2, further comprising: storing the facial features of the subject of the first character in each of the first image, corresponding to a ; and a storage position of the face of the subject in the respective figures corresponding to the first image.
  6. 6.根据权利要求5所述的影像处理方法,其中当该人脸影像数量大于或等于2时,撷取该第二影像的步骤还包括: 分别对每一所述被摄人物撷取该第二影像。 Step 6. The image processing method according to claim 5, wherein the face image of the person when the number is greater than or equal to 2, the second image capturing further comprises: for each of said respective first photo is captured the character two image.
  7. 7.根据权利要求5所述的影像处理方法,其中在对该第二影像执行该人脸辨识,而取出该人脸影像的步骤之后,还包括: 储存该人脸影像的第二脸部特征。 The image processing method according to claim 5, wherein the second image after performing the face recognition, the face image of the step taken out, further comprising: storing the facial features of the second facial image .
  8. 8.根据权利要求7所述的影像处理方法,其中在将该人脸影像置放至该第一影像中的该脸部位置的步骤之前,还包括: 比对自该第二影像所取出的该第二脸部特征与该第一影像中的所述被摄人物各自所对应的该第一脸部特征,以找出该人脸影像在该第一影像中所对应的脸部位置。 Before the image processing method according to claim 7, wherein the step of placing the face position to the first image in the facial image, further comprising: the ratio of the extracted image from the second the second feature of the face in the first image of a first facial feature of the subject corresponding to each character to find the face image in the first image corresponding to the face position.
  9. 9.根据权利要求8所述的影像处理方法,其中将该人脸影像置放至该第一影像中的该脸部位置的步骤包括: 在找出该人脸影像在该第一影像中所对应的脸部位置之后,将该人脸影像置放至该第一影像中对应的该脸部位置。 Step 9. The image processing method according to claim 8, wherein the face image to the face disposed position of the first image comprises: finding out the facial images in the first image after the face position corresponding to the facial image of the face disposed to a first position of the corresponding image.
CN 201110131015 2011-05-19 2011-05-19 Image processing method CN102790857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110131015 CN102790857A (en) 2011-05-19 2011-05-19 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110131015 CN102790857A (en) 2011-05-19 2011-05-19 Image processing method

Publications (1)

Publication Number Publication Date
CN102790857A true true CN102790857A (en) 2012-11-21

Family

ID=47156148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110131015 CN102790857A (en) 2011-05-19 2011-05-19 Image processing method

Country Status (1)

Country Link
CN (1) CN102790857A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049710A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Large-view angle camera control method and user terminal
WO2016004819A1 (en) * 2014-07-11 2016-01-14 努比亚技术有限公司 Shooting method, shooting device and computer storage medium
CN106303202A (en) * 2015-06-09 2017-01-04 联想(北京)有限公司 Image information processing method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132480A (en) * 2006-07-25 2008-02-27 富士胶片株式会社 Image trimming apparatus
WO2009148404A1 (en) * 2008-06-03 2009-12-10 Xid Technologies Pte Ltd Method for replacing objects in images
US20100079623A1 (en) * 2008-09-29 2010-04-01 Casio Computer Co., Ltd. Image capturing apparatus, image capturing method and storage medium
CN101848338A (en) * 2009-03-27 2010-09-29 卡西欧计算机株式会社 Imaging apparatus having zoom function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132480A (en) * 2006-07-25 2008-02-27 富士胶片株式会社 Image trimming apparatus
WO2009148404A1 (en) * 2008-06-03 2009-12-10 Xid Technologies Pte Ltd Method for replacing objects in images
US20100079623A1 (en) * 2008-09-29 2010-04-01 Casio Computer Co., Ltd. Image capturing apparatus, image capturing method and storage medium
CN101848338A (en) * 2009-03-27 2010-09-29 卡西欧计算机株式会社 Imaging apparatus having zoom function

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016004819A1 (en) * 2014-07-11 2016-01-14 努比亚技术有限公司 Shooting method, shooting device and computer storage medium
CN106303202A (en) * 2015-06-09 2017-01-04 联想(北京)有限公司 Image information processing method and apparatus
CN105049710A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Large-view angle camera control method and user terminal
CN105049710B (en) * 2015-06-30 2018-07-06 广东欧珀移动通信有限公司 Species large viewing angle and camera control method of a user terminal

Similar Documents

Publication Publication Date Title
US20090196466A1 (en) Face Detection in Mid-Shot Digital Images
US20090103778A1 (en) Composition determining apparatus, composition determining method, and program
CN102055834A (en) Double-camera photographing method of mobile terminal
CN103246130A (en) Focusing method and device
US20090102942A1 (en) Composition determining apparatus, composition determining method, and program
JP2007150601A (en) Electronic camera
US20120275648A1 (en) Imaging device and imaging method and program
JP2007074143A (en) Imaging device and imaging system
CN101266685A (en) A method for removing unrelated images based on multiple photos
US20090256925A1 (en) Composition determination device, composition determination method, and program
CN101272511A (en) Method and device for acquiring image depth information and image pixel information
US20110216225A1 (en) Imaging control device, subject detection method, and program
US20140320668A1 (en) Method and apparatus for image capture targeting
JP2003283902A (en) Digital steel camera and image processor
JP2010034685A (en) Digital camera
CN101246541A (en) Image-processing device and image-processing method, image-pickup device, and computer program
US8199221B2 (en) Image recording apparatus, image recording method, image processing apparatus, image processing method, and program
CN101646017A (en) Automatic photographing method for face detection
US20110157394A1 (en) Image processing apparatus, image processing method and program
CN101478639A (en) Scene mode automatic selection method
US20100328467A1 (en) Movable-mechanical-section controlling device, method of controlling movable mechanical section, and program
CN104144289A (en) Photographing method and device
CN102404494A (en) Electronic equipment and method for acquiring image in determined area
US20090268943A1 (en) Composition determination device, composition determination method, and program
CN103209291A (en) Method, apparatus and device for controlling automatic image shooting

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)