TWI452513B - Electronic apparatus with an image adjusting function and method for the same - Google Patents

Electronic apparatus with an image adjusting function and method for the same Download PDF

Info

Publication number
TWI452513B
TWI452513B TW097137118A TW97137118A TWI452513B TW I452513 B TWI452513 B TW I452513B TW 097137118 A TW097137118 A TW 097137118A TW 97137118 A TW97137118 A TW 97137118A TW I452513 B TWI452513 B TW I452513B
Authority
TW
Taiwan
Prior art keywords
picture
aspect ratio
display
display screen
displayed
Prior art date
Application number
TW097137118A
Other languages
Chinese (zh)
Other versions
TW201013517A (en
Inventor
Chuan Hong Wang
Hong Yang Yeh
Xiao-Guang Li
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 TW097137118A priority Critical patent/TWI452513B/en
Publication of TW201013517A publication Critical patent/TW201013517A/en
Application granted granted Critical
Publication of TWI452513B publication Critical patent/TWI452513B/en

Links

Description

具有圖片調整功能的電子裝置及圖片調整方法 Electronic device with picture adjustment function and picture adjustment method

本發明是關於一種具有圖片調整功能的電子裝置及對在電子裝置上顯示的圖片進行調整的方法。 The present invention relates to an electronic device having a picture adjustment function and a method of adjusting a picture displayed on the electronic device.

一般,由於顯示裝置顯示幕的顯示比例與圖片的顯示比例不同,故圖片在顯示時,不能滿屏顯示圖片,即顯示幕幕不能全部被圖片所覆蓋,如在顯示幕的長寬比大於圖片的長寬比,圖片居中顯示時,圖片上下兩側將會出現不能被圖片覆蓋的區域,在顯示幕的長寬比小於圖片的長寬比,圖片居中顯示時,圖片左右兩側將會出現不能被圖片覆蓋的區域,如此不但影響顯示效果,且使顯示幕的顯示空間不能被充分利用。 Generally, since the display ratio of the display screen of the display device is different from the display ratio of the picture, the picture cannot be displayed full screen when the picture is displayed, that is, the display screen cannot be completely covered by the picture, for example, the aspect ratio of the display screen is larger than the picture. The aspect ratio, when the picture is centered, there will be areas on the upper and lower sides of the picture that cannot be covered by the picture. When the aspect ratio of the display is smaller than the aspect ratio of the picture, when the picture is centered, the left and right sides of the picture will appear. An area that cannot be covered by a picture, which not only affects the display effect, but also makes the display space of the display screen not fully utilized.

2007年7月4日在中國大陸知識產權局公開的申請號為200510135789.2的中國專利揭露了一種圖片調整方法,該方法設置了一個縮放因數對照表,該對照表記錄了不同長寬比的圖片與標準圖片(長寬比為4/3,與顯示裝置的顯示比例一致)之間的縮放因數,即在待顯示圖片的長寬比與標準圖片的長寬比不一致時,將待顯示圖片轉換為標準圖片時的縮放係數,在獲取待顯示圖片的長寬比後,從該縮放因數對照表中獲取縮放因數,然後根據所獲取的縮放因數通過一長寬比轉換器將該圖像轉換為標準圖像 ,然後將該標準圖像通過一顯示裝置顯示。 Chinese patent application No. 200510135789.2, published on July 4, 2007 in the Chinese Mainland Intellectual Property Office, discloses a picture adjustment method, which sets a scale factor comparison table, which records pictures with different aspect ratios. The zoom factor between the standard picture (the aspect ratio is 4/3, which is consistent with the display ratio of the display device), that is, when the aspect ratio of the picture to be displayed does not match the aspect ratio of the standard picture, the picture to be displayed is converted into The scaling factor of the standard picture, after obtaining the aspect ratio of the picture to be displayed, obtaining the scaling factor from the scaling factor comparison table, and then converting the image into a standard by an aspect ratio converter according to the obtained scaling factor image And then the standard image is displayed by a display device.

雖然該方法能使圖片全屏顯示於顯示裝置,但是通過非同比例縮放圖片,導致圖片失真,影響顯示效果。 Although the method can display the picture in full screen on the display device, the picture is distorted by non-proportional scaling of the picture, which affects the display effect.

有鑒於此,故需要提供一種具有圖片調整功能的電子裝置及對在電子裝置上顯示的圖片進行調整的方法,在使圖片滿屏顯示的同時,能使圖片不發生失真。 In view of the above, it is necessary to provide an electronic device having a picture adjustment function and a method for adjusting a picture displayed on the electronic device, so that the picture can be displayed on the full screen while the picture is not distorted.

所述具有圖片調整功能的電子裝置包括一圖片獲取模組,用於從一存儲設備中獲取待顯示的圖片,一顯示方式確定模組,用於獲取待顯示圖片的長寬比及顯示單元的顯示幕的長寬比,並判斷圖片的長寬比與顯示幕的長寬比是否一致;一圖片調整模組,在圖片的長寬比與顯示幕的長寬比不一致時,對待顯示圖片進行調整,調整時,首先判斷顯示幕的長寬比是否大於圖片的長寬比;在顯示幕的長寬比大於圖片的長寬比時,該圖片調整模組放大/縮小圖片至圖片的長度等於顯示幕的長度,並分別從圖片上方長邊及圖片下方開始截除放大後的圖片的寬超出顯示幕寬的部分的a%及(1-a%)的圖片;在顯示幕的長寬比小於圖片的長寬比時,該圖片調整模組放大/縮小圖片至圖片的寬度等於顯示幕的寬度,並分別從圖片左邊寬邊及右邊寬邊開始截除放大後的圖片的長超出顯示幕長的部分的a’%及(1-a’%)的圖片;一圖片顯示模組,用於滿屏顯示截取後的圖片於該顯示單元。 The electronic device with the image adjustment function includes a picture acquisition module for acquiring a picture to be displayed from a storage device, and a display mode determining module for acquiring an aspect ratio of the picture to be displayed and a display unit. Display the aspect ratio of the screen, and determine whether the aspect ratio of the picture is consistent with the aspect ratio of the display screen; a picture adjustment module performs the picture to be displayed when the aspect ratio of the picture is inconsistent with the aspect ratio of the display screen When adjusting or adjusting, first determine whether the aspect ratio of the display screen is larger than the aspect ratio of the picture; when the aspect ratio of the display screen is larger than the aspect ratio of the picture, the picture adjustment module enlarges/reduces the picture to the length of the picture equal to Display the length of the screen, and cut off the a% and (1-a%) of the enlarged image from the long side of the picture and the bottom of the picture, respectively; the aspect ratio of the display screen When the aspect ratio of the picture is smaller than the aspect ratio of the picture, the picture adjustment module enlarges/reduces the picture to the width of the picture equal to the width of the display screen, and cuts off the length of the enlarged picture from the wide side and the right side of the left side of the picture respectively. A picture of a'% and (1-a'%) of the portion of the screen length; a picture display module for displaying the captured picture on the display unit in full screen.

所述對在電子裝置上顯示的圖片進行調整的方法包括:獲取待顯示的圖片;獲取待顯示圖片的長寬比及顯示單元的顯示幕的長寬比,並判斷圖片的長寬比與顯示幕的長寬比是否一致;在圖片的 長寬比與顯示幕的長寬比不一致時,對待顯示圖片進行調整,調整時首先判斷顯示幕的長寬比是否大於圖片的長寬比;在顯示幕的長寬比大於圖片的長寬比時,包括:放大/縮小圖片至圖片的長度等於顯示幕的長度;分別從圖片上方長邊及圖片下方開始截除放大後的圖片的寬超出顯示幕寬的部分的a%及(1-a%)的圖片;在顯示幕的長寬比小於圖片的長寬比時,包括:放大/縮小圖片至圖片的寬度等於顯示幕的寬度,並分別從圖片左邊寬邊及右邊寬邊開始截取放大後的圖片的長超出顯示幕長的部分的a’%及(1-a’%)的圖片;截取圖片後,滿屏顯示截取後的圖片。 The method for adjusting a picture displayed on the electronic device includes: acquiring a picture to be displayed; obtaining an aspect ratio of the picture to be displayed and an aspect ratio of the display screen of the display unit, and determining the aspect ratio and the display of the picture Whether the aspect ratio of the curtain is consistent; in the picture When the aspect ratio and the aspect ratio of the display screen are inconsistent, the picture to be displayed is adjusted. When adjusting, it is first determined whether the aspect ratio of the display screen is larger than the aspect ratio of the picture; the aspect ratio of the display screen is larger than the aspect ratio of the picture. The method includes: enlarging/reducing the picture to the length of the picture is equal to the length of the display screen; respectively, starting from the long side of the picture and the bottom of the picture, the width of the enlarged picture is more than a% of the width of the display screen and (1-a %); when the aspect ratio of the display is smaller than the aspect ratio of the image, including: enlarging/reducing the image to the width of the image equal to the width of the display, and respectively taking the enlargement from the wide side and the right side of the left side of the picture. The picture after the length exceeds the a'% and (1-a'%) pictures of the part of the display screen; after the picture is captured, the picture after the interception is displayed on the full screen.

相較於現有技術,本發明可在顯示幕的長寬比與圖片的長寬比不一致時,截取部分圖片,以使圖片滿屏顯示於顯示幕的同時,使圖片不發生失真,從而不影響觀賞效果。 Compared with the prior art, the present invention can intercept a part of the picture when the aspect ratio of the display screen is inconsistent with the aspect ratio of the picture, so that the picture is displayed on the display screen at the same time, so that the picture is not distorted, thereby not affecting Enjoy the effect.

1‧‧‧電子裝置 1‧‧‧Electronic device

2‧‧‧外部存儲設備 2‧‧‧External storage devices

11‧‧‧存儲單元 11‧‧‧ storage unit

12‧‧‧顯示單元 12‧‧‧Display unit

13‧‧‧處理單元 13‧‧‧Processing unit

14‧‧‧介面 14‧‧‧ interface

131‧‧‧圖片獲取模組 131‧‧‧Image acquisition module

132‧‧‧顯示方式確定模組 132‧‧‧Display mode determination module

133‧‧‧圖片調整模組 133‧‧‧ Picture Adjustment Module

134‧‧‧圖片顯示模組 134‧‧‧ Picture display module

圖1為具有圖片調整功能的電子裝置的方塊圖;圖2-6為顯示幕的長寬比大於圖片長寬比時圖片調整過程的示意圖;圖7-11為顯示幕的長寬比小於圖片長寬比時圖片調整過程的示意圖;及圖12為對在電子裝置上所顯示圖片進行調整的方法的流程圖。 1 is a block diagram of an electronic device having a picture adjustment function; FIG. 2-6 is a schematic diagram of a picture adjustment process when an aspect ratio of the display screen is larger than a picture aspect ratio; FIG. 7-11 is a display screen having an aspect ratio smaller than a picture. A schematic diagram of a picture adjustment process for an aspect ratio; and FIG. 12 is a flow chart of a method for adjusting a picture displayed on an electronic device.

請參閱圖1,具有圖片調整功能的電子裝置的方塊圖。該電子裝置1可通過介面14與外部存儲設備2相連,從而獲取外部存儲設備2中的圖片進行顯示。該介面14可為通用串列介面(USB介面)、 1394介面等。該外部存儲設備2可為相機、手機、U盤、SD卡等存儲設備。 Please refer to FIG. 1 , a block diagram of an electronic device with picture adjustment function. The electronic device 1 can be connected to the external storage device 2 through the interface 14, thereby acquiring a picture in the external storage device 2 for display. The interface 14 can be a universal serial interface (USB interface), 1394 interface and so on. The external storage device 2 can be a storage device such as a camera, a mobile phone, a USB flash drive, or an SD card.

該電子裝置還包括一存儲單元11、一顯示單元12及一處理單元13。該存儲單元11中存儲有待顯示的圖片,該顯示單元12用於顯示圖片。該處理單元13包括一圖片獲取模組131、一顯示方式確定模組132、一圖片調整模組133及一圖片顯示模組134。 The electronic device further includes a storage unit 11, a display unit 12, and a processing unit 13. The storage unit 11 stores a picture to be displayed, and the display unit 12 is configured to display a picture. The processing unit 13 includes a picture acquisition module 131, a display mode determination module 132, a picture adjustment module 133, and a picture display module 134.

該圖片獲取模組131用於從外部存儲設備2或存儲單元11中獲取待顯示的圖片。該顯示方式確定模組132用於獲取待顯示圖片的長寬比及顯示單元14的顯示幕的長寬比,並判斷顯示圖片的長寬比與顯示幕的長寬比是否一致,當顯示圖片的長寬比與顯示幕的長寬比一致時,該圖片顯示模組134滿屏顯示該圖片,當顯示圖片的長寬比與顯示幕的長寬比不一致時,則先由該圖片調整模組133對該圖片進行調整後,再由圖片顯示模組134顯示。 The picture acquisition module 131 is configured to acquire a picture to be displayed from the external storage device 2 or the storage unit 11. The display mode determining module 132 is configured to obtain an aspect ratio of the picture to be displayed and an aspect ratio of the display screen of the display unit 14, and determine whether the aspect ratio of the displayed picture is consistent with the aspect ratio of the display screen, when the picture is displayed. When the aspect ratio of the display screen is consistent with the aspect ratio of the display screen, the picture display module 134 displays the picture on the full screen. When the aspect ratio of the displayed picture is different from the aspect ratio of the display screen, the picture is first adjusted by the picture. After the group 133 adjusts the picture, it is displayed by the picture display module 134.

在圖片調整模組133調整圖片時,首先判斷顯示單元14的顯示幕的長寬比是否大於圖片的長寬比。當顯示幕的長寬比大於圖片的長寬比時,其調整過程請一併參閱圖2-圖6。首先將圖片放大/縮小至圖片的寬與顯示幕的寬相等,如圖2所示,圖片的長和寬分別為M和N,圖3為顯示幕,其長和寬分別為L和N,其中M<L。該圖片調整模組133將圖片放大顯示幕長/圖片長倍,即L/M倍,則放大後的圖片的長為L,寬為L*N/M,則放大後的圖片的寬超出顯示幕寬的部分(以下稱寬超出部分)A=L*N/M-N,如圖4所示。 When the picture adjustment module 133 adjusts the picture, it is first determined whether the aspect ratio of the display screen of the display unit 14 is greater than the aspect ratio of the picture. When the aspect ratio of the display is larger than the aspect ratio of the picture, please refer to Figure 2-6 for the adjustment process. First, enlarge/reduce the picture to the width of the picture and the width of the display screen. As shown in Figure 2, the length and width of the picture are M and N, respectively. Figure 3 shows the display screen. The length and width are L and N, respectively. Where M<L. The picture adjustment module 133 enlarges the picture length/picture length, that is, L/M times, the length of the enlarged picture is L, the width is L*N/M, and the width of the enlarged picture exceeds the display. The portion of the curtain width (hereinafter referred to as the width excess portion) A = L * N / MN, as shown in FIG.

如圖5所示,該圖片調整模組133沿放大後圖片寬邊從圖片上方長邊開始向下截取寬超出部分的a%的圖片,即A*a%的圖片,其中,a為一預設值,可由生產商設置,也可由用戶根據實際狀況自行 設置,在設置時,以圖片中主要部分不被截取為宜,如人物的頭,本實施方式中,以a=20為宜。在截取上方的圖像後,該圖片調整模組133沿圖片寬邊從圖片下方長邊開始向上截取寬超出部分的1-a%的圖片。截取後的圖片,由該圖片顯示模組134滿屏顯示於該顯示單元12,如圖6所示。 As shown in FIG. 5, the picture adjustment module 133 cuts a picture of a% of the width beyond the width of the enlarged picture from the long side of the picture, that is, A*a% of the picture, where a is a pre- The value can be set by the manufacturer or by the user according to the actual situation. Setting, in the setting, it is appropriate that the main part of the picture is not intercepted, such as the head of the character. In the present embodiment, a=20 is preferred. After the upper image is intercepted, the picture adjustment module 133 intercepts a 1-a% wide picture beyond the width from the long side of the picture along the wide side of the picture. The captured picture is displayed on the display unit 12 by the picture display module 134, as shown in FIG. 6.

當顯示幕的長寬比小於圖片的長寬比時,其調整過程請一併參閱圖7-圖11。首先放大或縮小圖片至圖片的長度與顯示幕的長度相等,如圖7所示,為放大/或縮小後的圖片,其長和寬分別為E和F,圖8為顯示幕,其長和寬分別為E和G,其中F<G。該圖片調整模組133將圖片放大顯示幕寬/圖片寬倍,即G/F倍,則放大後的圖片的長為E*G/F倍,寬為G,則放大後的圖片的長超出顯示幕長的部分(以下稱長超出部分)A’=E*G/F-E,如圖9所示。 When the aspect ratio of the display is smaller than the aspect ratio of the picture, please refer to Figure 7-11 for the adjustment process. First, enlarge or reduce the length of the picture to the length of the display screen. As shown in Figure 7, the enlarged and/or reduced pictures are E and F, respectively. Figure 8 shows the display screen. The widths are E and G, respectively, where F < G. The picture adjustment module 133 enlarges the picture width/picture width, that is, G/F times, the length of the enlarged picture is E*G/F times, and the width is G, then the length of the enlarged picture exceeds The part showing the length of the screen (hereinafter referred to as the long excess) A'=E*G/FE, as shown in FIG.

如圖10所示,該圖片調整模組133沿放大後圖片長邊從圖片左邊寬邊開始向右截取長超出部分的a’%的圖片,即A’*a’%的圖片,其中,a’為一預設值,可由生產商設置,也可由用戶根據實際狀況自行設置,在設置時,以圖片中主要部分不被截取為宜,如人物身體。在截取左邊的圖像後,該圖片調整模組133沿圖片長邊從圖片右邊寬邊開始向左截取長超出部分的1-a%的圖片。截取後的圖片,由該圖片顯示模組134滿屏顯示於該顯示單元12,如圖11所示。 As shown in FIG. 10, the picture adjustment module 133 intercepts a picture of the a'% of the long excess from the wide side of the left side of the picture along the long side of the enlarged picture, that is, a picture of A'*a'%, where a 'As a preset value, it can be set by the manufacturer, or it can be set by the user according to the actual situation. When setting, the main part of the picture is not intercepted, such as the character body. After the image on the left side is intercepted, the picture adjustment module 133 intercepts a 1-a% long picture beyond the wide side of the right side of the picture from the wide side of the picture to the left. The captured picture is displayed on the display unit 12 by the picture display module 134, as shown in FIG.

如圖12所示,為對在電子裝置上所顯示圖片進行調整的方法的流程圖。首先,該圖片獲取模組131用於從外部存儲設備2或存儲單元11中獲取待顯示的圖片(步驟S121)。 As shown in FIG. 12, it is a flowchart of a method of adjusting a picture displayed on an electronic device. First, the picture acquisition module 131 is configured to acquire a picture to be displayed from the external storage device 2 or the storage unit 11 (step S121).

該顯示方式確定模組132獲取待顯示圖片的長寬比及顯示單元14 的顯示幕的長寬比,並判斷顯示圖片的長寬比與顯示幕的長寬比是否一致(步驟S122)。 The display mode determining module 132 acquires the aspect ratio of the picture to be displayed and the display unit 14 The aspect ratio of the screen is displayed, and it is judged whether the aspect ratio of the display picture coincides with the aspect ratio of the display screen (step S122).

當顯示圖片的長寬比與顯示幕的長寬比一致時,該圖片顯示模組134滿屏顯示該圖片(步驟S123)。 When the aspect ratio of the displayed picture coincides with the aspect ratio of the display screen, the picture display module 134 displays the picture full screen (step S123).

當顯示圖片的長寬比與顯示幕的長寬比不一致時,則先由該圖片調整模組133對該圖片進行調整,調整時,先判斷顯示幕的長寬比是否大於圖片的長寬比,當顯示幕的長寬比大於圖片的長寬比時,其調整過程請參照圖2-圖6的描述,當顯示幕的長寬比小於圖片的長寬比時,其調整過程請參照圖7-圖11的描述(步驟S124)。 When the aspect ratio of the displayed picture does not match the aspect ratio of the display screen, the picture adjustment module 133 first adjusts the picture. When adjusting, it is first determined whether the aspect ratio of the display screen is greater than the aspect ratio of the picture. When the aspect ratio of the display screen is larger than the aspect ratio of the picture, please refer to the description of Figure 2-6. When the aspect ratio of the display screen is smaller than the aspect ratio of the picture, please refer to the figure for the adjustment process. 7 - Description of Fig. 11 (step S124).

調整後的圖片由該圖片顯示模組134滿屏顯示於該顯示單元12(步驟S125)。 The adjusted picture is displayed on the display unit 12 by the picture display module 134 in full screen (step S125).

1‧‧‧電子裝置 1‧‧‧Electronic device

2‧‧‧外部存儲設備 2‧‧‧External storage devices

11‧‧‧存儲單元 11‧‧‧ storage unit

12‧‧‧顯示單元 12‧‧‧Display unit

13‧‧‧處理單元 13‧‧‧Processing unit

14‧‧‧介面 14‧‧‧ interface

131‧‧‧圖片獲取模組 131‧‧‧Image acquisition module

132‧‧‧顯示方式確定模組 132‧‧‧Display mode determination module

133‧‧‧圖片調整模組 133‧‧‧ Picture Adjustment Module

134‧‧‧圖片顯示模組 134‧‧‧ Picture display module

Claims (8)

