TWI410894B - Method and apparatus for multiple one-dimensional templates block-matching, and optical mouse applying the method - Google Patents
Method and apparatus for multiple one-dimensional templates block-matching, and optical mouse applying the method Download PDFInfo
- Publication number
- TWI410894B TWI410894B TW96105512A TW96105512A TWI410894B TW I410894 B TWI410894 B TW I410894B TW 96105512 A TW96105512 A TW 96105512A TW 96105512 A TW96105512 A TW 96105512A TW I410894 B TWI410894 B TW I410894B
- Authority
- TW
- Taiwan
- Prior art keywords
- dimensional
- blocks
- block matching
- plate
- block
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000003287 optical effect Effects 0.000 title claims description 26
- 239000013598 vector Substances 0.000 claims description 29
- 238000004364 calculation method Methods 0.000 claims description 28
- 238000006073 displacement reaction Methods 0.000 claims description 3
- 230000000295 complement effect Effects 0.000 claims description 2
- 229910044991 metal oxide Inorganic materials 0.000 claims description 2
- 150000004706 metal oxides Chemical class 0.000 claims description 2
- 239000004065 semiconductor Substances 0.000 claims description 2
- 230000000903 blocking effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 10
- 238000005070 sampling Methods 0.000 description 5
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
Description
本發明係有關一種區塊匹配方法,特別是關於一種多樣板一維區塊匹配方法及其裝置。The invention relates to a block matching method, in particular to a multi-plate one-dimensional block matching method and device thereof.
藉由感測器產生的連續訊框(frame)進行移動物體的追蹤,並利用區塊匹配方法(block-matching algorithm;BMA)產生一移動向量(motion vector;MV)以判斷物體的移動方向,是一種有效率方法。圖1係以區塊匹配方法產生移動向量的示意圖100,藉由比對前後二個訊框110及120,例如第n-1個訊框及第n個訊框,搜尋訊框120產生與訊框110中的樣板區塊(template block;TB)112最匹配的最佳匹配區塊132,計算最佳匹配區塊132與樣板區塊112在訊框120中的對應區塊134之間的位移產生移動向量122,移動向量122即為物體的移動方向。習知的區塊匹配方法係以二維樣板區塊進行搜尋以產生最佳匹配區塊132。圖2係圖1中第n-1個訊框110的示意圖,圖3係圖1中第n個訊框120的示意圖。參考圖1至圖3,訊框110及120具有N×N個像素,樣板區塊112係一具有M×M個像素的二維區塊,為了在訊框120中搜尋最佳匹配區塊132,因此將訊框120分成複數個具有M×M個像素的二維搜尋區塊(searched block;SB),例如SB1
至SB[ ( N - M + 1 ) × ( N - M + 1 ) ]
,計算搜尋區塊SBi
與樣板區塊112之間的灰階值的絕對值誤差和,其中i=1至[(N-M+1)×(N-M+1)],產生搜尋區塊SBi
與樣板區塊112的區塊匹配係數
為了提升訊框率,有人提出一種快速搜尋法(fast-search method),藉由預先估算最佳匹配區塊132的可能位置,以減少取樣次數及區塊匹配係數的運算次數。此法雖然減少了產生最佳匹配區塊132的時間,達到提升訊框率的目的,然而產生的移動向量的精確度卻不如全域搜尋法,且數位信號處理器208的電路仍非常複雜而無法有效減少晶片面積及功率的消耗。為了確保移動向量的精確度、節省晶片面積及降低消耗功率,有人提出一種以類比電路進行取樣及運算的類比區塊匹配方法,例如2006年Mladen Panovic及Andreas Demosthenousy在Senior Member,IEEE中提出的使用混合信號方法的移動判斷處理器,如圖5所示,一平方誤差和(sum squared error;SSE)類比計算電路300由電晶體302至312以及電流源314與316組成。當電晶體306至312彼此匹配且第一階電晶體302及304為飽和狀態時,輸出電流
因此,一種可提升訊框率以及降低電路複雜度且易於實施的區塊匹配方法及其裝置,乃為所冀。Therefore, a block matching method and an apparatus thereof which can improve the frame rate and reduce the circuit complexity and are easy to implement are the same.
本發明的目的,在於提出一種易於實施的多樣板一維區塊匹配方法及其裝置,以提升訊框率以及降低電路複雜度。The object of the present invention is to provide an easy-to-implement multi-plate one-dimensional block matching method and device thereof to improve frame rate and reduce circuit complexity.
根據本發明,一種多樣板一維區塊匹配方法包括比對從一訊框中讀出的複數個像素資料所產生之複數個一維搜尋區塊與獨立的複數個一維樣板區塊,產生相對應之複數個區塊匹配係數,根據該些區塊匹配係數產生對應於每一該複數個一維樣板區塊的複數個優先區塊,以及根據該些優先區塊產生一移動向量。According to the present invention, a multi-plate one-dimensional block matching method includes comparing a plurality of one-dimensional search blocks generated by a plurality of pixel data read from a frame to an independent plurality of one-dimensional template blocks, and generating And corresponding to the plurality of block matching coefficients, generating a plurality of priority blocks corresponding to each of the plurality of one-dimensional template blocks according to the block matching coefficients, and generating a motion vector according to the priority blocks.
根據本發明,一種多樣板一維區塊匹配裝置包括一記憶電路用以儲存獨立的複數個一維樣板區塊,一緩衝電路根據從一訊框中讀出的複數個像素資料產生複數個一維搜尋區塊,一信號處理電路比對每一該複數個一維搜尋區塊與複數個一維樣板區塊產生複數個優先區塊,以及一控制電路給予該複數個優先區塊不同的權值,計算該複數個優先區塊的總權值,根據總權值最大的優先區塊與該複數個一維樣板區塊之間的位置產生一移動向量。According to the present invention, a multi-plate one-dimensional block matching device includes a memory circuit for storing a plurality of independent one-dimensional template blocks, and a buffer circuit generates a plurality of ones based on a plurality of pixel data read from a frame. a search block, a signal processing circuit generates a plurality of priority blocks for each of the plurality of one-dimensional search blocks and the plurality of one-dimensional template blocks, and a control circuit gives the plurality of priority blocks different rights The value is calculated by calculating a total weight of the plurality of priority blocks, and generating a motion vector according to a position between the largest priority block and the plurality of one-dimensional template blocks.
根據本發明,一種使用一多樣板一維區塊匹配方法的光學滑鼠包括一光源用以照射一表面以產生一反射光,一感測器用以接收該反射光產生一訊框,一記憶電路用以儲存獨立的複數個一維樣板區塊,一緩衝電路根據從該訊框中讀出的複數個像素資料產生複數個一維搜尋區塊,一信號處理電路比對每一該複數個一維搜尋區塊與複數個一維樣板區塊產生複數個優先區塊,以及一控制電路給予該複數個優先區塊不同的權值,計算該複數個優先區塊的總權值,根據總權值最大的優先區塊與該複數個一維樣板區塊之間的位置產生一移動向量。According to the present invention, an optical mouse using a multi-plate one-dimensional block matching method includes a light source for illuminating a surface to generate a reflected light, and a sensor for receiving the reflected light to generate a frame, a memory The circuit is configured to store a plurality of independent one-dimensional template blocks, and a buffer circuit generates a plurality of one-dimensional search blocks according to the plurality of pixel data read from the frame, and a signal processing circuit compares each of the plurality of blocks The one-dimensional search block and the plurality of one-dimensional template blocks generate a plurality of priority blocks, and a control circuit gives different weights of the plurality of priority blocks, and calculates a total weight of the plurality of priority blocks, according to the total A position between the highest priority block and the plurality of one-dimensional template blocks generates a motion vector.
本發明利用複數個獨立的一維樣板區塊進行區塊匹配方法,使訊框在被讀取的過程中同時計算與該等一維樣板區塊之間的區塊匹配係數,且在該訊框被讀取完成時即完成全域搜尋的區塊比對,達到提升訊框率及降低電路複雜度與消耗功率的目的。The present invention utilizes a plurality of independent one-dimensional template blocks to perform a block matching method, so that the frame matching coefficient between the one-dimensional template blocks is simultaneously calculated in the process of being read, and in the message When the frame is read, the block comparison of the global search is completed, which improves the frame rate and reduces the circuit complexity and power consumption.
圖7係多樣板一維區塊匹配方法的示意圖,圖8係執行該方法的裝置。參考圖7及圖8,記憶電路540儲存一參考訊框410中的K個一維樣板區塊TB1 至TBK ,每一樣板區塊TBi 具有1×B個像素,記憶電路540包括K個記憶單元542至546以分別儲存樣板區塊TB1 至TBK 。一欲被搜尋的訊框430具有N×N個像素,當訊框430從感測器570中讀出時,最新讀取的B個像素形成搜尋區塊SBi 暫存於緩衝電路510中,其中,i=1至N×(N-B+1),例如當第一個像素(P1 )至第B個像素(PB )被讀出時,P1 至PB 構成搜尋區塊SB1 ,當第B+1個像素(PB + 1 )被讀出時,P2 至PB + 1 構成搜尋區塊SB2 ,當第N×N個像素PN × N 被讀出時,P( N × N - B + 1 ) 至PN × N 構成搜尋區塊SBN ( N - B + 1 ) ,因此當訊框430的最後一個像素被讀出時,訊框430的全域搜尋亦同時完成。在訊框430從感測器570被讀出過程中,信號處理電路520根據緩衝電路510及記憶電路540中的搜尋區塊SBi 及樣板區塊TB1 至TBK 的像素資料,例如類比的電壓信號或數位的灰階值,進行比對,控制電路550根據信號處理電路520比對的結果產生移動向量560。在此實施例中,緩衝電路510包括一記憶電路512用以儲存最新讀取的B個像素資料,以及一多工器514將該B個像素資料依序排列形成搜尋區塊SBi 提供給信號處理電路520。記憶電路512包括複數個如圖6所示的取樣保持電路,信號處理電路520包括K個計算電路522至526以及K個獲勝電路532至536。計算電路522根據多工器514及記憶單元542提供的搜尋區塊SBi 及樣板區塊TB1 的像素資料產生搜尋區塊SBi 與樣板區塊TB1 的區塊匹配係數Si , 1 ,i=1至N(N-B+1)。獲勝電路532根據區塊匹配係數Si , 1 產生複數個優先區塊,例如與樣板區塊TB1 匹配度較佳的前T名搜尋區塊,並記錄該等優先區塊的位置,例如與樣板區塊TB1 的相對座標。同樣地,計算電路524與526根據緩衝電路510及記憶單元542至546中的搜尋區塊SBi 及樣板區塊TB2 至TBK 的像素資料產生對應於樣板區塊TB2 至TBK 的優先區塊的位置。控制電路550給予不同名次的優先區塊位置不同的權值,並計算各位置的總權值產生移動向量560。圖9係一K=6及T=3的比對結果,與樣板區塊TB1 至TB6 的匹配度為第一名、第二及第三名的優先區塊位置分別給予權值3、2及1,因此位置(3,2)在TB1 至TB6 中的權值分別為3、3、2、2、0、1,總權值為3+3+2+2+0+1=11。同樣地,計算各優先區塊位置的總權值,總權值最大的優先區塊位置,例如位置(3,2),即為移動向量560。在不同的實施例中,緩衝電路510經由位移暫存器或取樣保持電路實現。FIG. 7 is a schematic diagram of a multi-plate one-dimensional block matching method, and FIG. 8 is a device for performing the method. Referring to FIG. 7 and FIG. 8, the memory circuit 540 stores K one-dimensional template blocks TB 1 to TB K in a reference frame 410. Each of the board blocks TB i has 1×B pixels, and the memory circuit 540 includes K. Memory cells 542 through 546 to store template blocks TB 1 through TB K , respectively . A frame 430 to be searched has N×N pixels. When the frame 430 is read from the sensor 570, the newly read B pixels forming the search block SB i are temporarily stored in the buffer circuit 510. Where i=1 to N×(N−B+1), for example, when the first pixel (P 1 ) to the Bth pixel (P B ) are read, P 1 to P B constitute the search block SB 1 , When the B+1th pixel (P B + 1 ) is read, P 2 to P B + 1 constitute the search block SB 2 , and when the N × N pixels P N × N are read, P ( N × N - B + 1 ) to P N × N form the search block SB N ( N - B + 1 ) , so when the last pixel of the frame 430 is read, the global search of the frame 430 is also completed simultaneously. During the reading of the frame 430 from the sensor 570, the signal processing circuit 520 is based on the pixel data of the search block SB i and the template blocks TB 1 to TB K in the buffer circuit 510 and the memory circuit 540, for example, analogous The voltage signal or the gray scale value of the digits is compared, and the control circuit 550 generates a motion vector 560 based on the result of the comparison by the signal processing circuit 520. In this embodiment, the buffer circuit 510 includes a memory circuit 512 for storing the newly read B pixel data, and a multiplexer 514 sequentially aligns the B pixel data to form a search block SB i for providing signals. Processing circuit 520. The memory circuit 512 includes a plurality of sample and hold circuits as shown in FIG. 6, and the signal processing circuit 520 includes K calculation circuits 522 to 526 and K winning circuits 532 to 536. The calculation circuit 522 generates the block matching coefficient S i , 1 of the search block SB i and the template block TB 1 according to the pixel data of the search block SB i and the template block TB 1 provided by the multiplexer 514 and the memory unit 542. i=1 to N(N-B+1). The winning circuit 532 generates a plurality of priority blocks according to the block matching coefficient S i , 1 , for example, a front T name search block with a better matching degree with the template block TB 1 , and records the positions of the priority blocks, for example, The relative coordinates of the template block TB 1 . Similarly, the calculation circuits 524 and 526 generate priority corresponding to the template blocks TB 2 to TB K based on the pixel data of the search block SB i and the template blocks TB 2 to TB K in the buffer circuit 510 and the memory units 542 to 546 . The location of the block. The control circuit 550 gives weights of different priority block positions of different rankings, and calculates a total weight of each position to generate a motion vector 560. A Department of FIG. 9 K = 6 and T = 3 the ratio of the results, the block and the template matching TB TB. 1 to 6 of the first, second, and third positions are given priority blocks weights 3, 2 and 1, so the weights of positions (3, 2) in TB 1 to TB 6 are 3, 3, 2, 2, 0, 1, respectively, and the total weight is 3 + 3 + 2 + 2 + 0 + 1 = 11. Similarly, the total weight of each priority block location is calculated, and the priority block location with the largest total weight, such as location (3, 2), is the motion vector 560. In various embodiments, the buffer circuit 510 is implemented via a shift register or a sample and hold circuit.
如圖10所示,在本實施例中,計算電路522至526由類比電路實現,包括複數個如圖5所示的平方誤差和計算電路SSE,根據搜尋區塊SBi 中的像素資料Pi , j ,j=1至B,及樣板區塊TB1 至TBK 中的像素資料ri , j ,例如類比的電壓信號,其中,i=1至K,以及j=1至B,利用公式2產生搜尋區塊SBi 與樣板區塊TB1 至TBK 的區塊匹配係數Si , 1 至Si , K ,i=1至N(N-B+1)。利用平行運算技術使搜尋區塊SBi 能同時與樣板區塊TB1 至TBK 進行比對,且該比對在像素被讀出的過程中進行,因此像素被搬動的次數較少,不會有累積誤差變大而無法實施的問題。此外,區塊匹配係數Si , 1 至Si , K 中的加法經由將每個SSE根據公式2產生的電流會合後流入電阻R而達成,大幅減少計算區塊匹配係數所需的時間及簡化電路的複雜度。在不同的實施例中,計算電路522至526由數位電路實現,在訊框中的像素資料從感測器570一讀出即經類比數位轉換器轉換成數位的像素資料,例如灰階值,經產生搜尋區塊SBi 後,根據公式1產生區塊匹配係數Si , 1 至Si , K ,i=1至N(N-B+1)。由於在讀取像素的過程中即進行比對,因此不需先儲存所有的像素資料及位置,更不需對儲存的像素資料進行複雜的取樣以產生搜尋區塊,有效降低圖4中數位信號處理器208的運算時間及對記憶體管理機制的需求。10, in the present embodiment, the calculation circuit 522 to 526 is implemented by analog circuits, comprising a plurality of sum of squared errors SSE calculation circuit shown in Figure 5, according to the pixel information in the search block SB i P i of , j , j = 1 to B, and pixel data r i , j in the template blocks TB 1 to TB K , for example, analog voltage signals, where i=1 to K, and j=1 to B, using the formula 2 Generate block matching coefficients S i , 1 to S i , K , i=1 to N(N-B+1) of the search block SB i and the template blocks TB 1 to TB K . The parallel computing technique enables the search block SB i to be simultaneously compared with the template blocks TB 1 to TB K , and the alignment is performed during the process in which the pixels are read, so the number of times the pixels are moved is small, There is a problem that the cumulative error becomes large and cannot be implemented. In addition, the addition of the block matching coefficients S i , 1 to S i , K is achieved by combining the currents generated by each SSE according to Equation 2 into the resistor R, thereby greatly reducing the time and simplification required for calculating the block matching coefficient. The complexity of the circuit. In various embodiments, the calculation circuits 522 to 526 are implemented by a digital circuit, and the pixel data in the frame is read from the sensor 570, that is, converted into digital pixel data, such as gray scale values, by an analog digital converter. After the search block SB i is generated, the block matching coefficients S i , 1 to S i , K , i=1 to N(N−B+1) are generated according to the formula 1. Since the comparison is performed during the process of reading the pixels, it is not necessary to store all the pixel data and positions first, and it is not necessary to perform complex sampling on the stored pixel data to generate a search block, thereby effectively reducing the digital signal in FIG. The computing time of the processor 208 and the need for a memory management mechanism.
圖11係運用多樣板一維區塊方法的光學滑鼠600,除了被搜尋的訊框622經由一光源610經透鏡組612聚焦照射桌面616產生反射光620,再經透鏡組614聚焦後由感測器618接收產生,以及樣板區塊即為前一次被搜尋訊框的中心區塊外,其餘關於運算的過程及裝置皆與圖7、圖8及圖10相同。在本實施例中,光源610包括發光二極體,感測器618包括互補金屬氧化物半導體感測器,以及訊框622具有的像素數目(例如N×M)由感測器618的靈敏度決定。如圖12所示,在不同的實施例中,多樣板一維區塊匹配方法經由數位電路實現。由於感測器618產生的訊框622為一類比資料,因此訊框622中的像素資料被讀出後,先經類比數位轉換器630將類比的像素資料轉換成數位的像素資料,才進行後續的運算。由於使用本發明的光學滑鼠在像素從感測器618讀出的過程中即進行平行比對,因此在訊框622的最後一個像素從感測器618中讀出時,即完成訊框622的全域搜尋的區塊比對,因而縮短了運算所需的時間。圖13係習知的光學滑鼠產生一移動向量所需時間的示意圖,圖14係運用本發明的光學滑鼠產生一移動向量所需時間的示意圖。參考圖13及圖14,習知的光學滑鼠產生一移動向量的時間740包括感測器曝光時間710、訊框讀出時間720以及區塊匹配方法的運算時間730,而運用本發明的光學滑鼠處理一訊框所需的時間750僅包括感測器曝光時間710及訊框讀取時間720,節省了運算時間730,因此具有較佳的訊框率,對感測器靈敏度的需求較低,以及電路複雜度低等優點。11 is an optical mouse 600 using a multi-plate one-dimensional block method, except that the searched frame 622 is focused on the table 616 via a lens group 612 to generate reflected light 620 via a light source 610, and then focused by the lens group 614. The detector 618 receives the generated, and the template block is the central block of the previously searched frame, and the rest of the calculation process and device are the same as those of FIG. 7, FIG. 8 and FIG. In the present embodiment, the light source 610 includes a light emitting diode, the sensor 618 includes a complementary metal oxide semiconductor sensor, and the number of pixels (eg, N×M) of the frame 622 is determined by the sensitivity of the sensor 618. . As shown in FIG. 12, in various embodiments, a multi-plate one-dimensional block matching method is implemented via a digital circuit. Since the frame 622 generated by the sensor 618 is an analog data, after the pixel data in the frame 622 is read, the analog pixel data is converted into digital pixel data by the analog digital converter 630. The operation. Since the optical mouse of the present invention performs parallel alignment during the reading of the pixels from the sensor 618, when the last pixel of the frame 622 is read from the sensor 618, the frame 622 is completed. The block search of the global search shortens the time required for the operation. Figure 13 is a schematic illustration of the time required for a conventional optical mouse to generate a motion vector, and Figure 14 is a schematic illustration of the time required to generate a motion vector using the optical mouse of the present invention. Referring to Figures 13 and 14, the time 740 of the conventional optical mouse to generate a motion vector includes the sensor exposure time 710, the frame readout time 720, and the operation time 730 of the block matching method, while applying the optical of the present invention. The time 750 required for the mouse to process the frame only includes the sensor exposure time 710 and the frame reading time 720, which saves the operation time 730, so that the frame rate is better, and the sensitivity of the sensor is more demanded. Low, and low circuit complexity.
100...以區塊匹配方法產生移動向量的示意圖100. . . Schematic diagram of generating a motion vector by block matching method
110...訊框110. . . Frame
112...樣板區塊112. . . Template block
120...訊框120. . . Frame
122...移動向量122. . . Moving vector
132...最佳匹配區塊132. . . Best matching block
134...對應區塊134. . . Corresponding block
200...執行區塊匹配方法的裝置200. . . Device for performing block matching method
201...感測器201. . . Sensor
202...類比數位轉換器202. . . Analog digital converter
204...記憶體204. . . Memory
206...記憶體206. . . Memory
208...數位信號處理器208. . . Digital signal processor
300...平方誤差和類比計算電路300. . . Square error and analogy calculation circuit
302...電晶體302. . . Transistor
304...電晶體304. . . Transistor
306...電晶體306. . . Transistor
308...電晶體308. . . Transistor
310...電晶體310. . . Transistor
312...電晶體312. . . Transistor
350...取樣保持電路350. . . Sample and hold circuit
352...開關352. . . switch
354...電晶體354. . . Transistor
356...電晶體356. . . Transistor
358...開關358. . . switch
360...開關360. . . switch
362...反相放大器362. . . Inverting amplifier
364...電晶體364. . . Transistor
366...電晶體366. . . Transistor
368...電容368. . . capacitance
370...電容370. . . capacitance
410...參考訊框410. . . Reference frame
430...被搜尋的訊框430. . . Searched frame
510...緩衝電路510. . . Buffer circuit
512...記憶電路512. . . Memory circuit
514...多工器514. . . Multiplexer
520...信號處理電路520. . . Signal processing circuit
522...計算電路522. . . Calculation circuit
524...計算電路524. . . Calculation circuit
526...計算電路526. . . Calculation circuit
532...獲勝電路532. . . Winning circuit
534...獲勝電路534. . . Winning circuit
536...獲勝電路536. . . Winning circuit
540...記憶電路540. . . Memory circuit
542...記憶單元542. . . Memory unit
544...記憶單元544. . . Memory unit
546...記憶單元546. . . Memory unit
550...控制電路550. . . Control circuit
560...移動向量560. . . Moving vector
570...感測器570. . . Sensor
600...光學滑鼠600. . . Optical mouse
610...光源610. . . light source
612...透鏡組612. . . Lens group
614...透鏡組614. . . Lens group
616...桌面616. . . desktop
618...感測器618. . . Sensor
620...反射光620. . . reflected light
622...訊框622. . . Frame
710...感測器曝光時間710. . . Sensor exposure time
720...訊框讀出時間720. . . Frame readout time
730...運算時間730. . . Operation time
740...習知的光學滑鼠產生一移動向量的時間740. . . Conventional optical mouse produces a time to move a vector
750...運用本發明的光學滑鼠產生一移動向量的時間750. . . Time for generating a motion vector using the optical mouse of the present invention
圖1係以區塊匹配方法產生移動向量的示意圖;圖2係圖1中第n-1個訊框的示意圖;圖3係圖1中第n個訊框的示意圖;圖4係習知執行區塊匹配方法的裝置;圖5係一平方誤差和類比計算電路;圖6係一取樣保持電路;圖7係多樣板一維區塊匹配方法的示意圖;圖8係執行多樣板一維區塊匹配方法的裝置;圖9係顯示一比對結果;圖10係顯示圖8中的計算電路;圖11係運用多樣板一維區塊匹配方法的光學滑鼠的第一個實施例;圖12係運用多樣板一維區塊匹配方法的光學滑鼠的第二個實施例;圖13係習知的光學滑鼠產生一移動向量所需時間的示意圖;以及圖14係運用本發明的光學滑鼠產生一移動向量所需時間的示意圖。1 is a schematic diagram of generating a motion vector by a block matching method; FIG. 2 is a schematic diagram of an n-1th frame in FIG. 1; FIG. 3 is a schematic diagram of an nth frame in FIG. 1; Figure 5 is a block error and analogy calculation circuit; Figure 6 is a sample and hold circuit; Figure 7 is a schematic diagram of a multi-plate one-dimensional block matching method; Figure 8 is a multi-plate one-dimensional block FIG. 9 shows a comparison result; FIG. 10 shows the calculation circuit of FIG. 8; FIG. 11 is a first embodiment of an optical mouse using a multi-plate one-dimensional block matching method; A second embodiment of an optical mouse using a multi-plate one-dimensional block matching method; FIG. 13 is a schematic diagram showing the time required for a conventional optical mouse to generate a motion vector; and FIG. 14 is an optical slide using the present invention. A schematic representation of the time required for a mouse to generate a motion vector.
410...參考訊框410. . . Reference frame
430...被搜尋的訊框430. . . Searched frame
Claims (27)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW96105512A TWI410894B (en) | 2007-02-14 | 2007-02-14 | Method and apparatus for multiple one-dimensional templates block-matching, and optical mouse applying the method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW96105512A TWI410894B (en) | 2007-02-14 | 2007-02-14 | Method and apparatus for multiple one-dimensional templates block-matching, and optical mouse applying the method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200834474A TW200834474A (en) | 2008-08-16 |
| TWI410894B true TWI410894B (en) | 2013-10-01 |
Family
ID=44819489
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW96105512A TWI410894B (en) | 2007-02-14 | 2007-02-14 | Method and apparatus for multiple one-dimensional templates block-matching, and optical mouse applying the method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI410894B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW556430B (en) * | 2001-09-19 | 2003-10-01 | Veutron Corp | Image processing method and device |
| US20050249288A1 (en) * | 2004-05-10 | 2005-11-10 | Samsung Electronics Co., Ltd. | Adaptive-weighted motion estimation method and frame rate converting apparatus employing the method |
| TW200604948A (en) * | 2004-07-29 | 2006-02-01 | Peripheral Imaging Corp | Optical tracking sensor method |
-
2007
- 2007-02-14 TW TW96105512A patent/TWI410894B/en not_active IP Right Cessation
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW556430B (en) * | 2001-09-19 | 2003-10-01 | Veutron Corp | Image processing method and device |
| US20050249288A1 (en) * | 2004-05-10 | 2005-11-10 | Samsung Electronics Co., Ltd. | Adaptive-weighted motion estimation method and frame rate converting apparatus employing the method |
| TW200604948A (en) * | 2004-07-29 | 2006-02-01 | Peripheral Imaging Corp | Optical tracking sensor method |
Non-Patent Citations (1)
| Title |
|---|
| 2003年7月,林群富碩士論文,"適用全域搜尋區塊比對法之移動估測單元積體電路設計" * |
Also Published As
| Publication number | Publication date |
|---|---|
| TW200834474A (en) | 2008-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11429838B2 (en) | Neural network device for neural network operation, method of operating neural network device, and application processor including the neural network device | |
| US20190052820A1 (en) | An Event-Based Vision Sensor | |
| CN112013891B (en) | Method for calibrating a multisensor system using an artificial neural network | |
| JP2002269559A (en) | Image template matching method and image processing apparatus | |
| Li et al. | A 1920$\times $1080 30-frames/s 2.3 TOPS/W Stereo-Depth Processor for Energy-Efficient Autonomous Navigation of Micro Aerial Vehicles | |
| CN113593622A (en) | Memory computing device and computing device | |
| Lam et al. | Area-time efficient streaming architecture for fast and brief detector | |
| JP2005526318A (en) | Method and apparatus for determining optical flow | |
| Ji et al. | MS-DETR: a real-time multi-scale detection transformer for PCB defect detection | |
| Wang et al. | Lagrange programming neural network approaches for robust time-of-arrival localization | |
| TWI410894B (en) | Method and apparatus for multiple one-dimensional templates block-matching, and optical mouse applying the method | |
| Mingwin et al. | Revolutionizing traffic sign recognition: Unveiling the potential of vision transformers | |
| Liu et al. | Realtime RGB-based 3D object pose detection using convolutional neural networks | |
| Castillo-Elizalde et al. | Weighted node mapping and localisation on a pixel processor array | |
| KR100224557B1 (en) | Semiconductor device, arithmetic device, signal converter and signal processing system using the semiconductor device | |
| Yu et al. | A real-time center-of-mass tracker circuit implemented by neuron MOS technology | |
| CN101276248B (en) | Multi-template one-dimensional block matching method and device | |
| WO1996030854A1 (en) | Semiconductor operational circuit | |
| CN101127236B (en) | Memory cell circuit | |
| Gu et al. | Mdoe: A spatiotemporal event representation considering the magnitude and density of events | |
| Zhang et al. | RAW Images-Based Motion-Assisted Object Detection Accelerator Using Deformable Parts Models Features on 1080p Videos | |
| RU2407058C2 (en) | Calculating transformation parametres for image processing | |
| Yan et al. | Foreground-aware refinement network for building extraction from remote sensing images | |
| Gottardi | A CMOS/CCD image sensor for 2D real time motion estimation | |
| US20220334370A1 (en) | Microscope System and Corresponding Control System, Method and Computer Program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |