TWI492619B - System for zooming different areas of image with different zooming scales and method thereof - Google Patents
System for zooming different areas of image with different zooming scales and method thereof Download PDFInfo
- Publication number
- TWI492619B TWI492619B TW101138393A TW101138393A TWI492619B TW I492619 B TWI492619 B TW I492619B TW 101138393 A TW101138393 A TW 101138393A TW 101138393 A TW101138393 A TW 101138393A TW I492619 B TWI492619 B TW I492619B
- Authority
- TW
- Taiwan
- Prior art keywords
- scaling
- area
- image
- invalid
- ratio
- Prior art date
Links
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Description
一種影像縮放系統及方法,特別係指一種以不同縮放比例縮放影像中不同區域之系統及方法。An image zooming system and method, in particular, a system and method for scaling different regions of an image at different zoom ratios.
由於圖片的影像縮放技術已發展成熟,因此,目前具有顯示功能的各種裝置在顯示資料時,例如在顯示網頁時、顯示圖文並排的文章時,若被顯示的資料中包含圖片形式的影像,則各裝置為了讓使用者有較好的視覺效果以方便使用者閱讀,通常會先縮放被顯示之資料中所包含的影像,而後再顯示經過縮放後的影像。Since the image zooming technology of the image has been developed, various devices having the display function, when displaying the data, for example, when displaying a webpage and displaying an article side by side, if the displayed data includes an image in the form of a picture, In order to make the user have a better visual effect for the user to read, each device usually first zooms the image contained in the displayed data, and then displays the scaled image.
不過,目前各裝置在縮放影像時,都只有使用單一個縮放比例,對整張影像進行縮放,由於使用目前的影像縮放技術通常會造成影像失真以致於縮放後的影像不夠清晰,且縮放比例越大,縮放後的影像失真的情況越嚴重,也就是縮放比例越大,縮放後的影像越模糊。因此,若各裝置縮放影像所使用的縮放比例太大,或是在影像中表達的訊息的區域太小,在影像經過縮放後,影像中表達的訊息往往會因為失真情況過於嚴重,以致於影像所表達的訊息過於模糊而無法被使用者閱讀。However, at present, each device zooms the image, and only uses a single zoom ratio to scale the entire image. Since the current image zooming technique usually causes image distortion, the scaled image is not clear enough, and the zoom ratio is more Larger, the more severe the image distortion after scaling, that is, the larger the zoom ratio, the more blurred the zoomed image. Therefore, if the scale used by each device to zoom the image is too large, or the area of the message expressed in the image is too small, after the image is scaled, the message expressed in the image tends to be too severe, so that the image is too severe. The message being expressed is too vague to be read by the user.
綜上所述,可知先前技術中長期以來一直存在影像在縮放後可能過於模糊以致於使用者無法閱讀的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that in the prior art, there has been a long-standing problem that an image may be too blurred after being scaled so that the user cannot read it. Therefore, it is necessary to propose an improved technical means to solve this problem.
有鑒於先前技術存在部分影像在縮放後過於模糊的問題,本發明遂揭露一種以不同縮放比例縮放影像中不同區域之系統及方 法,其中:本發明所揭露之以不同縮放比例縮放影像中不同區域之系統,至少包含:影像載入模組,用以載入預先儲存之原始影像;區域決定模組,用以決定原始影像中之有效區域及無效區域;區域縮放模組,用以以第一縮放比例縮放有效區域,及用以以第二縮放比例縮放無效區域;影像組合模組,用以將縮放後之有效區域與縮放後之無效區域組合為縮放影像;影像輸出模組,用以輸出縮放影像。In view of the problem that some images in the prior art are too blurred after scaling, the present invention discloses a system and a method for scaling different regions in an image with different zoom ratios. The method, wherein: the system for zooming different regions in an image with different zoom ratios includes at least: an image loading module for loading a pre-stored original image; and an area determining module for determining the original image. The effective area and the invalid area; the area zooming module is configured to scale the effective area with the first zoom ratio, and to zoom the invalid area by the second zoom ratio; the image combination module is configured to use the zoomed effective area and The zoomed invalid area is combined into a zoomed image; the image output module is used to output a zoomed image.
本發明所揭露之以不同縮放比例縮放影像中不同區域之方法,其步驟至少包括:載入預先儲存之原始影像;決定原始影像中之有效區域及無效區域;以第一縮放比例縮放有效區域及以第二縮放比例縮放無效區域;組合縮放後之有效區域與縮放後之無效區域為縮放影像;輸出縮放影像。The method for zooming different regions in an image with different scaling ratios includes the steps of: loading a pre-stored original image; determining an effective area and an invalid area in the original image; and scaling the effective area by the first scaling ratio and The invalid area is scaled by the second scaling ratio; the combined effective area and the zoomed invalid area are zoomed images; the zoomed image is output.
本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過決定原始影像中的有效區域與無效區域,並以不同的縮放比例分別縮放有效區域與無效區域,藉以解決先前技術所存在的問題,並可以達成減低原始影像中有效區域的失真情況,使縮放後之影像中的訊息足以讓使用者理解的技術功效。The system and method disclosed in the present invention are different from the prior art in that the present invention solves the prior art by determining the effective area and the invalid area in the original image and respectively scaling the effective area and the invalid area at different scaling ratios. The problem can be achieved, and the distortion of the effective area in the original image can be reduced, so that the information in the scaled image is sufficient for the user to understand the technical effect.
以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The features and embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, which are sufficient to enable those skilled in the art to fully understand the technical means to which the present invention solves the technical problems, and The achievable effects of the present invention.
本發明可以在縮放影像時,以不同的縮放比例縮放影像中的 有效區域與無效區域,藉以降低影像中的有效區域因為影像縮放而過於模糊,內容無法辨認的情況。The invention can scale the image in different zoom ratios when scaling the image The effective area and the invalid area are used to reduce the effective area of the image because the image is zoomed too much and the content is unrecognizable.
本發明所提之有效區域,是指圖像中記載欲表達之訊息的區域,包含但不限於圖像中有文字或圖樣的區域等,本發明所提之無效區域,是指有效區域之外的區域,例如,圖像中的空白區域、僅有少量圖像的區域等,但本發明並不以此為限。The effective area mentioned in the present invention refers to an area in the image in which a message to be expressed is recorded, including but not limited to an area in which an image or a pattern is present in the image, and the invalid area mentioned in the present invention refers to an area outside the effective area. The area, for example, a blank area in the image, an area having only a small number of images, and the like, but the invention is not limited thereto.
以下先以「第1圖」本發明所提之以不同縮放比例縮放影像中不同區域之系統架構圖來說明本發明的系統運作。如「第1圖」所示,本發明之系統含有影像載入模組110、區域決定模組120、區域縮放模組150、影像組合模組160、以及影像輸出模組170。The system operation of the present invention will be described below by first referring to the system architecture diagram of the different regions in the image with different scaling ratios in the "Fig. 1". As shown in FIG. 1, the system of the present invention includes an image loading module 110, an area determining module 120, an area zooming module 150, an image combining module 160, and an image output module 170.
影像載入模組110負責載入欲縮放的影像,影像載入模組110所載入的影像在本發明中被稱為「原始影像」。原始影像預先儲存在執行本發明之裝置內部的儲存媒體中,或是預先儲存在執行本發明之裝置外部的其他裝置中,本發明並沒有特別的限制。若原始影像儲存在執行本發明之裝置外部的其他裝置中,則影像載入模組110將透過如HTTP、FTP等網路協定或USB、RS-232等傳輸協定下載原始影像,但影像載入模組110載入原始影像所使用之協定並不以上述為限。The image loading module 110 is responsible for loading the image to be zoomed. The image loaded by the image loading module 110 is referred to as "original image" in the present invention. The original image is stored in advance in a storage medium inside the apparatus in which the present invention is executed, or is stored in advance in other apparatuses external to the apparatus for carrying out the present invention, and the present invention is not particularly limited. If the original image is stored in another device external to the device for performing the present invention, the image loading module 110 will download the original image through a network protocol such as HTTP or FTP or a transmission protocol such as USB or RS-232, but the image is loaded. The protocol used by module 110 to load the original image is not limited to the above.
區域決定模組120負責決定影像載入模組110所載入之原始影像中的有效區域及無效區域。在一張原始影像中,區域決定模組120可以決定出一個或多個有效區域,也可以決定出一個或多個無效區域。The area decision module 120 is responsible for determining the effective area and the invalid area in the original image loaded by the image loading module 110. In an original image, the region decision module 120 can determine one or more active regions, and can also determine one or more invalid regions.
區域決定模組120可以偵測原始影像中的空白部分,藉以決定原始影像中的無效區域以及有效區域,例如,區域決定模組120 可以直接將原始影像中的空白部分決定為無效區域,或是可以將原始影像中,比例或面積超過預定值的空白部分決定為無效區域,之後,將非無效區域的其他部份決定為有效區域。區域決定模組120也可以依據原始影像中的像素顏色判斷有效區域以及無效區域,例如,區域決定模組120可以依據原始影像中,單位區域內之像素顏色的多寡或複雜度判斷該單位區域為有效區域或無效區域,當單位區域內之像素顏色多於一定數量、相鄰的兩像素之像素顏色有明顯的不同、或像素顏色在垂直方向、水平方向或其他任何方向發生變化的次數達到一定值,則區域決定模組120可以決定該單位區域為有效區域,反之,則為無效區域。區域決定模組120也可以依據輸入訊號定義有效區域以及無效區域,也就是說,區域決定模組120可以透過輸入模組190提供在原始圖像上直接框選一個或多個區域,並將被框選的區域定義為有效區域,沒有被框選的區域則定義為無效區域。但區域決定模組120決定有效區域以及無效區域之方式並不以上為限。The area determining module 120 can detect a blank portion of the original image to determine an invalid area and an effective area in the original image, for example, the area determining module 120. The blank portion of the original image may be directly determined as an invalid region, or the blank portion of the original image whose scale or area exceeds a predetermined value may be determined as an invalid region, and then the other portion of the non-invalid region is determined as the effective region. . The area determining module 120 can also determine the effective area and the invalid area according to the pixel color in the original image. For example, the area determining module 120 can determine the unit area according to the amount or complexity of the pixel color in the unit area in the original image. The effective area or the invalid area, when the pixel color in the unit area is more than a certain number, the pixel color of the adjacent two pixels is significantly different, or the number of times the pixel color changes in the vertical direction, the horizontal direction or any other direction reaches a certain level. For the value, the area decision module 120 can determine that the unit area is a valid area, and vice versa. The area determining module 120 can also define an effective area and an invalid area according to the input signal. That is, the area determining module 120 can provide one or more areas directly on the original image through the input module 190, and will be The framed area is defined as a valid area, and the unselected area is defined as an invalid area. However, the manner in which the area decision module 120 determines the effective area and the invalid area is not limited to the above.
在部分的實施例中,區域決定模組120還可以記錄各個有效區域及/或各個無效區域在原始影像中的位置資訊。區域決定模組120所記錄之位置資訊為可以表示有效區域/無效區域在原始影像中之位置的資料,例如,有效區域/無效區域之左上角在原始影像中的座標等,但本發明並不以此為限。In some embodiments, the area decision module 120 may also record location information of each valid area and/or each invalid area in the original image. The position information recorded by the area determining module 120 is data indicating the position of the effective area/invalid area in the original image, for example, the coordinates of the upper left corner of the effective area/invalid area in the original image, etc., but the present invention does not This is limited to this.
區域縮放模組150負責使用第一縮放比例縮放區域決定模組120所決定的有效區域,並使用第二縮放比例縮放區域決定模組120所決定的無效區域。其中,在區域決定模組120所決定的有效區域或無效區域有多個時,區域縮放模組150通常會使用相同的 第一縮放比例縮放所有的有效區域,也會使用相同的第二縮放比例縮放所有的無效區域,但本發明並不以此為限,在部分的實施例中,區域縮放模組150也可以使用不相同的第一縮放比例縮放分別縮放各個有效區域,及/或可以使用不相同的第二縮放比例縮放分別縮放各個無效區域。The area zoom module 150 is responsible for using the first zoom ratio area to determine the effective area determined by the module 120, and using the second zoom ratio area to determine the invalid area determined by the module 120. Wherein, when there are multiple valid areas or invalid areas determined by the area determining module 120, the area zooming module 150 generally uses the same The first scaling scales all the active areas, and all the invalid areas are also scaled by the same second scaling. However, the present invention is not limited thereto. In some embodiments, the area zooming module 150 can also be used. The different first scaling scales respectively scale the respective active regions, and/or may scale the respective invalid regions separately using different second scaling scalings.
一般而言,區域縮放模組150用來縮放有效區域的第一縮放比例與用來縮放無效區域的第二縮放比例並不相同,本發明並沒有特別的限制,但第一縮放比例通常會大於或等於第二縮放比例,在部分的實施例中,第二縮放比例甚至可以為零(也就是刪除無效區域)。其中,值得一提的是,第一縮放比例與第二縮放比例可以為預定值,但在部份的實施例中,第一縮放比例與第二縮放比例也可以經由縮放策略模組130計算產生,其中,縮放策略模組130將於稍後說明。In general, the first scaling ratio used by the area scaling module 150 to scale the effective area is not the same as the second scaling ratio used to scale the invalid area. The present invention is not particularly limited, but the first scaling ratio is usually greater than Or equal to the second scaling, in some embodiments, the second scaling may even be zero (ie, the invalid area is deleted). It should be noted that the first scaling ratio and the second scaling ratio may be predetermined values, but in some embodiments, the first scaling ratio and the second scaling ratio may also be calculated and generated by the scaling policy module 130. The zoom policy module 130 will be described later.
影像組合模組160負責將經過區域縮放模組150縮放後的有效區域與經過區域縮放模組150縮放後的無效區域組合為新的影像,在本發明中,影像組合模組160組合出的新影像被稱為「縮放影像」。The image combination module 160 is configured to combine the effective area scaled by the area zoom module 150 and the invalid area scaled by the area zoom module 150 into a new image. In the present invention, the image combination module 160 combines new The image is called a "zoom image."
一般而言,影像組合模組160可以根據區域決定模組120所記錄之有效區域與無效區域在原始影像中的位置資訊,判斷原始影像之有效區域與無效區域的相對位置,藉以組合縮放後的有效區域與縮放後的無效區域,例如,有效區域在原始影像上方/右方、無效區域在原始影像下方/左方時,影像組合模組160同樣會將縮放後的有效區域設置在縮放後的無效區域的上方/左方。In general, the image combination module 160 can determine the relative position of the effective area and the invalid area of the original image according to the position information of the effective area and the invalid area recorded by the area determining module 120 in the original image, thereby combining and scaling. The effective area and the zoomed invalid area, for example, when the effective area is above/right of the original image and the invalid area is below/left of the original image, the image combining module 160 also sets the zoomed effective area to the scaled Above/left of the invalid area.
影像輸出模組170負責輸出影像組合模組160所組合出的縮 放影像。影像輸出模組170可以顯示縮放影像、儲存縮放影像至執行本發明之裝置內部的儲存媒體中,或儲存縮放影像至執行本發明之裝置外部的其他裝置中,藉以輸出縮放影像,但影像輸出模組170輸出縮放影像之方式並不以上述為限,凡可以讓縮放影像在後續可以繼續使用之輸出方式都可以在本發明中被使用。The image output module 170 is responsible for outputting the combined image assembly module 160. Put the image. The image output module 170 can display the zoomed image, store the zoomed image into a storage medium inside the apparatus for performing the present invention, or store the zoomed image into other devices external to the apparatus for performing the present invention, thereby outputting the zoomed image, but the image output mode The manner in which the group 170 outputs the scaled image is not limited to the above, and any output mode that allows the zoomed image to continue to be used later can be used in the present invention.
本發明更可以包含可附加的縮放策略模組130,縮放策略模組130負責依據區域決定模組120所決定之有效區域在影像載入模組110所載入之原始影像中的位置及/或依據區域決定模組120所決定之無效區域在影像載入模組110所載入之原始影像中的比例,決定縮放策略。其中,縮放策略模組130所決定的縮放策略至少包含區域縮放模組150所使用之第一縮放比例與第二縮放比例。The present invention may further include an additional zoom policy module 130. The zoom policy module 130 is responsible for the position of the active area determined by the area determining module 120 in the original image loaded by the image loading module 110 and/or The scaling strategy is determined according to the proportion of the invalid area determined by the area determining module 120 in the original image loaded by the image loading module 110. The scaling policy determined by the scaling policy module 130 includes at least a first scaling ratio and a second scaling ratio used by the regional scaling module 150.
在部分的實施例中,例如,當有效區域在原始影像中的上方時,縮放策略模組130可以依據原始影像的長與縮放影像所需的長(以下稱為「目標長」)的比例,計算第一縮放比例以及第二縮放比例,使得影像組合模組160組合出的縮放影像符合目標長,又如,當有效區域在原始影像中的右方時,縮放策略模組130可以依據原始影像的寬與縮放影像所需的寬(以下稱為「目標寬」)的比例,計算第一縮放比例以及第二縮放比例,使得影像組合模組160組合出的縮放影像符合目標寬。同理,縮放策略模組130也可以同時依據原始影像的長寬與目標長寬(也就是目標長與目標寬)的比例,計算第一縮放比例以及第二縮放比例,例如,以原始影像的長與目標長以及原始影像的寬與目標寬中比例較小者,如由60%與66%兩比例中選擇60%,計算第一縮放比例以及 第二縮放比例,使得影像組合模組160組合出的縮放影像符合目標長/寬,其中,原始影像的長與目標長以及原始影像的寬與目標寬中比例較大者,縮放後的長/寬將會小於目標長/寬。In some embodiments, for example, when the effective area is above the original image, the scaling policy module 130 may depend on the ratio of the length of the original image to the length required to scale the image (hereinafter referred to as "target length"). Calculating the first zoom ratio and the second zoom ratio, so that the zoom image combined by the image combining module 160 conforms to the target length, and, for example, when the effective area is to the right of the original image, the zoom policy module 130 can be based on the original image. The ratio of the width to the width required to zoom the image (hereinafter referred to as "target width") is calculated, and the first zoom ratio and the second zoom ratio are calculated, so that the zoom image combined by the image combining module 160 conforms to the target width. Similarly, the scaling strategy module 130 can also calculate the first scaling ratio and the second scaling ratio according to the ratio of the length and width of the original image to the target length and width (ie, the target length and the target width), for example, in the original image. The length of the target and the length of the original image and the ratio of the width of the original image to the target width are smaller, for example, 60% of the 60% and 66% ratios are selected, and the first scaling ratio is calculated and The second zoom ratio is such that the zoom image combined by the image combining module 160 conforms to the target length/width, wherein the length of the original image and the target length and the ratio of the width of the original image to the target width are larger, and the scaled length is / The width will be less than the target length/width.
在部分的實施例中,縮放策略模組130也可以依據有效區域的長與目標長之比例、有效區域的寬與目標寬之比例、有效區域的長寬與目標區域的長寬之比例、或是有效區域的面積在原始影像中的比例,決定第一縮放比例以及第二縮放比例,例如,決定第一縮放比例為60%、第二縮放比例為0%(也就是刪除無效區域,使縮放影像中不包含無效區域),或是決定第一縮放比例為75%、第二縮放比例為25%等,但本發明並不以此為限。In some embodiments, the scaling strategy module 130 may also depend on the ratio of the length of the effective area to the target length, the ratio of the width of the effective area to the target width, the length and width of the effective area, and the ratio of the length and width of the target area, or Is the ratio of the area of the effective area in the original image, determining the first scaling ratio and the second scaling ratio, for example, determining that the first scaling ratio is 60% and the second scaling ratio is 0% (that is, deleting the invalid area, making the scaling The image does not contain an invalid area), or the first scaling factor is 75%, the second scaling ratio is 25%, etc., but the invention is not limited thereto.
另外,由於區域決定模組120可能會決定出多個有效區域及/或無效區域,因此,縮放策略模組130還可以為各個有效區域分別決定不同的第一縮放比例,相似的,縮放策略模組130也可以為各個無效區域分別決定不同的第二縮放比例。In addition, since the area determining module 120 may determine multiple active areas and/or invalid areas, the scaling policy module 130 may also determine different first scaling ratios for each effective area, similarly, scaling strategy mode. Group 130 may also determine a different second scaling for each of the invalid regions.
接著以第一實施例來解說本發明的運作系統與方法,並請參照「第2圖」本發明所提之以不同縮放比例縮放影像中不同區域之方法流程圖。Next, the operation system and method of the present invention will be explained with reference to the first embodiment, and please refer to the "2nd drawing" flowchart of the method for scaling different regions in the image with different zoom ratios.
在本發明縮放原始影像時,影像載入模組110可以載入預先儲存之原始影像(步驟210)。在本實施例中,假設影像載入模組110是由網路至伺服器下載如「第3A圖」所示之原始影像300a,影像載入模組110所下載之原始影像300a主要表達的內容為一棵樹311。When the original image is scaled by the present invention, the image loading module 110 can load the pre-stored original image (step 210). In this embodiment, it is assumed that the image loading module 110 downloads the original image 300a as shown in the "FIG. 3A" from the network to the server, and the original image 300a downloaded by the image loading module 110 mainly expresses the content. For a tree 311.
在影像載入模組110載入預先儲存之原始影像(步驟210)後,區域決定模組120可以決定影像載入模組110所載入之原始 影像中的有效區域與無效區域(步驟220)。在本實施例中,假設區域決定模組120會偵測原始影像300a中的空白部分,並如「第3B圖」所示,在偵測原始影像300a中的空白部分後,決定無效區域321a,並決定原始影像300a中非無效區域321a的區域為有效區域310a,相似的,區域決定模組120也可以依據原始影像300a中之樹311的像素顏色與背景的像素顏色判斷出有效區域310a,並判斷原始影像300a中非有效區域310a的區域為無效區域321a。After the image loading module 110 loads the pre-stored original image (step 210), the region determining module 120 can determine the original loaded by the image loading module 110. The active area and the invalid area in the image (step 220). In this embodiment, it is assumed that the area determining module 120 detects the blank portion of the original image 300a, and as shown in the "FIG. 3B", after detecting the blank portion in the original image 300a, the invalid area 321a is determined. And determining that the area of the non-invalid area 321a in the original image 300a is the effective area 310a. Similarly, the area determining module 120 can also determine the effective area 310a according to the pixel color of the tree 311 in the original image 300a and the pixel color of the background, and The area of the non-effective area 310a in the original image 300a is judged to be the invalid area 321a.
在區域決定模組120決定原始影像中的有效區域與無效區域(步驟220)後,區域縮放模組150可以以第一縮放比例縮放區域決定模組120所決定之有效區域,並以第二縮放比例縮放區域決定模組120所決定之無效區域(步驟250)。在本實施例中,假設區域縮放模組150會使用預定的第一縮放比例,如77%,縮放原始影像300a中的有效區域310a,並使用預定的第二縮放比例,如28%,縮放原始影像300a中的無效區域321a。After the area determining module 120 determines the effective area and the invalid area in the original image (step 220), the area zooming module 150 may zoom the effective area determined by the area determining module 120 by the first scaling, and use the second zoom. The scaling area determines the invalid area determined by module 120 (step 250). In this embodiment, it is assumed that the area zooming module 150 will use the predetermined first zoom ratio, such as 77%, to scale the effective area 310a in the original image 300a, and use the predetermined second zoom ratio, such as 28%, to scale the original. Invalid area 321a in image 300a.
在本實施例中,若還包含縮放策略模組130,則在區域縮放模組150以第一縮放比例縮放有效區域,並以第二縮放比例縮放無效區域(步驟250)前,縮放策略模組130可以依據區域決定模組120所決定之有效區域在影像載入模組110所載入之原始影像中的位置及/或依據區域決定模組120所決定之無效區域在影像載入模組110所載入之原始影像中之比例,決定至少包含第一縮放比例與第二縮放比例的縮放策略(步驟235)。假設縮放策略模組130會先計算無效區域321a(或有效區域310a)在原始影像300a中的比例,並根據計算出的比例,決定第一縮放比例與第二縮放比例,例如根據所計算出之比例的級距決定第一縮放比例與第二縮放比 例,若縮放策略模組130決定第一縮放比例與第二縮放比例分別為77%與28%,如此,區域縮放模組150便可以以縮放策略模組130計算產生的第一縮放比例與第二縮放比例分別縮放有效區域與無效區域(步驟250)。In this embodiment, if the zoom policy module 130 is further included, the zoom policy module is scaled before the area zoom module 150 scales the effective area by the first zoom ratio and scales the invalid area by the second zoom ratio (step 250). The position of the effective area determined by the area determining module 120 in the original image loaded by the image loading module 110 and/or the invalid area determined by the area determining module 120 may be in the image loading module 110. The ratio in the original image loaded determines a scaling strategy that includes at least a first scaling ratio and a second scaling ratio (step 235). It is assumed that the scaling policy module 130 first calculates the proportion of the invalid area 321a (or the effective area 310a) in the original image 300a, and determines the first scaling ratio and the second scaling ratio according to the calculated ratio, for example, according to the calculated The scale of the scale determines the first scaling ratio and the second scaling ratio For example, if the zoom policy module 130 determines that the first zoom ratio and the second zoom ratio are 77% and 28%, respectively, the region zoom module 150 may calculate the first zoom ratio and the first generated by the zoom policy module 130. The two scaling scales the active area and the invalid area, respectively (step 250).
在區域縮放模組150以第一縮放比例縮放有效區域,並以第二縮放比例縮放無效區域(步驟250)後,影像組合模組160可以組合經過區域縮放模組150縮放後的有效區域與經過區域縮放模組150縮放後的無效區域為縮放影像(步驟260),影像輸出模組170可以輸出縮放影像。在本實施例中,如「第3C圖」所示,在影像組合模組160所組合出的縮放影像300b中,縮放後的有效區域310b縮小的比例較縮放後的無效區域321b縮小的比例少,也就是縮放後之有效區域310b較縮放後之無效區域321b在縮放影像300b中所在的比例來的大,因此,與使用單一縮放比例縮放整張原始影像的習知技術相比,本發明之縮放影像中有效區域310b的比例會較大,因此,在縮放影像大小相同的情況下,本發明之縮放影像中的有效區域310b會較習知之縮放影像中的有效區域來的清晰。After the area zoom module 150 scales the effective area by the first zoom ratio and scales the invalid area by the second zoom ratio (step 250), the image combining module 160 can combine the valid area and the path after being scaled by the area zooming module 150. The zoomed inactive area of the area zooming module 150 is a zoomed image (step 260), and the image output module 170 can output the zoomed image. In the present embodiment, as shown in the "3C", in the zoom image 300b combined by the image combining module 160, the scaled down effective area 310b is reduced by a smaller proportion than the scaled invalid area 321b. That is, the scaled effective area 310b is larger than the scale of the scaled invalid area 321b in the scaled image 300b, and therefore, the present invention is compared with the conventional technique of scaling the entire original image using a single zoom ratio. The scale of the effective area 310b in the zoomed image may be large. Therefore, in the case where the scaled image size is the same, the effective area 310b in the zoomed image of the present invention is clearer than the effective area in the conventional zoomed image.
以下再以第二實施例來解說本發明的運作系統與方法,請繼續參照「第2圖」。在本發明縮放原始影像時,影像載入模組110可以載入預先儲存之原始影像(步驟210)。在本實施例中,假設影像載入模組110是由執行本發明之裝置所具有的儲存媒體中載入如「第3D圖」所示的原始影像300c,原始影像300c主要表達的內容為一段文字。Hereinafter, the operation system and method of the present invention will be explained in the second embodiment. Please continue to refer to "Fig. 2". When the original image is scaled by the present invention, the image loading module 110 can load the pre-stored original image (step 210). In the present embodiment, it is assumed that the image loading module 110 loads the original image 300c as shown in the "3D" image in the storage medium of the device for executing the present invention. The original image 300c mainly expresses a segment. Text.
在影像載入模組110載入預先儲存之原始影像(步驟210) 後,區域決定模組120可以決定原始影像中的有效區域與無效區域(步驟220)。在本實施例中,假設區域決定模組120會偵測原始影像300c中的空白部分,並如「第3E圖」所示,在偵測原始影像300c中的空白部分後,決定無效區域321c,並決定原始影像300c中非無效區域321c的區域為有效區域310c,相似的,區域決定模組120也可以依據原始影像300c中像素顏色不斷在黑色與白色中變化的部分判斷出有效區域310c,並判斷原始影像300c中非有效區域310c的區域為無效區域321c。Loading the pre-stored original image in the image loading module 110 (step 210) Thereafter, the region decision module 120 can determine the valid region and the invalid region in the original image (step 220). In this embodiment, it is assumed that the area determining module 120 detects the blank portion of the original image 300c, and as shown in the "3E", after detecting the blank portion in the original image 300c, the invalid area 321c is determined. And determining that the area of the non-invalid area 321c in the original image 300c is the effective area 310c. Similarly, the area determining module 120 can also determine the effective area 310c according to the portion of the original image 300c whose color is constantly changing in black and white. The area in which the non-effective area 310c in the original image 300c is determined is the invalid area 321c.
在區域決定模組120決定原始影像中的有效區域與無效區域(步驟220)後,區域縮放模組150可以以第一縮放比例縮放有效區域,並以第二縮放比例縮放無效區域(步驟250)。在本實施例中,假設區域縮放模組150會使用縮放策略模組130所決定的第一縮放比例與第二縮放比例,分別縮放原始影像300c中的有效區域310c與無效區域321c。After the area determining module 120 determines the effective area and the invalid area in the original image (step 220), the area zooming module 150 may scale the effective area by the first scaling and zoom the invalid area by the second scaling (step 250). . In this embodiment, it is assumed that the area zooming module 150 uses the first zoom ratio and the second zoom ratio determined by the zoom policy module 130 to respectively scale the effective area 310c and the invalid area 321c in the original image 300c.
因此,在區域縮放模組150以第一縮放比例縮放有效區域,並以第二縮放比例縮放無效區域(步驟250)前,縮放策略模組130可以依據有效區域在原始影像中的位置及/或依據無效區域在原始影像中之比例,決定至少包含第一縮放比例與第二縮放比例的縮放策略(步驟235)。Therefore, before the area zoom module 150 scales the effective area by the first zoom ratio and scales the invalid area by the second zoom ratio (step 250), the zoom policy module 130 can determine the position of the effective area in the original image and/or A scaling policy including at least a first scaling ratio and a second scaling ratio is determined according to a ratio of the invalid region in the original image (step 235).
在本實施例中,假設縮放策略模組130會先計算無效區域321c(或有效區域310c)在原始影像300c中的比例,並在無效區域321c在原始影像300c中的比例大於或等於預定值,如50%時,使用如第一實施例所述之方式決定第一縮放比例與第二縮放比例。而當無效區域321c在原始影像300c中的比例小於預定值時,縮 放策略模組130會根據有效區域310c在原始影像300c中的位置,計算第一縮放比例與第二縮放比例。若縮放策略模組130會在有效區域310c在原始影像300c的左右時,依據原始影像300c的寬與目標寬的比例,計算第一縮放比例與第二縮放比例,並在有效區域310c在原始影像300c的上下時,依據原始影像300c的長與目標長的比例,計算第一縮放比例與第二縮放比例,而若有效區域310c在原始影像300c的中央時,使用如第一實施例所述的方式計算第一縮放比例與第二縮放比例,因此,如「第3E圖」所示,有效區域310c在原始影像300c的左下方,因此,縮放策略模組130會同時依據原始影像300c的長寬與目標長寬的比例,計算第一縮放比例與第二縮放比例,藉以維持縮放後之有效區域與縮放後之無效區域在組合影像中的相對位置。In this embodiment, it is assumed that the scaling policy module 130 first calculates the proportion of the invalid area 321c (or the effective area 310c) in the original image 300c, and the proportion of the invalid area 321c in the original image 300c is greater than or equal to a predetermined value. When 50%, the first scaling ratio and the second scaling ratio are determined in the manner as described in the first embodiment. And when the ratio of the invalid area 321c in the original image 300c is less than a predetermined value, The play strategy module 130 calculates the first zoom ratio and the second zoom ratio according to the position of the effective area 310c in the original image 300c. If the zoom policy module 130 is in the effective area 310c on the left and right of the original image 300c, the first zoom ratio and the second zoom ratio are calculated according to the ratio of the width of the original image 300c to the target width, and the original image is in the active area 310c. When the upper and lower sides of 300c are up, the first zoom ratio and the second zoom ratio are calculated according to the ratio of the length of the original image 300c to the target length, and if the effective area 310c is at the center of the original image 300c, the first embodiment is used. The method calculates the first zoom ratio and the second zoom ratio. Therefore, as shown in FIG. 3E, the effective area 310c is at the lower left of the original image 300c. Therefore, the zoom policy module 130 simultaneously depends on the length and width of the original image 300c. The ratio between the first zoom ratio and the second zoom ratio is calculated according to the ratio of the target length to width, thereby maintaining the relative position of the zoomed effective area and the zoomed invalid area in the combined image.
如此,在縮放策略模組130依據有效區域在原始影像中的位置及/或依據無效區域在原始影像中之比例,決定至少包含第一縮放比例與第二縮放比例的縮放策略(步驟235)後,區域縮放模組150可以以第一縮放比例縮放有效區域,並以第二縮放比例縮放無效區域(步驟250),影像組合模組160可以組合縮放後的有效區域與縮放後的無效區域為縮放影像(步驟260),影像輸出模組170可以輸出縮放影像。在本實施例中,如「第3F圖」所示,在影像組合模組160所組合出的縮放影像300d中,縮放後的有效區域310d縮小的比例較縮放後的無效區域321d縮小的比例少,也就是說,本發明之縮放影像中有效區域310d的比例會較習知之以單一縮放比例縮放原始影像所產生之縮放影像中的有效區域的比例來的大,因此,本發明之縮放影像中的有效區域310d會較習知之縮 放影像中的有效區域來的清晰。In this manner, after the zoom policy module 130 determines the zoom strategy (step 235) including at least the first zoom ratio and the second zoom ratio according to the position of the effective area in the original image and/or according to the ratio of the invalid area in the original image. The area zooming module 150 may scale the effective area by the first zoom ratio and scale the invalid area by the second zoom ratio (step 250), and the image combining module 160 may combine the scaled effective area and the scaled invalid area into a zoom. The image (step 260), the image output module 170 can output a zoomed image. In the present embodiment, as shown in the "3F", in the zoom image 300d combined by the image combining module 160, the scaled down effective area 310d is reduced by a smaller proportion than the scaled invalid area 321d. That is, the ratio of the effective area 310d in the zoomed image of the present invention is larger than the ratio of the effective area in the scaled image generated by scaling the original image by a single zoom ratio, and thus, in the zoomed image of the present invention Effective area 310d will be more conventional Put the effective area in the image clear.
以下再以第三實施例來解說本發明的運作系統與方法,請繼續參照「第2圖」。在本發明縮放原始影像時,影像載入模組110可以載入預先儲存之原始影像(步驟210)。在本實施例中,假設影像載入模組110是由執行本發明之裝置所具有的儲存媒體中載入如「第4A圖」所示的原始影像400a,原始影像400a主要表達的內容為一個數學符號「23 」。Hereinafter, the operation system and method of the present invention will be explained in the third embodiment. Please continue to refer to "FIG. 2". When the original image is scaled by the present invention, the image loading module 110 can load the pre-stored original image (step 210). In the present embodiment, it is assumed that the image loading module 110 is loaded with the original image 400a as shown in FIG. 4A from the storage medium of the device for executing the present invention. The original image 400a mainly expresses a content. The mathematical symbol "2 3 ".
在影像載入模組110載入預先儲存之原始影像(步驟210)後,區域決定模組120可以決定原始影像中的有效區域與無效區域(步驟220)。在本實施例中,假設區域決定模組120會依據原始影像400a中像素顏色在黑色(數學符號)與白色(背景)中變化的部分判斷出有效區域411a與412a,並判斷原始影像400a中不屬於有效區域411a與412a的區域為無效區域421a,如「第4B圖」所示。After the image loading module 110 loads the pre-stored original image (step 210), the region determining module 120 can determine the valid area and the invalid area in the original image (step 220). In this embodiment, it is assumed that the area determining module 120 determines the effective areas 411a and 412a according to the portion of the original image 400a in which the pixel color changes in black (mathematical symbol) and white (background), and determines that the original image 400a is not The area belonging to the effective areas 411a and 412a is the invalid area 421a as shown in "Fig. 4B".
在區域決定模組120決定原始影像中的有效區域與無效區域(步驟220)後,區域決定模組120可以記錄所決定之有效區域與無效區域在原始影像中的位置資訊(步驟231)。接著,縮放策略模組130可以依據所記錄之有效區域在原始影像中的位置資訊及/或依據無效區域在原始影像中之比例,決定至少包含第一縮放比例與第二縮放比例的縮放策略(步驟235)。After the area determining module 120 determines the valid area and the invalid area in the original image (step 220), the area determining module 120 can record the position information of the determined effective area and the invalid area in the original image (step 231). Then, the zoom policy module 130 may determine a zoom strategy that includes at least the first zoom ratio and the second zoom ratio according to the position information of the recorded effective area in the original image and/or according to the ratio of the invalid area in the original image. Step 235).
在本實施例中,因為區域決定模組120決定出兩個有效區域,所以縮放策略模組130會先判斷有效區域411a與412a是否需要使用相同的第一縮放比例,由於在本實施例之原始影像400a所表示之數學符號「23 」中之數字「2」與「3」的大小是有意義的,因 此,縮放策略模組130會判斷有效區域411a與412a的第一縮放比例需要相同,以避免有效區域411a與有效區域412a在縮放後的大小相同,造成原始影像400a所表示之數學符號「23 」被使用者誤認為「23」。但若有效區域411a與有效區域412a的大小是沒有意義的,則縮放策略模組130可以使用不同的第一縮放比例分別縮放有效區域411a與有效區域412a。In this embodiment, since the area determining module 120 determines two effective areas, the scaling policy module 130 first determines whether the valid areas 411a and 412a need to use the same first scaling ratio, since the original in this embodiment The size of the numbers "2" and "3" in the mathematical symbol "2 3 " represented by the image 400a is significant. Therefore, the scaling policy module 130 determines that the first scaling ratio of the effective areas 411a and 412a needs to be the same. The effective area 411a and the effective area 412a are prevented from being the same size after being scaled, so that the mathematical symbol "2 3 " represented by the original image 400a is mistaken by the user as "23". However, if the size of the effective area 411a and the effective area 412a is meaningless, the scaling policy module 130 may scale the effective area 411a and the effective area 412a, respectively, using different first scaling ratios.
在縮放策略模組130判斷有效區域411a與412a是否需要使用相同的第一縮放比例後,可以使用如第二實施例所述之方式決定第一縮放比例與第二縮放比例。After the scaling policy module 130 determines whether the valid regions 411a and 412a need to use the same first scaling ratio, the first scaling ratio and the second scaling ratio may be determined in a manner as described in the second embodiment.
在縮放策略模組130依據所記錄之有效區域在原始影像中的位置資訊及/或依據無效區域在原始影像中之比例,決定至少包含第一縮放比例與第二縮放比例的縮放策略(步驟235)後,區域縮放模組150可以使用縮放策略模組130所決定的第一縮放比例縮放有效區域411a、412a,並以第二縮放比例縮放無效區域421a(步驟250)。The zoom policy module 130 determines a zoom policy including at least a first zoom ratio and a second zoom ratio according to the position information of the recorded effective area in the original image and/or the proportion of the invalid area in the original image (step 235). After that, the area zooming module 150 may scale the effective areas 411a, 412a using the first scaling determined by the scaling policy module 130, and scale the invalid areas 421a by the second scaling (step 250).
在區域縮放模組150使用第一縮放比例縮放有效區域411a、412a,並以第二縮放比例縮放無效區域421a(步驟250)後,影像組合模組160可以組合縮放後的有效區域與縮放後的無效區域為縮放影像(步驟260)。在本實施例中,影像組合模組160會依據區域決定模組120所記錄之有效區域411a與有效區域412a在原始影像400a中的位置資訊,將縮放後之有效區域412b設置在縮放後之有效區域411b的右上方。After the area zoom module 150 uses the first zoom ratio effective area 411a, 412a and scales the invalid area 421a by the second zoom ratio (step 250), the image combining module 160 can combine the scaled effective area with the scaled The invalid area is a zoomed image (step 260). In this embodiment, the image combining module 160 sets the zoomed effective area 412b to be valid after zooming according to the position information of the effective area 411a and the effective area 412a recorded by the area determining module 120 in the original image 400a. The upper right of the area 411b.
在影像組合模組160組合縮放後的有效區域與縮放後的無效區域為縮放影像(步驟260)後,影像輸出模組170可以輸出縮放 影像。在本實施例中,如「第4C圖」所示,在影像組合模組160所組合出的縮放影像400b中,縮放後的有效區域411b與412b縮小的比例較縮放後的無效區域421b縮小的比例少,且縮放後的有效區域411b與有效區域412b仍維持「23 」的樣式,也就是說,本發明之縮放影像中有效區域411b與412b的比例會較習知之以單一縮放比例縮放原始影像所產生之縮放影像中的有效區域的比例來的大,因此,本發明之縮放影像中的有效區域411b與412b會較習知之縮放影像中的有效區域來的清晰。After the image combining module 160 combines the zoomed effective area and the zoomed invalid area into a zoomed image (step 260), the image output module 170 may output the zoomed image. In the present embodiment, as shown in FIG. 4C, in the zoom image 400b combined by the image combining module 160, the scaled down effective areas 411b and 412b are reduced by a smaller scale than the scaled invalid area 421b. The ratio is small, and the scaled effective area 411b and the effective area 412b still maintain the "2 3 " style, that is, the ratio of the effective areas 411b and 412b in the zoomed image of the present invention is more conventionally scaled by a single zoom ratio. The proportion of the effective area in the scaled image produced by the image is large, and therefore, the effective areas 411b and 412b in the zoomed image of the present invention are clearer than the effective area in the conventional zoom image.
綜上所述,可知本發明與先前技術之間的差異在於具有決定原始影像中的有效區域與無效區域,並以不同的縮放比例分別縮放有效區域與無效區域之技術手段,藉由此一技術手段可以解決先前技術所存在部分影像在縮放後過於模糊的問題,進而達成減低原始影像中有效區域的失真情況,使縮放後之影像中的訊息足以讓使用者理解的技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that there is a technical means for determining the effective area and the invalid area in the original image, and respectively scaling the effective area and the invalid area with different scaling ratios. The method can solve the problem that some images in the prior art are too blurred after being scaled, thereby achieving a reduction in the distortion of the effective area in the original image, so that the information in the scaled image is sufficient for the user to understand the technical effect.
再者,本發明之以不同縮放比例縮放影像中不同區域之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method for scaling different regions in an image with different zoom ratios can be implemented in hardware, software or a combination of hardware and software, or can be implemented in a centralized manner in a computer system or distributed by different components. The decentralized implementation of several interconnected computer systems.
雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。While the embodiments of the present invention have been described above, the above description is not intended to limit the scope of the invention. Any modification of the form and details of the practice of the present invention, which is a matter of ordinary skill in the art to which the present invention pertains, is a patent protection of the present invention. range. The scope of the invention is to be determined by the scope of the appended claims.
110‧‧‧影像載入模組110‧‧‧Image Loading Module
120‧‧‧區域決定模組120‧‧‧Regional Decision Module
130‧‧‧縮放策略模組130‧‧‧Scale Strategy Module
150‧‧‧區域縮放模組150‧‧‧Zone Zoom Module
160‧‧‧影像組合模組160‧‧‧Image Combination Module
170‧‧‧影像輸出模組170‧‧‧Image output module
190‧‧‧輸入模組190‧‧‧Input module
300a‧‧‧原始影像300a‧‧‧ original image
300b‧‧‧縮放影像300b‧‧‧Zoom image
300c‧‧‧原始影像300c‧‧‧ original image
300d‧‧‧縮放影像300d‧‧‧Zoom image
310a‧‧‧有效區域310a‧‧ Effective area
310b‧‧‧縮放後之有效區域310b‧‧‧Zoomed effective area
310c‧‧‧有效區域310c‧‧ effective area
310d‧‧‧縮放後之有效區域310d‧‧‧Zoomed effective area
311‧‧‧樹311‧‧‧ tree
321a‧‧‧無效區域321a‧‧‧Invalid area
321b‧‧‧縮放後之無效區域321b‧‧‧Invalid area after zooming
321c‧‧‧無效區域321c‧‧‧Invalid area
321d‧‧‧縮放後之無效區域321d‧‧‧Invalid area after zooming
400a‧‧‧原始影像400a‧‧‧ original image
400b‧‧‧縮放影像400b‧‧‧Zoom image
411a‧‧‧有效區域411a‧‧‧Active area
411b‧‧‧縮放後之有效區域411b‧‧‧Zero effective area
412a‧‧‧有效區域412a‧‧‧Active area
412b‧‧‧縮放後之有效區域412b‧‧‧Zoomed effective area
421a‧‧‧無效區域421a‧‧‧Invalid area
421b‧‧‧縮放後之無效區域421b‧‧‧Invalid area after scaling
步驟210‧‧‧載入預先儲存之原始影像Step 210‧‧‧ Load pre-stored original images
步驟220‧‧‧決定原始影像中之有效區域及無效區域Step 220‧‧‧Determine the effective area and the invalid area in the original image
步驟231‧‧‧記錄有效區域與無效區域在原始影像中之位置資訊Step 231‧‧‧ Record the location information of the active area and the invalid area in the original image
步驟235‧‧‧依據有效區域於原始影像中之位置及/或依據無效區域於原始影像中之比例,決定縮放策略,縮放 策略至少包含第一縮放比例及第二縮放比例Step 235‧‧‧Determining the scaling strategy based on the position of the active area in the original image and/or based on the proportion of the invalid area in the original image The strategy includes at least a first scaling ratio and a second scaling ratio
步驟250‧‧‧以第一縮放比例縮放有效區域及以第二縮放比例縮放無效區域Step 250‧‧‧Scale the active area with the first zoom ratio and the invalid area with the second zoom ratio
步驟260‧‧‧組合縮放後之有效區域與縮放後之無效區域為縮放影像Step 260‧‧‧The combined effective area and the zoomed invalid area are zoomed images
步驟270‧‧‧輸出縮放影像Step 270‧‧‧ Output zoom image
第1圖為本發明所提之以不同縮放比例縮放影像中不同區域之系統架構圖。FIG. 1 is a system architecture diagram of zooming in different regions of an image with different zoom ratios according to the present invention.
第2圖為本發明所提之以不同縮放比例縮放影像中不同區域之方法流程圖。2 is a flow chart of a method for scaling different regions in an image with different zoom ratios according to the present invention.
第3A圖為本發明實施例所提之原始影像示意圖。FIG. 3A is a schematic diagram of an original image according to an embodiment of the present invention.
第3B圖為本發明實施例所提之有效區域與無效區域示意圖。FIG. 3B is a schematic diagram of an effective area and an invalid area according to an embodiment of the present invention.
第3C圖為本發明實施例所提之影像縮放示意圖。FIG. 3C is a schematic diagram of image zooming according to an embodiment of the present invention.
第3D圖為本發明實施例所提之原始影像示意圖。FIG. 3D is a schematic diagram of an original image according to an embodiment of the present invention.
第3E圖為本發明實施例所提之有效區域與無效區域示意圖。FIG. 3E is a schematic diagram of an effective area and an invalid area according to an embodiment of the present invention.
第3F圖為本發明實施例所提之影像縮放示意圖。FIG. 3F is a schematic diagram of image zooming according to an embodiment of the present invention.
第4A圖為本發明實施例所提之原始影像示意圖。FIG. 4A is a schematic diagram of an original image according to an embodiment of the present invention.
第4B圖為本發明實施例所提之有效區域與無效區域示意圖。FIG. 4B is a schematic diagram of an effective area and an invalid area according to an embodiment of the present invention.
第4C圖為本發明實施例所提之縮放後之影像示意圖。FIG. 4C is a schematic diagram of the zoomed image according to an embodiment of the present invention.
步驟210‧‧‧載入預先儲存之原始影像Step 210‧‧‧ Load pre-stored original images
步驟220‧‧‧決定原始影像中之有效區域及無效區域Step 220‧‧‧Determine the effective area and the invalid area in the original image
步驟231‧‧‧記錄有效區域與無效區域在原始影像中之位置資訊Step 231‧‧‧ Record the location information of the active area and the invalid area in the original image
步驟235‧‧‧依據有效區域於原始影像中之位置及/或依據無效區域於原始影像中之比例,決定縮放策略,縮放策略至少包含第一縮放比例及第二縮放比例Step 235 ‧ ‧ Depending on the position of the effective area in the original image and / or according to the proportion of the invalid area in the original image, the scaling strategy is determined, the scaling strategy includes at least the first scaling ratio and the second scaling ratio
步驟250‧‧‧以第一縮放比例縮放有效區域及以第二縮放比例縮放無效區域Step 250‧‧‧Scale the active area with the first zoom ratio and the invalid area with the second zoom ratio
步驟260‧‧‧組合縮放後之有效區域與縮放後之無效區域為縮放影像Step 260‧‧‧The combined effective area and the zoomed invalid area are zoomed images
步驟270‧‧‧輸出縮放影像Step 270‧‧‧ Output zoom image
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101138393A TWI492619B (en) | 2012-10-18 | 2012-10-18 | System for zooming different areas of image with different zooming scales and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101138393A TWI492619B (en) | 2012-10-18 | 2012-10-18 | System for zooming different areas of image with different zooming scales and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201417574A TW201417574A (en) | 2014-05-01 |
TWI492619B true TWI492619B (en) | 2015-07-11 |
Family
ID=51294011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101138393A TWI492619B (en) | 2012-10-18 | 2012-10-18 | System for zooming different areas of image with different zooming scales and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI492619B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6462783B1 (en) * | 1997-08-22 | 2002-10-08 | Hitachi, Ltd. | Picture encoding method and apparatus |
US7420598B1 (en) * | 1999-08-24 | 2008-09-02 | Fujifilm Corporation | Apparatus and method for recording image data and reproducing zoomed images from the image data |
US8212895B2 (en) * | 2007-08-10 | 2012-07-03 | Megachips Corporation | Digital camera system with portrait effect |
-
2012
- 2012-10-18 TW TW101138393A patent/TWI492619B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6462783B1 (en) * | 1997-08-22 | 2002-10-08 | Hitachi, Ltd. | Picture encoding method and apparatus |
US7420598B1 (en) * | 1999-08-24 | 2008-09-02 | Fujifilm Corporation | Apparatus and method for recording image data and reproducing zoomed images from the image data |
US8212895B2 (en) * | 2007-08-10 | 2012-07-03 | Megachips Corporation | Digital camera system with portrait effect |
Also Published As
Publication number | Publication date |
---|---|
TW201417574A (en) | 2014-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105451030B (en) | Image shows that program, display device, image display method, image provide server unit and image display system | |
JP4696635B2 (en) | Method, apparatus and program for generating highly condensed summary images of image regions | |
CN111553362B (en) | Video processing method, electronic device and computer readable storage medium | |
US20140079339A1 (en) | System and method for zooming different regions in image at different scales | |
WO2017211250A1 (en) | Image overlay display method and system | |
US20090174732A1 (en) | Image display controlling method and apparatus of mobile terminal | |
US11501054B2 (en) | Layout generation for an electronic document that includes a web object | |
EP3408752B1 (en) | Object management and visualization using a computing device | |
US10043298B2 (en) | Enhanced document readability on devices | |
CN106534939B (en) | Multi-video preview method and device and electronic equipment | |
JP2011039801A (en) | Apparatus and method for processing image | |
CN108932703B (en) | Picture processing method, picture processing device and terminal equipment | |
CN106658121A (en) | Method and system for set-top box to display fingerprint information | |
TWI492619B (en) | System for zooming different areas of image with different zooming scales and method thereof | |
US20150103090A1 (en) | Keyer tool | |
CN110505512A (en) | Full screen playing method, terminal equipment and computer readable storage medium | |
US11823359B2 (en) | Systems and methods for leveling images | |
US8824794B1 (en) | Graduated color correction of digital terrain assets across different levels of detail | |
CN114118029A (en) | Image processing method, device, equipment and storage medium | |
KR102464575B1 (en) | Display apparatus and input method thereof | |
CN112053284A (en) | Image processing method and system for inserting empty pixel points and electronic equipment | |
CN107636650A (en) | Meet the document based on the condition for rendering assessment to present | |
US9830692B2 (en) | Method and device for processing image data based on characteristic values of pixel values of pixels | |
KR102282756B1 (en) | Apparatus and method for gaussian filtering | |
KR101430964B1 (en) | Method for controlling display |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |