TWI381322B - Imaging system and method - Google Patents
Imaging system and method Download PDFInfo
- Publication number
- TWI381322B TWI381322B TW98112919A TW98112919A TWI381322B TW I381322 B TWI381322 B TW I381322B TW 98112919 A TW98112919 A TW 98112919A TW 98112919 A TW98112919 A TW 98112919A TW I381322 B TWI381322 B TW I381322B
- Authority
- TW
- Taiwan
- Prior art keywords
- face
- feature vector
- image
- same
- reference feature
- Prior art date
Links
- 238000003384 imaging method Methods 0.000 title claims description 29
- 238000000034 method Methods 0.000 title description 4
- 239000013598 vector Substances 0.000 claims description 59
- 230000001815 facial effect Effects 0.000 claims description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Studio Devices (AREA)
Description
本發明涉及一種成像技術,尤其涉及一種應用於影像擷取裝置的成像系統及其成像方法。 The present invention relates to an imaging technique, and more particularly to an imaging system applied to an image capturing device and an imaging method thereof.
目前,使用者利用影像擷取裝置如錄影機於特殊場合進行現場採訪或拍攝時,需要於播放的影像中將被採訪者的人臉模糊達到保護被採訪者的目的。一般係將拍攝完成後的影像進行人臉模糊處理後再進行播放。 At present, when a user performs an on-site interview or shooting on a special occasion using an image capturing device such as a video recorder, it is necessary to blur the face of the interviewee in the played image to protect the interviewee. Generally, the image after the shooting is finished is blurred by the face and then played.
然而,由於只能對拍攝完成的影像進行人臉模糊的處理,導致使用者無法於即時播放時即時將被採訪者的人臉模糊,達不到對被採訪者進行保護的目的。 However, since the face of the captured image can only be blurred by the face, the user cannot immediately blur the face of the interviewee during the instant play, and the purpose of protecting the interviewee cannot be achieved.
有鑒於此,有必要提供一種能於現場即時播放時即時進行人臉模糊化的處理的成像系統及成像方法。 In view of the above, it is necessary to provide an imaging system and an imaging method capable of performing face blurring immediately in real time on-site playback.
一種成像系統,其包括一存儲模組、一識別模組、一影像獲取模組及一處理模組。所述存儲模組用於存儲一參考影像。所述識別模組用於從所存儲的參考影像中識別並存儲至少一目標人臉的人臉參考特徵向量。所述影像獲取模組用於從外界獲取影像。所述識別模組還用於從所獲取的影像中識別各人臉的特徵向量。所述處理模組用於將所識別的各人臉特徵向量與所存儲的人臉參考特徵向量進行比較以判斷是否相同,若相同,則改變與所述人臉參考特徵向量相同之人臉於所獲取之影像中所確定區域內各像素之像素值以將與所存儲的人臉參考特徵 向量相同之人臉隱藏。 An imaging system includes a storage module, an identification module, an image acquisition module, and a processing module. The storage module is configured to store a reference image. The identification module is configured to identify and store a face reference feature vector of at least one target face from the stored reference image. The image acquisition module is configured to acquire an image from the outside. The identification module is further configured to identify a feature vector of each face from the acquired image. The processing module is configured to compare the identified face feature vectors with the stored face reference feature vectors to determine whether they are the same. If they are the same, change the face with the same face reference feature vector. The pixel value of each pixel in the determined region in the acquired image to be compared with the stored face reference feature Faces with the same vector are hidden.
一種成像方法,其包括以下步驟:存儲一參考影像;從所存儲的參考影像中識別並存儲至少一目標人臉的人臉參考特徵向量;從外界獲取影像;識別所獲取的影像中各人臉的特徵向量;比較所識別的各人臉特徵向量與所存儲的人臉參考特徵向量以判斷是否相同;若相同,則改變與所述人臉參考特徵向量相同之人臉於所獲取之影像中所確定區域內各像素之像素值以將與所存儲的人臉參考特徵向量相同之人臉隱藏。 An imaging method comprising the steps of: storing a reference image; identifying and storing a face reference feature vector of at least one target face from the stored reference image; acquiring an image from the outside; and identifying each face in the acquired image a feature vector; comparing each of the recognized face feature vectors with the stored face reference feature vector to determine whether the same is the same; if the same, changing the face with the same face reference feature vector to the acquired image The pixel values of the pixels in the determined area are hidden by the same face as the stored face reference feature vector.
相較於先前技術,所述成像系統及成像方法將所獲取之影像中需要隱藏之人臉即時進行隱藏,便於使用者於現場即時播放影像時對被採訪者進行保護。 Compared with the prior art, the imaging system and the imaging method hide the face that needs to be hidden in the acquired image, so that the user can protect the interviewee when playing the image on the spot.
下面將結合附圖對本發明實施方式作進一步的詳細說明。 The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
請參閱圖1,為本發明實施方式提供的用於影像擷取裝置的成像系統100,其包括一存儲模組110、一識別模組120、一影像獲取模組130及一處理模組140。本實施方式中,成像系統100應用於數位錄影機。 1 is an imaging system 100 for an image capture device, which includes a storage module 110, an identification module 120, an image acquisition module 130, and a processing module 140. In the present embodiment, the imaging system 100 is applied to a digital video recorder.
所述存儲模組110用於存儲一參考影像。本實施方式中,為提高成像系統100的處理效率,使用者於數位錄影機的預覽狀態下獲取該參考影像。可以理解,該參考影像還可於採訪被採訪者前拍照獲取或者從其他外部電子設備中獲取。 The storage module 110 is configured to store a reference image. In the embodiment, in order to improve the processing efficiency of the imaging system 100, the user acquires the reference image in a preview state of the digital video recorder. It can be understood that the reference image can also be taken before the interviewed interviewee or obtained from other external electronic devices.
所述識別模組120用於從所存儲的參考影像中識別並存儲一目標人臉之人臉參考特徵向量T1。本實施方式中,識別模組120從該參考影像中識別目標人臉(被採訪者人臉)的人臉參考特徵向量。所述人臉參考特徵向量T1包括人臉於靜止、旋轉等任意狀態時均保持不變,如左/右眼內眼角與外眼角之間距離之比值、兩瞳孔中心分別與鼻尖中心之間距離之比值、兩嘴角之間的距離及兩鼻孔中心之間的距離的比值中之一種或其中各比值之組合。本實施方式中,T1=d1/d2,其中,d1為目標人臉的兩嘴角之間的距離,d2為目標人臉之兩鼻孔中心之間之距離。 The identification module 120 is configured to identify and store a face reference feature vector T1 of a target face from the stored reference images. In this embodiment, the recognition module 120 identifies a face reference feature vector of the target face (the interviewee's face) from the reference image. The face reference feature vector T1 includes the face remaining unchanged in any state such as stationary or rotating, such as the ratio of the distance between the inner corner of the left/right eye and the outer corner of the eye, and the distance between the center of the two pupils and the center of the nose. One of a ratio of the ratio, the distance between the two corners of the mouth, and the distance between the centers of the two nostrils, or a combination of the ratios thereof. In the present embodiment, T1=d1/d2, where d1 is the distance between the two corners of the target face, and d2 is the distance between the centers of the two nostrils of the target face.
所述影像獲取模組130用於從外界獲取影像。影像獲取模組130從外界獲取的影像為靜態影像。影像獲取模組130包括感測外界光線以獲取影像功能的元件及相關電路,如電荷耦合元件(Charge-Coupled Device,CCD)、互補金屬氧化物半導體(Complementary Metal Oxide Semiconductor,CMOS)等元件。 The image acquisition module 130 is configured to acquire an image from the outside. The image acquired by the image acquisition module 130 from the outside is a still image. The image acquisition module 130 includes components for sensing external light to acquire image functions and related circuits, such as a charge-coupled device (CCD), a complementary metal oxide semiconductor (CMOS), and the like.
所述識別模組120還用於從所獲取之影像中識別各人臉之特徵向量T2。本實施方式中,識別模組120獲取之特徵向量T2=d3/d4,其中d3為影像中人臉的兩嘴角之間的距離,d4為影像中人臉的兩鼻孔中心之間的距離。 The identification module 120 is further configured to identify a feature vector T2 of each face from the acquired image. In this embodiment, the feature vector T2=d3/d4 acquired by the recognition module 120, where d3 is the distance between the two corners of the face of the image, and d4 is the distance between the centers of the two nostrils of the face in the image.
所述處理模組140包括一比較單元142及一處理單元144。所述比較單元142用於將所識別之各人臉特徵向量T2分別與所存儲之人臉特徵向量T1進行比較以判斷是否相同。本實施方式中,比較單元142將影像的各人臉之特徵向量T2分別與所存儲的人臉參考特徵向量T1進行比較。所述處理單元144用於改變與所述人臉參考特徵向量T1相同的人臉於所獲取的影像中所確定的區域內的各像素的像素值以將與所存儲的人臉參考特徵向量T1相同的人臉隱藏,如將人臉於所獲取影像中所在區域的像素值均變為0或1,即將人臉區域變為全黑或全白以使人臉於所獲取的影像中不可見。本實施方式中,處理單元144將所獲取的影像中與所存儲的人臉參考特徵向量T1相同的人臉於所獲取的影像中所確定的區域內的各像素的像素值變為0以使人臉區域變為全黑。 The processing module 140 includes a comparison unit 142 and a processing unit 144. The comparing unit 142 is configured to compare the identified face feature vectors T2 with the stored face feature vectors T1 to determine whether they are the same. In the present embodiment, the comparison unit 142 compares the feature vector T2 of each face of the image with the stored face reference feature vector T1. The processing unit 144 is configured to change a pixel value of the same face in the acquired image in the same face as the face reference feature vector T1 to be compared with the stored face reference feature vector T1 The same face is hidden, such as changing the pixel value of the face in the captured image to 0 or 1, which turns the face area into black or all white so that the face is invisible in the acquired image. . In this embodiment, the processing unit 144 changes the pixel value of each pixel in the acquired image to the face identifier feature vector T1 that is the same as the pixel value in the region determined in the acquired image to 0. The face area becomes completely black.
請參閱圖2,為本發明實施方式的成像系統100的成像方法,其包括以下步驟:S110:存儲一參考影像;S120:從所存儲之參考影像中識別並存儲一目標人臉之人臉特徵向量;S130:從外界獲取影像;S140:從所獲取之影像中識別各人臉之特徵向量;S150:將所識別之各人臉特徵向量分別與所存儲之人臉參考特徵向量進行比較以判斷是否相同; S160:若相同,則改變與所述人臉參考特徵向量相同之人臉於所獲取之影像中所確定區域內各像素之像素值以將與所存儲之人臉參考特徵向量相同之人臉隱藏。 Referring to FIG. 2, an imaging method of an imaging system 100 according to an embodiment of the present invention includes the following steps: S110: storing a reference image; S120: identifying and storing a facial feature of a target face from the stored reference image. a vector; S130: acquiring an image from the outside; S140: identifying a feature vector of each face from the acquired image; S150: comparing each identified face feature vector with the stored face reference feature vector to determine Whether they are the same; S160: If they are the same, change the pixel value of each pixel in the determined region in the acquired image with the same face reference feature vector to hide the same face as the stored face reference feature vector .
於步驟S110中,使用者於數位錄影機的預覽狀態下獲取一參考影像。可以理解,該參考影像還可於採訪被採訪者前拍照獲取或者從其他外部電子設備中獲取。 In step S110, the user acquires a reference image in a preview state of the digital video recorder. It can be understood that the reference image can also be taken before the interviewed interviewee or obtained from other external electronic devices.
於步驟S120中,利用識別模組120於所存儲的參考影像中識別並存儲一目標人臉之人臉參考特徵向量T1。本實施方式中,T1=d1/d2,其中,d1為目標人臉的兩嘴角之間的距離,d2為目標人臉的兩鼻孔中心之間的距離。 In step S120, the recognition module 120 identifies and stores a face reference feature vector T1 of a target face in the stored reference image. In the present embodiment, T1=d1/d2, where d1 is the distance between the two corners of the target face, and d2 is the distance between the centers of the two nostrils of the target face.
於步驟S130中,利用影像獲取模組130從外界獲取影像。 In step S130, the image acquisition module 130 is used to acquire an image from the outside.
於步驟S140中,利用識別模組120從所獲取的影像中識別各人臉的特徵向量T2。本實施方式中,T2=d3/d4,其中,d3為影像中人臉的兩嘴角之間的距離,d4為影像中人臉的兩鼻孔中心之間的距離。 In step S140, the recognition module 120 identifies the feature vector T2 of each face from the acquired image. In the present embodiment, T2=d3/d4, where d3 is the distance between the two corners of the face of the face in the image, and d4 is the distance between the centers of the two nostrils of the face in the image.
於步驟S150中,利用比較單元142將所識別的各人臉特徵向量T2與所存儲的人臉參考特徵向量T1進行比較以判斷是否相同,若相同,則進入步驟S150,若不相同,則結束流程。 In step S150, the comparison unit 142 compares the identified face feature vectors T2 with the stored face reference feature vectors T1 to determine whether they are the same. If they are the same, the process proceeds to step S150. If they are not the same, the process ends. Process.
於步驟S160中,利用處理單元144將與所述人臉參考特徵向量相同的人臉於所獲取的影像中所確定的區域內的各像素的像素值變為0以使人臉區域變為全黑。 In step S160, the processing unit 144 uses the same face as the face reference feature vector to change the pixel value of each pixel in the determined region to 0 to make the face region become full. black.
所述成像系統及成像方法於拍照或錄影時利用處理單元 將所獲取的影像中需要保護的人臉進行隱藏,便於使用者於現場即時播放影像時對被採訪者進行保護。 The imaging system and the imaging method utilize a processing unit when taking a picture or recording The face to be protected in the captured image is hidden, so that the user can protect the interviewee when playing the image on the spot.
綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,本發明之範圍並不以上述實施方式為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application.
100‧‧‧成像系統 100‧‧‧ imaging system
110‧‧‧存儲模組 110‧‧‧Memory Module
120‧‧‧識別模組 120‧‧‧identification module
130‧‧‧影像獲取模組 130‧‧‧Image Acquisition Module
140‧‧‧處理模組 140‧‧‧Processing module
142‧‧‧比較單元 142‧‧‧Comparative unit
144‧‧‧處理單元 144‧‧‧Processing unit
圖1為本發明實施方式之成像系統之功能模塊圖;圖2為圖1之成像系統之成像方法之流程圖。 1 is a functional block diagram of an imaging system according to an embodiment of the present invention; and FIG. 2 is a flow chart of an imaging method of the imaging system of FIG. 1.
100‧‧‧成像系統 100‧‧‧ imaging system
110‧‧‧存儲模組 110‧‧‧Memory Module
120‧‧‧識別模組 120‧‧‧identification module
130‧‧‧影像獲取模組 130‧‧‧Image Acquisition Module
140‧‧‧處理模組 140‧‧‧Processing module
142‧‧‧比較單元 142‧‧‧Comparative unit
144‧‧‧處理單元 144‧‧‧Processing unit
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW98112919A TWI381322B (en) | 2009-04-17 | 2009-04-17 | Imaging system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW98112919A TWI381322B (en) | 2009-04-17 | 2009-04-17 | Imaging system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201039249A TW201039249A (en) | 2010-11-01 |
| TWI381322B true TWI381322B (en) | 2013-01-01 |
Family
ID=44995398
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW98112919A TWI381322B (en) | 2009-04-17 | 2009-04-17 | Imaging system and method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI381322B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200539050A (en) * | 2004-02-12 | 2005-12-01 | Xerox Corp | Systems and methods for adjusting image data to form highly compressible image planes |
| TWI268097B (en) * | 2002-05-31 | 2006-12-01 | Eastman Kodak Co | Method and system for enhancing portrait images |
| TW200727204A (en) * | 2006-01-06 | 2007-07-16 | Univ Nat Kaohsiung Applied Sci | Bi-directional people counter for pedestrian passing flow |
| TW200739432A (en) * | 2006-04-12 | 2007-10-16 | Univ Nat Cheng Kung | A method for face verification |
-
2009
- 2009-04-17 TW TW98112919A patent/TWI381322B/en not_active IP Right Cessation
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI268097B (en) * | 2002-05-31 | 2006-12-01 | Eastman Kodak Co | Method and system for enhancing portrait images |
| TW200539050A (en) * | 2004-02-12 | 2005-12-01 | Xerox Corp | Systems and methods for adjusting image data to form highly compressible image planes |
| TW200727204A (en) * | 2006-01-06 | 2007-07-16 | Univ Nat Kaohsiung Applied Sci | Bi-directional people counter for pedestrian passing flow |
| TW200739432A (en) * | 2006-04-12 | 2007-10-16 | Univ Nat Cheng Kung | A method for face verification |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201039249A (en) | 2010-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11335079B2 (en) | Method and system of reflection suppression for image processing | |
| JP4748244B2 (en) | Image selection apparatus, image selection method, and program | |
| CN101246541B (en) | Image-processing device and image-processing method, image-pickup device | |
| JP6961797B2 (en) | Methods and devices for blurring preview photos and storage media | |
| US20100149210A1 (en) | Image capturing apparatus having subject cut-out function | |
| JP4760923B2 (en) | Image processing apparatus, image processing method, and imaging apparatus | |
| US10021381B2 (en) | Camera pose estimation | |
| CN101895679B (en) | Image capturing device and image capturing method | |
| CN103402056B (en) | Be applied to the compensation deals method and system of image capture device | |
| CN105827935B (en) | A kind of method and terminal of terminal sectional drawing | |
| CN108259770B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
| JP4798236B2 (en) | Imaging apparatus, image processing method, and program | |
| JP2013197785A (en) | Image generation device, image generation method, and program | |
| CN110298862A (en) | Video processing method, video processing device, computer-readable storage medium and computer equipment | |
| CN106470315B (en) | Image processing apparatus, image processing method and recording medium | |
| CN108052883B (en) | User photographing method, device and device | |
| CN101859370A (en) | Imaging system and imaging method thereof | |
| JP6149854B2 (en) | Imaging apparatus, imaging control method, and program | |
| KR20210036609A (en) | Apparatus and method for processing image | |
| JP5996418B2 (en) | Imaging apparatus and imaging method | |
| TWI381322B (en) | Imaging system and method | |
| CN101170648A (en) | Motion picture shooting method and device | |
| US20190034745A1 (en) | Information processing module, information processing method, information processing program, and information processing apparatus | |
| TWI873738B (en) | Image stabilization method and electronic device | |
| JP6470594B2 (en) | Imaging device, control method thereof, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |