200830868 九、發明說明: 【發明所屬之技術領域】 一種影像擷取方法,係以一程式致動一晶 片,使一影像擷取裝置可於擷取影像後,於一 顯示幕中觀看被擷取的影像,且可對此被擷取 的影像作縮放的操作,本發明尤指一種以抽點 (d 〇 w n s c a 1 e)的方式進行影像擷取的方法。 【先前技術】 資訊發達的今日,數位影像的製作已經取 代了大部份舊式的影像製作(底片、軟片),包 括從影像的擷取、美編、輸出等,大多已可以 用一資訊系統及相關的操作軟體進行,例如以 數位相機或數位攝影機進行影像的擷取,再以 影像編排軟體對所擷取的影像進行美編、排 版,過程中,尚可對影像進行影音的搭配編排、 放大、縮小,甚至於最後的輸出,都能以豐富 的結果呈現,例如以照片印表機輸出照片,或 將影像檔案直接以電腦作動態的輸出等,而影 像擷取裝置(包括數位相機、數位攝影機)發展 至今,幾乎如同一部微型的電腦,可行動式的 隨時進行影像處理,相較於早期僅能單純作影 像擷取的功用,現今的影像擷取裝置可謂更為 多元化。 5 200830868 就目前的數位影像擷取裝置而言,顯示 已成為不可或缺的配備,因為使用者可於進 影像擷取的同時,或於影像擷取後,即刻對 像進行確認,而其中最常使用的功能,又以 像縮放為最多,因為操作者於擷取影像時, 常會先操作鏡頭的焦距,以使被擷取的影像 以最適當的大小呈現於晝面中,然而,在各 條件(例如檔案的大小、解析度)的設定下, 像受擷取後,其所呈現的晝面、尺寸大小均 影響其呈現的結果,尤其是在後續影像製作 時候,就能清楚的看出當初擷取影像時,所 定的條件是否恰當,例如,被擷取的影像成 後,若受到放大,通常都會有一定比例的失I 若放大比例過多,晝面則會呈現模糊狀態, 要的原因在於,目前習知的影像擷取方法, 於影像放大時,係利用「等比複製」的方式 像,例如原本為2x2單位大小的影像放大兩 後,係會變成4x4單位大小的影像,請參閱「 1圖」,圖中所示係為習知的影像縮放示意圖 其係採用「等比複製」的方法放大影像,如 中所示,將原圖像10分割成4個方格,每一 格均為一 1 X 1單位的面積,故原圖像1 0之全 尺寸大小即為4平方單位(即2x2單位),經 「等比複製」的方式放大兩倍後,即如圖中 幕 行 影 影 通 能 種 影 會 的 設 像 主 其 成 倍 第 圖 方 像 以 右 6 200830868 邊所示的放大後圖像11,其尺寸大/ 平方單位(即 4 X 4單位),如此,雖 放大,然而,因其利用等比複製的 故,顏色的排列及色差反而會變得 閱圖中所示,原圖像10放大前,係 一區塊101、第二區塊102、第三區 ‘四區塊1 04,其放大後,各區塊(1 01 1 0 4)係均呈等比放大兩倍,而由圖 各區塊呈等比放大後的排列,係會 不對等的連接,本圖係僅模擬將原3 成4個單位,若分割的更細,則顏 接的現象經放大後,將更為明顯, 大後影像模糊及失真的主要原因, 情況將會隨放大的比例增加而更趨 【發明内容】 有鑑於上述的問題,本發明者 擷取的原理進行深入的研究及分析 求解決的辦法,針對習知的影像擷 發明者將之加以改良,其主要的目 一種可有效降低影像失真情況的 法,係可供應用於數位影像擷取裝 其實用性。 本發明主要係以一程式控制一 h即變為1 6 然影像已經 方式達成, 換糊,請參 被分割成第 塊1 0 3及第 、1 0 2、1 0 3、 中可看出, 因顏色產生 U象1 〇分割 色不對等連 此即造成放 且其失真的 嚴重0 係針對影像 ,並致力尋 取方法,本 的在於提供 影像擷取方 置,以提昇 晶片作動, 7 200830868 用以供—p & /、一衫像擷取裝置(如攝影機)擷取動態影 的,其擷取影像時,則係利用抽點(d〇wn scale) 、 式依比例擷取影像,於成像後,可有效 保持影像不過份失真。 為使貝審查委員可以充份了解本發明及 其貫施過程,兹以下列說明搭配圖示,請參照。 【實施方式】 σ月參閱「第2圖」,圖中所示,係為本發明 影像擷取方法的實施例(一)示意圖,如圖中所 示’其係為擷取1 χ 1的影像(或圖像)2 〇,當一 影像掏取裝置的鏡頭對影像20進行對焦時及 才。頁取影像時,其係以抽點(d 〇 w n s c a 1 e )的方式, 對被擷取的影像2〇進行比例性的抽點,如圖中 所示’當抽點(down scale)進行前,係將被擷取 的影像2 0分割成複數個尺寸相同的小區塊,再 依比例,進行抽點(down scale),如圖中所示的 貫施例,其分割後,再依比例抽點,聚合後即 开> 成所擷取到的影像20,而由於抽點(down scale)的比例小,故可擷取到較大面積的影像, 亦即,抽點的比例越小,所擷取的影像越大, 即可使被擷取的影像全面積的呈現於一顯示幕 中(即全像),圖中所示的實例即為擷取到1 χ i 的全影像,而實際上僅係利用抽點的方式,擷 200830868 取每一區塊(21、22、23、24)的十六分之一的 小區塊(211、221、231、241),其擷取影像的 方式係為「等比抽點」後,再將抽點後的影像 聚合,異於習知以「等比複製」的方式擷取影 像,由於無複製後再聚合影像的問題,故其失 真度則大幅小於「等比複製」所擷取的影像, 又,上述比例僅為說明其擷取影像之實施例, 非為限定本發明實施範圍,於此先以敘明。 請參閱「第3圖」,圖中所示,係為本發明 影像擷取方法的實施例(二)示意圖,如圖中所 示,係為放大兩倍後的影像3 0,當影像擷取裝 置的鏡頭對影像 3 〇 進行對焦時及擷取影像 時,其係以抽點(d 〇 w n s c a 1 e )的方式,對被擷取 的影像進行比例性的抽點,如圖中所示,當抽 點(d 〇 w n s c a 1 e )進行前,係將被顧取的影像分割 成複數個尺寸相同的小區塊,再依比例,進行 抽點(down scale),如圖中所示的實施例,其分 割後,再依比例抽點,聚合後即形成所擷取到 的影像3 0,相較於「第2圖」中所示的實施例 (一),本實施例(二)由於抽點(d 〇 w n s c a 1 e )的比 例較大(即十六分之四),故可擷取到影像面積 依比例縮小二分之一,亦即,抽點的比例越大, 所擷取的影像面積越小,即所謂的影像放大, 圖中所示的實例(二),即為依比例擷取到二分 9 200830868 之一面積的影像,亦即呈現於顯示幕中的影像 3 0,係為原影像1 0放大兩倍後的結果,而實際 上僅係利用抽點的方式,擷取每一區塊(3 1、 3 2、3 3、3 4 )的十六分之四的小區塊(3 1 1、3 2 1、 331 、 341)。 請參閱「第4圖」圖中所示,係為本發明 影像擷取方法的實施例(三)示意圖,如圖中所 示,係為將原影像放大四倍後的影像40,當影 像擷取裝置的鏡頭,對影像進行對焦時及擷取 影像時,其係以抽點(d 〇 w n s c a 1 e )的方式,對被 擷取的影像進行比例性的抽點,如圖中所示, 當抽點(d 〇 w n s c a 1 e )進行前,係將被擷取的影像 分割成複數個尺寸相同的小區塊,再依比例,, 進行抽點(down scale),如圖中所示的實施例, 其分割後,再依比例抽點,聚合後即形成所擷 取到的影像40,相較於「第2圖」中所示的實 施例(一),本實施例(二)由於抽點(d 〇 w n s c a 1 e ) 的比例較大(即十六分之十六),故可擷取到影 像面積依比例縮小至四分之一,亦即,抽點的 比例越大,所擷取的影像面積越小,即所謂的 影像放大,圖中所示的實例(三),即為依比例 擷取到四分之一面積的影像,亦即呈現於顯示 幕中的影像 40,係為原影像放大四倍後的結 果,而實際上係利用抽點的方式完成擷取影像。 10 200830868 請參閱「第5圖」,圖中所示係為本發明的 實施流程圖,請參閱圖中所示,一操作者進行 操作時,係可進行如下列說明之步驟進行: 第一步驟 51 : Initial sensor to 2560x 1 920, 將sensor啟動至2560x1920像素; 第二步驟 52 : Down scale image to 6 4 0 x 4 8 0,以6 4 0 x 4 8 0像素的規格,進行「抽點」 完成影像擷取; 第三步驟 53: Get sensor image to LCD & DSP(640x4 8 0),取得被擷取的影像,將之以 64 0x480的像素,轉換至一影像處理裝置,例 如 LCD & DSP(Digital Signal Processor,數位訊 號處理器); 第四步驟 54: Display or Recording Video, 使影像顯不於營幕或同時進行錄影; 第五步驟5 5 : Ζ ο 〇 m i η,進行影像放大; 第五之一步驟 551 : Re-Initial sensor Image area (X size/1.1 Y size/1.1),將 sensor 重置, 以使影像擷取範圍符合需求的規格; 第五之二步驟 552: Image area<64 0x480, set image to 640x480,將影像範圍調整至符合 640x480像素之規格; 第六步驟56 : Zoom out,進行影像縮小; 弟六之一步驟 561 : Re-Initial sensor Image 11 200830868 area (X size/l.l Y size/1.1),將 sensor 重置, 以使影像擷取範圍符合需求的規格; 第六之二步驟 562: Image area< 640x480, set image to 640x480,將影像範圍調整至符合 64 0x480像素之規格;操作者以實際需求進行 「放大」或「縮小」操作後,影像之擷取即以 「抽點」的方式重覆進行。 由上所述可知,本發明影像擷取方法主要 係以比例性抽點的方式,進行影像的擷取,以 確保影像不失真,其據以實施後,確實可達到 提供一種可有效降低影像失.真情況的影像擷取 方法,係可供應用於數位影像擷取裝置,以提 昇其實用性之目的。 唯,以上所述者,僅為發明之較佳之實施 例而已,並非用以限定本發明實施之範圍;任 何熟習此技藝者,在不脫離本發明之精神與範 圍下所作之均等變化與修飾,皆應涵蓋於本發 明之專利範圍内。 12 200830868 【圖式簡單說明】 第1圖,為習知的影像縮放示意圖。 第 2圖,為本發明影像擷取方法的實施例 示意圖。 第 3圖,為本發明影像擷取方法的實施例 示意圖。 第 4圖,為本發明影像擷取方法的實施例 示意圖。 第5圖,為本發明的實施流程圖。 【主要元件符號說明】200830868 IX. Description of the Invention: [Technical Field of the Invention] An image capture method is a method of actuating a wafer so that an image capture device can capture an image and view it in a display screen. The image can be scaled by the captured image. The present invention particularly relates to a method for capturing images by means of a dot (d 〇 wnsca 1 e). [Prior Art] Today, digital video production has replaced most of the old-fashioned video production (negative film, film), including image capture, beauty editing, output, etc. Most of them can use an information system and Relevant operating software, such as digital camera or digital camera for image capture, and then use image editing software to edit and type the captured image. In the process, the image can be arranged and enlarged. , zooming out, and even the final output, can be presented with rich results, such as outputting photos with a photo printer, or directly outputting image files to a computer for dynamic output, etc., and image capture devices (including digital cameras, digital Since the development of the camera, it is almost like a miniature computer, and it can be used for image processing at any time. Compared with the early use of image capture alone, today's image capture devices are more diversified. 5 200830868 For the current digital image capture device, the display has become an indispensable device, because the user can confirm the image at the same time as the image capture, or immediately after the image capture, and the most The commonly used functions are zoomed in as much as the image, because the operator often manipulates the focal length of the lens when capturing the image, so that the captured image is presented in the most appropriate size in the face, however, Under the setting of conditions (such as file size and resolution), the image and size of the image are affected by the rendering, especially in the subsequent image production. When the image is captured, the specified conditions are appropriate. For example, if the image is captured, if it is amplified, there will usually be a certain percentage of loss. If the magnification is too large, the surface will be blurred. Therefore, the conventional image capturing method uses an "equal ratio copying" method for image enlargement, for example, an image of 2x2 unit size is enlarged. It will become a 4x4 unit size image. Please refer to "1". The figure shows a conventional image zooming diagram. The image is enlarged by the method of "Isoscale Copy". As shown in the figure, the original image is 10 Divided into 4 squares, each of which is an area of 1 X 1 unit, so the full size of the original image 10 is 4 square units (ie 2x2 units), which is enlarged by "equal replication" After twice, that is, as shown in the figure, the image of the shadow image can be multiplied by the enlarged image 11 of the image shown in the right side of the image on the right side of 200830868. 4 X 4 units), so, although enlarged, however, because of the use of equal-copy, the color arrangement and chromatic aberration will become as shown in the figure, before the original image 10 is enlarged, it is a block 101, The second block 102 and the third block 'four blocks 104. After being enlarged, each block (1 01 1 0 4) is doubled in equal proportion, and the blocks are enlarged in proportion. Arrangement, the system will be unequal connection, this picture only simulates the original 3 into 4 units, if the division is finer, then The phenomenon of the connection is more obvious, and the main reason is that the image is blurred and distorted. The situation will increase with the increase of the magnification. [Inventive content] In view of the above problems, the inventors have learned The principle of in-depth research and analysis to find a solution to the conventional image of the inventor to improve it, its main purpose is to effectively reduce the image distortion, the system can be applied to digital image capture Practicality. The invention mainly adopts a program to control one h to become 16, but the image has been achieved in a way, and the paste is divided into the first block and the first, the first, the first, the first, the U-image 1 is generated by color. 〇Divided color is not equal. This is caused by the serious distortion of the image. It is aimed at the image and is dedicated to the method of searching. This is to provide image capture to enhance the operation of the wafer. 7 200830868 For -p & /, a shirt like a capture device (such as a camera) to capture dynamic shadows, when capturing images, it uses the d〇wn scale, the scale to capture the image, After imaging, it can effectively keep the image from being distorted. In order to allow the Beck Review Committee to fully understand the present invention and its implementation process, please refer to the following description for the illustration. [Embodiment] Referring to "Fig. 2", the figure is a schematic diagram of an embodiment (1) of the image capturing method of the present invention. As shown in the figure, 'the image is 1 χ 1 (or image) 2 〇, when the lens of an image capture device focuses on image 20 and only. When the image is taken by the page, it is proportionally drawn by the drawing point (d 〇wnsca 1 e ), as shown in the figure 'When the down scale is performed The image captured by the image 20 is divided into a plurality of cell blocks of the same size, and then scaled down according to the scale, as shown in the example of the example, after the segmentation, and then proportionally Point, after the polymerization is on, the image 20 is captured, and since the proportion of the down scale is small, a larger area of the image can be captured, that is, the smaller the ratio of the points is, The larger the captured image, the more the image captured can be displayed in a display (ie, the full image). The example shown in the figure is the full image captured to 1 χ i. In fact, only by means of sampling, 撷200830868 takes one-sixteenth of the blocks (211, 221, 231, 241) of each block (21, 22, 23, 24), which captures the image. After the method is "equal ratio", the image after the snapshot is aggregated, which is different from the conventional method of capturing images by "equal ratio copying". There is no problem of re-aggregating the image after copying, so the distortion is much smaller than that of the image captured by the "ratio copy". The above ratio is only an example for explaining the image capture, and is not intended to limit the scope of the present invention. This is first described. Please refer to FIG. 3, which is a schematic diagram of an embodiment (2) of the image capturing method of the present invention. As shown in the figure, the image is magnified twice, and the image is captured. When the lens of the device focuses on the image 3 撷 and captures the image, it draws a point (d 〇 wnsca 1 e ) to proportionally draw the captured image, as shown in the figure. Before the snapshot (d 〇wnsca 1 e ) is performed, the image to be captured is divided into a plurality of cell blocks of the same size, and then scaled down according to the scale, as shown in the embodiment shown in the figure. After the division, the points are drawn according to the ratio, and the captured image 3 is formed after the polymerization. Compared with the embodiment (1) shown in the "Fig. 2", the present embodiment (2) is pumped. The point (d 〇wnsca 1 e ) is larger (that is, fourteenths of a sixteenth), so the image area can be reduced by a factor of two, that is, the larger the ratio of the points, the more The smaller the image area, the so-called image enlargement, the example (2) shown in the figure is the proportional capture. 2:9 200830868 One of the areas of the image, that is, the image displayed in the display screen, is the result of magnifying the original image 10 0, but actually only using the method of drawing points to capture each area. Fourteen sixteenth of the blocks (3 1 1 , 3 2 1 , 331 , 341 ) of the block (3 1 , 3 2 , 3 3 , 3 4 ). Please refer to FIG. 4, which is a schematic diagram of an embodiment (3) of the image capturing method of the present invention. As shown in the figure, the image 40 is enlarged four times after the original image is used as an image. Taking the lens of the device, when focusing on the image and capturing the image, the method is to draw a point (d 〇 wnsca 1 e ) to proportionally draw the captured image, as shown in the figure. Before the sampling point (d 〇wnsca 1 e ) is performed, the captured image is divided into a plurality of cell blocks of the same size, and then scaled down according to the ratio, as shown in the figure. For example, after the division, the points are extracted according to the ratio, and the captured image 40 is formed after the polymerization. Compared with the embodiment (1) shown in the "Fig. 2", the present embodiment (2) is pumped. The point (d 〇wnsca 1 e ) is larger (that is, 16/16), so the image area can be scaled down to a quarter, that is, the larger the ratio of the points, the more The smaller the image area taken, the so-called image enlargement, the example (3) shown in the figure is Quarter of the area ratio capture the image, i.e. the image appears on display screen 40, a magnification of four times as the result of the original image, but was in fact is accomplished by using the snapshot of capturing an image. 10 200830868 Please refer to "figure 5", which is a flow chart of the implementation of the present invention. Referring to the figure, when an operator performs an operation, the following steps can be performed: First step 51 : Initial sensor to 2560x 1 920, the sensor is activated to 2560x1920 pixels; the second step 52: Down scale image to 6 4 0 x 4 8 0, in the 6 4 0 x 4 8 pixel specification, "spotting" The image capture is completed; the third step 53: Get sensor image to LCD & DSP (640x4 8 0), obtain the captured image, convert it to 64 0x480 pixels, and convert to an image processing device, such as LCD & DSP (Digital Signal Processor); Fourth Step 54: Display or Recording Video, to make the image appear not to be screened or simultaneously recorded; Fifth Step 5 5: ο ο 〇mi η, to enlarge the image; Step 551: Re-Initial sensor Image area (X size/1.1 Y size/1.1), reset the sensor so that the image capture range meets the required specifications; Step 5 252: Image area< 64 0x480, set image To 640x480, the image range is adjusted to meet the specifications of 640x480 pixels; the sixth step 56: Zoom out, image reduction; one of the six steps 561: Re-Initial sensor Image 11 200830868 area (X size/ll Y size/1.1 ), reset the sensor so that the image capture range meets the required specifications; Step 6: 562: Image area < 640x480, set image to 640x480, adjust the image range to meet the specifications of 64 0x480 pixels; the operator After the actual demand is "zoomed in" or "zoomed out", the capture of the image is repeated in a "pick up" manner. It can be seen from the above that the image capturing method of the present invention mainly performs image capturing in a proportional sampling manner to ensure that the image is not distorted, and according to the implementation, it can indeed achieve an effective reduction of image loss. The true image capture method can be applied to digital image capture devices to enhance their practicality. The above is only the preferred embodiment of the invention, and is not intended to limit the scope of the present invention. Any change and modification made by those skilled in the art without departing from the spirit and scope of the invention, All should be covered by the patent of the present invention. 12 200830868 [Simple description of the diagram] Figure 1 is a schematic diagram of conventional image scaling. Fig. 2 is a schematic view showing an embodiment of an image capturing method of the present invention. Fig. 3 is a schematic view showing an embodiment of an image capturing method of the present invention. Fig. 4 is a schematic view showing an embodiment of an image capturing method of the present invention. Figure 5 is a flow chart showing the implementation of the present invention. [Main component symbol description]
(一) (二) (三) 10 原 圖像 101 第 一區塊 102 第 二區塊 103 第 三區塊 104 第 四區塊 11 放大後圖像 20 影 像 21 區 塊 21 1 小 區塊 22 區 塊 221 小 區塊 23 塊 23 1 小 區塊 13 200830868(1) (2) (3) 10 Original image 101 First block 102 Second block 103 Third block 104 Fourth block 11 Enlarged image 20 Image 21 Block 21 1 Block 22 Block 221 cell block 23 block 23 1 cell block 13 200830868
24 區 塊 24 1 小 區 塊 3 0 影 像 3 1 區 塊 3 11 小 區 塊 32 區 塊 32 1 小 區 塊 33 區 塊 33 1 小 塊 34 區 塊 34 1 小 區 塊 40 影 像 51 第 一 步 驟 52 第 二 步 驟 53 第 二 步 驟 54 第 四 步 驟 55 第 五 步 驟 5 5 1 第 五 之 一 步 驟 552 第 五 之 二 步 驟 56 第 六 步 驟 561 第 六 之 一 步 驟 562 第 六 之 _ 一 步 驟 1424 Block 24 1 Cell Block 3 0 Image 3 1 Block 3 11 Cell Block 32 Block 32 1 Cell Block 33 Block 33 1 Block 34 Block 34 1 Block 40 Image 51 First Step 52 Second Step 53 Second step 54 fourth step 55 fifth step 5 5 1 fifth one step 552 fifth bis step 56 sixth step 561 sixth one step 562 sixth _ one step 14