TWI402760B - Image previewing system and method thereof - Google Patents

Image previewing system and method thereof Download PDF

Info

Publication number
TWI402760B
TWI402760B TW98115340A TW98115340A TWI402760B TW I402760 B TWI402760 B TW I402760B TW 98115340 A TW98115340 A TW 98115340A TW 98115340 A TW98115340 A TW 98115340A TW I402760 B TWI402760 B TW I402760B
Authority
TW
Taiwan
Prior art keywords
image
display
module
face image
pixel
Prior art date
Application number
TW98115340A
Other languages
Chinese (zh)
Other versions
TW201040851A (en
Inventor
Yu Tsung Su
Cheng Wei Huang
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98115340A priority Critical patent/TWI402760B/en
Publication of TW201040851A publication Critical patent/TW201040851A/en
Application granted granted Critical
Publication of TWI402760B publication Critical patent/TWI402760B/en

Links

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)

Description

圖像預覽系統及其圖像預覽方法 Image preview system and image preview method thereof

本發明涉及一種預覽技術,尤其涉及一種人臉照片之圖像預覽系統及其圖像預覽方法。 The invention relates to a preview technology, in particular to an image preview system for a face photo and an image preview method thereof.

在利用數位相機拍人物合影後,常常要對照片中每個人臉進行檢查以確定每個人之表情及/或清晰度是否為拍攝者想要的。但在這個檢查之過程中,拍攝者需先將照片進行放大,然後利用數位相機之方向鍵逐步移動照片,才能將該照片上所有之人臉檢查完畢。由此可見,這個過程相當繁瑣。 After taking a group photo with a digital camera, it is often necessary to check each face in the photo to determine if each person's expression and/or clarity is what the photographer wants. However, during this inspection, the photographer needs to enlarge the photo first, and then use the arrow keys of the digital camera to gradually move the photo to check all the faces on the photo. This shows that this process is quite cumbersome.

有鑒於此,有必要提供一種方便拍攝者檢查拍攝圖像中人臉清晰度之圖像預覽系統及其圖像預覽方法。 In view of the above, it is necessary to provide an image preview system that facilitates the photographer to check the sharpness of a face in a captured image and an image preview method thereof.

一種圖像預覽系統,其包括一個顯示模組、一個人臉識別模組、一個選擇模組、一個判斷模組及一個放大模組。該顯示模組用於顯示圖像。該人臉識別模組用於識別該圖像中之人臉圖像。該選擇模組用於選擇其中一個已識別之人臉圖像。該判斷模組用於比較該選擇之人臉圖像之圖像像素與該顯示模組之顯示像素。若該選擇之人臉圖像之圖像像素不小於顯示模組之顯示像素,則該放大模組用於對該選擇之人臉圖像 進行放大,並將放大後之該人臉圖像全屏顯示在該顯示模組。 An image preview system includes a display module, a face recognition module, a selection module, a determination module and an amplification module. The display module is used to display an image. The face recognition module is configured to recognize a face image in the image. The selection module is used to select one of the recognized face images. The determining module is configured to compare the image pixels of the selected face image with the display pixels of the display module. If the image pixel of the selected face image is not smaller than the display pixel of the display module, the amplification module is used for the selected face image The zoom is performed, and the enlarged face image is displayed in full screen on the display module.

一種圖像預覽方法,其用於將一個圖像放大顯示於一個顯示模組上。該圖像預覽方法包括以下步驟:識別該圖像中之人臉圖像;選擇其中一個已識別之人臉圖像;比較該選擇之人臉圖像之圖像像素與該顯示模組之顯示像素;及若該選擇之人臉圖像之圖像像素不小於該顯示模組之顯示像素,則對該選擇之人臉圖像進行放大並將放大后的該人臉圖像全屏顯示在該顯示模組。 An image preview method for magnifying an image on a display module. The image preview method includes the steps of: identifying a face image in the image; selecting one of the recognized face images; comparing the image pixels of the selected face image with the display of the display module a pixel; and if the image pixel of the selected face image is not smaller than the display pixel of the display module, the selected face image is enlarged and the enlarged face image is displayed in full screen Display module.

所述圖像預覽系統及其圖像預覽方法,籍由以人臉為單位進行放大顯示該圖像中之人臉圖像,從而方便拍攝者查看圖像中之人臉之清晰度。 The image preview system and the image preview method thereof display the face image in the image by zooming in on a face unit, thereby facilitating the photographer to view the sharpness of the face in the image.

100、200‧‧‧圖像預覽系統 100, 200‧‧‧ image preview system

10、10e‧‧‧顯示模組 10, 10e‧‧‧ display module

11‧‧‧人臉識別模組 11‧‧‧Face recognition module

13、13e‧‧‧選擇模組 13, 13e‧‧‧Selection module

14‧‧‧判斷模組 14‧‧‧Judgement module

16‧‧‧放大模組 16‧‧‧Amplification module

17‧‧‧方向輸入模組 17‧‧‧ Directional input module

171‧‧‧上鍵 171‧‧‧Up key

172‧‧‧下鍵 172‧‧‧down key

173‧‧‧左鍵 173‧‧‧Left button

174‧‧‧右鍵 174‧‧‧right

18‧‧‧距離計算模組 18‧‧‧ Distance calculation module

19‧‧‧距離比較模組 19‧‧‧Distance comparison module

210‧‧‧持續顯示模組 210‧‧‧Continuous display module

11a、11b、11c‧‧‧人臉圖像 11a, 11b, 11c‧‧‧ face images

Y‧‧‧圖像 Y‧‧‧ image

Y1‧‧‧圖像範圍 Y1‧‧‧ image range

L‧‧‧顯示範圍 L‧‧‧Display range

圖1為本發明第一實施方式之圖像預覽系統之模組示意圖。 1 is a schematic block diagram of an image preview system according to a first embodiment of the present invention.

圖2為圖1中之圖像預覽系統之顯示模組之顯示圖像之示意圖。 2 is a schematic diagram of a display image of a display module of the image preview system of FIG. 1.

圖3為圖1中之圖像預覽系統之顯示模組之顯示放大圖像之示意圖。 3 is a schematic diagram showing a magnified image of a display module of the image preview system of FIG. 1.

圖4為圖1中之圖像預覽系統之顯示模組之另一種顯示放大圖 像之示意圖。 4 is another enlarged view of the display module of the image preview system of FIG. Like the schematic.

圖5為圖1中之圖像預覽系統之顯示模組之再一種顯示放大圖像之示意圖。 FIG. 5 is a schematic diagram showing still another enlarged image of the display module of the image preview system of FIG. 1. FIG.

圖6為圖1中之圖像預覽系統之顯示模組之又一種顯示放大圖像之示意圖。 FIG. 6 is a schematic diagram showing still another enlarged display image of the display module of the image preview system of FIG. 1. FIG.

圖7-1及圖7-2為本發明第一實施方式之圖像預覽方法之流程圖。 7-1 and 7-2 are flowcharts of an image preview method according to the first embodiment of the present invention.

圖8為本發明第二實施方式之圖像預覽系統之模組示意圖。 FIG. 8 is a schematic diagram of a module of an image preview system according to a second embodiment of the present invention.

圖9-1及圖9-2為本發明第二實施方式之圖像預覽方法之流程圖。 9-1 and 9-2 are flowcharts of an image preview method according to a second embodiment of the present invention.

下面將結合附圖,對本發明作進一步之詳細說明。 The invention will be further described in detail below with reference to the accompanying drawings.

請參閱圖1及圖2,為本發明第一實施方式提供之圖像預覽系統100,其應用於一數位相機(圖未示)中,該圖像預覽系統100之啟動可以籍由將該數位相機之快門鍵(圖未示)設置為快捷鍵而方便用戶使用,也可以在該數位相機中設置功能表模式。 Referring to FIG. 1 and FIG. 2, an image preview system 100 according to a first embodiment of the present invention is applied to a digital camera (not shown). The image preview system 100 can be activated by the digital display. The camera's shutter button (not shown) is set as a shortcut button for user convenience, and the menu mode can also be set in the digital camera.

該圖像預覽系統100包括一個顯示模組10、一個人臉識別模組11、一個選擇模組13、一個判斷模組14、一個放大模組16、一個方向輸入模組17、一個距離計算模組18及一個距離比較模組19。該顯示模組10用於顯示圖像Y,且該顯示模組10 之顯示範圍為L。該人臉識別模組11用於識別該圖像Y中之人臉圖像。該選擇模組13用於在該已識別之人臉圖像中選擇其中一個。該判斷模組14用於比較該選擇之人臉圖像之圖像像素與該顯示模組10之顯示像素。該放大模組16用於根據該選擇之人臉圖像之圖像像素及該顯示模組10之顯示像素對該選擇之人臉圖像進行放大並將放大後之該選擇之人臉圖像顯示該顯示模組10中。該方向輸入模組17用於接收用戶輸入之一個方向指令。該距離計算模組18用於根據該方向輸入模組17接收之方向指令計算該選擇之人臉圖像與在該方向指令上之其他人臉圖像之間之距離,以得到複數距離值。該距離比較模組19用於選擇該複數距離值中之一個最小距離值,該選擇模組13根據該最小距離值選擇與該最小距離值對應之人臉圖像。進一步說明,當該複數距離值中存在複數最小距離值,該選擇模組13選擇其中一個與最小距離值對應之人臉圖像。 The image preview system 100 includes a display module 10, a face recognition module 11, a selection module 13, a determination module 14, an amplification module 16, a direction input module 17, and a distance calculation module. 18 and a distance comparison module 19. The display module 10 is configured to display an image Y, and the display module 10 The display range is L. The face recognition module 11 is configured to recognize a face image in the image Y. The selection module 13 is configured to select one of the recognized face images. The determining module 14 is configured to compare the image pixels of the selected face image with the display pixels of the display module 10. The zooming module 16 is configured to enlarge the selected face image according to the image pixel of the selected face image and the display pixel of the display module 10, and enlarge the selected face image Displayed in the display module 10. The direction input module 17 is configured to receive a direction command input by the user. The distance calculation module 18 is configured to calculate a distance between the selected face image and other face images on the direction command according to the direction command received by the direction input module 17 to obtain a complex distance value. The distance comparison module 19 is configured to select one of the plurality of distance values, and the selection module 13 selects a face image corresponding to the minimum distance value according to the minimum distance value. Further, when there is a complex minimum distance value in the complex distance value, the selection module 13 selects one of the face images corresponding to the minimum distance value.

該人臉識別模組11識別出該圖像Y中包含三個人臉對應之圖像11a、11b、11c,該識別之人臉圖像11a、11b、11c之形狀均為矩形。 The face recognition module 11 recognizes that the image Y includes three faces corresponding to the images 11a, 11b, and 11c, and the recognized face images 11a, 11b, and 11c have a rectangular shape.

由於該選擇模組13能選擇其中一個已識別之人臉圖像。可以理解,該選擇模組13可以將該圖像Y中最靠近左側之人臉圖像11a作為優先選擇之人臉圖像;也可以將該圖像Y中最靠近右側之人臉圖像11c作為優先選擇之人臉圖像;也可以將該圖像Y中最靠近該圖像Y之中心之人臉圖像11b作為優先選擇之人臉圖像。在本實施方式中,該選擇模組13將該圖像Y中 最靠近左側之人臉圖像11a作為優先選擇之人臉圖像。 Since the selection module 13 can select one of the recognized face images. It can be understood that the selection module 13 can use the face image 11a closest to the left side of the image Y as the preferentially selected face image; or the face image 11c closest to the right side of the image Y. As the face image to be preferentially selected, the face image 11b closest to the center of the image Y in the image Y may be used as the preferential face image. In this embodiment, the selection module 13 takes the image Y The face image 11a closest to the left side is used as the preferred face image.

如將該顯示模組10之寬與高定義為X軸與Y軸,該顯示模組10之其中一個角之頂點為原點,則該人臉識別模組11識別之圖像Y中之人臉圖像11a具有左上角及右下角之座標(x1,y1),(x2,y2),因此可知該人臉圖像11a之圖像範圍為:X軸區段x2-x1,Y軸區段y2-y1,從而可計算出該人臉圖像11a之圖像像素。該顯示模組10之顯示像素(解析度)為m×n(寬×高),m為該顯示模組10之水平方向上之顯示像素,n為該顯示模組10之垂直方向上之顯示像素。該人臉圖像11a之圖像像素為M×N像素,M為該人臉圖像11a之水平方向上之圖像像素,N為該人臉圖像11a之垂直方向上之圖像像素。 If the width and height of the display module 10 are defined as the X-axis and the Y-axis, and the apex of one of the corners of the display module 10 is the origin, the face recognition module 11 recognizes the person in the image Y. The face image 11a has coordinates (x1, y1), (x2, y2) of the upper left corner and the lower right corner, so that the image range of the face image 11a is: X-axis section x2-x1, Y-axis section Y2-y1, whereby the image pixels of the face image 11a can be calculated. The display pixel (resolution) of the display module 10 is m×n (width×height), m is a display pixel in the horizontal direction of the display module 10, and n is a display in the vertical direction of the display module 10. Pixel. The image pixel of the face image 11a is M×N pixels, M is an image pixel in the horizontal direction of the face image 11a, and N is an image pixel in the vertical direction of the face image 11a.

請結合圖3,當M≧m,N≧n時,該放大模組16將該人臉圖像11a放大並將該放大後之人臉圖像11a全屏顯示於該顯示模組10。也就是說,該選擇之人臉圖像11a之圖像像素不小於該顯示模組10之顯示像素時,該人臉圖像11a放大後之圖像範圍Y1與該顯示模組10之顯示範圍L一致。 Referring to FIG. 3, when M≧m, N≧n, the zoom module 16 enlarges the face image 11a and displays the enlarged face image 11a in full screen on the display module 10. In other words, when the image pixel of the selected face image 11a is not smaller than the display pixel of the display module 10, the enlarged image range Y1 of the face image 11a and the display range of the display module 10 L is consistent.

請結合圖4,當M<m,N≧n時,該放大模組16將該人臉圖像11a在垂直方向上全屏放大,而在水平方向上放大至該顯示模組10之M/m倍。該人臉圖像11a放大後之圖像範圍Y1顯示在該顯示範圍L中之表現為:該圖像範圍Y1在水平方向受到變形。 Referring to FIG. 4, when M<m, N≧n, the zoom module 16 enlarges the face image 11a in the vertical direction and enlarges to the M/m of the display module 10 in the horizontal direction. Times. The enlarged image range Y1 of the face image 11a is displayed in the display range L as follows: the image range Y1 is deformed in the horizontal direction.

請結合圖5,當M≧m,N<n時,該放大模組16將該人臉圖像 11a在水平方向上全屏放大,而在垂直方向上放大至該顯示模組10之N/n倍。該人臉圖像11a放大後之圖像範圍Y1顯示在該顯示範圍L中之表現為:該圖像範圍Y1在垂直方向受到變形。 Referring to FIG. 5, when M≧m, N<n, the zoom module 16 images the face. 11a is enlarged in full screen in the horizontal direction and enlarged to N/n times in the vertical direction to the display module 10. The enlarged image range Y1 of the face image 11a is displayed in the display range L as follows: the image range Y1 is deformed in the vertical direction.

可以理解,當M<m,N<n時,該人臉圖像11a放大後之圖像範圍在水平方向及垂直方向均受到變形,用戶無法辨別該人臉圖像11a是否清晰。因此,當該像素計算模組14判斷該人臉圖像11a之水平方向上之圖像像素及垂直方向上之圖像像素分別小於該顯示模組10之水平方向上之顯示像素及垂直方向上之顯示像素時,即,該選擇之人臉圖像11a之圖像像素小於該顯示模組10之顯示像素時,該放大模組16不對該人臉圖像11a進行放大,該顯示模組10直接顯示該圖像Y。 It can be understood that when M<m, N<n, the enlarged image range of the face image 11a is deformed in both the horizontal direction and the vertical direction, and the user cannot discriminate whether the face image 11a is clear. Therefore, when the pixel calculation module 14 determines that the image pixels in the horizontal direction and the image pixels in the vertical direction of the face image 11a are smaller than the display pixels in the horizontal direction of the display module 10 and the vertical direction, respectively. When the pixel is displayed, that is, when the image pixel of the selected face image 11a is smaller than the display pixel of the display module 10, the zoom module 16 does not enlarge the face image 11a, and the display module 10 The image Y is displayed directly.

該方向輸入模組17包括上鍵171、下鍵172、左鍵173及右鍵174四個方向鍵,分別用於接收用戶輸入之上、下、左及右四個方向指令。請結合圖6,該方向輸入模組17之左鍵173接收用戶輸入之左方向指令,該距離計算模組18根據該左方向指令計算該選擇之人臉圖像11a與在該左方向指令包含之方向上之其他人臉圖像11b、11c之間之距離,以得到兩個距離值。該距離比較模組19比較該兩個距離值以得到一個最小距離值。該選擇模組13根據該最小距離值選擇與該最小距離值對應之人臉圖像11b。因此,該選擇之人臉圖像11a之圖像像素不小於該顯示模組10之顯示像素時,該放大模組16對該人臉圖像11b進行放大並將放大後之該人臉圖像11b全屏顯示於 該顯示模組10之顯示範圍L中。可以理解,用戶籍由控制該上鍵171、下鍵172、左鍵173、右鍵174四個方向鍵可以瀏覽該圖像Y中之其它人臉圖像。 The direction input module 17 includes four keys of an up button 171, a down button 172, a left button 173, and a right button 174, respectively, for receiving user input commands in four directions: upper, lower, left, and right. Referring to FIG. 6, the left button 173 of the direction input module 17 receives the left direction command input by the user, and the distance calculation module 18 calculates the selected face image 11a according to the left direction command and includes the command in the left direction. The distance between the other face images 11b, 11c in the direction to obtain two distance values. The distance comparison module 19 compares the two distance values to obtain a minimum distance value. The selection module 13 selects the face image 11b corresponding to the minimum distance value based on the minimum distance value. Therefore, when the image pixel of the selected face image 11a is not smaller than the display pixel of the display module 10, the zoom module 16 enlarges the face image 11b and enlarges the face image. 11b full screen is displayed on The display module 10 has a display range L. It can be understood that the user can browse other face images in the image Y by controlling the up button 171, the down button 172, the left button 173, and the right button 174.

所述圖像預覽系統100,籍由以人臉為單位放大顯示該圖像中之人臉圖像,從而方便拍攝者查看圖像中之人臉之清晰度。 The image preview system 100 facilitates the photographer to view the sharpness of the face in the image by magnifying and displaying the face image in the image in units of faces.

請一併參閱圖7-1及圖7-2,為本發明第一實施方式提供之圖像瀏覽方法,其用於將一個圖像放大顯示於一個顯示模組上,其包括以下步驟。 Referring to FIG. 7-1 and FIG. 7-2, an image browsing method according to a first embodiment of the present invention is used to display an image on a display module in an enlarged manner, which includes the following steps.

步驟S10,識別該圖像中之人臉圖像。 Step S10, identifying a face image in the image.

步驟S11,選擇其中一個已識別之人臉圖像。 In step S11, one of the recognized face images is selected.

步驟S12,比較該選擇之人臉圖像之圖像像素與該顯示模組之顯示像素,該顯示模組之顯示像素為m×n,該人臉圖像之圖像像素為M×N,其中,m為水平方向上之顯示像素,n為垂直方向上之顯示像素,M為水平方向上之圖像像素,N為垂直方向上之圖像像素。 Step S12, comparing image pixels of the selected face image with display pixels of the display module, the display pixel of the display module is m×n, and the image pixel of the face image is M×N, Where m is a display pixel in the horizontal direction, n is a display pixel in the vertical direction, M is an image pixel in the horizontal direction, and N is an image pixel in the vertical direction.

步驟S13,當M≧m,N≧n時,將該人臉圖像放大為與該顯示模組之顯示範圍一致。即,若該選擇之人臉圖像之圖像像素不小於該顯示模組之顯示像素,則對該選擇之人臉圖像進行放大並在該顯示模組中全屏顯示經放大後之該選擇之人臉圖像。 In step S13, when M≧m, N≧n, the face image is enlarged to be consistent with the display range of the display module. That is, if the image pixel of the selected face image is not smaller than the display pixel of the display module, the selected face image is enlarged and the enlarged display is displayed in full screen in the display module. Face image.

步驟S14,當M<m,N<n時,放棄放大該人臉圖像。即,若該選擇之人臉圖像之圖像像素小於該顯示模組之顯示像素,則放棄放大該選擇之人臉圖像並在該顯示模組中直接顯示該圖像。 In step S14, when M < m, N < n, the face image is discarded and enlarged. That is, if the image pixel of the selected face image is smaller than the display pixel of the display module, the selected face image is discarded and displayed directly in the display module.

步驟S15,當M≧m,N<n時,將該人臉圖像放大為在水平方向上與該顯示模組之水平顯示範圍一致,而在垂直方向上放大至該顯示模組之垂直顯示範圍之N/n倍。即,若該選擇之人臉圖像之水平方向上之圖像像素不小於該顯示模組之水平方向上之顯示像素,而該選擇之人臉圖像之垂直方向上之圖像像素小於該顯示模組之垂直方向上之顯示像素,則將該選擇之人臉圖像放大為在水平方向上與該顯示模組之水平顯示範圍一致,而在垂直方向上以一個第一比例放大,該第一比例為:該選擇之人臉圖像之垂直方向上之圖像像素比該顯示模組之垂直方向上之顯示像素。 Step S15, when M≧m, N<n, the face image is enlarged to be consistent with the horizontal display range of the display module in the horizontal direction, and enlarged to the vertical display of the display module in the vertical direction. N/n times the range. That is, if the image pixel in the horizontal direction of the selected face image is not smaller than the display pixel in the horizontal direction of the display module, the image pixel in the vertical direction of the selected face image is smaller than the image pixel. Displaying the display pixels in the vertical direction of the module, and enlarging the selected face image to be consistent with the horizontal display range of the display module in the horizontal direction and at a first scale in the vertical direction, The first ratio is: the image pixels in the vertical direction of the selected face image are smaller than the display pixels in the vertical direction of the display module.

