TWI405454B - Image process method - Google Patents

Image process method Download PDF

Info

Publication number
TWI405454B
TWI405454B TW96136773A TW96136773A TWI405454B TW I405454 B TWI405454 B TW I405454B TW 96136773 A TW96136773 A TW 96136773A TW 96136773 A TW96136773 A TW 96136773A TW I405454 B TWI405454 B TW I405454B
Authority
TW
Taiwan
Prior art keywords
image
graphic
sub
processing method
input
Prior art date
Application number
TW96136773A
Other languages
Chinese (zh)
Other versions
TW200917810A (en
Inventor
I Fei Chen
Wen Shu Chien
I Fang Li
Wei Ting Hsieh
Original Assignee
Htc Corp
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 Htc Corp filed Critical Htc Corp
Priority to TW96136773A priority Critical patent/TWI405454B/en
Publication of TW200917810A publication Critical patent/TW200917810A/en
Application granted granted Critical
Publication of TWI405454B publication Critical patent/TWI405454B/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

An image process method is provided. The image process method is used for using a stream of drawing as an input on an image displayed on a display. The image process method comprises steps of identifying the input as a non-closed region input and then performing an image rotation operation.

Description

影像處理方法Image processing method

本發明是有關於一種資料處理方法,且特別是有關於一種影像旋轉操作。The present invention relates to a data processing method, and more particularly to an image rotation operation.

隨著數位時代的來臨,早期以軟膠卷底片攝影,紀錄靜態畫面的相機,由於無法立即瀏覽所拍攝的影像,而且必須另外花時間與金錢沖洗底片成相片,因此逐漸的被可以立即瀏覽影像,甚至可以與沖印機器直接傳輸影像而沖洗成相片的數位相機所取代。With the advent of the digital era, early cameras that used soft film negatives to record still images, because they could not immediately view the images they took, and had to spend time and money washing the negatives into photos, they were gradually able to view the images immediately. It can even be replaced with a digital camera that prints images directly into a print machine and rinses them into photos.

影像數位化的好處除了可以立即在相機上瀏覽影像外,數位影像還可經由網路或是無線傳輸迅速傳遞分享,而可在其他配備有顯示器的裝置上瀏覽。而目前配備有顯示器可供瀏覽影像的可攜式裝置,種類繁多,例如手機或是個人數位處理器。然而,當使用者需要在手機或是個人數位處理器上進行影像旋轉操作,都必須按壓數個按鍵或按鈕來達到將整個顯示的影像或是區域影像旋轉的目的。這種操作方法不僅複雜且運作緩慢,而且在裝置設計上,無法簡化操作按鍵功能,更無法減少按鍵的設置達到縮小裝置尺寸的目的。The benefits of image digitization In addition to the ability to instantly view images on the camera, digital images can be quickly shared via network or wireless transmission, and can be viewed on other devices equipped with displays. Currently, there are a wide variety of portable devices that can be used to view images, such as mobile phones or personal digital processors. However, when the user needs to perform image rotation on a mobile phone or a personal digital processor, a number of buttons or buttons must be pressed to achieve the purpose of rotating the entire displayed image or area image. This method of operation is not only complicated but also slow to operate, and in the design of the device, the function of the operation button cannot be simplified, and the setting of the button cannot be reduced to achieve the purpose of reducing the size of the device.

本發明的目的就是在提供一種影像處理方法,可直接於顯示器上以連續圖案為單一輸入,達到旋轉影像的目的。The object of the present invention is to provide an image processing method, which can directly rotate a continuous image into a single input on a display to achieve the purpose of rotating an image.

本發明的再一目的是提供一種影像處理方法,只需要一個輸入步驟,就可以進行顯示器上所顯示影像的旋轉操作。It is still another object of the present invention to provide an image processing method in which only one input step is required to perform a rotation operation of an image displayed on a display.

本發明提出一種影像處理方法,適用於在一顯示器所顯示的一影像上,以一連續圖形為一輸入。此方法包括:確定輸入為一非封閉區域輸入以及進行一影像旋轉操作。The invention provides an image processing method, which is suitable for inputting a continuous graphic as an input on an image displayed on a display. The method includes determining that the input is a non-closed area input and performing an image rotation operation.

依照本發明的較佳實施例所述之影像處理方法,其中該連續圖形包括一起點、一終點與該起點與該終點之間的複數個圖形連結點。此外,確定該輸入為該非封閉區域輸入步驟包括:根據該連續圖形的該起點、該終點與該些圖形連結點在該顯示器上的相對座標,決定該連續圖形的一最小外邊界,之後,將該最小外邊界所包圍的一影像區域等分成數個次區域,繼之確定該起點與該終點分別所在的一第一次區域與一第二次區域,以及靠近該終點的部分該些圖形連結點所在的複數個第三次區域。之後,當該第二次區域以及該些第三次區域分別與該第一次區域不相鄰時,確定該輸入為該非封閉區域輸入。另外,最小外邊界的形狀為一矩形。又,次區域還包括位於該影像區域的幾何中心點的至少一中心次區域。再者,影像旋轉操作包括以該影像區域之幾何中心點旋轉該影像。此外,確定該輸入為該非封閉區域輸入的步驟還包括:當該些圖形連結點所分佈的該些次區域中,不包括該些中心次區域時,則確定該輸入為該非封閉區域輸入。另,進行該影像旋轉操作之前還包括:確定該連續圖形由該起點經過該些圖形連結點至該終點的一圖形形成方向。且進行該影像旋轉操作的步驟包括:以該圖形形成方向為一旋轉方向,以旋轉該影像。而旋轉方向包括一順時鐘方向。According to the image processing method of the preferred embodiment of the present invention, the continuous graphic includes a plurality of graphic connection points between a point, an end point, and the start point and the end point. In addition, the step of determining that the input is the non-closed area comprises: determining a minimum outer boundary of the continuous graphic according to the starting point of the continuous graphic, the ending point, and the relative coordinates of the graphic connection points on the display, and then An image area surrounded by the minimum outer boundary is equally divided into a plurality of sub-areas, and then a first sub-area and a second sub-area where the starting point and the end point are respectively located, and a portion of the graphic link adjacent to the end point are determined The third sub-area where the point is located. Thereafter, when the second sub-region and the third sub-regions are not adjacent to the first sub-region, respectively, it is determined that the input is the non-closed region input. In addition, the shape of the minimum outer boundary is a rectangle. Also, the sub-region further includes at least one central sub-region located at a geometric center point of the image region. Furthermore, the image rotation operation includes rotating the image at a geometric center point of the image area. In addition, the step of determining that the input is the non-closed area input further comprises determining that the input is the non-closed area input when the central sub-areas are not included in the sub-areas distributed by the graphic connection points. In addition, before performing the image rotation operation, the method further includes: determining a graphic formation direction of the continuous graphic from the starting point through the graphic connection points to the end point. And the step of performing the image rotation operation comprises: rotating the image by forming the direction of the graphic as a rotation direction. The direction of rotation includes a clockwise direction.

依照本發明的較佳實施例所述之影像處理方法,其中該連續圖形包括直接於該顯示器上形成的一手勢(gesture)圖形。An image processing method according to a preferred embodiment of the present invention, wherein the continuous graphic comprises a gesture graphic formed directly on the display.

依照本發明的較佳實施例所述之影像處理方法,其中該輸入包括一圖形起點動作、一圖形連結動作以及一圖形終點動作。其中,圖形終點動作觸發該影像旋轉操作。According to the image processing method of the preferred embodiment of the present invention, the input includes a graphic start action, a graphic link action, and a graphic end point action. The graphic end point action triggers the image rotation operation.

依照本發明的較佳實施例所述之影像處理方法,其中該影像旋轉操作包括以一預定角度旋轉該影像。且旋轉該影像的該預定角度約為90度。The image processing method according to the preferred embodiment of the present invention, wherein the image rotation operation comprises rotating the image at a predetermined angle. And the predetermined angle of rotation of the image is about 90 degrees.

依照本發明的較佳實施例所述之影像處理方法,其中該影像旋轉操作包括以該影像之幾何中心點旋轉該影像。The image processing method according to the preferred embodiment of the present invention, wherein the image rotation operation comprises rotating the image at a geometric center point of the image.

本發明又提出一種影像處理方法,適用於在一顯示器所顯示的一影像上,以一連續圖形為一輸入,其中該輸入至少包括一圖形終點動作。此方法包括:確定該連續圖形的一圖形形成方向,以及以該圖形終點動作觸發一影像旋轉操作,並以該圖形形成方向為一旋轉方向,旋轉該影像。The invention further provides an image processing method, which is suitable for inputting a continuous graphic as an input on an image displayed on a display, wherein the input comprises at least a graphic end point action. The method includes: determining a graphic forming direction of the continuous graphic, and triggering an image rotation operation by the graphic end point action, and rotating the image by using the graphic forming direction as a rotating direction.

依照本發明的較佳實施例所述之影像處理方法,其中旋轉該影像的一角度約為90度。According to the image processing method of the preferred embodiment of the present invention, an angle at which the image is rotated is about 90 degrees.

依照本發明的較佳實施例所述之影像處理方法,其中確定該圖形形成方向步驟之前,還包括:根據該連續圖形的一起點、一終點與該起點與該終點之間的複數個圖形連結點在該顯示器上的相對座標,決定該連續圖形的一最小外邊界,接著將該最小外邊界所包圍的一影像區域等分成數個次區域,之後確定該起點與該終點分別所在的一第一次區域與一第二次區域,以及靠近該終點的部分該些圖形連結點所在的複數個第三次區域,接著當該第二次區域以及該些第三次區域分別與該第一次區域不相鄰時,確定該輸入為一非封閉區域輸入。其中最小外邊界的形狀為一矩形。此外,次區域還包括位於該影像區域的幾何中心點的至少一中心次區域。又,確定該輸入為該非封閉區域輸入的步驟還包括:當該些圖形連結點所分佈的該些次區域中,不包括該些中心次區域時,則確定該輸入為該非封閉區域輸入。再者,影像旋轉操作包括以該影像區域之幾何中心點旋轉該影像。According to the image processing method of the preferred embodiment of the present invention, before the step of determining the direction of forming the pattern, the method further includes: combining a plurality of graphics according to the point of the continuous pattern, an end point, and the starting point and the ending point Determining a relative coordinate on the display, determining a minimum outer boundary of the continuous graphic, and then equally dividing an image area surrounded by the minimum outer boundary into a plurality of sub-regions, and then determining a first point between the starting point and the ending point a primary region and a second secondary region, and a portion of the third secondary region where the graphical connection points are located near the end point, and then the second secondary region and the third secondary regions are respectively associated with the first When the regions are not adjacent, it is determined that the input is a non-closed region input. The shape of the smallest outer boundary is a rectangle. In addition, the sub-region further includes at least one central sub-region located at a geometric center point of the image region. Moreover, the step of determining that the input is the non-closed area input further comprises determining that the input is the non-closed area input when the central sub-areas are not included in the sub-areas distributed by the graphical connection points. Furthermore, the image rotation operation includes rotating the image at a geometric center point of the image area.

依照本發明的較佳實施例所述之影像處理方法,其中該影像旋轉操作包括以該影像之幾何中心點旋轉該影像。The image processing method according to the preferred embodiment of the present invention, wherein the image rotation operation comprises rotating the image at a geometric center point of the image.

依照本發明的較佳實施例所述之影像處理方法,其中該連續圖形包括直接於該顯示器上形成的一手勢圖形。The image processing method according to the preferred embodiment of the present invention, wherein the continuous graphic comprises a gesture graphic formed directly on the display.

依照本發明的較佳實施例所述之影像處理方法,其中該影像旋轉操作包括以一預定角度旋轉該影像。其中旋轉該影像的一預定角度約為90度。The image processing method according to the preferred embodiment of the present invention, wherein the image rotation operation comprises rotating the image at a predetermined angle. A predetermined angle at which the image is rotated is approximately 90 degrees.

依照本發明的較佳實施例所述之之影像處理方法,其中該旋轉方向包括一順時鐘方向。An image processing method according to a preferred embodiment of the present invention, wherein the direction of rotation comprises a clockwise direction.

本發明中以在顯示器上直接形成一連續圖形作為一輸入,並且根據輸入的連續圖形的資訊,包括連續圖形是否符合非封閉區域輸入以及連續圖形的圖案形成方向,進而在完成連續圖形輸入的同時,對於顯示器上所顯示的影像進行影像旋轉處理。因此,使用者無須在顯示器上輸入連續圖形之後,再做任何額外的輸入步驟來進行顯示器上影像的旋轉操作。In the present invention, a continuous graphic is directly formed on the display as an input, and according to the information of the input continuous graphic, whether the continuous graphic conforms to the non-closed area input and the pattern forming direction of the continuous graphic, thereby completing the continuous graphic input. , image rotation processing is performed on the image displayed on the display. Therefore, the user does not need to input a continuous pattern on the display, and then perform any additional input steps to rotate the image on the display.

為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。The above and other objects, features and advantages of the present invention will become more <RTIgt;

圖1繪示為根據本發明一實施例的一種影像處理方法的流程簡圖。圖2A至2C繪示為根據本發明一實施例的一種影像旋轉處理方法的實際操作簡圖。請參照圖1與圖2A、圖2B,首先,在顯示一影像202的一顯示器200上,直接輸入一連續圖形204(步驟S101)。上述於顯示器200例如是觸控式螢幕,而於顯示器200上直接輸入連續圖形204的方法包括以手指、觸控筆或是其他可以在觸控式螢幕上進行輸入動作的任何器件,直接於顯示器200上形成一手勢圖形(gesture figure)。FIG. 1 is a schematic flow chart of an image processing method according to an embodiment of the invention. 2A to 2C are schematic diagrams showing an actual operation of an image rotation processing method according to an embodiment of the invention. Referring to FIG. 1 and FIG. 2A and FIG. 2B, first, a continuous graphic 204 is directly input to a display 200 displaying an image 202 (step S101). The display 200 is, for example, a touch screen, and the method for directly inputting the continuous graphic 204 on the display 200 includes any device that can perform an input action on a touch screen, such as a finger, a stylus, or the like, directly on the display. A gesture figure is formed on 200.

此連續圖形204包括一起點204a、一終點204b與起點2O4a與終點204b之間的數個圖形連結點204c。此外,以訊號輸入的觀點而言,以連續圖形204為一輸入時,此輸入包括一圖形起點動作(亦即連續圖形204之起點204a形成步驟)、一圖形連結動作(亦即連續圖形204的圖形連結點204c之形成步驟)以及一圖形終點動作(亦即連續圖形204的終點204b的形成步驟)。This continuous pattern 204 includes a plurality of graphical joints 204c between the point 204a, an end point 204b and the starting point 2O4a and the end point 204b. In addition, from the viewpoint of signal input, when the continuous graphic 204 is an input, the input includes a graphic starting point action (ie, a starting point 204a forming step of the continuous graphic 204), and a graphic connecting action (ie, a continuous graphic 204). The forming step of the graphic joint point 204c) and a graphic end point action (i.e., the forming step of the end point 204b of the continuous pattern 204).

接著,請參照圖1,於步驟S103中,確定上述連續圖形204之一輸入,是一非封閉區域輸入。亦即連續圖形204並不包圍顯示器200所顯示的影像202,而是在顯示器200上形成一弧形手勢圖形時,則判定此連續圖形的輸入為一非封閉區域輸入。而此弧形手勢圖形例如是半圓弧。於確定上述輸入為一個非封閉區域輸入的步驟中,首先,根據連續圖形204的起點204a、終點204b與圖形連結點204c在顯示器200上的相對座標,決定連續圖形204的一最小外邊界(步驟S105)。如圖3A至圖3B以及圖3A’與圖3B’,當於顯示器200上直接輸入連續圖形204時,連續圖形的起點204a、終點204b與所有的圖形連結點204c在顯示器200上,分別被賦予相對於顯示器200的一座標,根據連續圖形204上的所有座標,定義出一個最小邊界306(如圖3A’所示),此最小外邊界包圍包括連續圖形204/304在內的一個最小影像區域308。其中,此最小外邊界306的形狀例如是一矩形。Next, referring to FIG. 1, in step S103, it is determined that one of the inputs of the continuous pattern 204 is a non-closed area input. That is, when the continuous graphic 204 does not surround the image 202 displayed by the display 200, but an arc-shaped gesture graphic is formed on the display 200, it is determined that the input of the continuous graphic is a non-closed area input. The curved gesture graphic is, for example, a semi-circular arc. In the step of determining that the input is a non-closed area input, first, a minimum outer boundary of the continuous graphic 204 is determined according to the relative coordinates of the starting point 204a, the ending point 204b of the continuous graphic 204 and the graphic connecting point 204c on the display 200 (steps) S105). 3A to 3B and FIGS. 3A' and 3B', when the continuous graphic 204 is directly input on the display 200, the start point 204a, the end point 204b of the continuous graphic and all the graphic connection points 204c are respectively given on the display 200. Relative to a landmark of display 200, a minimum boundary 306 (shown in Figure 3A') is defined based on all coordinates on continuous pattern 204, this minimum outer boundary enclosing a minimum image area including continuous graphics 204/304 308. The shape of the minimum outer boundary 306 is, for example, a rectangle.

之後,於步驟S107中,將最小外邊界306所包圍的影像區域308等分成數個次區域308a。上述次區域308a中,還包括位於影像區域308的幾何中心點的至少一個中心次區域308b。於圖3A’與圖3B’的實施例中,以將最小外邊界所包圍影像區域區分成三乘三的等分為例。然而,本發明並不受限於上述將影像區域區分成三乘三等分。亦即,可依照開發者自行定義,而均等區分最小外邊界所包圍的影像區域。Thereafter, in step S107, the image area 308 surrounded by the minimum outer boundary 306 is equally divided into a plurality of sub-areas 308a. The sub-region 308a further includes at least one central sub-region 308b located at a geometric center point of the image region 308. In the embodiment of Figs. 3A' and 3B', an example of dividing the image area surrounded by the minimum outer boundary into three-by-three is divided. However, the present invention is not limited to the above-described division of the image area into three-by-three aliquots. That is, the image area enclosed by the minimum outer boundary can be equally distinguished according to the developer's own definition.

接著,於步驟S109中,確定起點204a與終點204b分別所在的一第一次區域與一第二次區域,以及靠近終點204b的部分圖形連結點204c所在的複數個第三次區域。繼之於步驟S111中,確定以連續圖形204之輸入為非封閉區域輸入。請參照圖3A與圖3A’,連續圖形304的起點304a位在的第一次區域IA,而終點304b位在的第二次區域IIIC,靠近終點304b的圖形連結點304c分別位在第三次區域IIIC與IIIB,第一次區域IA、第二次區域IIIC與第三次區域IIIC、IIIB互不相鄰,則判定連續圖形的輸入為非封閉區域輸入。Next, in step S109, a first sub-region and a second sub-region where the start point 204a and the end point 204b are respectively located, and a plurality of third sub-regions where the partial graphic connection point 204c near the end point 204b are located are determined. Following the step S111, it is determined that the input of the continuous pattern 204 is a non-closed area input. Referring to FIG. 3A and FIG. 3A′, the start point 304a of the continuous pattern 304 is located in the first sub-area IA, and the end point 304b is located in the second sub-area IIIC, and the graphic connection point 304c near the end point 304b is located in the third time. In the regions IIIC and IIIB, the first region IA, the second region IIIC, and the third region IIIC, IIIB are not adjacent to each other, and it is determined that the input of the continuous pattern is the non-closed region input.

另外,於一實施例中,請參照圖3B與圖3B’,確定上述連續圖形的輸入為一非封閉區域輸入的判別條件還包括當圖形連結點所分佈的次區域308a中,不包括中心次區域308b時,則確定此輸入為非封閉區域輸入。In addition, in an embodiment, referring to FIG. 3B and FIG. 3B′, determining the input condition that the input of the continuous graphic is a non-closed region further includes: when the secondary region 308a of the graphic connecting point is distributed, the center is not included. In the area 308b, it is determined that this input is a non-closed area input.

請繼續參照圖1與圖2B,於步驟S103之後,進行步驟S113,以進行顯示器200上的影像202的一影像旋轉操作。於步驟S113中,進行一影像旋轉操作還包括:於步驟S115中,確定連續圖形204由起點204a經過圖形連結點204c至終點204b的一圖形形成方向210,也就是連續圖形形成的凈方向。圖4繪示為根據本發明一實施例的連續圖形之圖形形成方向示意簡圖。圖5繪示為根據本發明又一實施例的連續圖形之圖形形成方向示意簡圖。請參照圖4,於一實施例中,連續圖形404由起點404a、終點404b與n個圖形連結點404c所組成,依照連續圖形404由起點404a經過圖形連結點404c1、404c到404c(n-2)、404c(n-1)、404cn等n個圖形連結點404c到達終點404b的順序,將連續圖形404上兩兩相鄰的點之間的形成方向彙整之後可以得到一個連續圖形404之圖形形成方向為順時鐘方向。請參照圖5,於此實施例中,雖然連續圖形504並非是一個圓滑的手勢軌跡,但是仍可以依照上述圖4中,確定連續圖形404的圖形形成方向的方法,應用於圖5的連續圖形504上,而可以獲得連續圖形504的圖形形成方向為一逆時鐘方向。Referring to FIG. 1 and FIG. 2B, after step S103, step S113 is performed to perform an image rotation operation of the image 202 on the display 200. In step S113, performing an image rotation operation further includes: in step S115, determining a pattern forming direction 210 of the continuous pattern 204 from the starting point 204a through the graphic joint point 204c to the end point 204b, that is, the net direction formed by the continuous pattern. 4 is a schematic diagram showing a pattern forming direction of a continuous pattern according to an embodiment of the present invention. FIG. 5 is a schematic diagram showing a pattern forming direction of a continuous pattern according to still another embodiment of the present invention. Referring to FIG. 4, in an embodiment, the continuous graphic 404 is composed of a starting point 404a, an ending point 404b, and n graphic connecting points 404c. According to the continuous graphic 404, the starting point 404a passes through the graphic connecting points 404c1, 404c to 404c (n-2). ), 404c(n-1), 404cn, etc., the order of the n graphics connection points 404c reaching the end point 404b, and the formation direction of the two adjacent two points on the continuous pattern 404 can be obtained to obtain a continuous graphic 404 pattern formation. The direction is clockwise. Referring to FIG. 5, in this embodiment, although the continuous graphic 504 is not a smooth gesture track, the method for determining the graphic forming direction of the continuous graphic 404 may be applied to the continuous graphic of FIG. 5 according to the above FIG. At 504, the pattern forming direction of the continuous pattern 504 can be obtained as an inverse clock direction.

之後於步驟S117中,根據圖形形成方向210,進行顯示器200上所顯示影像202的影像旋轉操作。也就以連續圖形204的圖形形成方向210為一旋轉方向,而旋轉顯示器200所顯示的影像202。也就是,當連續圖形204的形成方向為順時鐘方向時,則順時鍾方向旋轉顯示器200所顯示的影像202一預定角度。而此預定角度例如是90度角。而旋轉影像的方式例如是以最小外邊界306所包圍的影像區域308的幾何中心點為旋轉中心軸,旋轉影像202。於另一實施例中,旋轉影像的方式例如是以影像202的幾何中心點為旋轉中心軸,旋轉影像202。如圖2A至2C所示的實施例中,根據輸入工具,亦即手指,在顯示器200上形成的連續圖形204的圖形形成方向210,以影像202之幾何中心點為旋轉中心軸,順時鐘方向旋轉影像202一90度角(如圖2C所示)。Then, in step S117, the image rotation operation of the image 202 displayed on the display 200 is performed in accordance with the graphic formation direction 210. That is, the image forming direction 210 of the continuous pattern 204 is a rotation direction, and the image 202 displayed by the display 200 is rotated. That is, when the formation direction of the continuous pattern 204 is the clockwise direction, the image 202 displayed by the display 200 is rotated clockwise by a predetermined angle. And this predetermined angle is, for example, a 90 degree angle. The method of rotating the image is, for example, rotating the image 202 by using the geometric center point of the image area 308 surrounded by the minimum outer boundary 306 as the central axis of rotation. In another embodiment, the image is rotated, for example, by rotating the image 202 with the geometric center point of the image 202 as the central axis of rotation. 2A to 2C, according to the input tool, that is, the finger, the pattern of the continuous pattern 204 formed on the display 200 forms the direction 210, and the geometric center point of the image 202 is the central axis of rotation, clockwise The image 202 is rotated at a 90 degree angle (as shown in Figure 2C).