一種具有圖片調整功能的電子裝置,該電子裝置包括一顯示單元,一圖片獲取模組,該圖片獲取模組用於從一存儲設備中獲取待顯示的圖片,其特徵在於,該電子裝置還包括:一顯示方式確定模組,用於獲取待顯示圖片的長寬比及幕的長寬比是否一致;一圖片調整模組,在圖片的長寬比與顯示幕的長寬比不一致時,對待顯示圖片進行調整,調整時,首先判斷顯示幕的長寬比是否大於圖片的長寬比;在顯示幕的長寬比大於圖片的長寬比時,該圖片調整模組放大/縮小圖片至圖片的長度等於顯示幕的長度,並分別從放大/縮小後圖片上方長邊及圖片下方開始截除放大後的圖片的寬超出顯示幕寬的部分的a%及(1-a%)的圖片;在顯示幕的長寬比小於圖片的長寬比時,該圖片調整模組放大/縮小圖片至圖片的寬度等於顯示幕的寬度,並分別從放大/縮小後圖片左邊寬邊及右邊寬邊開始截除放大後的圖片的長超出顯示幕長的部分的a’%及(1-a’%)的圖片;一圖片顯示模組,用於滿屏顯示截取後的圖片於該顯示單元。 An electronic device having a picture adjustment function, the electronic device includes a display unit, a picture acquisition module, and the picture acquisition module is configured to obtain a picture to be displayed from a storage device, wherein the electronic device further includes a display mode determining module for obtaining whether the aspect ratio of the picture to be displayed and the aspect ratio of the screen are consistent; a picture adjusting module, when the aspect ratio of the picture is inconsistent with the aspect ratio of the display screen, Display the picture to adjust, when adjusting, first determine whether the aspect ratio of the display screen is larger than the aspect ratio of the picture; when the aspect ratio of the display screen is larger than the aspect ratio of the picture, the picture adjustment module enlarges/reduces the picture to the picture The length of the screen is equal to the length of the display screen, and the length of the enlarged image is greater than the a% and (1-a%) of the portion of the enlarged screen from the long side of the enlarged/reduced image and the bottom of the picture; When the aspect ratio of the display screen is smaller than the aspect ratio of the picture, the picture adjustment module enlarges/reduces the picture to the width of the picture equal to the width of the display screen, and is widened from the left side of the enlarged/reduced picture respectively. And the wide side of the right side begins to cut off the enlarged picture beyond the length of the display screen a'% and (1-a'%) of the picture; a picture display module for full screen display of the captured picture The display unit. 如申請專利範圍第1項所述的具有圖片調整功能的電子裝置,其中,該存儲設備為該電子裝置中的存儲單元。 An electronic device having a picture adjustment function according to claim 1, wherein the storage device is a storage unit in the electronic device. 如申請專利範圍第1項所述的具有圖片調整功能的電子裝置,其中,該存儲設備為通過一介面連接至該電子裝置的外部存儲設備。 An electronic device having a picture adjustment function according to claim 1, wherein the storage device is an external storage device connected to the electronic device through an interface. 如申請專利範圍第1項所述的具有圖片調整功能的電子裝置,其中,在顯 示方式確定模組判斷圖片的長寬比與顯示幕的長寬比一致時,該圖片顯示模組滿屏顯示待顯示圖片於顯示單元。 An electronic device having a picture adjustment function as described in claim 1 of the patent application, wherein When the mode determining module determines that the aspect ratio of the picture is consistent with the aspect ratio of the display screen, the picture display module displays the picture to be displayed on the display unit in a full screen. 如申請專利範圍第1項所述的具有圖片調整功能的電子裝置,其中,a及a’為一預設值。 An electronic device having a picture adjustment function according to claim 1, wherein a and a' are preset values. 一種對在電子裝置上所顯示圖片進行調整的方法,該方法包括:獲取待顯示的圖片;獲取待顯示圖片的長寬比及顯示單元的顯示幕的長寬比,並判斷圖片的長寬比與顯示幕的長寬比是否一致;在圖片的長寬比與顯示幕的長寬比不一致時,對待顯示圖片進行調整,調整時首先判斷顯示幕的長寬比是否大於圖片的長寬比;在顯示幕的長寬比大於圖片的長寬比時,包括:放大/縮小圖片至圖片的長度等於顯示幕的長度;分別從放大/縮小後圖片上方長邊及圖片下方開始截除放大後的圖片的寬超出顯示幕寬的部分的a%及(1-a%)的圖片;在顯示幕的長寬比小於圖片的長寬比時,包括:放大/縮小圖片至圖片的寬度等於顯示幕的寬度,並分別從放大/縮小後圖片左邊寬邊及右邊寬邊開始截取放大後的圖片的長超出顯示幕長的部分的a’%及(1-a’%)的圖片;截取圖片後,滿屏顯示截取後的圖片。 A method for adjusting a picture displayed on an electronic device, the method comprising: acquiring a picture to be displayed; obtaining an aspect ratio of the picture to be displayed and an aspect ratio of the display screen of the display unit, and determining an aspect ratio of the picture Whether the aspect ratio of the display screen is consistent; when the aspect ratio of the picture is inconsistent with the aspect ratio of the display screen, the picture to be displayed is adjusted. When adjusting, it is first determined whether the aspect ratio of the display screen is larger than the aspect ratio of the picture; When the aspect ratio of the display screen is larger than the aspect ratio of the picture, including: enlarging/reducing the picture to the length of the picture is equal to the length of the display screen; respectively, starting from the enlarged/reduced picture, the long side of the picture and the bottom of the picture are cut off and enlarged. The width of the picture exceeds the a% and (1-a%) of the portion of the display width; when the aspect ratio of the display is smaller than the aspect ratio of the picture, including: enlarging/reducing the picture to the width of the picture is equal to the display screen The width of the image is taken from the wide side and the wide side of the left side of the enlarged/reduced image to capture the a'% and (1-a'%) of the enlarged image beyond the length of the display; after the image is taken ,full Display image after the interception. 如申請專利範圍第6項所述的對在電子裝置上所顯示圖片進行調整的方法,其中,該方法還包括步驟:在圖片的長寬比與顯示幕的長寬比一致時,滿屏顯示圖片於顯示單元。 The method for adjusting a picture displayed on an electronic device according to claim 6 , wherein the method further comprises the step of: displaying a full screen when the aspect ratio of the picture is consistent with the aspect ratio of the display screen; The picture is in the display unit. 如申請專利範圍第6項所述的對在電子裝置上所顯示圖片進行調整的方法,其中,圖片調整步驟中的a及a’為一預設值。 A method for adjusting a picture displayed on an electronic device as described in claim 6, wherein a and a' in the picture adjusting step are a preset value.
TW097137118A 2008-09-26 2008-09-26 Electronic apparatus with an image adjusting function and method for the same TWI452513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW097137118A TWI452513B (en) 2008-09-26 2008-09-26 Electronic apparatus with an image adjusting function and method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097137118A TWI452513B (en) 2008-09-26 2008-09-26 Electronic apparatus with an image adjusting function and method for the same

Publications (2)

Publication Number Publication Date
TW201013517A TW201013517A (en) 2010-04-01
TWI452513B true TWI452513B (en) 2014-09-11

Family

ID=44829376

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097137118A TWI452513B (en) 2008-09-26 2008-09-26 Electronic apparatus with an image adjusting function and method for the same

Country Status (1)

Country Link
TW (1) TWI452513B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060274195A1 (en) * 2004-05-21 2006-12-07 Polycom, Inc. Method and system for preparing video communication image for wide screen display
TW200733741A (en) * 2006-02-20 2007-09-01 Inventec Appliances Corp Method for converting image screen specification for handheld multimedia playing device
US20080151100A1 (en) * 2006-12-21 2008-06-26 Leonard Tsai Image aspect ratio adjustment system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060274195A1 (en) * 2004-05-21 2006-12-07 Polycom, Inc. Method and system for preparing video communication image for wide screen display
TW200733741A (en) * 2006-02-20 2007-09-01 Inventec Appliances Corp Method for converting image screen specification for handheld multimedia playing device
US20080151100A1 (en) * 2006-12-21 2008-06-26 Leonard Tsai Image aspect ratio adjustment system and method

Also Published As

Publication number Publication date
TW201013517A (en) 2010-04-01

Similar Documents

Publication Publication Date Title
TWI651709B (en) System and method for adjusting brightness of a display screen of an electronic device
JP5036599B2 (en) Imaging device
US20100328477A1 (en) Image processor, image processing method, digital camera, and imaging apparatus
JP2004343747A (en) Photographing method for mobile communication terminal with camera
US10244218B2 (en) Image processing apparatus, image processing system, image processing method, and non-transitory computer readable medium
EP2228788A1 (en) Display apparatus and control method of the same
CN105100628B (en) A kind of image capturing method and electronic equipment
EP2323102A1 (en) Image capturing aid
WO2021077650A1 (en) Photographing method and device, and computer-readable storage medium
US20150054985A1 (en) Method and apparatus for capturing images
JP2005318177A (en) Material presentation apparatus
US9357125B2 (en) Method and apparatus of displaying portrait on display
CN105472245A (en) Photographing method and electronic device
JP2009218704A (en) Image processing apparatus and image processing method
JP2009055125A (en) Imaging apparatus and its control method
JP5045731B2 (en) Imaging apparatus, white balance setting method, and program
CN106911886A (en) For the self-shoot guidance method and device of terminal of autodyning
TWI452513B (en) Electronic apparatus with an image adjusting function and method for the same
JP5117889B2 (en) Image processing apparatus and image processing method
TW201717190A (en) Display adjustment method electronic device
CN104917968B (en) The method of adjustment and device of image boundary of taking pictures intensity
JP2010197656A (en) Image display device
TW200845722A (en) Image resizing parameter adjusting method and apparatus thereof
JP2004349842A (en) Method and program for correcting composite image
KR100690741B1 (en) Method for photographing image in the portable terminal having camera function

Legal Events

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