201141200 六、發明說明: 【發明所屬之技術領域】 本發明係相關於一種互動式系統,尤指一種可提高影像 處理速度之互動式系統。 【先前技術】 隨著影音多媒體的漸受歡迎,影像數位化已漸漸成為趨 勢。一般說來,安裝在數位攝影機(Digital Video Camcorder)、數位相機(Digital Still Camera)内解析度較高的 影像感測器能產生較高品質的數位影像,所以多半應用在影 像識別、指紋辨識之上;然而安裝在數位攝影機、數位相機 内解析度較低的影像感測器則多半利用在互動式玩具辨識 使用者的簡單動作。例如,目前的市面上推出的機器寵物, 其内建的相機可作為機器寵物的“眼睛”,用以感應使用者的 動作,再由機器寵物的内建控制電路指示機器寵物做出不同 之指令。 請參照第1圖,第1圖係先前技術說明互動式系統10 之功能方塊圖之示意圖。互動式系統10包含一影像感測器 12、一微控制器14以及一並列傳輸匯流排16。影像感測器 201141200 12係包含一互補式金氧半(CMOS)感測陣列22以及一類比數 位轉換器(analog to digital converter, ADC)24。藉由互補气金 氧半感測陣列22感測之資料會傳送至類比數位轉換器24。 由於互補式金氧半感測陣列22可感測用以形成影像的複數 個像素資料,所以當拍攝一動態的連續影像時,互補式金氧 半感測陣列22將連續產生不同影像的像素資料並產生龐大 的像素資料。為了傳輸如此龐A的像素f料,影像感測器η 與微控制器14之間係透過並列傳輸匯流排16傳輸所感測之 像素資料。而微控制器14則會根據上述得到的像素資料, 之影像,或是用以決定物件的狀態,以控制 立動式糸統10之運作。 然而,上述感剛的資料量極為龐大, 傳輪技術的快速發展,因此 串列 輸的逮度已不及串列傳=⑽硬體架構實現的並列傳 ==傳輸介面接收耻述感㈣資料後,仍必須計算分 範圍並Γ:關資料:由於每_種微控制器14的應用 斤制@致’以應用於絲滑氣的微控制ϋ 14來說,微 =4並不需要獲得完整且詳細的影像資料,僅需要二 如衫像物件移動的相對位置即可 而要追 前技術的影像感測器12來產生像二此如果使用者利用先 將所有像素資料都加以:收處:素資料’微控制器14必須 處理上沉重的負擔。 如此將導致微控制器 201141200 再者,現今的影像感測器12僅係將接收的光訊號轉換 成電訊號的一單晶片。因此,在講究系統整合的電路設計趨 勢下,這樣的單晶片影像感測器12實有改進的必要。 【發明内容】 本發明的一實施例提供一種可提高影像處理速度之互 動式系統。該互動式系統包含一處理模組和一控制電路。該 處理模組包含一影像感測器、一估算單元和一傳輸介面。該 影像感測器係用以感測一影像以產生出複數個像素訊號;該 估算單元係用以根據該複數個像素訊號決定構成該影像之 至少一影像物件之靜態參數,該至少一影像物件係一組具有 實質上相同色彩參數的像素訊號;及該傳輸介面係用以串列 傳輸之方式輸出該至少一影像物件之靜態參數。該控制電路 係用以根據該傳輸介面所輸出之該至少一影像物件之靜態 參數以控制該互動式系統之操作。 本發明的另一實施例提供一種可提高影像處理速度之 互動式系統。該互動式系統包含一參考裝置、一處理模組和 一控制電路。該參考裝置係用以發射及/或反射在一特定頻譜 範圍内的光訊號。該處理模組包含一影像感測器、一估算單 元和一傳輸介面。該影像感測器係用以感測該光訊號以產生 201141200 .複數個像素訊號;該估算星_, •決定至少1像物件之靜轉據顧數個像素訊號 傳輸之方式輪出該至少及該傳輸介面係用以串列 係用以根據該傳輪 之靜態參數。該控制電路 參數-制該二:::::該至少-影像物件之靜態 互動式u 種可提高影像處理速度之 範圍内的光訊號;“及/或反射在—特定頻譜 據該複數個像素訊號決定至複數個像素訊號;根 列傳輸之方式輸出該至少—二讀物件之靜態參數;以串 傳輸介面所輸出的該至少―二物件之靜態參數;及根據該 互動式系統之操作。 h物件之靜態參數以控制該 本發明所提供的一種具有參 =考裝置發射及/或反㈣的互動式系統。利用-感測特定頻譜内的光訊號以 的先汛唬’—影像感測器 元判斷是否有符合一預設條=數個像素訊號,-估算單 中的每一物件的靜態參數。因此素汛唬及決定每一晝面 這些複雜的靜態參數,使得’控制電路不需要額外計算 縮短互動式系統的開發時^電路的使用彈性更大,並且 【實施方式】 201141200 °月“’、第2圖帛2圖係為本發明的-實施例說明互動 式系統30的功能方塊圖。互動式系統係為—互動式玩且互動 ㈣·Uve toy)。互動式系統3〇包含一參考裝置4〇、: 理模組44以及-控制電路54,其中處理模組料 曰处 片。參考裝置4〇係為一光源、一反光裝置或光源與反^ 置的^合。參考裝置4G包含―纽器用以對原始光' 波以渡除特定頻譜外的光訊號,因此,參料置40可^ 及/或反射特定頻譜内的光訊號。處理模組Μ包含_ = 測器42、一估算單元4 〜像感 係為-雷^人-彼 # 48。影像感測器42 °T a 7L (charge-coupled device, CCD) ^ 補式金氧半光感測器,心感測光訊 號,然後傳送《個像素職至估算單元45 q像素讯 係用以根據複數個像素訊號決定至少―影像物件之靜Γ參45 數。傳輸介面48係用以串列傳輸之方式輸出至少-㈣物 ^靜齡數。控制電路54係用以根據傳輪介面48所輪出 ^ 一影像物件之靜態參數,控制互動式系統30之摔二 其中⑽感測器42、估算單元45以及傳輸介面4 =在 一基底41之上。 成在 第3圖’第3圖係為說明複數個影像畫面之 、、中每個晝面(picture)包含複數個像素訊號。例如:豐 一個8〇_像素大小的畫面來說,需要,_個像素^ 201141200201141200 VI. Description of the Invention: [Technical Field of the Invention] The present invention relates to an interactive system, and more particularly to an interactive system capable of improving image processing speed. [Prior Art] With the increasing popularity of video and audio multimedia, image digitization has gradually become a trend. In general, image sensors installed in digital video cameras (Digital Video Camcorder) and digital still cameras (Digital Still Camera) can produce higher quality digital images, so most of them are used in image recognition and fingerprint recognition. However, image sensors installed in digital cameras and digital cameras with lower resolution are often used in interactive toys to recognize the user's simple actions. For example, the current machine pet introduced on the market, its built-in camera can be used as the "eye" of the robot pet to sense the user's movements, and then the robot's built-in control circuit instructs the robot pet to make different instructions. . Please refer to FIG. 1. FIG. 1 is a schematic diagram of a functional block diagram of the interactive system 10 of the prior art. The interactive system 10 includes an image sensor 12, a microcontroller 14, and a parallel transmission bus 16. The image sensor 201141200 12 includes a complementary MOS sensing array 22 and an analog to digital converter (ADC) 24. The data sensed by the complementary gas oxy-half sensing array 22 is passed to an analog digital converter 24. Since the complementary MOS semi-sensing array 22 can sense a plurality of pixel data for forming an image, when a dynamic continuous image is captured, the complementary MOS semi-sense array 22 continuously generates pixel data of different images. And generate huge pixel data. In order to transmit such a pixel A, the image sensor η and the microcontroller 14 transmit the sensed pixel data through the parallel transmission bus 16 . The microcontroller 14 controls the operation of the vertical system 10 based on the obtained pixel data, the image, or the state of the object. However, the amount of data in the above sense is extremely large, and the rapid development of the transmission technology, so the catch of the serial transmission is no longer as good as the serial transmission = (10) the parallel implementation of the hardware architecture == transmission interface to receive the sense of shame (4) after the data It is still necessary to calculate the sub-range and Γ: off data: Since each application of the microcontroller 14 is applied to the micro-control of the silky gas, the micro=4 does not need to be complete and detailed. The image data only needs to be like the relative position of the object moving in the shirt, and the image sensor 12 of the previous technology is required to generate the image. If the user uses all the pixel data first, the data is collected: 'The microcontroller 14 has to deal with a heavy burden. This will result in the microcontroller 201141200. Moreover, the current image sensor 12 converts only the received optical signal into a single chip of the electrical signal. Therefore, such a single-wafer image sensor 12 is in need of improvement in the trend of circuit design that emphasizes system integration. SUMMARY OF THE INVENTION An embodiment of the present invention provides an interactive system that can improve image processing speed. The interactive system includes a processing module and a control circuit. The processing module includes an image sensor, an estimating unit and a transmission interface. The image sensor is configured to sense an image to generate a plurality of pixel signals; the estimating unit is configured to determine a static parameter of the at least one image object constituting the image according to the plurality of pixel signals, the at least one image object And a plurality of pixel signals having substantially the same color parameter; and the transmission interface is configured to output the static parameters of the at least one image object in a serial transmission manner. The control circuit is configured to control the operation of the interactive system according to the static parameters of the at least one image object outputted by the transmission interface. Another embodiment of the present invention provides an interactive system that increases image processing speed. The interactive system includes a reference device, a processing module, and a control circuit. The reference device is for transmitting and/or reflecting optical signals within a particular spectral range. The processing module includes an image sensor, an estimation unit, and a transmission interface. The image sensor is configured to sense the optical signal to generate 201141200. The plurality of pixel signals; the estimated star_, • determines that at least one image object is rotated according to a plurality of pixel signal transmission manners to rotate the at least The transmission interface is used to serialize the static parameters according to the pass. The control circuit parameter - the second::::: the at least - the static interaction of the image object, the optical signal within the range of the image processing speed; "and / or reflected in - the specific spectrum according to the plurality of pixels The signal determines a plurality of pixel signals; the root column transmits the static parameters of the at least two-read object; the static parameters of the at least two objects outputted by the serial transmission interface; and the operation according to the interactive system. Static parameters of the object to control an interactive system provided by the present invention with a test device transmitting and/or counter (four). Using - sensing the optical signal in a specific spectrum - an image sensor The element judges whether there is a preset bar = several pixel signals, and - estimates the static parameters of each object in the list. Therefore, it is necessary to determine the complex static parameters of each face, so that the 'control circuit does not need extra When calculating the shortening of the development of the interactive system, the circuit is more flexible in use, and [Embodiment] 201141200 ° month "', Figure 2, Figure 2 is the invention - the embodiment illustrates the interaction Functional block diagram of the system 30. The interactive system is - interactive play and interactive (four) · Uve toy). The interactive system 3 includes a reference device 4, a control module 44, and a control circuit 54, wherein the processing module is sliced. The reference device 4 is a light source, a light reflecting device or a combination of a light source and a backlight. The reference device 4G includes a button for exchanging optical signals outside the specific spectrum for the original light 'waves. Therefore, the reference device 40 can and/or reflect the optical signals in a specific frequency spectrum. The processing module Μ includes _ = detector 42, an estimating unit 4 ~ image sense system - Lei ^ person - Peter # 48. Image sensor 42 °T a 7L (charge-coupled device, CCD) ^ Supplementary gold-oxygen semi-optical sensor, heart-sensing photo-signal, and then transmitted "pixel-to-pixel estimation unit 45 q pixel system for A plurality of pixel signals determine at least the number of static objects of the image object. The transmission interface 48 is used to output at least - (four) objects ^ serial age number in a serial transmission manner. The control circuit 54 is configured to control the interactive system 30 according to the static parameters of the image object that is rotated by the transmission interface 48. The sensor (42) sensor 42, the estimation unit 45, and the transmission interface 4 are in a substrate 41. on. In Fig. 3, Fig. 3 is a view showing a plurality of image frames, and each of the pictures includes a plurality of pixel signals. For example: Feng A picture of 8 〇 _ pixel size, need, _ pixels ^ 201141200
號組合而$。影像感測器42係用以感測來自參考裝置4〇的 光訊號以產生複數個像素訊號。當-個像素訊號被產生後, 像素訊號會被傳送至估算單元45。然後,估算單元45判斷 像素訊號是否符合一預設條件。如果像素訊號符合預設條 件’則根據預設條件將符合此預設條件的像素訊號之相鄰相素 ,為同—物件。紐,估算單元45歧物件的靜態參數,像是座 ^重〜、面積、方向性(orientation)、色彩、邊界、物件端 點數及/或物件長寬比。其中物件的色彩靜態參數包含平均色 彩、位於重心的像素訊號之色彩以及具有最大亮度的像素訊 號之色%。預設條件係為介於一第一預設閥值⑽如灰階值 8〇)和一第二預設閥值(例如灰階值2〇〇)之間的亮度但本發 月並不以此為限。以目標晝面⑽為例,可藉由幾個靜態參 數决疋目私物件1〇〇在目標晝面上的顯示狀態。其中 標物件100的重心係藉由下式決定:Number combination and $. The image sensor 42 is configured to sense an optical signal from the reference device 4 to generate a plurality of pixel signals. When a pixel signal is generated, the pixel signal is transmitted to the estimating unit 45. Then, the estimating unit 45 determines whether the pixel signal conforms to a predetermined condition. If the pixel signal meets the preset condition, the neighboring pixels of the pixel signal that meet the preset condition are the same as the object according to the preset condition. New, estimate unit 45 static parameters of the object, such as seat weight ~, area, orientation, color, boundary, object end points and / or object aspect ratio. The color static parameters of the object include the average color, the color of the pixel signal at the center of gravity, and the color % of the pixel signal with the maximum brightness. The preset condition is a brightness between a first preset threshold (10) such as a grayscale value of 8〇) and a second preset threshold (for example, a grayscale value of 2〇〇), but the current month does not This is limited. Taking the target face (10) as an example, the display state of the private object 1 〇〇 on the target face can be determined by several static parameters. The center of gravity of the object 100 is determined by the following formula:
)= R = {(x,y)-L(x,y)>TH} 這裡 度;ΤΗ::為=素贈的每-像素訊號的強 目標物件1〇〇可視為一 素訊號,因此這組具有實質 具有不同但相近色彩的像素 紐具有實質上相同色彩參數的像 上相同色彩參數的像素訊號包含 訊號’以及相同色彩的像素訊 201141200 號。估算單元45根據具有實質上相同像素訊號之數目和相 對應的座標來決定目標物件1〇〇在目標晝面12〇的靜態參 數,例如面積、邊界以及灰階值。另外,估算單元45亦能 決定目標物件100的物件端點數以及物件長寬比。舉例來 說,假設目標物件1 〇〇係一長方形,則估算單元45將決定 目標物件100的物件端點數為4,以及目標物件1〇〇的長寬 比。換句話說,靜態參數係當目標物件1 00處於靜態顯示時, 可供量測之參數。 在得到目標物件100的相關靜態參數後,估算單元45 會將這些靜態參數傳送至傳輸介面48。傳輸介面48係為一 通用非同步收發器(universal asynchronous receiver/transmitter,UART)介面。相較於同步並列傳輸 (synchronous parallel transmission),非同步串歹丨J (asynchronous serial)傳輸具有體積小,價格低廉及傳輸距離 遠等優點。例如’通用非同步收發器係一種非同步串列/並列 φ 資料轉換器,用來在控制互動式系統30(或一處理器)及與互 動式系統30相連接之串列裝置(serial device)之間傳輸資 料。更明確地說,通用非同步收發器所提供互動式系統30 之功能係相似於諸如RS-232之資料終端設備(data terminal equipment,DTE)所提供之資料交換功能,所以互動式系統3〇 能透過如通用序列匯流排(universal serial bus, USB)與串列 裝置相互交換資料。 10 201141200 除了上述提及之UART(RS232為UART之一種)外,傳 輸介面48也可以是I2C(inter-IC)及USB等。I2C係一種透過 收發雙向傳輸串列資料線(serial data line)及串列時脈線 (serial clock line)傳輸資料之協定。由於I2C及USB轉換串 列資料與並列資料之原理係相似於UART轉換串列資料與 並列資料之原理,所以在此不再贅述。因此,第一傳輸介面 48可為UART介面、I2C (inter_IC)及USB所構成之串列傳輸 •組合中之至少-種介面。 最後’控制電路54在接收到由傳輸介面48傳來之晝面 no的物件座標、面積、方向性(orientation)、色彩、邊界、 物件端點數及/或物件長寬比等靜態參數之後,可利用晝面 110中每一物件之編碼加上配合目標晝面12〇中每一物件靜 態參數’將目標晝面12〇還原。其中物件的色彩靜態參數包 •含平均色彩、位於重心的像素訊號的色彩以及具有最大亮度 的像素訊號的色彩。此外’控制電路54可根據這些靜態參 數作進-步的處理,以控制互動式系統3〇之操作。 相杈於先刚技術’本發明提供-種具有參考裝置40的 互動式系統30。參考裝置4〇係用以發射及/或反射特定頻譜 ㈣光訊號。影像感剛器42係用以感測來自參考裝置40的 光‘虎以產生複數個像素訊號。估算單元45判斷像素訊號 201141200 是否符合-預設條件。如果像素訊號符合預設條件,則根據 預設條件將符合此預設條件的像素訊號的相鄰相素視為同 一物件’以及決定每一晝面中的每一物件的靜態參數。因 此’位於後端之控制電路54不再需要額外去計算這些複雜 的靜態參數,也因此減少控制電路設計的複雜度,使得互動 式系統3〇之控制電路M的使用彈性更大,並且縮短互動式 系統的開發時程。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範 鲁 所做之均㈣化與料m本發明之涵蓋範圍。 【圖式簡單說明】 第 第 圖 圖係先前技術說明互動式系統之功能方塊圖之示 ^圖係為本發明的—實施例說明互動式系統的功能方塊) = R = {(x, y) - L(x, y) >TH} Here; ΤΗ:: = 1 strong target object per pixel signal is considered as a prime signal, therefore The set of pixel signals having substantially the same but similar color pixel pixels having substantially the same color parameter and having the same color parameter include the signal 'and the same color of the pixel signal 201141200. The estimating unit 45 determines the static parameters of the target object 1〇〇 at the target pupil surface 12, such as the area, the boundary, and the grayscale value, based on the number of substantially identical pixel signals and the corresponding coordinates. In addition, the estimating unit 45 can also determine the number of object end points of the target object 100 and the aspect ratio of the object. For example, assuming that the target object 1 is a rectangle, the estimating unit 45 will determine the number of object endpoints of the target object 100 to be 4, and the aspect ratio of the target object 1〇〇. In other words, the static parameter is a parameter that can be measured when the target object 100 is in a static display. After the relevant static parameters of the target object 100 are obtained, the estimation unit 45 transmits these static parameters to the transmission interface 48. The transmission interface 48 is a universal asynchronous receiver/transmitter (UART) interface. Compared to synchronous parallel transmission, asynchronous serial (J) (asynchronous serial) transmission has the advantages of small size, low price and long transmission distance. For example, a 'general asynchronous transceiver is a non-synchronous serial/parallel φ data converter for controlling an interactive system 30 (or a processor) and a serial device connected to the interactive system 30. Transfer data between. More specifically, the function of the interactive system 30 provided by the universal asynchronous transceiver is similar to that of the data terminal equipment (DTE) such as RS-232, so the interactive system 3 can Data is exchanged with the serial device through, for example, a universal serial bus (USB). 10 201141200 In addition to the UART mentioned above (RS232 is a type of UART), the transmission interface 48 can also be I2C (inter-IC) and USB. I2C is a protocol for transmitting data by transmitting and receiving bidirectional transmission serial data lines and serial clock lines. Since the principle of I2C and USB conversion serial data and parallel data is similar to the principle of UART conversion serial data and parallel data, it will not be described here. Therefore, the first transmission interface 48 can be at least one interface of the serial transmission/combination of the UART interface, I2C (inter_IC) and USB. Finally, after the control circuit 54 receives the static parameters such as object coordinates, area, orientation, color, boundary, number of object endpoints, and/or object aspect ratio transmitted by the transmission interface 48, The target facet 12〇 can be restored by using the code of each object in the facet 110 plus the static parameter of each object in the target facet 12〇. The color static parameter package of the object • contains the average color, the color of the pixel signal at the center of gravity, and the color of the pixel signal with the maximum brightness. In addition, the control circuit 54 can perform further processing based on these static parameters to control the operation of the interactive system. In contrast to the prior art, the present invention provides an interactive system 30 having a reference device 40. The reference device 4 is used to transmit and/or reflect a specific frequency spectrum (4) optical signal. The image sensor 42 is used to sense the light from the reference device 40 to generate a plurality of pixel signals. The estimating unit 45 determines whether the pixel signal 201141200 meets the -preset condition. If the pixel signal meets the preset condition, the adjacent pixels of the pixel signal that meet the preset condition are regarded as the same object' according to the preset condition and the static parameter of each object in each face is determined. Therefore, the control circuit 54 located at the back end no longer needs to calculate these complicated static parameters, and thus reduces the complexity of the control circuit design, so that the control system M of the interactive system 3 is more flexible and shortens the interaction. The development time of the system. The above description is only the preferred embodiment of the present invention, and the scope of the present invention is the same as that of the invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a functional block diagram of an interactive system of the prior art. The figure is a functional block of the interactive system described in the present invention.
第3圖係為說明複數個影像晝面之示意圖。 【主要元件符號說明】 互動式系統 微控制器 並列傳輸匯流排 12 201141200 22 互補式金氧半感測陣列 24 類比數位轉換器 40 參考裝置 41 基底 12'42 影像感測器 44 處理模組 45 估算單元 48 傳輸介面 54 控制電路 100 目標物件 110 晝面 120 目標晝面Figure 3 is a schematic diagram illustrating a plurality of image planes. [Main component symbol description] Interactive system microcontroller parallel transmission bus 12 201141200 22 Complementary MOS semi-sensing array 24 analog-to-digital converter 40 Reference device 41 Substrate 12'42 Image sensor 44 Processing module 45 Estimation Unit 48 Transmission Interface 54 Control Circuit 100 Target Object 110 Face 120 Target Face
1313