201032092 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種光學輪入裝置及其運作方 法,特別係關於一種具有多重觸控功能之光學輸入 裝置及其運作方法。 【先前技術】 習知光學位移偵測裝置’例如一光學201032092 VI. Description of the Invention: [Technical Field] The present invention relates to an optical wheeling device and a method of operating the same, and more particularly to an optical input device having multiple touch functions and a method of operating the same. [Prior Art] A conventional optical displacement detecting device such as an optical
包含-光源、-影像感測器及一處理單元 感測器係用以連續擷取複數張影像。該光源係用以 提供該影像感測器於擷取影像時所需之光。該處理 早兀則比較該等影像並求得該光學位移偵測裝置之 一位移資訊。 睛翏照第1圖所示 徑為知光學滑鼠9 及與其相對應之一影像顯示系統,其包含一影像顯 =8及-主機7<)該影像顯示器8之顯示螢幕上通 常顯示有-游標8卜該主機7 _接於該影像顯示 器8並與其進行資訊之交換。該光學滑鼠$所求得 =位移資訊將被傳送至該主機7處理,該主機7接 著再將處理結果傳送至該影像顯示器8。藉此,一 使用者可透過操控該光學滑鼠9和游標81以與該主 機7所執彳T之程式進行互動u,f知 9僅能用以控制單—游標,因此其所能執行之:能 有限’例如僅能利用設置於該光學滑鼠9上之功= 0138.1-TW /PIX-TW-0238 4 201032092 j ' 鍵91進行圖示(icon)選取或晝面捲動(scroll)等功 - 能,但卻無法單獨利用該光學滑鼠9進行晝面拉近 (zoom in)、晝面拉遠(zoom out)以及旋轉(rotate)等功 有鑑於此,有必要另提出一種光學輸入裝置, 其無需配合其他電腦週邊裝置即能達成多重觸控 (multi touch)功能,以增加光學輸入裝置之實用性。 【發明内容】 本發明提出一種光學輸入裝置及其運作方法, 其同時具有傳統光學輸入裝置之功能以及多重觸控 功能,可有效增加光學輸入裝置之實用性。 本發明提出一種影像系統,其不需使用觸控螢 幕即可達成多重觸控之功能,可有效降低系統成本。 本發明提出一種光學輸入裝置,用以控制一影 像顯示器及顯示於該影像顯示器之至少一游標,該 光學輸入裝置包含一第一主體、一第二主體及一處 理單元。該第一主體用以於一表面上移動。該第二 主體用以與該第一主體進行相對運動。該處理單元 求得該第一主體於該表面之一位移資訊及該第二主 體與該第一主體之一相對變化,並根據該位移資訊 控制該游標及根據該相對變化控制該影像顯示器之 畫面更新。 本發明另提出一種光學輸入裝置之運作方法, 01381-TW/PIX-TW-0238 5 201032092 ::::入裝置係用以控制一影像顯示器及顯示於 :衫像顯示器之至少-游標,ϋ包含一第一主體及 ’該運作方法包含下列步驟:偵測該第 靜盘兮:一於一表面之—位置資訊;偵測該第二主 一 nk 一主體之一相對變化;及根據該位置資訊 及該相對變化控制該游標。 βThe include-light source, the image sensor, and a processing unit are used to continuously capture a plurality of images. The light source is used to provide the light required by the image sensor to capture an image. The processing compares the images and obtains a displacement information of the optical displacement detecting device. The image shown in Figure 1 is an optical mouse 9 and an image display system corresponding thereto, which includes an image display = 8 and - a host 7 <) the display of the image display 8 is usually displayed on the screen - The cursor 8 is connected to the image display 8 and exchanges information with it. The optical mouse $ is obtained = the displacement information is transmitted to the host 7 for processing, and the host 7 then transmits the processing result to the image display 8. Thereby, a user can manipulate the optical mouse 9 and the cursor 81 to interact with the program executed by the host 7, and the 9 can only be used to control the single-cursor, so that it can be executed. : can be limited 'for example, can only use the work set on the optical mouse 9 = 0138.1-TW / PIX-TW-0238 4 201032092 j ' key 91 to select (icon) or scroll, etc. The function - energy, but it is not possible to use the optical mouse 9 alone to perform zoom in, zoom out, and rotate. In view of this, it is necessary to provide an optical input. The device can achieve multi touch function without the need of other computer peripheral devices to increase the practicality of the optical input device. SUMMARY OF THE INVENTION The present invention provides an optical input device and a method for operating the same, which have the functions of a conventional optical input device and multiple touch functions, and can effectively increase the practicality of the optical input device. The present invention provides an image system that can achieve multiple touch functions without using a touch screen, thereby effectively reducing system cost. The present invention provides an optical input device for controlling an image display and at least one cursor displayed on the image display. The optical input device includes a first body, a second body, and a processing unit. The first body is for moving on a surface. The second body is for relative movement with the first body. The processing unit determines a displacement information of the first body on the surface and a relative change between the second body and the first body, and controls the cursor according to the displacement information and controls the image of the image display according to the relative change Update. The invention further provides a method for operating an optical input device, 01381-TW/PIX-TW-0238 5 201032092:::: The device is used to control an image display and is displayed on at least: a cursor of the shirt image display, including a first body and a method for detecting the method comprising: detecting the first static disk: a position information on a surface; detecting a relative change of the second main body and a body; and determining the relative information according to the position And the relative change controls the cursor. β
2月另提出-種影像系統’包含一影像顯示 —機及-光學輸人裝置。該影像顯示器顯示 有至少—游標。該主機用以控制該影像顯示器。該 光學輸入裝置包含一第一主 理輩开w i體、一第二主體及-處 理早兀。該第一主體及一第二主體可分別於一表面 上移動。該處理單元制該第—主體及該第二主體 之-相對位置變化,並將該相對位置變化傳送至該 主機以相對控制該影像顯示器之游標。 本發明另提出一種光學輸入裝置之運作方法, 該光學輸入裝置係用以控制一影像顯示器,並包含 第主體及一第二主體,該運作方法包含下列步 驟:偵測該第一主體相對於一表面之一第一位置資 訊;偵測該第二主體相對於該表面之一第二位置資 訊’·分析該第一位置資訊及該第二位置資訊之間是 否符合一預㈣係,·及當該第—及第二位置資訊之 間符合該預設關係時,根據該預設關係更新該影像 顯示器之晝面顯示。In February, another type of imaging system was proposed, which included an image display device and an optical input device. The image display shows at least a cursor. The host is used to control the image display. The optical input device includes a first main body, a second body, and a processing device. The first body and the second body are respectively movable on a surface. The processing unit changes the relative position of the first body and the second body, and transmits the relative position change to the host to relatively control the cursor of the image display. The present invention further provides a method for operating an optical input device for controlling an image display and including a first body and a second body. The method includes the steps of: detecting the first body relative to the first body a first position information of the surface; detecting a second position information of the second body relative to the surface'· analyzing whether the first position information and the second position information conform to a pre-fourth system, and When the first and second location information meets the preset relationship, the face display of the image display is updated according to the preset relationship.
0!38!-TW/J>Ddw~023S 6 201032092 本發明另提出-種光學輸入裝置 該光學輪入裝置係用以控制一 ^ ^ # J〜彳冢顯不态及顯示於 K象顯不器之至少一游標,並包含— 一第二主體,該運作方法包含下列步驟.、 主體控制一第一游俨· ·以該第一 栌…哲標,以該第二主體控制-第二游 標’ ^第-游標與該第二游標之 預設關係時,根攄命Ms * 咬莉付口 畫面顯示。據該預更新該影像顯示器之 味Z發明之光學輸入裝置及其運作方法可透過同 =作:個游標以達成多重觸控之功能,例如物件 Γ太Γ拉近拉遠以及視窗放大縮小等功能。此 =本㈣之光學輸人裝置、絲輪人 方:及影像系統亦可搭配傳統光學滑乍 幅提升光學輸入裝置之實 大 【實施方式】 、'降低系統成本。 為了讓本㈣之上述和其他目的、特徵和優點 =明顯’下文將配合所附圖示,作詳細說明”。 =於本發明之說明中,相同之構件係以相同之 符唬表示’於此合先述明。 請參照第2所示,1翻_丄〜 其顯不本發明一實施例之影 像糸、為’其包含一光學輪入裝置1、-主機7及一 :像顯不器8。該光學輸入裝置1通常係放置於一 表面S以供一使用者6操控,其中該表面§可為— 01381-TW/PK-TW-0238 7 201032092 矣當表面,例如-桌面…骨鼠墊之表面或-紙張 ,等。該光學輪人裝置i用以偵測與該表面s之 ^少一相對位移量,並將該位移量及—操控資訊傳 主機7 °該主機7則根據該位移量控制顯示 於該影像顯示器8上之一 i® St -V 哕握松次S 8上t游枯81之移動及/或根據 ❹ :审、工貝訊控制已安裝於該主機7内之程式的運作 晉,新該影像顯示器8之顯示晝面。該光學輸入裝 ,可與該主機7間以無線通訊之方式連接,或透 介面或PS2介面等電性連接於該主機 該衫像顯示器8之實施例包括 腦螢幕、一雷葙馨墓 ^ τ 幕等。f視螢幕、一投影機螢幕及-遊戲機螢 該光學輸入裝L包含一第一主H、一第二 主體12、一連接件13及一處 一 …系用以連接該第-主體料接件 -種實施例中,該連接件13 於 11,該第_主_1 °又於該第一主體 另-種=連接件13;於 該第-主…該第二主體體 過無線通訊相互耦接,例如誌疋王刀離,並透 處理單元14可設置於該第—主^ (bluet00th)。該 12之内,用以求得該第一主 或該第二主體0!38!-TW/J>Ddw~023S 6 201032092 The present invention further proposes an optical input device for controlling a ^^#J~彳冢 display and displaying it on the K image. At least one cursor of the device, and comprising: a second body, the operation method comprises the following steps:, the main body controls a first game, the first object is controlled by the second body, and the second object is controlled by the second body When the ^ ^-cursor and the second cursor are in a preset relationship, the root command Ms * bite is displayed on the screen. According to the pre-update of the image display device, the optical input device of the invention and the operation method thereof can achieve the functions of multiple touches by using the same cursor: for example, the object is too close and the window is zoomed in and out. . This = (4) optical input device, wire wheel human: and imaging system can also be combined with the traditional optical sliding frame to enhance the optical input device [implementation], 'reduce system cost. The above and other objects, features and advantages of the present invention are apparent from the following description of the accompanying drawings. In the description of the invention, the same components are denoted by the same symbols. Referring to FIG. 2, 1 丄 丄 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 其 光学 光学The optical input device 1 is usually placed on a surface S for manipulation by a user 6, wherein the surface § can be - 01381-TW/PK-TW-0238 7 201032092 矣 surface, for example - desktop... bone mouse pad Surface or - paper, etc. The optical wheel device i is used to detect a relative displacement amount with the surface s, and the displacement amount and the control information are transmitted to the host 7 °. The host 7 is based on the displacement The quantity control is displayed on the image display 8 on the i® St-V 松 松 S S 8 8 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 81 审 审 审 审 审 审 审 审 审 审 审 审 审Operation of the new, the display of the new image display 8. The optical input device can be connected to the host 7 The line communication mode is connected, or the interface or the PS2 interface is electrically connected to the host. The embodiment of the shirt display 8 includes a brain screen, a Thunderbird tomb, a τ screen, etc., a screen, a projector screen, and the like. - The game machine is provided with a first main H, a second body 12, a connecting member 13 and a portion for connecting the first body member - in an embodiment, the connection The member 13 is at 11, the first _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ And the processing unit 14 can be disposed in the first main ^ (bluet00th). Within the 12, used to determine the first main or the second main body
之一位置資訊、該第二主體目對於該表面S 蔽12與該第一主體n O1381-TW/PIX.TW-0238 1 ^ ' · 8 201032092 • —相對變化及/或該第二主體12相對於該表面 一位置資訊。 < 於第2圖之實施例中,該第一主體n設計為供 該使用者6之手掌操控;該第二主體12設計為供該 使用者6之拇指操控。但本發明並不限於此,本 明,光學輸人裝置1亦可設計成第3圖所示者,亦 尸X第主體11及第二主體12均設計為供一使用 ❹ 者之手指操控’但並不限於第3圖所示該使用者6 之食指及令指。本發明之光學輸人裝置i係包含兩 主體提供一使用者利用不同部位進行操控。 ★叫再參照第2圖所示,當該光學輸入裝置!之 第主體11及第二主體12相互接合時,該光學輸 入裝置1可用以控制該影像顯示器8上單一游標8 i 之動作’於本說明_設定為—般模式;當該第一主 ⑩ 體U與该第二主體12分離(或部分分離”夺,例如該 第二主體從12的狀態被改變為12'之狀態時’該光 學輪入裝置!則進入多重觸控(multi _咖模式並透 過-傳輸介面單元(未緣示)將此訊息傳送至該主機 7’該主機7則據以控制該影像顯示器8於其顯示勞 幕上同時顯示兩獨立的游標81、8卜一實施例中, b T游標81及81’間之距離可根據該第一主體η及 該第二主體12分開的距離決定;於另一實施例中, 該光學輸Μ置1進人多_純式時,該等游標 0138MW / PIX-TW-0238 9 201032092 81及81,間可設定一預設距離。 ς錢接件13為固設於該第—主體U及該第 :主體U間時,該第二主體12可 =行旋轉以與該第一主體心行相對運牛動,例 接近該第一主體11;當該連接件13為一 Φ 、她、時,該第—主體11可與該第二主體12完全 ;離:透過該連接件13進行電性連接。此外,:該 口體11、该第二主體12或該連接件u盆中之 7可設置-偵測裝置(未繪示)以偵測該第二主體 觸F;二第二主體12之接合或分離狀態,例如-接 =或一按壓開關,但並不限於此。此外,該連 限定料前料者,討為其他之連接 , 以使该第—主體11可與該第二主體12可進 行相對運動。 :參:第4a圖及4b圖所示,其顯示本發明之 ^入裝置1之-實施例,其中第牦圖顯示該第 與該第二主體12之接合狀態(―般模式),· ::圖,示該第一主體u與該第二主體Η之分 =態心重觸控模式)…種實施例中,於一般模 =時該影像顯示器8僅顯示—個游標(例如81),該 -主體11用以於該表面s上移動 14則計算該第-主體11與該表面S間上:位 移量’接著該第一位移量將被傳輸至該主機7以相 01381-TW/PDC-TW-0238 10 201032092 對控制該游標81之動朴 乍。於夕重觸控模式時令寻^傻 顯示器8可同時顯千表y岈忑以像 ”、’、兩個游標,該第一主體 第二主體12用以分 王體Π及該 刀別於該表面S上移動,該處理單 兀14則s十异該第一主體11 。 遐11與該表面S間之一篦一 位移量,該第二主體12盥 、 隨12與该表面S之一第二位移量 及該第:主體U與該第二主體12間之一相2 化接著該第-位移量,該第二位移量及該相對變 化將被傳輸至該主機7以相對控制該等游標81及 8Γ之動作。 於另一種實施例中,該第一主體u包含一第一 光源111、一第一影像感測器112及一第一處理單元 Π3—。該第—影像感測器112用以擷取複數影像;該 第:光源ill用以提供該第一影像感測器112於擷 取衫像時所需之光,·該第一處理單元丨】3根據該等 ,像求出該第一主體U與該表面8間之該第一位移 量例如利用兩影像間之相關性(correlation)或其他 方式計算該第一位移量。該第一光源111例如可為 發光二極體或雷射二極體,一種實施例中,該第 一光源111可為紅外光發光二極體或紅外光雷射二 極體。該第一影像感測器112例如可為一 CCD影像 感測器或一 CMOS影像感測器。該第一處理單元113 例如可為一數位處理器(DSP)。此外,該第一主體 11可根據不同實施例另包含有複數個透鏡或透鏡組 用以調整該第一光源111所發出之光;另可包含一 0138I-TW/PR-Tw〇238 u 201032092 濾光器(optical filter)用以濾除該光源m所發出 光的光頻帶以外的光;另可包含一第一傳輪介面單 元(未繪示)將該第一位移量傳輸至該主機7。 該第二主體12用以與該第一主體u進行相對 運動及/或偵測其與該表面S間之一第二位移量,# 第二位移量可透過該第一主體u之第一傳輪介面 單元或設置於該第二主體12内之一第二傳輪介面 單元被傳輸至該主機7。該第二主體12包含_第_ 光源121、一第二影像感測器122及一第二處理單 το 123,其中該第二光源121、該第二影像感測器 122及該第二處理單元123之作用及種類分別相同 於該第一光源11卜該第一影像感測器112及該第一 處理單元113’故於此不再贅述。於另一實施例中, 該光學輸入裝置1可只設置一個處理單元14以取代 該第一處理單元113及該第二處理單元123。 然而,該第二主體12之結構並非限定於第牦 及4b圖所揭示者。於另一實施例中,該第二主體 12中可設置一動作感測器;藉此,當該光學輸入裝 置1進入多重觸控模式後,可利用該動作感測器偵 測該第二主體12之動作以判定該第二主體12與該 第:主體11之相對動作。於另一實施例中,該第二 主體12中之第二影像感測器' 122可用以债測其與該 第-主體11間之距離或相對位置;藉此,當該光學 0138MW/PIX-TW-0238 12 201032092 / 冑人裝置1進人多重觸控模式後,可賴該第二主 - 體12與該第一主體11之相對動作。本發明中,當 該光學輸人裝置1進人多重觸控模式後,透過偵測 該第一主體11及該第二主體12間之相對位置變化 或動作並判斷其是否符合一預設關係,例如按左鍵 及按右鍵、圖示點選、晝面捲動·、畫面拉近及晝面 拉遠、物件旋轉、視窗擴張及視窗收縮及物件拖曳 ❹ 等’藉以進行多重觸控之功能。 接著說明本發明之光學輸入裝置1所能執行之 功能及相對應之操作方式的實施例。可以了解的 是,雖然接下來的說明中係配合第3圖進行的,本 領域熟悉此技術者可在不脫離本發明之精神和範圍 内作各種之更動與修改。下列說明中 輸入裝。係首先操作於一般模式,即該第= 11及該第二主體12 4合併且該影像顯示g 8僅顯 ❹ 示一個游標;並假設該第二主體12位於該第一主體 11之左側,然而這些假設並非用以限定本發明。 按左鍵及按右鍵(圖示點選):請參照第5a圖所 示,當一使用者欲利用該光學輸入裝置J執行按左 鍵(left-click)及按右鍵(right_click)之功能時,該使用 者首先使該第一主體n及該第二主體12分離以進 入多重觸控模式。接著,當該影像顯示器8之晝面 同時出現兩游標81、8Γ時,該第一主體u及該第 〇1381-TW/PIX-TW-〇238 13 201032092 二主體12可各別控制一游標之動作。此時,左右搖 擺該第二主體12(該游標81,亦左右搖擺),該主機7 在接叉來自該光學輸入裝置丨之信號則判斷該使用 者正在執行按左鍵之功能;當左右搖擺該第一主體 11(該游標81亦左右搖擺)時則表示使用者正在執行 按右鍵之功能。此外,當該使用者於一圖示上執行 刖述按左鍵之功能時則表示正在執行點選圖示之功 能(icon select) ’此時該主機7則根據該使用者所點 選者執行相應之程式或軟體並更新該影像顯示器8 之顯不晝面。當該使用者合併該第一主體n及該第 一主體時’將再度回到一般模式。 晝面捲動(screen scroll):請參照第5b圖所示, 當一使用者欲利用該光學輸入裝置丨執行晝面捲動 之功能時,該使用者首先使該第一主體u及該第二 主體12分離以進入多重觸控模式。接著,該使用者 則同h•上下或左右移動該第一主體η及該第二主 體12,該主機7則判斷該使用者正在執行畫面捲動 之功能並控制該影像顯示器8進行晝面更新以顯示 相應之晝面。 晝面拉近及畫面拉遠(zoom in/z〇〇m 〇ut):請參 照第5c圖所示,當一使用者欲利用該光學輸入裝置 1執行畫面拉近及畫面拉遠之功能時,該使用者首 先使該第一主體11及該第二主體12分離以進入多 01381-TW/PIX-TW-0238 14 201032092 2 體^^者縮—㈣ 距離亦相對缩r目該游標81及81,間之 近之功^Π 該❹者正在進行畫面拉 肊,虽該使用者增加該第一主體u 主體12間之距離味兮、綠~第一 斜W 標81及81,間之距離亦相 «加’則表示該使用纟正在進行晝面拉遠之功 ❹ :;2於另一實施例中,當該第-主體U及該第二主 *間之㈣被增加時’可表示較用者正在進行 旦面拉近之功能;當該第一主體u及該 12間之距離被縮短時,可表示該使用者正在奸^ 面拉遠之功能。 旦 ^物件旋轉(objectrotate):請參照第5(1圖所示, 备一使用者欲利用該光學輸入裝置i執行物件旋轉 之功能時,該使用者首先將該游標81移動至所欲旋 轉物件之上方並使該第一主體u及該第二主體12 分離以進入多重觸控模式。接著,該使用者順時針 或逆時針旋轉該第一主體11及/或第二主體以旋 轉所選取之物件。 視窗擴張及收縮(window expand/shrink):請參 照第5e圖所示,當一使用者欲利用該光學輸入裝置 1執行視窗擴張及視窗收縮之功能時,該使用者首 先將該游標81移動至所欲改變視窗之上方並使該 第一主體11及該第二主體12分離以進入多重觸控 01381-TW / PIX^TW-0238 15 201032092 =°接著,該使用者可以向傾斜方向增加今第 主㈣及該第二主體12間之距離心 =迠或向傾斜方向減少該第一主體u及該第二 體間之距離以執行視窗收縮之 例中,當該光學輸入裝置u一視窗:方;二: = 式時’亦可設定為只要增加或減少該第:主 或視*㈣二主體12間之距離即可執行視窗擴張 ' _收縮之功能’1不-定要朝向特定方向改轡 該第-主體及該第二主體12間之距離, $件拖矣(object drawing):請參照第玎圖所 拖使用者欲利㈣光學輸人裝置2執行物件 欲該使用者首先將該游標81移動至所 體12八齡 方並使該第一主體U及該第二主 刀離以進入多重觸控模式。接著,該使用者 ❹ °所欲拖夷物件之方向同時移動該第—主體工 該第二主體12以進行物件拖曳之動作。 ^述之功能及操作方式僅為例示性的實施例, =用以限定本㈣。本發明之光㈣人裝置】可 據不同之設定達到不同之操作功能。 於另一實施例中,該第一主體u或該第二主體 之下方可另外設置有一模式開關114,如 當該模式開關114未被觸發時(第 子3入裝置1係操作於—般模式;當該模式開關 01381-TW/PIX.tw_〇?38 16 201032092 被觸發時(第6b圖)’即使該光學輸入裝置1之 第主體u及第二主體12未被分離,仍能夠控制 該影像顯示器8進行晝面更新功能,例如進行物件 =或晝面捲動等功能。例如當-使用者利用處於 般模式之光學輸入裝置1控制該游標81至一物件 ❹ 並f壓該模式開關114,若該使用者移動該 先學輸入農置!則可執行物件㈣功能;當該使用 者於該游標81 *在某特定物件上㈣按壓該模式 開關⑴,若該使时移㈣光學輸人裝置丨^ 面捲動功能。該模式開關114可為一機械式 開關或一電子式開關。 如前所述,由於習知光學滑鼠無法執行多重觸a position information, the second subject is opposite to the first body n O1381-TW/PIX.TW-0238 1 ^ ' · 8 201032092 • and the second body 12 is opposite to the second body 12 A location information on the surface. < In the embodiment of Fig. 2, the first body n is designed to be manipulated by the palm of the user 6; the second body 12 is designed to be manipulated by the thumb of the user 6. However, the present invention is not limited thereto. It is also known that the optical input device 1 can also be designed as shown in FIG. 3, and the corpse X main body 11 and the second main body 12 are both designed to be manipulated by a user's finger. However, it is not limited to the index finger and the index finger of the user 6 shown in FIG. The optical input device i of the present invention comprises two bodies for providing a user to operate with different parts. ★ Call again as shown in Figure 2, when the optical input device! When the first body 11 and the second body 12 are joined to each other, the optical input device 1 can be used to control the action of the single cursor 8 i on the image display 8 in the present description, which is set to the general mode; when the first main body 10 U is separated (or partially separated) from the second body 12, for example, when the state of the second body is changed from 12 to 12', the optical wheeling device enters multi-touch (multi _ coffee mode and Transmitting the message to the host 7' through the transmission interface unit (not shown), the host 7 controls the image display 8 to simultaneously display two independent cursors 81, 8 in an embodiment screen. The distance between the b-cursors 81 and 81' may be determined according to the distance separating the first body η and the second body 12; in another embodiment, when the optical device is in a multi-pure mode, The cursors 0138MW / PIX-TW-0238 9 201032092 81 and 81 can be set with a preset distance. When the money connector 13 is fixed between the first body U and the first body U, the second The main body 12 can be rotated in a row to move relative to the first subject, for example, close to the first The main body 11; when the connecting member 13 is a Φ, her, the first main body 11 can be completely connected to the second main body 12; away from: through the connecting member 13 to electrically connect. Further, the oral body 11, The second body 12 or the 7 of the connector u can be provided with a detecting device (not shown) to detect the second body touch F; and the second body 12 is engaged or disengaged, for example, Or a push switch, but is not limited thereto. In addition, the front material is intended to be connected, so that the first body 11 can be moved relative to the second body 12. 4a and 4b, which show an embodiment of the device 1 of the present invention, wherein the second diagram shows the state of engagement of the second body 12 ("mode"), In the embodiment, the image display 8 displays only one cursor (for example, 81) in the normal mode=, and the body 11 uses Calculating the distance between the first body 11 and the surface S by moving 14 on the surface s: the displacement amount is then transmitted to the main 7 to phase 01381-TW/PDC-TW-0238 10 201032092 to control the movement of the cursor 81. In the evening of the touch mode, the search for the silly display 8 can simultaneously display thousands of tables y岈忑 to like "," Two cursors, the first body second body 12 is used to divide the body and the knife moves on the surface S, and the processing unit 14 is different from the first body 11. The surface 11 and the surface One of the displacements between S, the second body 12盥, the second displacement amount of one of the surface S and the surface of the second body 12, and the second body 12 The amount of displacement, the second amount of displacement and the relative change will be transmitted to the host 7 to relatively control the actions of the cursors 81 and 8Γ. In another embodiment, the first body u includes a first light source 111, a first image sensor 112, and a first processing unit Π3. The first image sensor 112 is configured to capture a plurality of images; the first light source ill is used to provide light required by the first image sensor 112 to capture a shirt image. 3 Based on the above, the first displacement amount between the first body U and the surface 8 is obtained, for example, by using correlation between two images or other means. The first light source 111 can be, for example, a light emitting diode or a laser diode. In one embodiment, the first light source 111 can be an infrared light emitting diode or an infrared light emitting diode. The first image sensor 112 can be, for example, a CCD image sensor or a CMOS image sensor. The first processing unit 113 can be, for example, a digital processor (DSP). In addition, the first body 11 may further include a plurality of lenses or lens groups for adjusting the light emitted by the first light source 111 according to different embodiments; and may further include a 0138I-TW/PR-Tw〇238 u 201032092 filter. An optical filter is used to filter out light outside the optical band of the light emitted by the light source m, and a first transfer wheel interface unit (not shown) is transmitted to the host 7. The second body 12 is configured to move relative to the first body u and/or detect a second displacement between the second body 12 and the surface S. The second displacement amount is transmitted through the first body of the first body u. A wheel interface unit or a second transfer interface unit disposed in the second body 12 is transmitted to the host 7. The second body 12 includes a first light source 121, a second image sensor 122, and a second processing unit τ 123. The second light source 121, the second image sensor 122, and the second processing unit The functions and types of the 123 are the same as those of the first light source 11 and the first image sensor 112 and the first processing unit 113'. In another embodiment, the optical input device 1 can be provided with only one processing unit 14 instead of the first processing unit 113 and the second processing unit 123. However, the structure of the second body 12 is not limited to those disclosed in Figures 4 and 4b. In another embodiment, a motion sensor can be disposed in the second body 12; thereby, when the optical input device 1 enters the multi-touch mode, the motion sensor can be used to detect the second body. The action of 12 determines the relative motion of the second body 12 and the first body 11. In another embodiment, the second image sensor '122 in the second body 12 can be used to measure the distance or relative position between the second image sensor and the first body 11; thereby, when the optical 0138MW/PIX- TW-0238 12 201032092 / After the human device 1 enters the multi-touch mode, the second main body 12 and the first body 11 can be operated. In the present invention, after the optical input device 1 enters the multi-touch mode, by detecting the relative position change or action between the first body 11 and the second body 12 and determining whether it conforms to a preset relationship, For example, press the left button and right button, click on the icon, scroll on the surface, zoom in and out, rotate the object, expand the window and shrink the window, and drag the object to perform the multi-touch function. Next, an embodiment of the function and corresponding operation mode of the optical input device 1 of the present invention will be described. It is to be understood that the various modifications and changes may be made without departing from the spirit and scope of the invention. Enter the instructions in the following instructions. Firstly, in the normal mode, the =1 and the second body 12 are combined and the image display g 8 shows only one cursor; and the second body 12 is assumed to be located on the left side of the first body 11, however These assumptions are not intended to limit the invention. Press the left button and the right button (click on the icon): Please refer to Figure 5a, when a user wants to use the optical input device J to perform the functions of left-click and right-click. The user first separates the first body n and the second body 12 to enter a multi-touch mode. Then, when two cursors 81, 8Γ appear simultaneously on the face of the image display 8, the first body u and the third body 1381-TW/PIX-TW-〇238 13 201032092 two bodies 12 can respectively control a cursor action. At this time, the second body 12 is swayed left and right (the cursor 81 is also swayed left and right), and the host 7 judges that the user is performing the function of pressing the left button while aligning the signal from the optical input device; When the first body 11 (the cursor 81 also swings left and right), it indicates that the user is performing the function of pressing the right button. In addition, when the user performs a function of arranging the left button on a graphic, it indicates that the function of clicking the icon is being executed (icon select) 'At this time, the host 7 performs corresponding according to the selected one of the user. The program or software and update the display of the image display 8. When the user merges the first body n and the first body, 'will return to the normal mode again. Screen scroll: Please refer to Figure 5b. When a user wants to use the optical input device to perform the function of face rolling, the user first makes the first body u and the first The two bodies 12 are separated to enter the multi-touch mode. Then, the user moves the first body η and the second body 12 together with h• up or down or left and right. The host 7 determines that the user is performing the function of scrolling the screen and controls the image display 8 to perform the face update. To display the corresponding face. Zoom in and zoom out (zoom in/z〇〇m 〇ut): Please refer to Figure 5c, when a user wants to use the optical input device 1 to perform the function of zooming in and zooming out the screen. The user first separates the first body 11 and the second body 12 to enter the multi-01381-TW/PIX-TW-0238 14 201032092 2 body ^^-- (iv) the distance is also relatively reduced to the cursor 81 and 81, the close function of the ^ ^ The person is doing the screen pull, although the user increases the distance between the first body u body 12 miso, green ~ first oblique W standard 81 and 81, the distance between Also, the phrase "plus" indicates that the use of the device is performing a long-distance work: 2, in another embodiment, when the (fourth) between the first body U and the second master * is increased, The user is in the process of zooming in on the surface; when the distance between the first body u and the 12 is shortened, it indicates that the user is in the process of pulling away. Once the object rotates (objectrotate): Please refer to the fifth (1), when a user wants to perform the function of rotating the object by using the optical input device i, the user first moves the cursor 81 to the object to be rotated. The first body u and the second body 12 are separated to enter the multi-touch mode. Then, the user rotates the first body 11 and/or the second body clockwise or counterclockwise to rotate the selected one. The window expands/shrinks: as shown in Figure 5e, when a user wants to perform the function of window expansion and window contraction by using the optical input device 1, the user first selects the cursor 81. Moving to the top of the desired window and separating the first body 11 and the second body 12 to enter the multi-touch 01381-TW / PIX^TW-0238 15 201032092 = ° Then, the user can increase the tilt direction In the case where the distance between the first main body (4) and the second main body 12 is 迠 or the distance between the first main body u and the second body is reduced in the oblique direction to perform the window contraction, when the optical input device u is a window :square 2: = when the formula can also be set to increase or decrease the number of: the main or visual * (four) two subjects 12 distance can be performed window expansion ' _ contraction function '1 not - must be changed in a specific direction The distance between the first body and the second body 12, $ object drawing: Please refer to the figure to drag the user's desire (4) optical input device 2 to perform the object to the user first to the cursor 81 Moving to the body 12 and 8 and bringing the first main body U and the second main knife away to enter the multi-touch mode. Then, the user moves the direction of the object to move the first main body simultaneously The second body 12 is configured to perform the operation of dragging the object. The functions and operation modes described are merely exemplary embodiments, and = (4) is used to limit the present invention. The light (four) human device of the present invention can be operated according to different settings. In another embodiment, a mode switch 114 may be additionally disposed under the first body u or the second body, such as when the mode switch 114 is not triggered (the first 3 input device 1 is operated in - General mode; when the mode switch 01381-TW/PIX.tw_ 16? 38 16 201032092 When triggered (Fig. 6b) 'Even if the first main body u and the second main body 12 of the optical input device 1 are not separated, the image display 8 can be controlled to perform a face updating function, for example, an object = Or a function such as scrolling, for example, when the user controls the cursor 81 to an object 利用 by the optical input device 1 in the normal mode and f presses the mode switch 114, if the user moves the learning input to the farm! Then, the object (4) function can be executed; when the user presses the mode switch (1) on the specific object (4) on the cursor 81, if the time shift (four) optical input device is turned on. The mode switch 114 can be a mechanical switch or an electronic switch. As mentioned earlier, the conventional optical mouse cannot perform multiple touches.
Slid?上的限制。因此·’本發明另提出 種先子輸入裝置(如第2及3圖所示),只要根據 兩主體間之相對位置及/或相對動作即可以只利用 本發明之光學輸人裝置執❹重馳魏, c入襄置之運作方法亦可搭配傳統光學‘ 鼠使用’具有較高的實用性。 雖然本發明已以前述實施例揭示, 以限定本料,任何本發日⑽屬技術領域中具^ 常知識者,在不麟本發明之精神和_内, :各,更動與修改。因此本發明之保護範圍;視 後附之申請專利範園所界定者為準。 0138UTW / PIX-TW-0238 17 201032092 - 【圖式簡單說明】 . 第1圖顯示一種習知光學滑鼠及與其相應之一影像 顯示系統之示意圖。 第2圖顯示本發明一實施例之光學輸入裝置及與其 相應之一影像顯示系統之示意圖。 第3圖顯示本發明另一實施例之光學輸入裝置之示 意圖。 第4a圖顯示本發明實施例之光學輸入裝置之示意 ® 圖,其中該光學輸入裝置係處於一般模式。 第4b圖顯示本發明實施例之光學輸入裝置之另一 示意圖,其中該光學輸入裝置係處於多重觸控模式。 第5a圖顯示利用本發明實施例之光學輸入裝置執行 按左鍵及按右鍵功能^示意圖。 第5b圖顯示利用本發明實施例之光學輸入裝置執 行晝面捲動功能之示意圖。 φ 第5c圖顯示利用本發明實施例之光學輸入裝置執行 晝面拉近及晝面拉遠功能之示意圖。 第5d圖顯示利用本發明實施例之光學輸入裝置執 行物件旋轉功能之示意圖。 第5e圖顯示利用本發明實施例之光學輸入裝置執行 視窗擴張及視窗收縮之示意圖。 第5f圖顯示利用本發明實施例之光學輸入裝置執行 物件拖曳之示意圖。 第6a圖顯示本發明另一實施例之光學輸入裝置之示 01381-TW / PIX-TW-0238 18 201032092 ·- 意圖,其中該光學輸入裝置另包含一模式開關。 - 第6b圖顯示第6a圖中之光學輸入裝置之模式開關 被按壓時之示意圖。 【主要元件符號說明】 1 光學輸入裝置 11 第一主體 111 第一光源 112 第一影像感測器 113 第一處理單元 114 模式開關 12、 12'第二主體 121 第二光源 122 第二影像感測器 123 第二處理單元 13 連接件 14 處理單元 6 使用者 7 主機 8 影像顯示器 81 ' 8Γ游標 9 光學滑鼠 91 功能鍵 S 表面 01381 -TWIPIX-TW-023 8 . 19The restrictions on Slid? Therefore, the present invention further proposes a neutron input device (as shown in Figures 2 and 3), which can be used only by the optical input device of the present invention according to the relative position and/or relative motion between the two bodies. Chi Wei, c into the operation of the device can also be used with the traditional optical 'rat use' has a high practicality. Although the present invention has been disclosed in the foregoing embodiments, in order to define the present invention, any one of the present inventions (10) is well-known in the technical field, and is not limited to the spirit and scope of the present invention. Therefore, the scope of protection of the present invention is subject to the definition of the patent application. 0138UTW / PIX-TW-0238 17 201032092 - [Simplified illustration] Figure 1 shows a schematic diagram of a conventional optical mouse and its corresponding image display system. Fig. 2 is a view showing an optical input device and an image display system corresponding thereto according to an embodiment of the present invention. Fig. 3 is a view showing the optical input device of another embodiment of the present invention. Figure 4a shows a schematic ® diagram of an optical input device in accordance with an embodiment of the present invention, wherein the optical input device is in a general mode. Figure 4b shows another schematic view of an optical input device in accordance with an embodiment of the present invention, wherein the optical input device is in a multi-touch mode. Fig. 5a is a diagram showing the operation of pressing the left button and the right button by using the optical input device of the embodiment of the present invention. Fig. 5b is a view showing the operation of performing the face rolling function by the optical input device of the embodiment of the present invention. φ Figure 5c shows a schematic diagram of performing the function of pulling the face and pulling the face away by using the optical input device of the embodiment of the present invention. Fig. 5d is a view showing the operation of rotating the object by the optical input device of the embodiment of the present invention. Fig. 5e is a diagram showing the operation of window expansion and window contraction by the optical input device of the embodiment of the present invention. Fig. 5f is a diagram showing the execution of object dragging using the optical input device of the embodiment of the present invention. Fig. 6a shows an optical input device according to another embodiment of the present invention. 01381-TW / PIX-TW-0238 18 201032092 - Intended, wherein the optical input device further comprises a mode switch. - Figure 6b shows a schematic diagram of the mode switch of the optical input device in Figure 6a when pressed. [Main component symbol description] 1 Optical input device 11 First body 111 First light source 112 First image sensor 113 First processing unit 114 Mode switch 12, 12' Second body 121 Second light source 122 Second image sensing Device 123 Second Processing Unit 13 Connector 14 Processing Unit 6 User 7 Host 8 Image Display 81 ' 8 Γ Cursor 9 Optical Mouse 91 Function Key S Surface 01381 -TWIPIX-TW-023 8 .