此外,當使用者直接於顯示器200上形成具有圖形起點動作,接續圖形起點動作之後的圖形連結動作,以及最後的圖形終點動作的一連續圖形204的輸入的同時,擷取連續圖形上的起點、終點、圖形連結點的資訊,並且進行如圖1所示的影像處理步驟S103至S113,在圖形終點動作運作的同時,觸發步驟S117中的影像旋轉處理操作。也就是於本發明的影像旋轉處理操作中,使用者無須在作連續圖形輸入之外,再作任何影像操作的確認動作,僅需要在顯示器上直接進行連續圖形的有效輸入(亦即連續圖形的輸入為非封閉區域輸入),而在圖形終點動作完成同時,進行相對應於所輸入的連續圖形的形成方向,進行影像旋轉操作。In addition, when the user directly forms a graphic start action on the display 200, the graphic connection action after the start of the graphic start operation, and the input of a continuous graphic 204 of the final graphic end point action, the starting point on the continuous graphic is captured. The information of the end point and the graphic connection point is performed, and the image processing steps S103 to S113 shown in FIG. 1 are performed, and the image rotation processing operation in step S117 is triggered while the graphic end point operation is operating. That is, in the image rotation processing operation of the present invention, the user does not need to perform any image operation confirmation operation in addition to continuous graphic input, and only needs to directly input the continuous graphic on the display (ie, continuous graphic The input is a non-closed area input), and at the same time as the end of the graphic end, the image rotation operation is performed corresponding to the direction in which the continuous pattern is input.

綜上所述,本發明中以在顯示器上直接形成一連續圖形作為一輸入,並且根據輸入的連續圖形的資訊,包括連續圖形是否符合非封閉區域輸入以及連續圖形的圖案形成方向,進而在完成連續圖形輸入的同時,對於顯示器上所顯示的影像進行影像旋轉處理。因此,使用者無須在顯示器上輸入連續圖形之後,再做任何額外的輸入步驟來進行顯示器上影像的旋轉操作。In summary, in the present invention, a continuous graphic is directly formed on the display as an input, and according to the information of the input continuous graphic, whether the continuous graphic conforms to the non-closed area input and the pattern forming direction of the continuous graphic, and then completes At the same time as continuous graphic input, image rotation processing is performed on the image displayed on the display. Therefore, the user does not need to input a continuous pattern on the display, and then perform any additional input steps to rotate the image on the display.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

S101~S117...方法步驟S101~S117. . . Method step

200...顯示器200. . . monitor

202...影像202. . . image

204、304、404、504...連續圖形204, 304, 404, 504. . . Continuous graphics

204a、304a、404a、504a...起點204a, 304a, 404a, 504a. . . starting point

204b、304b、404b、504b...終點204b, 304b, 404b, 504b. . . end

204c、304c、404c1、404c2、404c(n-2)、404c(n-1)、404cn、504c1、504c2、504c(n-2)、504c(n-1)、504cn...圖形連結點204c, 304c, 404c1, 404c2, 404c(n-2), 404c(n-1), 404cn, 504c1, 504c2, 504c(n-2), 504c(n-1), 504cn. . . Graphic link point

210...圖形形成方向210. . . Graphic formation direction

306...最小外邊界306. . . Minimum outer boundary

308...影像區域308. . . Image area

308a...次區域308a. . . Subregion

308b...中心次區域308b. . . Central subregion

圖1繪示為根據本發明一實施例的一種影像處理方法的流程簡圖。FIG. 1 is a schematic flow chart of an image processing method according to an embodiment of the invention.

圖2A至2C繪示為根據本發明一實施例的一種影像旋轉處理方法的實際操作簡圖。2A to 2C are schematic diagrams showing an actual operation of an image rotation processing method according to an embodiment of the invention.

圖3A繪示為根據本發明一實施例中確定輸入為非封閉區域輸入之步驟的說明簡圖。3A is a simplified diagram of the steps of determining that an input is a non-closed region input, in accordance with an embodiment of the present invention.

圖3A’繪示為圖3A的部份放大簡圖。Fig. 3A' is a partially enlarged schematic view of Fig. 3A.

圖3B繪示為根據本發明一實施例中確定輸入為封閉區域輸入之步驟的說明簡圖。3B is a schematic diagram showing the steps of determining that an input is a closed region input, in accordance with an embodiment of the present invention.

圖3B’繪示為圖3B的部份放大簡圖。Fig. 3B' is a partially enlarged schematic view of Fig. 3B.

圖4繪示為根據本發明一實施例的連續圖形之圖形形成方向示意簡圖。4 is a schematic diagram showing a pattern forming direction of a continuous pattern according to an embodiment of the present invention.

圖5繪示為根據本發明又一實施例的連續圖形之圖形形成方向示意簡圖。FIG. 5 is a schematic diagram showing a pattern forming direction of a continuous pattern according to still another embodiment of the present invention.

S101~S117...方法步驟S101~S117. . . Method step

Claims (21)

一種影像處理方法,適用於在一顯示器所顯示的一影像上,以一連續圖形為一輸入,其中該連續圖形包括一起點、一終點與該起點與該終點之間的複數個圖形連結點,此方法包括:確定該輸入為一非封閉區域輸入,其包括:根據該連續圖形的該起點、該終點與該些圖形連結點在該顯示器上的相對座標,決定該連續圖形的一最小外邊界;將該最小外邊界所包圍的一影像區域等分成數個次區域,其中該些次區域還包括位於該影像區域的幾何中心點的至少一中心次區域;確定該起點與該終點分別所在的一第一次區域與一第二次區域,以及靠近該終點的部分該些圖形連結點所在的複數個第三次區域;當該第二次區域以及該些第三次區域分別與該第一次區域不相鄰時,確定該輸入為該非封閉區域輸入;當該些圖形連結點所分佈的該些次區域中,不包括該些中心次區域時,則確定該輸入為該非封閉區域輸入;以及進行一影像旋轉操作。 An image processing method is suitable for inputting a continuous graphic as an input on an image displayed on a display, wherein the continuous graphic includes a plurality of graphic connection points between a point, an end point, and the starting point and the ending point, The method includes: determining that the input is a non-closed area input, comprising: determining a minimum outer boundary of the continuous graphic according to the starting point of the continuous graphic, the ending point, and a relative coordinate of the graphic connection points on the display Dividing an image area surrounded by the minimum outer boundary into a plurality of sub-regions, wherein the sub-regions further comprise at least one central sub-region located at a geometric center point of the image region; determining that the starting point and the end point are respectively located a first sub-area and a second sub-area, and a portion of the third sub-area where the graphic connection points are located near the end point; and the second sub-area and the third sub-area respectively When the sub-regions are not adjacent, it is determined that the input is the non-closed region input; when the sub-regions distributed by the graphic connection points are not included in the sub-regions When the subregion is determined that the input for the non-closed region input; and performing an image rotation operation. 如申請專利範圍第1項所述之影像處理方法,其中該最小外邊界的形狀為一矩形。 The image processing method of claim 1, wherein the minimum outer boundary shape is a rectangle. 如申請專利範圍第1項所述之影像處理方法,其中該影像旋轉操作包括以該影像區域之幾何中心點旋轉該影像。 The image processing method of claim 1, wherein the image rotation operation comprises rotating the image at a geometric center point of the image region. 如申請專利範圍第1項所述之影像處理方法,其中進行該影像旋轉操作之前還包括:確定該連續圖形由該起點經過該些圖形連結點至該終點的一圖形形成方向。 The image processing method of claim 1, wherein before the performing the image rotation operation, the method further comprises: determining a graphic formation direction of the continuous graphic from the starting point through the graphic connection points to the end point. 如申請專利範圍第4項所述之影像處理方法,其中進行該影像旋轉操作的步驟包括:以該圖形形成方向為一旋轉方向,以旋轉該影像。 The image processing method of claim 4, wherein the step of performing the image rotation operation comprises: rotating the image by forming the direction of the pattern as a rotation direction. 如申請專利範圍第5項所述之影像處理方法,其中該旋轉方向包括一順時鐘方向。 The image processing method of claim 5, wherein the direction of rotation comprises a clockwise direction. 如申請專利範圍第1項所述之影像處理方法,其中該連續圖形包括直接於該顯示器上形成的一手勢(gesture)圖形。 The image processing method of claim 1, wherein the continuous graphic comprises a gesture graphic formed directly on the display. 如申請專利範圍第1項所述之影像處理方法,其中該輸入包括一圖形起點動作、一圖形連結動作以及一圖形終點動作。 The image processing method of claim 1, wherein the input comprises a graphic start action, a graphic link action, and a graphic end point action. 如申請專利範圍第8項所述之影像處理方法,其中該圖形終點動作觸發該影像旋轉操作。 The image processing method of claim 8, wherein the graphic end point action triggers the image rotation operation. 如申請專利範圍第1項所述之影像處理方法,其中該影像旋轉操作包括以一預定角度旋轉該影像。 The image processing method of claim 1, wherein the image rotation operation comprises rotating the image at a predetermined angle. 如申請專利範圍第10項所述之影像處理方法,其中旋轉該影像的該預定角度約為90度。 The image processing method of claim 10, wherein the predetermined angle of rotating the image is about 90 degrees. 如申請專利範圍第1項所述之影像處理方法,其中該影像旋轉操作包括以該影像之幾何中心點旋轉該影 像。 The image processing method of claim 1, wherein the image rotation operation comprises rotating the image at a geometric center point of the image image. 一種影像處理方法,適用於在一顯示器所顯示的一影像上,以一連續圖形為一輸入,其中該輸入至少包括一圖形終點動作,此方法包括:根據該連續圖形的一起點、一終點與該起點與該終點之間的複數個圖形連結點在該顯示器上的相對座標,決定該連續圖形的一最小外邊界;將該最小外邊界所包圍的一影像區域等分成數個次區域,其中該些次區域還包括位於該影像區域的幾何中心點的至少一中心次區域;確定該起點與該終點分別所在的一第一次區域與一第二次區域,以及靠近該終點的部分該些圖形連結點所在的複數個第三次區域;當該第二次區域以及該些第三次區域分別與該第一次區域不相鄰時,確定該輸入為一非封閉區域輸入;當該些圖形連結點所分佈的該些次區域中,不包括該些中心次區域時,則確定該輸入為該非封閉區域輸入;確定該連續圖形的一圖形形成方向;以及以該圖形終點動作觸發一影像旋轉操作,並以該圖形形成方向為一旋轉方向,旋轉該影像。 An image processing method is suitable for inputting a continuous graphic as an input on an image displayed on a display, wherein the input includes at least a graphic end point action, and the method comprises: selecting a point and an end point according to the continuous graphic a relative coordinate of the plurality of graphic joint points between the starting point and the ending point on the display, determining a minimum outer boundary of the continuous graphic; dividing an image area surrounded by the minimum outer boundary into a plurality of sub-regions, wherein The sub-regions further include at least one central sub-region located at a geometric center point of the image region; determining a first sub-region and a second sub-region where the starting point and the end point are respectively, and portions close to the end point a plurality of third sub-regions where the graphic connection point is located; when the second sub-region and the third sub-regions are not adjacent to the first sub-region, respectively, determining that the input is a non-closed region input; When the central sub-areas are not included in the sub-areas distributed by the graphic connection points, the input is determined to be the non-closed area input; determining the continuous Forming a pattern-shaped direction; and to the drawing ending action triggering an image rotating operation, and to the drawing forming direction is a rotational direction, rotating the image. 如申請專利範圍第13項所述之影像處理方法,其中旋轉該影像的一角度約為90度。 The image processing method of claim 13, wherein an angle of the image is rotated by about 90 degrees. 如申請專利範圍第13項所述之影像處理方法,其中該最小外邊界的形狀為一矩形。 The image processing method of claim 13, wherein the minimum outer boundary shape is a rectangle. 如申請專利範圍第13項所述之影像處理方法,其 中該影像旋轉操作包括以該影像區域之幾何中心點旋轉該影像。 An image processing method according to claim 13 of the patent application, The image rotation operation includes rotating the image at a geometric center point of the image area. 如申請專利範圍第13項所述之影像處理方法,其中該影像旋轉操作包括以該影像之幾何中心點旋轉該影像。 The image processing method of claim 13, wherein the image rotation operation comprises rotating the image at a geometric center point of the image. 如申請專利範圍第13項所述之影像處理方法,其中該連續圖形包括直接於該顯示器上形成的一手勢圖形。 The image processing method of claim 13, wherein the continuous graphic comprises a gesture graphic formed directly on the display. 如申請專利範圍第13項所述之影像處理方法,其中該影像旋轉操作包括以一預定角度旋轉該影像。 The image processing method of claim 13, wherein the image rotation operation comprises rotating the image at a predetermined angle. 如申請專利範圍第19項所述之影像處理方法,其中旋轉該影像的一預定角度約為90度。 The image processing method of claim 19, wherein a predetermined angle of the image is rotated by about 90 degrees. 如申請專利範圍第13項所述之影像處理方法,其中該旋轉方向包括一順時鐘方向。The image processing method of claim 13, wherein the direction of rotation comprises a clockwise direction.
TW96136773A 2007-10-01 2007-10-01 Image process method TWI405454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96136773A TWI405454B (en) 2007-10-01 2007-10-01 Image process method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96136773A TWI405454B (en) 2007-10-01 2007-10-01 Image process method

Publications (2)

Publication Number Publication Date
TW200917810A TW200917810A (en) 2009-04-16
TWI405454B true TWI405454B (en) 2013-08-11

Family

ID=44726503

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96136773A TWI405454B (en) 2007-10-01 2007-10-01 Image process method

Country Status (1)

Country Link
TW (1) TWI405454B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5844547A (en) * 1991-10-07 1998-12-01 Fujitsu Limited Apparatus for manipulating an object displayed on a display device by using a touch screen
US20040145585A1 (en) * 2002-12-04 2004-07-29 Fontius Joerg Ulrich Input system for orientation in a three-dimensional visualization and method for visualization of three-dimensional data sets
US20050114788A1 (en) * 2003-11-26 2005-05-26 Nokia Corporation Changing an orientation of a user interface via a course of motion

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5844547A (en) * 1991-10-07 1998-12-01 Fujitsu Limited Apparatus for manipulating an object displayed on a display device by using a touch screen
US20040145585A1 (en) * 2002-12-04 2004-07-29 Fontius Joerg Ulrich Input system for orientation in a three-dimensional visualization and method for visualization of three-dimensional data sets
US20050114788A1 (en) * 2003-11-26 2005-05-26 Nokia Corporation Changing an orientation of a user interface via a course of motion

Also Published As

Publication number Publication date
TW200917810A (en) 2009-04-16

Similar Documents

Publication Publication Date Title
US8325206B2 (en) Image processing method
US8432415B2 (en) Image processing method
JP4474106B2 (en) Image processing apparatus, image processing method, recording medium, and program
JP2017040687A (en) Image display system, information processor, image display method, and program
JP2011054117A (en) Information processor, display control method, and display control program
JP6314251B2 (en) Operation input device, operation input method and program
JP2018046448A (en) Image processing apparatus and image processing method
JP7042398B2 (en) Image display device, image display method, and program
CN106815809B (en) Picture processing method and device
CN110941375B (en) Method, device and storage medium for locally amplifying image
TWI442262B (en) Electronic apparatus and method for controlling the same
CN106981048B (en) Picture processing method and device
JP2019174984A (en) Display controller and control method thereof and program and storage media
JP2015208602A (en) Image display device and image display method
TWI405454B (en) Image process method
CN110060328A (en) For defining the method for being used for the plotting planes of design of 3D object
JPH11338120A (en) Layout device
JP6668980B2 (en) Transmission control program, transmission control method, and information processing device
JP2020003854A (en) Processing device
JP2021114713A (en) Support method and support device of position size adjustment for display device and imaging device
JP5930627B2 (en) An image processing apparatus, an image processing method, and a program for causing a computer to execute image processing.
JP6079418B2 (en) Input device and input program
CN104092940A (en) Image processing control method of special camera
TWI443574B (en) Adjusting method for graphic interface, embedded electronic device and developing device thereof
JP2013131811A (en) Image display device