步驟S16,當M<m,N≧n時,將該人臉圖像放大為在垂直方向上與該顯示模組之垂直顯示範圍一致,而在水平方向上放大至該顯示模組之水平顯示範圍之M/m倍。即,若該選擇之人臉圖像之水平方向上之圖像像素小於該顯示模組之水平方向上之顯示像素,而該選擇之人臉圖像之垂直方向上之圖像像素不小於該顯示模組之垂直方向上之顯示像素,則將該選擇之人臉圖像放大為在垂直方向上與該顯示模組之垂直顯示範圍一致,而在水平方向上以一個第二比例放大,該第二比例為:該選擇之人臉圖像之水平方向上之圖像像素比該顯示 模組之水平方向上之顯示像素。 Step S16, when M<m, N≧n, the face image is enlarged to be consistent with the vertical display range of the display module in the vertical direction, and enlarged to the horizontal display of the display module in the horizontal direction. M/m times the range. That is, if the image pixel in the horizontal direction of the selected face image is smaller than the display pixel in the horizontal direction of the display module, the image pixel in the vertical direction of the selected face image is not smaller than the image pixel. Displaying a display pixel in a vertical direction of the module, the selected face image is enlarged to be perpendicular to the vertical display range of the display module in the vertical direction, and enlarged in a horizontal direction by a second ratio, The second ratio is: the image pixel ratio in the horizontal direction of the selected face image is greater than the display The display pixels in the horizontal direction of the module.

步驟S17,接收用戶輸入之方向指令。 Step S17, receiving a direction instruction input by the user.

步驟S18,根據該方向指令計算該選擇之人臉圖像與在該方向指令上之其他人臉圖像之間之距離,以得到複數距離值。 Step S18, calculating a distance between the selected face image and other face images on the direction command according to the direction command to obtain a complex distance value.

步驟S19,選擇該複數距離值中之一個最小距離值。進一步說明,若該複數距離值中存在複數最小距離值時,選擇與其中一個最小距離值。 Step S19, selecting one of the complex distance values. Further, if there is a complex minimum distance value in the complex distance value, one of the minimum distance values is selected.

步驟S110,根據該最小距離值選擇與該最小距離值對應之人臉圖像。及返回步驟S12。可以理解,籍由用戶輸入之複數方向,可以瀏覽該圖像中之其它人臉圖像。 Step S110, selecting a face image corresponding to the minimum distance value according to the minimum distance value. And returning to step S12. It can be understood that other face images in the image can be browsed by the plural direction input by the user.

所述圖像預覽系統100之圖像預覽方法,籍由以人臉為單位放大顯示該圖像中之人臉圖像,從而方便拍攝者查看圖像中之人臉之清晰度。 The image preview method of the image preview system 100 enlarges and displays the face image in the image by using a face unit, thereby facilitating the photographer to view the sharpness of the face in the image.

請一併參閱圖1及圖8,為本發明第二實施方式提供之圖像預覽系統200,其與第一實施方式提供之圖像預覽系統100之區別在於:該圖像預覽系統200包括一個持續顯示模組210而取代該圖像預覽系統100之方向輸入模組17、距離計算模組18及距離比較模組19,該持續顯示模組210用於在一個預定時間內使該顯示模組10e持續顯示放大後之該選擇之人臉圖像,該選擇模組13e還用於在該預定時間結束後選擇下一個人 臉圖像。 Please refer to FIG. 1 and FIG. 8 together, which is an image preview system 200 according to a second embodiment of the present invention, which is different from the image preview system 100 provided by the first embodiment in that the image preview system 200 includes a The continuous display module 210 replaces the direction input module 17 of the image preview system 100, the distance calculation module 18, and the distance comparison module 19, and the continuous display module 210 is configured to enable the display module within a predetermined time. 10e continuously displays the selected face image after zooming, and the selection module 13e is further configured to select the next person after the predetermined time ends Face image.

該持續顯示模組210之預定時間可以提供給用戶設置,如用戶不設置該預定時間,則該持續顯示模組210默認一個值作為預定時間。在本實施方式中,該預定時間為5秒。當該顯示模組10e持續顯示放大後之該選擇之人臉圖像5秒後,該選擇模組13e選擇下一個人臉圖像進入後續流程。從而與該圖像預覽系統100相比,該持續顯示模組210之設置使該圖像預覽系統200可以自動瀏覽該圖像Y中之人臉。 The predetermined time of the continuous display module 210 can be provided to the user. If the user does not set the predetermined time, the continuous display module 210 defaults to a value as the predetermined time. In the present embodiment, the predetermined time is 5 seconds. After the display module 10e continuously displays the enlarged face image for 5 seconds, the selection module 13e selects the next personal face image to enter the subsequent process. Thus, the setting of the continuous display module 210 allows the image preview system 200 to automatically browse the face in the image Y as compared to the image preview system 100.

請一併參閱圖9-1及圖9-2,為本發明第二實施方式提供之上述圖像預覽系統200之圖像瀏覽方法,其包括以下步驟。 Please refer to FIG. 9-1 and FIG. 9-2 together, which is an image browsing method of the image preview system 200 according to the second embodiment of the present invention, which includes the following steps.

步驟S20,識別該圖像中之人臉圖像。 Step S20, identifying a face image in the image.

步驟S21,選擇其中一個已識別之人臉圖像。 In step S21, one of the recognized face images is selected.

步驟S22,比較該選擇之人臉圖像之圖像像素與該顯示模組之顯示像素,該顯示模組之顯示像素為m×n,該人臉圖像之圖像像素為M×N,其中,m為水平方向上之顯示像素,n為垂直方向上之顯示像素,M為水平方向上之圖像像素,N為垂直方向上之圖像像素。 Step S22, comparing image pixels of the selected face image with display pixels of the display module, the display pixel of the display module is m×n, and the image pixel of the face image is M×N. Where m is a display pixel in the horizontal direction, n is a display pixel in the vertical direction, M is an image pixel in the horizontal direction, and N is an image pixel in the vertical direction.

步驟S23,當M≧m,N≧n時,將該人臉圖像放大為與該顯示模組之顯示範圍一致。即,若該選擇之人臉圖像之圖像像素不小於該顯示模組之顯示像素,則對該選擇之人臉圖像進行放大並在該顯示模組中全屏顯示經放大後之該選擇之人臉圖像。 In step S23, when M≧m, N≧n, the face image is enlarged to be consistent with the display range of the display module. That is, if the image pixel of the selected face image is not smaller than the display pixel of the display module, the selected face image is enlarged and the enlarged display is displayed in full screen in the display module. Face image.

步驟S24,當M<m,N<n時,放棄放大該人臉圖像。即,若該選擇之人臉圖像之圖像像素小於該顯示模組之顯示像素,則放棄放大該選擇之人臉圖像並在該顯示模組中直接顯示該圖像。 In step S24, when M < m, N < n, the face image is discarded and enlarged. That is, if the image pixel of the selected face image is smaller than the display pixel of the display module, the selected face image is discarded and displayed directly in the display module.

步驟S25,當M≧m,N<n時,將該人臉圖像放大為在水平方向上與該顯示模組之水平顯示範圍一致,而在垂直方向上放大至該顯示模組之垂直顯示範圍之N/n倍。即,若該選擇之人臉圖像之水平方向上之圖像像素不小於該顯示模組之水平方向上之顯示像素,而該選擇之人臉圖像之垂直方向上之圖像像素小於該顯示模組之垂直方向上之顯示像素,則將該選擇之人臉圖像放大為在水平方向上與該顯示模組之水平顯示範圍一致,而在垂直方向上以一個第一比例放大,該第一比例為:該選擇之人臉圖像之垂直方向上之圖像像素比該顯示模組之垂直方向上之顯示像素。 Step S25, when M≧m, N<n, the face image is enlarged to be consistent with the horizontal display range of the display module in the horizontal direction, and enlarged to the vertical display of the display module in the vertical direction. N/n times the range. That is, if the image pixel in the horizontal direction of the selected face image is not smaller than the display pixel in the horizontal direction of the display module, the image pixel in the vertical direction of the selected face image is smaller than the image pixel. Displaying the display pixels in the vertical direction of the module, and enlarging the selected face image to be consistent with the horizontal display range of the display module in the horizontal direction and at a first scale in the vertical direction, The first ratio is: the image pixels in the vertical direction of the selected face image are smaller than the display pixels in the vertical direction of the display module.

步驟S26,當M<m,N≧n時,將該人臉圖像放大為在垂直方向上與該顯示模組之垂直顯示範圍一致,而在水平方向上放大至該顯示模組之水平顯示範圍之M/m倍。即,若該選擇之人臉圖像之水平方向上之圖像像素小於該顯示模組之水平方向上之顯示像素,而該選擇之人臉圖像之垂直方向上之圖像像素不小於該顯示模組之垂直方向上之顯示像素,則將該選擇之人臉圖像放大為在垂直方向上與該顯示模組之垂直顯示範圍一致,而在水平方向上以一個第二比例放大,該第二比例為:該選擇之人臉圖像之水平方向上之圖像像素比該顯示 模組之水平方向上之顯示像素。 Step S26, when M<m, N≧n, the face image is enlarged to be consistent with the vertical display range of the display module in the vertical direction, and enlarged to the horizontal display of the display module in the horizontal direction. M/m times the range. That is, if the image pixel in the horizontal direction of the selected face image is smaller than the display pixel in the horizontal direction of the display module, the image pixel in the vertical direction of the selected face image is not smaller than the image pixel. Displaying a display pixel in a vertical direction of the module, the selected face image is enlarged to be perpendicular to the vertical display range of the display module in the vertical direction, and enlarged in a horizontal direction by a second ratio, The second ratio is: the image pixel ratio in the horizontal direction of the selected face image is greater than the display The display pixels in the horizontal direction of the module.

步驟S27,在一個預定時間內持續顯示放大後之該選擇之人臉圖像。 In step S27, the selected face image after the enlargement is continuously displayed for a predetermined time.

步驟S28,在該預定時間結束後選擇下一個人臉圖像。及返回步驟S22。 In step S28, the next personal face image is selected after the predetermined time ends. And returning to step S22.

所述圖像預覽系統200之圖像預覽方法,籍由以人臉為單位放大顯示該圖像中之人臉圖像,從而方便拍攝者查看圖像中之人臉之清晰度,而且該圖像預覽方法還可以自動瀏覽該圖像Y中之人臉圖像。 The image preview method of the image preview system 200 enlarges and displays the face image in the image by using a face unit, thereby facilitating the photographer to view the sharpness of the face in the image, and the figure Like the preview method, the face image in the image Y can also be automatically browsed.

綜上所述,本發明確已符合發明專利之要件,遂依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,自不能以此限制本案之申請專利範圍。舉凡熟悉本案技藝之人士爰依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the present invention has indeed met the requirements of the invention patent, and has filed a patent application according to law. However, the above description is only a preferred embodiment of the present invention, and it is not possible to limit the scope of the patent application of the present invention. Equivalent modifications or variations made by persons skilled in the art in light of the spirit of the invention are intended to be included within the scope of the following claims.

100‧‧‧圖像預覽系統 100‧‧‧Image preview system

10‧‧‧顯示模組 10‧‧‧ display module

11‧‧‧人臉識別模組 11‧‧‧Face recognition module

13‧‧‧選擇模組 13‧‧‧Selection module

14‧‧‧判斷模組 14‧‧‧Judgement module

16‧‧‧放大模組 16‧‧‧Amplification module

17‧‧‧方向輸入模組 17‧‧‧ Directional input module

171‧‧‧上鍵 171‧‧‧Up key

172‧‧‧下鍵 172‧‧‧down key

173‧‧‧左鍵 173‧‧‧Left button

174‧‧‧右鍵 174‧‧‧right

18‧‧‧距離計算模組 18‧‧‧ Distance calculation module

19‧‧‧距離比較模組 19‧‧‧Distance comparison module

Claims (6)

一種圖像預覽系統,其改良在於,其包括一個顯示模組、一個人臉識別模組、一個選擇模組、一個判斷模組、一個放大模組、一個方向輸入模組、一個距離計算模組及一個距離比較模組,其中:該顯示模組用於顯示圖像;該人臉識別模組用於識別該圖像中之人臉圖像;該選擇模組用於選擇其中一個已識別之人臉圖像;該判斷模組用於比較該選擇之人臉圖像之圖像像素與該顯示模組之顯示像素;若該選擇之人臉圖像之圖像像素不小於顯示模組之顯示像素,則該放大模組用於對該選擇之人臉圖像進行放大,並將放大後之該人臉圖像全屏顯示在該顯示模組;該方向輸入模組包括上、下、左及右四個方向鍵,該四個方向鍵分別用於接收用戶輸入之上、下、左及右四個方向指令,該距離計算模組用於根據該方向輸入模組接收之方向指令計算該選擇之人臉圖像與在該方向指令上之其他人臉圖像之間之距離,以得到複數距離值,該距離比較模組用於選擇該複數距離值中之一個最小距離值,該選擇模組根據該最小距離值選擇與該最小距離值對應之人臉圖像。 An image preview system is improved in that it comprises a display module, a face recognition module, a selection module, a determination module, an amplification module, a direction input module, a distance calculation module and a distance comparison module, wherein: the display module is configured to display an image; the face recognition module is configured to identify a face image in the image; the selection module is configured to select one of the identified persons a face image; the determining module is configured to compare image pixels of the selected face image with display pixels of the display module; if the image pixel of the selected face image is not smaller than the display of the display module a pixel, wherein the zoom module is configured to enlarge the selected face image, and display the enlarged face image in full screen on the display module; the direction input module includes up, down, left, and The right four direction keys are respectively used to receive the user input upper, lower, left and right directions, and the distance calculation module is configured to calculate the selection according to the direction instruction received by the direction input module. Face image a distance between other face images on the direction command to obtain a complex distance value, the distance comparison module is configured to select a minimum distance value of the complex distance value, and the selection module is based on the minimum distance value A face image corresponding to the minimum distance value is selected. 如申請專利範圍第1項所述之圖像預覽系統,其中,該顯示模組之顯示像素為m×n,該人臉圖像之圖像像素為M×N,其中 ,m為水平方向上之顯示像素,n為垂直方向上之顯示像素,M為水平方向上之圖像像素,N為垂直方向上之圖像像素,當M<m,N≧n時,該放大模組將該人臉圖像放大為在垂直方向上與該顯示模組之垂直顯示範圍一致,而在水平方向上放大至該顯示模組之水平顯示範圍之M/m倍,當M≧m,N<n時,該放大模組將該人臉圖像放大為在水平方向上與該顯示模組之水平顯示範圍一致,而在垂直方向上放大至該顯示模組之垂直顯示範圍之N/n倍,當M<m,N<n時,該放大模組放棄放大該人臉圖像並在該顯示模組中直接顯示該圖像。 The image preview system of claim 1, wherein the display pixel of the display module is m×n, and the image pixel of the face image is M×N, wherein m is the display pixel in the horizontal direction, n is the display pixel in the vertical direction, M is the image pixel in the horizontal direction, and N is the image pixel in the vertical direction. When M<m, N≧n, the The magnifying module enlarges the face image to be perpendicular to the vertical display range of the display module in the vertical direction, and is enlarged to the M/m times of the horizontal display range of the display module in the horizontal direction, when M≧ When m, N<n, the magnifying module enlarges the face image to be consistent with the horizontal display range of the display module in the horizontal direction, and enlarges to the vertical display range of the display module in the vertical direction. N/n times, when M<m, N<n, the amplifying module discards the enlarged face image and directly displays the image in the display module. 如申請專利範圍第1項所述之圖像預覽系統,其中,當該複數距離值中存在複數最小距離值時,該選擇模組選擇與其中一個最小距離值對應之人臉圖像。 The image preview system of claim 1, wherein the selection module selects a face image corresponding to one of the minimum distance values when the plurality of minimum distance values are present in the plurality of distance values. 如申請專利範圍第1項所述之圖像預覽系統,其中,該識別之人臉圖像之圖像之形狀為矩形。 The image preview system of claim 1, wherein the image of the recognized face image is rectangular. 一種圖像預覽方法,其用於將一個圖像放大顯示於一個顯示模組上,其改良在於,其包括以下步驟:識別該圖像中之人臉圖像;選擇其中一個已識別之人臉圖像;比較該選擇之人臉圖像之圖像像素與該顯示模組之顯示像素;及若該選擇之人臉圖像之圖像像素不小於顯示模組之顯示像素,則對該選擇之人臉圖像進行放大並顯示放大後之該選擇之人臉圖像;接收用戶輸入之方向指令; 根據該方向指令計算該選擇之人臉圖像與在該方向指令上之其他人臉圖像之間之距離,以得到複數距離值;選擇該複數距離值中之一個最小距離值;根據該最小距離值選擇與該最小距離值對應之人臉圖像;及返回步驟:比較該選擇之人臉圖像之圖像像素與該顯示模組之顯示像素。 An image preview method for magnifying an image on a display module, the improvement comprising the steps of: recognizing a face image in the image; selecting one of the recognized faces And comparing the image pixels of the selected face image with the display pixels of the display module; and if the selected image of the face image is not smaller than the display pixels of the display module, the selection is performed The face image is enlarged and displayed, and the selected face image is enlarged; receiving a direction instruction input by the user; Calculating a distance between the selected face image and other face images on the direction command according to the direction instruction to obtain a complex distance value; selecting one of the complex distance values; according to the minimum The distance value selects a face image corresponding to the minimum distance value; and a returning step: comparing image pixels of the selected face image with display pixels of the display module. 如申請專利範圍第5項所述之圖像預覽方法,其中,該顯示模組之顯示像素為m×n,該人臉圖像之圖像像素為M×N,其中,m為水平方向上之顯示像素,n為垂直方向上之顯示像素,M為水平方向上之圖像像素,N為垂直方向上之圖像像素,當M<m,N≧n時,將該人臉圖像放大為在垂直方向上與該顯示模組之垂直顯示範圍一致,而在水平方向上放大至該顯示模組之水平顯示範圍之M/m倍,當M≧m,N<n時,將該人臉圖像放大為在水平方向上與該顯示模組之水平顯示範圍一致,而在垂直方向上放大至該顯示模組之垂直顯示範圍之N/n倍,當M<m,N<n時,放棄放大該人臉圖像並直接顯示該圖像。 The image preview method of claim 5, wherein the display pixel of the display module is m×n, and the image pixel of the face image is M×N, wherein m is in a horizontal direction. Display pixel, n is a display pixel in the vertical direction, M is an image pixel in a horizontal direction, and N is an image pixel in a vertical direction. When M<m, N≧n, the face image is enlarged. In order to match the vertical display range of the display module in the vertical direction and to enlarge the M/m times of the horizontal display range of the display module in the horizontal direction, when M≧m, N<n, the person The face image is enlarged to be in the horizontal direction to coincide with the horizontal display range of the display module, and is enlarged in the vertical direction to N/n times of the vertical display range of the display module, when M<m, N<n , discard the face image and display the image directly.
TW98115340A 2009-05-08 2009-05-08 Image previewing system and method thereof TWI402760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98115340A TWI402760B (en) 2009-05-08 2009-05-08 Image previewing system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98115340A TWI402760B (en) 2009-05-08 2009-05-08 Image previewing system and method thereof

Publications (2)

Publication Number Publication Date
TW201040851A TW201040851A (en) 2010-11-16
TWI402760B true TWI402760B (en) 2013-07-21

Family

ID=44996114

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98115340A TWI402760B (en) 2009-05-08 2009-05-08 Image previewing system and method thereof

Country Status (1)

Country Link
TW (1) TWI402760B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200307224A (en) * 2002-05-22 2003-12-01 Sony Comp Entertainment Us System and method for digital image selection
TW569148B (en) * 2002-04-09 2004-01-01 Ind Tech Res Inst Method for locating facial features in an image
US20050041044A1 (en) * 2003-08-22 2005-02-24 Gannon Aaron James System and method for changing the relative size of a displayed image
US20050128221A1 (en) * 2003-12-16 2005-06-16 Canon Kabushiki Kaisha Image displaying method and image displaying apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW569148B (en) * 2002-04-09 2004-01-01 Ind Tech Res Inst Method for locating facial features in an image
TW200307224A (en) * 2002-05-22 2003-12-01 Sony Comp Entertainment Us System and method for digital image selection
US20050041044A1 (en) * 2003-08-22 2005-02-24 Gannon Aaron James System and method for changing the relative size of a displayed image
US20050128221A1 (en) * 2003-12-16 2005-06-16 Canon Kabushiki Kaisha Image displaying method and image displaying apparatus

Also Published As

Publication number Publication date
TW201040851A (en) 2010-11-16

Similar Documents

Publication Publication Date Title
CN111294517B (en) Image processing method and mobile terminal
EP3346329B1 (en) Image processing method and apparatus
CN101873426B (en) Image preview system and image preview method thereof
US9060129B2 (en) Imaging device, control method of imaging device, and computer program
CN104731494A (en) Method and device for magnifying selected area in preview interface
JP2009514266A (en) Image processing apparatus, image processing method of the apparatus, electronic camera, and image processing program
US20050163498A1 (en) User interface for automatic red-eye removal in a digital image
JP5861395B2 (en) Portable device
JP5791448B2 (en) Camera device and portable terminal
JP2012239150A (en) Handheld electronic device, double image acquisition method applied to the device, and computer program product loaded to the device
WO2014161313A1 (en) Shooting region determination method and system
US9398222B2 (en) Image display device that displays image and display bodies specifying image&#39;s particular regions, control method and storage medium therefor, and image pickup apparatus
JP2006261711A (en) Image generating apparatus
WO2016101524A1 (en) Method and apparatus for correcting inclined shooting of object being shot, mobile terminal, and storage medium
TW201337641A (en) Method and system for prompting self-catch
JP7231643B2 (en) Information processing equipment
JP2007249527A (en) Image editing device, image editing method and image editing program
WO2018196854A1 (en) Photographing method, photographing apparatus and mobile terminal
WO2015096015A1 (en) Image display method and user terminal
KR20060035198A (en) Auto zooming system used face recognition technology and mobile phone installed it and auto zooming method used face recognition technology
TWI402760B (en) Image previewing system and method thereof
WO2017219442A1 (en) Image preview method and apparatus
JP4588627B2 (en) Image processing apparatus and image processing program
JP2005303941A (en) Correction reference designation device and correction reference designation method
WO2017107324A1 (en) Photographing mode processing method and device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees