[go: up one dir, main page]

TWI848829B - Image processing device and method having motion detection mechanism - Google Patents

Image processing device and method having motion detection mechanism Download PDF

Info

Publication number
TWI848829B
TWI848829B TW112138129A TW112138129A TWI848829B TW I848829 B TWI848829 B TW I848829B TW 112138129 A TW112138129 A TW 112138129A TW 112138129 A TW112138129 A TW 112138129A TW I848829 B TWI848829 B TW I848829B
Authority
TW
Taiwan
Prior art keywords
data
motion sensing
image processing
image
parameter
Prior art date
Application number
TW112138129A
Other languages
Chinese (zh)
Other versions
TW202516466A (en
Inventor
陳福政
Original Assignee
大陸商星宸科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商星宸科技股份有限公司 filed Critical 大陸商星宸科技股份有限公司
Priority to TW112138129A priority Critical patent/TWI848829B/en
Application granted granted Critical
Publication of TWI848829B publication Critical patent/TWI848829B/en
Publication of TW202516466A publication Critical patent/TW202516466A/en

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

An image processing device includes a memory, an image generator, and a motion detection circuit. The image generator generates first data according to input image data and stores the first data to the memory. The motion detection circuit detects whether there is a motion detection event in the input image data. Before the motion detection circuit detects the presence of the motion detection event, the image generator stores the first data in a first period, and after the motion detection circuit detects the presence of the motion detection event, the image generator stores the first data in a second period, and the first period is longer than the second period.

Description

具有動作感測機制的圖像處理裝置與方法 Image processing device and method with motion sensing mechanism

本案是關於圖像處理裝置,尤其是可具有動作感測機制的圖像處理裝置與方法。 This case is about an image processing device, and in particular, an image processing device and method having a motion sensing mechanism.

一般而言,行車記錄器是使用具有較高效能的影像擷取晶片(操作為主控端裝置)來進行影像拍攝。當車輛停放好後,行車記錄器會進入駐車模式來進行監控。然而,在現有技術中,操作於駐車模式的行車記錄器仍是使用該影像擷取晶片來進行拍攝,造成較高的功率消耗,而不符合停車時的長時間拍攝需求。 Generally speaking, dashcams use a high-performance image capture chip (operating as a host device) to capture images. When the vehicle is parked, the dashcam will enter the stationary mode for monitoring. However, in the prior art, dashcams operating in the stationary mode still use the image capture chip to capture images, resulting in higher power consumption and not meeting the need for long-term shooting when the vehicle is parked.

於一些實施態樣中,本案的目的之一在於提供一種具有動作感測機制的圖像處理裝置與方法,其可以不同週期來產生圖像資料來降低功率消耗,以改善先前技術之不足。 In some implementations, one of the purposes of this case is to provide an image processing device and method with a motion sensing mechanism, which can generate image data in different cycles to reduce power consumption and improve the shortcomings of the previous technology.

於一些實施態樣中,圖像處理裝置包含記憶體、圖像產生器以及動作感測電路。圖像產生器根據一輸入圖像資料產生一第一資料,並儲存該第一資料到該記憶體。動作感測電路偵測該輸入圖像資料是否存在一動作感測事件。在該動作感測電路偵測到該動作感測事件存在之前,該圖像產生器以一第一週期儲存該第一資料,在該動作感測電路偵測到該動作感測事件存在之後,該圖像產生器以一第二週期儲存該第一資料,且該第一週期大於該第二週期。 In some embodiments, the image processing device includes a memory, an image generator, and a motion sensing circuit. The image generator generates a first data according to an input image data, and stores the first data in the memory. The motion sensing circuit detects whether there is a motion sensing event in the input image data. Before the motion sensing circuit detects the existence of the motion sensing event, the image generator stores the first data in a first cycle, and after the motion sensing circuit detects the existence of the motion sensing event, the image generator stores the first data in a second cycle, and the first cycle is greater than the second cycle.

於一些實施態樣中,圖像處理方法包含下列操作:根據一輸入圖像資料產生一第一資料;偵測該輸入圖像資料是否存在一動作感測事件;在偵測到該動作感測事件存在之前,以一第一週期儲存該第一資料到一記憶體;以及在偵測到該動作感測事件存在之後,以一第二週期儲存該第一資料到該記憶體,其中該第一週期大於該第二週期。 In some implementations, the image processing method includes the following operations: generating a first data according to an input image data; detecting whether a motion sensing event exists in the input image data; storing the first data in a memory for a first period before detecting the existence of the motion sensing event; and storing the first data in the memory for a second period after detecting the existence of the motion sensing event, wherein the first period is greater than the second period.

有關本案的特徵、實作與功效,茲配合圖式作較佳實施例詳細說明如下。 The features, implementation and effects of this case are described in detail below with reference to the diagrams for a preferred embodiment.

0~3:連接埠 0~3: Port

100:圖像處理裝置 100: Image processing device

101:圖像感測器 101: Image sensor

110:輸入介面電路 110: Input interface circuit

115:自動曝光電路 115: Automatic exposure circuit

120:圖像產生器 120: Image generator

121:圖幀壓縮電路 121: Frame compression circuit

122:圖像處理電路 122: Image processing circuit

123:圖像編碼電路 123: Image encoding circuit

124,140,141:多工器 124,140,141:Multiplexer

130:動作感測電路 130: Motion sensing circuit

150:記憶體 150:Memory

151~154:儲存空間 151~154: Storage space

160:圖幀解壓縮電路 160: Frame decompression circuit

165:介面電路 165:Interface circuit

170:控制器 170: Controller

400:影像擷取晶片 400: Image capture chip

410:網路裝置 410: Network device

500:圖像處理方法 500: Image processing method

D1,D11,D12,D2,D3,D4:資料 D1,D11,D12,D2,D3,D4: Data

DIN1,DIN2:輸入圖像資料 DIN1, DIN2: Input image data

MT,MTH,ST,STH:參數 MT,MTH,ST,STH:Parameters

P1,P2:週期 P1, P2: period

S201~S207,S510,S520,S530,S540:操作 S201~S207,S510,S520,S530,S540: Operation

SD:影像串流 SD: Video streaming

T1,T2:時間 T1,T2: time

〔圖1〕為根據本案一些實施例繪製一種圖像處理裝置的示意圖;〔圖2〕為根據本案一些實施例繪製圖1的圖像處理裝置的操作流程圖;〔圖3〕為根據本案一些實施例繪製圖1中的資料、動作感測電路所處理的資料以及輸入圖像資料的示意圖; 〔圖4〕為根據本案一些實施例繪製圖1的圖像處理裝置的一種應用例的示意圖;以及〔圖5〕為根據本案一些實施例繪製一種圖像處理方法的流程圖。 [Figure 1] is a schematic diagram of an image processing device according to some embodiments of the present invention; [Figure 2] is an operation flow chart of the image processing device of Figure 1 according to some embodiments of the present invention; [Figure 3] is a schematic diagram of the data in Figure 1, the data processed by the motion sensing circuit, and the input image data according to some embodiments of the present invention; [Figure 4] is a schematic diagram of an application example of the image processing device of Figure 1 according to some embodiments of the present invention; and [Figure 5] is a flow chart of an image processing method according to some embodiments of the present invention.

本文所使用的所有詞彙具有其通常的意涵。上述之詞彙在普遍常用之字典中之定義,在本案的內容中包含任一於此討論的詞彙之使用例子僅為示例,不應限制到本案之範圍與意涵。同樣地,本案亦不僅以於此說明書所示出的各種實施例為限。 All terms used in this article have their usual meanings. The definitions of the above terms in commonly used dictionaries and the use examples of any term discussed herein in the content of this case are only examples and should not limit the scope and meaning of this case. Similarly, this case is not limited to the various embodiments shown in this specification.

關於本文中所使用之『耦接』或『連接』,均可指二或多個元件相互直接作實體或電性接觸,或是相互間接作實體或電性接觸,亦可指二或多個元件相互操作或動作。如本文所用,用語『電路』可為由至少一個電晶體與/或至少一個主被動元件按一定方式連接以處理訊號的裝置。 As used herein, "coupling" or "connection" may refer to two or more components making physical or electrical contact directly or indirectly, or two or more components operating or acting on each other. As used herein, the term "circuit" may refer to a device that is composed of at least one transistor and/or at least one active and passive component connected in a certain manner to process signals.

圖1為根據本案一些實施例繪製一種圖像處理裝置100的示意圖。圖像處理裝置100可從圖像感測器101接收輸入圖像資料DIN1,並可根據輸入圖像資料DIN1產生具有不同格式的多個圖像資料。 FIG1 is a schematic diagram of an image processing device 100 according to some embodiments of the present invention. The image processing device 100 can receive input image data DIN1 from an image sensor 101, and can generate a plurality of image data with different formats according to the input image data DIN1.

圖像處理裝置100包含輸入介面電路110、自動曝光電路115、圖像產生器120、動作感測(motion detection)電路130、多工器140、多工器141、記憶體150、圖幀解壓縮電路160、介面電路165以及控制器170。輸入介面電路110可自圖像感測器101接收輸入圖像資料DIN1,並傳輸輸入圖像資料DIN1到自動曝光電路115。在一些實施例中,輸入介面電路110可為,但不限於,數位視訊連接埠(digital video port)電路。自動曝光電路115可依據輸入圖像資料 DIN1產生控制圖像感測器101的曝光參數,並產生輸入圖像資料DIN2。在一些實施例中,輸入圖像資料DIN2相當於原始(raw)圖像資料。 The image processing device 100 includes an input interface circuit 110, an automatic exposure circuit 115, an image generator 120, a motion detection circuit 130, a multiplexer 140, a multiplexer 141, a memory 150, a frame decompression circuit 160, an interface circuit 165, and a controller 170. The input interface circuit 110 can receive input image data DIN1 from the image sensor 101, and transmit the input image data DIN1 to the automatic exposure circuit 115. In some embodiments, the input interface circuit 110 can be, but is not limited to, a digital video port circuit. The automatic exposure circuit 115 can generate exposure parameters for controlling the image sensor 101 according to the input image data DIN1, and generate input image data DIN2. In some embodiments, the input image data DIN2 is equivalent to the raw image data.

圖像產生器120可根據輸入圖像資料DIN2產生資料D1,並經由連接埠0儲存資料D1到記憶體150的儲存空間151。在一些實施例中,圖像產生器120可包含圖幀壓縮(frame buffer compress)電路121、圖像處理電路122、圖像編碼電路123以及多工器124。圖幀壓縮電路121可根據輸入圖像資料DIN2產生資料D11。例如,輸入圖像資料DIN2中的每一個像素資料為8位元資料。圖幀壓縮電路121可壓縮輸入圖像資料DIN2,使得每一個像素資料降低為6位元資料,從而產生資料D11。在一些實施例中,資料D11可為壓縮後的原始圖像資料。 The image generator 120 may generate data D1 according to the input image data DIN2, and store the data D1 in the storage space 151 of the memory 150 via the connection port 0. In some embodiments, the image generator 120 may include a frame buffer compression circuit 121, an image processing circuit 122, an image encoding circuit 123, and a multiplexer 124. The frame compression circuit 121 may generate data D11 according to the input image data DIN2. For example, each pixel data in the input image data DIN2 is 8-bit data. The frame compression circuit 121 may compress the input image data DIN2 so that each pixel data is reduced to 6-bit data, thereby generating data D11. In some embodiments, data D11 may be compressed original image data.

圖像處理電路122可根據輸入圖像資料DIN2產生資料D2,並經由連接埠1將資料D2儲存至記憶體150的儲存空間152。在一些實施例中,圖像處理電路122可對輸入圖像資料DIN2進行圖像處理,例如包含但不限於,自動白平衡、圖像格式轉換(例如轉換為YUV格式)等等,以產生資料D2。圖像編碼電路123可自儲存空間152讀出資料D2,從而根據資料D2產生資料D12。例如,圖像編碼電路123可利用圖像編碼技術來編碼資料D2以產生資料D12。在一些實施例中,資料D12可為聯合圖像專家小組(Joint Photographic Experts Group,JPEG)圖像檔案。在一些實施例中,資料D11的資料量(或資料尺寸)大於資料D12的資料量(或資料尺寸)。例如,資料D11可為原始圖像資料,而資料D12可為JPEG圖像檔案,且上述兩者可對應於同一個圖幀的完整內容。 The image processing circuit 122 may generate data D2 according to the input image data DIN2, and store the data D2 in the storage space 152 of the memory 150 via the connection port 1. In some embodiments, the image processing circuit 122 may perform image processing on the input image data DIN2, such as, but not limited to, automatic white balance, image format conversion (such as conversion to YUV format), etc., to generate data D2. The image encoding circuit 123 may read the data D2 from the storage space 152, thereby generating data D12 according to the data D2. For example, the image encoding circuit 123 may use image encoding technology to encode the data D2 to generate data D12. In some embodiments, data D12 may be a Joint Photographic Experts Group (JPEG) image file. In some embodiments, the data volume (or data size) of data D11 is greater than the data volume (or data size) of data D12. For example, data D11 may be original image data, and data D12 may be a JPEG image file, and the two may correspond to the complete content of the same frame.

多工器124可接收資料D11與/或資料D12,並根據控制器170的配置而將資料D11與資料D12中的一者輸出為資料D1,從而經由連接埠0將資料 D1儲存到儲存空間151。在一些實施例中,控制器170可選擇性地致能圖幀壓縮電路121與圖像處理電路122中的一者,以選擇性地產生資料D11或資料D12。如此,未被致能的電路可不用進行相關運作,從而節省更多功率消耗。 The multiplexer 124 can receive data D11 and/or data D12, and output one of the data D11 and data D12 as data D1 according to the configuration of the controller 170, thereby storing the data D1 in the storage space 151 via the connection port 0. In some embodiments, the controller 170 can selectively enable one of the frame compression circuit 121 and the image processing circuit 122 to selectively generate data D11 or data D12. In this way, the circuit that is not enabled does not need to perform related operations, thereby saving more power consumption.

多工器140可基於控制器170的配置而將資料D2或是輸入圖像資料DIN2傳輸給動作感測電路130,使得動作感測電路130可根據所收到的資料來偵測輸入圖像資料DIN2是否存在動作感測事件。例如,動作感測電路130可分析所收到的資料中的連續兩個圖幀是否存在明顯的像素差異或是物體輪廓來判斷輸入圖像資料DIN2是否存在動作感測事件。若偵測到動作感測事件存在,動作感測電路130可發出中斷訊號(未示出)給控制器170,以通知控制器170偵測到動作感測事件存在。動作感測電路130可經由連接埠2將分析後的資料與/或相關的暫存資料儲存到記憶體150的儲存空間153。上述關於偵測動作感測事件的操作方式僅用於示例,且本案並不以此為限。 The multiplexer 140 can transmit the data D2 or the input image data DIN2 to the motion sensing circuit 130 based on the configuration of the controller 170, so that the motion sensing circuit 130 can detect whether the input image data DIN2 has a motion sensing event according to the received data. For example, the motion sensing circuit 130 can analyze whether there is an obvious pixel difference or an object outline between two consecutive frames in the received data to determine whether the input image data DIN2 has a motion sensing event. If the presence of a motion sensing event is detected, the motion sensing circuit 130 can send an interrupt signal (not shown) to the controller 170 to notify the controller 170 that the presence of a motion sensing event is detected. The motion sensing circuit 130 can store the analyzed data and/or related temporary data to the storage space 153 of the memory 150 via the connection port 2. The above operation method for detecting motion sensing events is only for example, and the present case is not limited thereto.

控制器170可控制記憶體150從儲存空間151輸出資料D1。詳細而言,控制器170可用來控制與/或配置圖像處理裝置100中的多個電路的操作。在一些實施例中,控制器170可包含多個暫存器(未示出),其可用來配置前述多個電路。例如,控制器170可設定該些暫存器中的第一暫存器的參數,使得圖像產生器120根據該第一暫存器中的參數選擇致能圖幀壓縮電路121或圖像處理電路122,並控制多工器124將資料D11或資料D12輸出為資料D1。類似地,控制器170可設定該些暫存器中的第二暫存器中的參數,使得多工器140可根據該第二暫存器中的參數將資料D2或輸入圖像資料DIN2中的一者傳給動作感測電路130。在一些實施例中,控制器170可將用來配置其他電路的操作之相關參數經由連接埠3暫存於記憶體150的儲存空間154。藉由上述設置方式,上述多個電路 可基於控制器170的配置來進行協同運作,並共用同一記憶體150。在一些實施例中,多個連接埠0~3可為,但不限於,內部記憶體介面(internal memory interface)中的連接埠。在一些實施例中,記憶體150可為,但不限於,靜態隨機存取記憶體。在一些實施例中,控制器170可為執行一特定流程或軟體的微處理器與/或微控制器,例如可為,但不限於,8051單晶片微控制器。 The controller 170 can control the memory 150 to output the data D1 from the storage space 151. In detail, the controller 170 can be used to control and/or configure the operation of multiple circuits in the image processing device 100. In some embodiments, the controller 170 can include multiple registers (not shown), which can be used to configure the aforementioned multiple circuits. For example, the controller 170 can set the parameters of the first register among the registers, so that the image generator 120 selects to enable the frame compression circuit 121 or the image processing circuit 122 according to the parameters in the first register, and controls the multiplexer 124 to output the data D11 or the data D12 as the data D1. Similarly, the controller 170 can set the parameters in the second register of the registers, so that the multiplexer 140 can transmit one of the data D2 or the input image data DIN2 to the motion sensing circuit 130 according to the parameters in the second register. In some embodiments, the controller 170 can temporarily store the relevant parameters used to configure the operation of other circuits in the storage space 154 of the memory 150 via the connection port 3. Through the above setting method, the above multiple circuits can be coordinated based on the configuration of the controller 170 and share the same memory 150. In some embodiments, the multiple connection ports 0~3 can be, but are not limited to, connection ports in the internal memory interface. In some embodiments, the memory 150 may be, but is not limited to, a static random access memory. In some embodiments, the controller 170 may be a microprocessor and/or microcontroller that executes a specific process or software, such as, but not limited to, an 8051 single-chip microcontroller.

圖幀解壓縮電路160可自儲存空間151讀出資料D1,並根據資料D1產生資料D3。在前述的例子中,資料D1中的每一個像素資料為6位元資料。圖幀解壓縮電路160可還原該些像素資料中的每一者為8位元資料,以產生資料D3。基於控制器170的控制,多工器141可自記憶體150讀出其他資料,並將此資料或是資料D3輸出為資料D4。介面電路165可自多工器141接收資料D4,並傳輸資料D4給至少一主控端裝置(例如可為,但不限於,圖4中的影像擷取晶片400與/或網路裝置410),以進行後續的圖像應用。在一些實施例中,介面電路165可為,但不限於,序列周邊介面(Serial Peripheral Interface)從式(salve)控制器。 The frame decompression circuit 160 can read the data D1 from the storage space 151 and generate data D3 according to the data D1. In the above example, each pixel data in the data D1 is 6-bit data. The frame decompression circuit 160 can restore each of the pixel data to 8-bit data to generate data D3. Based on the control of the controller 170, the multiplexer 141 can read other data from the memory 150 and output the data or the data D3 as data D4. The interface circuit 165 can receive data D4 from the multiplexer 141 and transmit the data D4 to at least one host device (such as, but not limited to, the image capture chip 400 and/or the network device 410 in FIG. 4 ) for subsequent image applications. In some embodiments, the interface circuit 165 can be, but not limited to, a Serial Peripheral Interface slave controller.

應當理解,圖1的圖像處理裝置100的設置方式僅用於示例,且本案並不以此為限。在實際應用中,圖像處理裝置100可更包含積體電路間(Inter-Integrated Circuit,I2C)匯流排主/從(master/slave)控制器、紅外線控制器、定時器、時脈產生器等等。在一些實施例中,圖1中所提及的多個電路可由具有圖像處理或資料轉換能力的至少一數位電路實施。 It should be understood that the configuration of the image processing device 100 in FIG. 1 is for example only and the present invention is not limited thereto. In practical applications, the image processing device 100 may further include an Inter-Integrated Circuit (I2C) bus master/slave controller, an infrared controller, a timer, a clock generator, etc. In some embodiments, the multiple circuits mentioned in FIG. 1 may be implemented by at least one digital circuit having image processing or data conversion capabilities.

在一些實施例中,前述的多個暫存器更可儲存參數ST、參數STH、參數MT以及參數MTH。控制器170可根據前述的至少一主控端裝置的要求來設定上述多個參數。在一些實施例中,控制器170可根據參數ST及參數STH 控制圖像產生器120在動作感測電路130偵測到動作感測事件存在之前以第一週期儲存資料D1,並可根據參數MT及參數MTH控制圖像產生器120在動作感測電路130偵測到動作感測事件存在之後以第二週期儲存資料D1,其中第一週期大於第二週期。換句話說,在動作感測電路130偵測到動作感測事件存在之前,圖像產生器120會以較久的時間間距(例如為圖3的週期P1)來擷取輸入圖像資料DIN2的內容,並將擷取到的資料儲存為資料D1。相對地,在動作感測電路130偵測到動作感測事件存在之後,圖像產生器120改為以較短的時間間距(例如為圖3的週期P2)來擷取輸入圖像資料DIN2的內容,並將擷取到的資料儲存為資料D1。關於此處操作的將於後參照圖3說明。在一些實施例中,參數ST可設定前述的第一週期,而參數MT可設定前述的第二週期。例如,前述的第一週期與第二週期可以用圖幀個數來定義。若參數ST設定為5,代表在動作感測電路130偵測到動作感測事件存在之前,圖像產生器120會在每5張圖幀擷取一張圖幀,以產生資料D1。類似地,若參數MT設定為1,代表在動作感測電路130偵測到動作感測事件存在之後,圖像產生器120會擷取每張圖幀,以產生資料D1。上述關於參數ST與參數MT的數值僅用於示例,且本案並不以此為限。在一些實施例中,參數ST與參數MT中每一者的數值可為,但不限於,大於或等於0的整數。 In some embodiments, the aforementioned multiple registers can further store parameter ST, parameter STH, parameter MT and parameter MTH. The controller 170 can set the aforementioned multiple parameters according to the requirements of at least one of the aforementioned master control devices. In some embodiments, the controller 170 can control the image generator 120 to store data D1 in a first cycle before the motion sensing circuit 130 detects the existence of the motion sensing event according to the parameters ST and STH, and can control the image generator 120 to store data D1 in a second cycle after the motion sensing circuit 130 detects the existence of the motion sensing event according to the parameters MT and MTH, wherein the first cycle is greater than the second cycle. In other words, before the motion sensing circuit 130 detects the existence of the motion sensing event, the image generator 120 captures the content of the input image data DIN2 at a longer time interval (e.g., the period P1 in FIG. 3 ), and stores the captured data as data D1. In contrast, after the motion sensing circuit 130 detects the existence of the motion sensing event, the image generator 120 changes to capture the content of the input image data DIN2 at a shorter time interval (e.g., the period P2 in FIG. 3 ), and stores the captured data as data D1. The operation here will be described later with reference to FIG. 3 . In some embodiments, parameter ST can set the aforementioned first cycle, and parameter MT can set the aforementioned second cycle. For example, the aforementioned first cycle and second cycle can be defined by the number of frames. If parameter ST is set to 5, it means that before the motion sensing circuit 130 detects the existence of a motion sensing event, the image generator 120 will capture one frame in every 5 frames to generate data D1. Similarly, if parameter MT is set to 1, it means that after the motion sensing circuit 130 detects the existence of a motion sensing event, the image generator 120 will capture each frame to generate data D1. The above values of parameter ST and parameter MT are for example only, and the present case is not limited to this. In some embodiments, the value of each of the parameters ST and MT may be, but is not limited to, an integer greater than or equal to 0.

在一些實施例中,若參數ST所定義的第一週期大於或等於一預設值,控制器170可在動作感測電路130偵測到動作感測事件存在之前操作於省電模式。換言之,若前述的第一週期足夠長,控制器170可在偵測到動作感測事件存在之前的期間內操作於省電模式,並根據參數ST所定義的圖幀個數來被喚醒,從而執行相應的操作。如此,可更進一步節省整體功率消耗。 In some embodiments, if the first cycle defined by the parameter ST is greater than or equal to a preset value, the controller 170 may operate in a power saving mode before the motion sensing circuit 130 detects the presence of a motion sensing event. In other words, if the aforementioned first cycle is long enough, the controller 170 may operate in a power saving mode during the period before the presence of a motion sensing event is detected, and be awakened according to the number of frames defined by the parameter ST, thereby performing corresponding operations. In this way, the overall power consumption can be further saved.

在一些實施例中,參數STH可設定資料D1在動作感測電路130偵測到動作感測事件存在之前的一最大圖幀個數,且參數MTH可設定資料D1在動作感測電路130偵測到動作感測事件存在之後的一最大圖幀個數。換句話說,參數STH代表儲存空間151在偵測到動作感測事件存在之前所能儲存的圖幀個數的上限值,而參數MTH代表儲存空間151在偵測到動作感測事件存在之後所能儲存的圖幀張數的上限值。若在偵測到動作感測事件存在之前,資料D1中的圖幀個數相同於參數STH所定義的最大圖幀個數,控制器170可控制記憶體150將目前所儲存的資料D1傳給至少一主控端裝置。類似地,若在偵測到動作感測事件存在之後,資料D1中的圖幀個數相同於參數MTH所定義的最大圖幀個數時,控制器170可控制記憶體150來將目前所儲存的資料D1傳給至少一主控端裝置。在一些實施例中,參數STH與參數MTH中每一者的數值可為,但不限於,大於或等於1的整數。 In some embodiments, the parameter STH can set a maximum number of frames of the data D1 before the motion sensing circuit 130 detects the existence of a motion sensing event, and the parameter MTH can set a maximum number of frames of the data D1 after the motion sensing circuit 130 detects the existence of a motion sensing event. In other words, the parameter STH represents the upper limit of the number of frames that the storage space 151 can store before the existence of a motion sensing event is detected, and the parameter MTH represents the upper limit of the number of frames that the storage space 151 can store after the existence of a motion sensing event is detected. If the number of frames in the data D1 is equal to the maximum number of frames defined by the parameter STH before the motion sensing event is detected, the controller 170 can control the memory 150 to transmit the currently stored data D1 to at least one host device. Similarly, if the number of frames in the data D1 is equal to the maximum number of frames defined by the parameter MTH after the motion sensing event is detected, the controller 170 can control the memory 150 to transmit the currently stored data D1 to at least one host device. In some embodiments, the value of each of the parameters STH and MTH can be, but is not limited to, an integer greater than or equal to 1.

在上述的例子中,多個參數ST、MT、STH與MTH是儲存於控制器170的暫存器,但本案並不以此為限。在不同實施例中,上述多個參數ST、MT、STH與MTH亦可儲存於圖像產生器120中的其他電路內的暫存器。 In the above example, the multiple parameters ST, MT, STH and MTH are stored in the register of the controller 170, but the present invention is not limited to this. In different embodiments, the multiple parameters ST, MT, STH and MTH can also be stored in the register of other circuits in the image generator 120.

圖2為根據本案一些實施例繪製圖1的圖像處理裝置100的操作流程圖。在操作S201,根據主控端裝置的要求,控制器170配置多個參數ST、MT、STH與MTH。在操作S202,響應於對應於輸入圖像資料DIN2的中斷訊號,控制器170決定致能圖幀壓縮電路121或圖像處理電路122。 FIG. 2 is an operation flow chart of the image processing device 100 of FIG. 1 according to some embodiments of the present invention. In operation S201, the controller 170 configures multiple parameters ST, MT, STH and MTH according to the requirements of the host device. In operation S202, in response to the interrupt signal corresponding to the input image data DIN2, the controller 170 determines to enable the frame compression circuit 121 or the image processing circuit 122.

例如,輸入圖像資料DIN1可包含多個圖幀,且輸入介面電路110、自動曝光電路115、圖像產生器120、動作感測電路130等電路是逐幀進行圖像處理。在傳輸完輸入圖像資料DIN1中的一個圖幀後,輸入介面電路110可 發出對應於該圖幀的一中斷訊號(未示出)來觸發控制器170,使得控制器170可在圖幀之間的空白期間內決定要致能圖幀壓縮電路121或圖像處理電路122。若控制器170致能圖幀壓縮電路121,控制器170可禁能圖像處理電路122與圖像編碼電路123以節省功率消耗,且動作感測電路130仍可根據輸入圖像資料DIN2偵測動作感測事件。或者,若控制器170致能圖像處理電路122,控制器170可禁能圖幀壓縮電路121以節省功率消耗,且動作感測電路130可根據資料D2或輸入圖像資料DIN2偵測動作感測事件。 For example, the input image data DIN1 may include multiple frames, and the input interface circuit 110, the automatic exposure circuit 115, the image generator 120, the motion sensing circuit 130 and other circuits perform image processing frame by frame. After transmitting a frame in the input image data DIN1, the input interface circuit 110 may send an interrupt signal (not shown) corresponding to the frame to trigger the controller 170, so that the controller 170 may decide to enable the frame compression circuit 121 or the image processing circuit 122 during the blank period between the frames. If the controller 170 enables the frame compression circuit 121, the controller 170 can disable the image processing circuit 122 and the image encoding circuit 123 to save power consumption, and the motion sensing circuit 130 can still detect the motion sensing event according to the input image data DIN2. Alternatively, if the controller 170 enables the image processing circuit 122, the controller 170 can disable the frame compression circuit 121 to save power consumption, and the motion sensing circuit 130 can detect the motion sensing event according to the data D2 or the input image data DIN2.

在操作S203,動作感測電路130根據輸入圖像資料DIN2偵測動作感測事件是否存在。在操作S204,在動作感測電路130偵測到動作感測事件存在之前,圖像產生器120根據參數ST以第一週期儲存資料D1。在操作S205,在動作感測電路130偵測到動作感測事件存在之前,若資料D1中的圖幀個數相同於參數STH所定義的最大圖幀個數,控制器170控制記憶體150傳輸資料D1給主控端裝置。 In operation S203, the motion sensing circuit 130 detects whether a motion sensing event exists according to the input image data DIN2. In operation S204, before the motion sensing circuit 130 detects the existence of a motion sensing event, the image generator 120 stores the data D1 in the first cycle according to the parameter ST. In operation S205, before the motion sensing circuit 130 detects the existence of a motion sensing event, if the number of frames in the data D1 is the same as the maximum number of frames defined by the parameter STH, the controller 170 controls the memory 150 to transmit the data D1 to the host device.

如前所述,當動作感測電路130偵測到動作感測事件存在時,動作感測電路130會發出一中斷訊號通知控制器170。在未收到此中斷訊號前,代表動作感測電路130尚未偵測到動作感測事件存在。在一些實施例中,在動作感測電路130偵測到動作感測事件存在之前的期間內,控制器170可根據對應於輸入圖像資料DIN1中的多個圖幀中每一者的中斷訊號(如前所述,是經由輸入介面電路110發出)來進行計數以產生計數值。控制器170可比較計數值與參數ST以控制圖像產生器120在偵測到動作感測事件存在之前的期間內以第一週期產生資料D1。例如,假設圖像編碼電路123被選擇來產生資料D1,控制器170可在該計數值相同於參數ST所定義的圖幀個數(或是相同於該圖幀個數之前的一個數 值)時致能圖像處理電路122,以使得圖像處理電路122可據此產生資料D2,從而使得圖像編碼電路123可根據資料D2產生資料D1中的一對應圖幀。在產生完資料D1的該對應圖幀後,控制器170可禁能圖像處理電路122以停止圖像編碼電路123產生資料D1的下一張圖幀,並將計數值進行重置以繼續執行後續的操作。依此類推,控制器170可根據參數ST以及計數操作來選擇性地致能圖像產生器120的相應電路,並據此調整圖像產生器120中的資料傳輸,從而使圖像產生器120以第一週期來產生資料D1中的多個圖幀。接著,若已儲存的資料D1中的圖幀個數相同於參數STH所定義的最大圖幀個數,記憶體150可經由圖幀解壓縮電路160與介面電路165將資料D1傳給主控端裝置。 As described above, when the motion sensing circuit 130 detects the existence of a motion sensing event, the motion sensing circuit 130 will send an interrupt signal to notify the controller 170. Before receiving the interrupt signal, it means that the motion sensing circuit 130 has not detected the existence of the motion sensing event. In some embodiments, before the motion sensing circuit 130 detects the existence of the motion sensing event, the controller 170 can count according to the interrupt signal corresponding to each of the multiple frames in the input image data DIN1 (as described above, it is sent through the input interface circuit 110) to generate a count value. The controller 170 can compare the count value with the parameter ST to control the image generator 120 to generate data D1 in the first cycle before detecting the existence of the motion sensing event. For example, assuming that the image encoding circuit 123 is selected to generate data D1, the controller 170 may enable the image processing circuit 122 when the count value is equal to the number of frames defined by the parameter ST (or equal to a value before the number of frames), so that the image processing circuit 122 can generate data D2 accordingly, thereby enabling the image encoding circuit 123 to generate a corresponding frame in the data D1 according to the data D2. After generating the corresponding frame of the data D1, the controller 170 may disable the image processing circuit 122 to stop the image encoding circuit 123 from generating the next frame of the data D1, and reset the count value to continue to perform subsequent operations. Similarly, the controller 170 can selectively enable the corresponding circuit of the image generator 120 according to the parameter ST and the counting operation, and adjust the data transmission in the image generator 120 accordingly, so that the image generator 120 generates multiple frames in the data D1 in the first cycle. Then, if the number of frames in the stored data D1 is the same as the maximum number of frames defined by the parameter STH, the memory 150 can transmit the data D1 to the host device via the frame decompression circuit 160 and the interface circuit 165.

在操作S206,在動作感測電路130偵測到動作感測事件存在之後,圖像產生器120根據參數MT以第二週期儲存資料D1。在操作S207,在動作感測電路130偵測到動作感測事件存在之後,若資料D1中的圖幀個數相同於參數MTH所定義的最大圖幀個數,控制器170控制記憶體150傳輸資料D1給主控端裝置。 In operation S206, after the motion sensing circuit 130 detects the existence of a motion sensing event, the image generator 120 stores the data D1 in the second cycle according to the parameter MT. In operation S207, after the motion sensing circuit 130 detects the existence of a motion sensing event, if the number of frames in the data D1 is the same as the maximum number of frames defined by the parameter MTH, the controller 170 controls the memory 150 to transmit the data D1 to the host device.

類似地,在一些實施例中,在動作感測電路130偵測到動作感測事件存在之後的一段期間內,控制器170可根據對應於輸入圖像資料DIN1中的多個圖幀中每一者的中斷訊號(如前所述,是經由輸入介面電路110發出)來進行計數以產生計數值。控制器170可比較計數值與參數MT以控制圖像產生器120在偵測到動作感測事件存在之後的期間內以第二週期產生資料D1。例如,假設圖像編碼電路123被選擇來產生資料D1,控制器170可在該計數值相同於參數MT所定義的圖幀個數(或是相同於該圖幀個數之前的一個數值)時致能圖像處理電路122,使得圖像處理電路122可據此產生資料D2,從而使得圖像編碼電路 123可根據資料D2產生資料D1中的一對應圖幀。在產生完資料D1的該對應圖幀後,控制器170可禁能圖像處理電路122以停止圖像編碼電路123產生資料D1的下一張圖幀,並將計數值進行重置,以繼續執行後續的操作。依此類推,控制器170可根據參數MT以及計數操作來選擇性地致能圖像產生器120的相應電路,從而使圖像產生器120可以第二週期來產生資料D1中的圖幀。接著,若已儲存的資料D1中的圖幀個數相同於參數MTH所定義的最大圖幀個數,記憶體150可經由介面電路165將資料D1傳給主控端裝置。 Similarly, in some embodiments, the controller 170 may count to generate a count value according to an interrupt signal corresponding to each of a plurality of frames in the input image data DIN1 (as described above, sent via the input interface circuit 110) during a period after the motion sensing circuit 130 detects the presence of a motion sensing event. The controller 170 may compare the count value with the parameter MT to control the image generator 120 to generate data D1 in a second cycle during a period after the motion sensing event is detected. For example, assuming that the image encoding circuit 123 is selected to generate data D1, the controller 170 may enable the image processing circuit 122 when the count value is equal to the number of frames defined by the parameter MT (or equal to a value before the number of frames), so that the image processing circuit 122 can generate data D2 accordingly, thereby enabling the image encoding circuit 123 to generate a corresponding frame in the data D1 according to the data D2. After generating the corresponding frame of the data D1, the controller 170 may disable the image processing circuit 122 to stop the image encoding circuit 123 from generating the next frame of the data D1, and reset the count value to continue to perform subsequent operations. Similarly, the controller 170 can selectively enable the corresponding circuit of the image generator 120 according to the parameter MT and the counting operation, so that the image generator 120 can generate the frames in the data D1 in the second cycle. Then, if the number of frames in the stored data D1 is the same as the maximum number of frames defined by the parameter MTH, the memory 150 can transmit the data D1 to the host device via the interface circuit 165.

上述的操作是以圖像編碼電路123被選擇來產生資料D1為例說明,但本案並不以此為限。在另一些實施例中,若圖像產生器120是選擇圖幀壓縮電路121來產生資料D1,控制器170可在該計數值相同於參數ST(或參數MT)所定義的圖幀個數(或是相同於該圖幀個數之前的一個數值)時致能圖幀壓縮電路121,從而控制圖像產生器120以第一週期(或第二週期)儲存資料D1。 The above operation is explained by taking the image encoding circuit 123 as an example to generate data D1, but the present invention is not limited thereto. In other embodiments, if the image generator 120 selects the frame compression circuit 121 to generate data D1, the controller 170 can enable the frame compression circuit 121 when the count value is equal to the number of frames defined by the parameter ST (or parameter MT) (or equal to a value before the number of frames), thereby controlling the image generator 120 to store data D1 in the first cycle (or the second cycle).

圖3為根據本案一些實施例繪製圖1中的資料D1、動作感測電路130所處理的資料以及輸入圖像資料DIN1的示意圖。在圖3中,時間軸上的每一線段代表一個圖幀。 FIG3 is a schematic diagram of the data D1 in FIG1 , the data processed by the motion sensing circuit 130 , and the input image data DIN1 according to some embodiments of the present invention. In FIG3 , each line segment on the time axis represents a frame.

在時間T1,動作感測電路130偵測到動作感測事件存在。在時間T1之前的期間(即偵測到動作感測事件存在之前),圖像產生器120將以週期P1(即參數ST定義的第一週期)儲存資料D1。在時間T1之後的期間(即偵測到動作感測事件存在之後),圖像產生器120將以週期P2(即參數MT定義的第二週期)儲存資料D1。如圖3所示,週期P1大於週期P2。換句話說,在時間T1之前,圖像產生器120可經過數張圖幀(對應於週期P1的時間間距)後才儲存1張 圖幀為資料D1。在時間T1之後,圖像產生器120可將每一張圖幀(對應於週期P2的時間間距)皆儲存為資料D1。應當理解,圖3中的週期P1與週期P2的設置方式僅為示例,且本案並不以此為限。 At time T1, the motion sensing circuit 130 detects the existence of a motion sensing event. In the period before time T1 (i.e., before the motion sensing event is detected), the image generator 120 will store data D1 with period P1 (i.e., the first period defined by parameter ST). In the period after time T1 (i.e., after the motion sensing event is detected), the image generator 120 will store data D1 with period P2 (i.e., the second period defined by parameter MT). As shown in FIG3, period P1 is greater than period P2. In other words, before time T1, the image generator 120 can store one frame as data D1 after several frames (corresponding to the time interval of period P1). After time T1, the image generator 120 can store each frame (corresponding to the time interval of period P2) as data D1. It should be understood that the setting method of period P1 and period P2 in Figure 3 is only an example, and the present case is not limited to this.

另一方面,在一些實施例中,在時間T1,控制器170可根據對應於動作感測事件的一中斷訊號來喚醒主控端裝置。如此,當資料D1在時間T1之後的圖幀個數相同於參數MTH所定義的最大圖幀個數時(例如為時間T2),記憶體150可傳輸資料D1給該主控端裝置。換言之,在圖像處理裝置100中,主控端裝置的喚醒期間與偵測到動作感測事件存在後收集圖像的期間具有至少部分重疊,以達到更佳的處理效率。 On the other hand, in some embodiments, at time T1, the controller 170 may wake up the host device according to an interrupt signal corresponding to a motion sensing event. Thus, when the number of frames of the data D1 after time T1 is equal to the maximum number of frames defined by the parameter MTH (e.g., time T2), the memory 150 may transmit the data D1 to the host device. In other words, in the image processing device 100, the awakening period of the host device and the period of collecting images after detecting the existence of a motion sensing event have at least partial overlap to achieve better processing efficiency.

在一些應用中,上述的設置方式可應用於行車記錄器中的停車模式。例如,在偵測到已靜止不動的車輛有發生碰撞或接觸等動作感測事件發生之前,行車記錄器可以較大的週期P1來記錄所拍攝的畫面資料,從而節省功率消耗與記憶體150的儲存容量。在偵測到已靜止不動的車輛發生碰撞或接觸等動作感測事件後,行車記錄器可以較小的週期P1來記錄所拍攝的畫面資料,以獲得更完整的圖像記錄。上述的應用僅於示例,且本案並不以此為限。 In some applications, the above-mentioned setting method can be applied to the parking mode in the dash cam. For example, before detecting that a motion sensing event such as a collision or contact occurs to a stationary vehicle, the dash cam can record the captured image data with a larger period P1, thereby saving power consumption and storage capacity of the memory 150. After detecting that a motion sensing event such as a collision or contact occurs to a stationary vehicle, the dash cam can record the captured image data with a smaller period P1 to obtain a more complete image record. The above-mentioned application is only an example, and the present case is not limited thereto.

圖4為根據本案一些實施例繪製圖1的圖像處理裝置100的一種應用例的示意圖。在此例中,前述的至少一主控端裝置包含影像擷取晶片400以及網路裝置410。在一些實施例中,網路裝置410可經由,但不限於,無線網路耦接到圖像處理裝置100,以接收資料D4(其為在偵測到動作感測事件之前所產生的資料D1)。影像擷取晶片400可自圖像處理裝置100接收資料D4(其為在偵測到動作感測事件之後的資料D1),並根據此資料D4產生影像串流SD,從而將影像串流SD傳輸給網路裝置410。如此,網路裝置410可將影像串流SD以及先 前所收到的資料D1上傳到一雲端空間。上述的設置方式可降低影像擷取晶片400被喚醒的次數,從而節省更多的功率消耗。 FIG4 is a schematic diagram of an application example of the image processing device 100 of FIG1 according to some embodiments of the present invention. In this example, the aforementioned at least one host device includes an image capture chip 400 and a network device 410. In some embodiments, the network device 410 can be coupled to the image processing device 100 via, but not limited to, a wireless network to receive data D4 (which is data D1 generated before a motion sensing event is detected). The image capture chip 400 can receive data D4 (which is data D1 after a motion sensing event is detected) from the image processing device 100, and generate an image stream SD based on the data D4, thereby transmitting the image stream SD to the network device 410. In this way, the network device 410 can upload the image stream SD and the previously received data D1 to a cloud space. The above-mentioned setting method can reduce the number of times the image capture chip 400 is awakened, thereby saving more power consumption.

圖5為根據本案一些實施例繪製一種圖像處理方法500的流程圖。在一些實施例中,圖像處理方法500可由,但不限於,圖1的圖像處理裝置100執行。 FIG. 5 is a flow chart of an image processing method 500 according to some embodiments of the present invention. In some embodiments, the image processing method 500 may be executed by, but not limited to, the image processing device 100 of FIG. 1 .

在操作S510,根據一輸入圖像資料產生一第一資料。在操作S520,偵測該輸入圖像資料是否存在一動作感測事件。在操作S530,在偵測到該動作感測事件存在之前,以一第一週期儲存該第一資料到一記憶體。在操作S540,在偵測到該動作感測事件存在之後,以一第二週期儲存該第一資料到該記憶體,其中該第一週期大於該第二週期。 In operation S510, a first data is generated according to an input image data. In operation S520, it is detected whether the input image data has a motion sensing event. In operation S530, before the motion sensing event is detected, the first data is stored in a memory for a first period. In operation S540, after the motion sensing event is detected, the first data is stored in the memory for a second period, wherein the first period is greater than the second period.

上述的多個操作可參考前述的實施例之說明,故於此不再重複贅述。圖像處理方法500中的多個操作僅為示例,並非限定需依照此示例中的順序執行。在不違背本案的各實施例的操作方式與範圍下,在圖像處理方法500中的各種操作當可適當地增加、替換、省略或以不同順序執行(例如可以是同時執行或是部分同時執行)。 The above-mentioned operations can refer to the description of the aforementioned embodiments, so they will not be repeated here. The multiple operations in the image processing method 500 are only examples, and are not limited to be executed in the order in this example. Without violating the operation mode and scope of each embodiment of this case, the various operations in the image processing method 500 can be appropriately added, replaced, omitted or executed in a different order (for example, they can be executed simultaneously or partially simultaneously).

綜上所述,本案一些實施例中的圖像處理裝置與方法可具有動作感測機制,並以不同週期來產生圖像資料,從而符合低功率消耗的應用需求。 In summary, the image processing device and method in some embodiments of the present invention may have a motion sensing mechanism and generate image data in different cycles, thereby meeting the application requirements of low power consumption.

雖然本案之實施例如上所述,然而該些實施例並非用來限定本案,本技術領域具有通常知識者可依據本案之明示或隱含之內容對本案之技術特徵施以變異,凡此種種變異均可能屬於本案所尋求之專利保護範疇,換言之,本案之專利保護範圍須視本說明書之申請專利範圍所界定者為準。 Although the embodiments of this case are described above, these embodiments are not used to limit this case. People with ordinary knowledge in this technical field can make variations to the technical features of this case based on the explicit or implicit content of this case. All these variations may fall within the scope of patent protection sought by this case. In other words, the scope of patent protection of this case shall be subject to the scope of patent application defined in this specification.

0~3:連接埠 0~3: Port

100:圖像處理裝置 100: Image processing device

101:圖像感測器 101: Image sensor

110:輸入介面電路 110: Input interface circuit

115:自動曝光電路 115: Automatic exposure circuit

120:圖像產生器 120: Image generator

121:圖幀壓縮電路 121: Frame compression circuit

122:圖像處理電路 122: Image processing circuit

123:圖像編碼電路 123: Image encoding circuit

124,140,141:多工器 124,140,141:Multiplexer

130:動作感測電路 130: Motion sensing circuit

150:記憶體 150:Memory

151~154:儲存空間 151~154: Storage space

160:圖幀解壓縮電路 160: Frame decompression circuit

165:介面電路 165:Interface circuit

170:控制器 170: Controller

D1,D11,D12,D2,D3,D4:資料 D1,D11,D12,D2,D3,D4: Data

DIN1,DIN2:輸入圖像資料 DIN1, DIN2: Input image data

MT,MTH,ST,STH:參數 MT,MTH,ST,STH:Parameters

Claims (9)

一種圖像處理裝置,包含:一記憶體;一圖像產生器,根據一輸入圖像資料產生一第一資料,並儲存該第一資料到該記憶體;以及一動作感測電路,偵測該輸入圖像資料是否存在一動作感測事件;其中在該動作感測電路偵測到該動作感測事件存在之前,該圖像產生器以一第一週期儲存該第一資料,在該動作感測電路偵測到該動作感測事件存在之後,該圖像產生器以一第二週期儲存該第一資料,且該第一週期大於該第二週期。 An image processing device includes: a memory; an image generator, generating a first data according to an input image data, and storing the first data in the memory; and a motion sensing circuit, detecting whether the input image data has a motion sensing event; wherein before the motion sensing circuit detects the existence of the motion sensing event, the image generator stores the first data in a first cycle, and after the motion sensing circuit detects the existence of the motion sensing event, the image generator stores the first data in a second cycle, and the first cycle is greater than the second cycle. 如請求項1之圖像處理裝置,更包含:一控制器,用以配置一第一參數與一第二參數,其中該第一參數用以設定該第一週期,且該第二參數用以設定該第一資料在該動作感測電路偵測到該動作感測事件存在之前的一最大圖幀個數。 The image processing device of claim 1 further comprises: a controller for configuring a first parameter and a second parameter, wherein the first parameter is used to set the first cycle, and the second parameter is used to set a maximum number of frames of the first data before the motion sensing circuit detects the existence of the motion sensing event. 如請求項2之圖像處理裝置,其中該輸入圖像資料包含複數個圖幀,該控制器根據對應於該些圖幀中的每一者的一中斷訊號進行計數以產生一計數值,並比較該計數值與該第一參數以控制該圖像產生器在該動作感測電路偵測到該動作感測事件存在之前以該第一週期儲存該第一資料。 As in claim 2, the image processing device, wherein the input image data includes a plurality of frames, the controller counts according to an interrupt signal corresponding to each of the frames to generate a count value, and compares the count value with the first parameter to control the image generator to store the first data in the first cycle before the motion sensing circuit detects the existence of the motion sensing event. 如請求項2之圖像處理裝置,其中若該第一週期大於或等於一預設值,該控制器在該動作感測電路偵測到該動作感測事件存在之前操作於一省電模式。 An image processing device as claimed in claim 2, wherein if the first cycle is greater than or equal to a preset value, the controller operates in a power saving mode before the motion sensing circuit detects the presence of the motion sensing event. 如請求項2之圖像處理裝置,其中在該動作感測電路偵測到該動作感測事件存在之前,若該第一資料所包含的圖幀個數相同於該最大圖幀個數,該記憶體傳輸該第一資料給一主控端裝置。 As in claim 2, the image processing device, wherein before the motion sensing circuit detects the existence of the motion sensing event, if the number of frames included in the first data is the same as the maximum number of frames, the memory transmits the first data to a host device. 如請求項1之圖像處理裝置,更包含:一控制器,用以配置一第三參數與一第四參數,其中該第三參數用以設定該第二週期,且該第四參數用以設定該第一資料在該動作感測電路偵測到該動作感測事件之後的一最大圖幀個數。 The image processing device of claim 1 further comprises: a controller for configuring a third parameter and a fourth parameter, wherein the third parameter is used to set the second cycle, and the fourth parameter is used to set a maximum number of frames of the first data after the motion sensing circuit detects the motion sensing event. 如請求項6之圖像處理裝置,其中該輸入圖像資料包含複數個圖幀,該控制器根據對應於該些圖幀中的每一者的一中斷訊號進行計數以產生一計數值,並比較該計數值與該第三參數以控制該圖像產生器在該動作感測電路偵測到該動作感測事件存在後以該第二週期儲存該第一資料。 As in claim 6, the image processing device, wherein the input image data includes a plurality of frames, the controller counts according to an interrupt signal corresponding to each of the frames to generate a count value, and compares the count value with the third parameter to control the image generator to store the first data in the second cycle after the motion sensing circuit detects the existence of the motion sensing event. 如請求項6之圖像處理裝置,其中在該動作感測電路偵測到該動作感測事件存在之後,若該第一資料所包含的圖幀個數相同於該最大圖幀個數,該記憶體傳輸該第一資料給一主控端裝置。 As in claim 6, the image processing device, wherein after the motion sensing circuit detects the existence of the motion sensing event, if the number of frames included in the first data is the same as the maximum number of frames, the memory transmits the first data to a host device. 一種圖像處理方法,由一圖像處理裝置執行,該圖像處理方法包含:根據一輸入圖像資料產生一第一資料;偵測該輸入圖像資料是否存在一動作感測事件;在偵測到該動作感測事件存在之前,以一第一週期儲存該第一資料到一記憶體;以及在偵測到該動作感測事件存在之後,以一第二週期儲存該第一資料到該記憶體,其中該第一週期大於該第二週期。 An image processing method is performed by an image processing device, the image processing method comprising: generating a first data according to an input image data; detecting whether a motion sensing event exists in the input image data; storing the first data in a memory for a first period before detecting the existence of the motion sensing event; and storing the first data in the memory for a second period after detecting the existence of the motion sensing event, wherein the first period is greater than the second period.
TW112138129A 2023-10-04 2023-10-04 Image processing device and method having motion detection mechanism TWI848829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112138129A TWI848829B (en) 2023-10-04 2023-10-04 Image processing device and method having motion detection mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112138129A TWI848829B (en) 2023-10-04 2023-10-04 Image processing device and method having motion detection mechanism

Publications (2)

Publication Number Publication Date
TWI848829B true TWI848829B (en) 2024-07-11
TW202516466A TW202516466A (en) 2025-04-16

Family

ID=92929571

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112138129A TWI848829B (en) 2023-10-04 2023-10-04 Image processing device and method having motion detection mechanism

Country Status (1)

Country Link
TW (1) TWI848829B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110402399A (en) * 2017-01-03 2019-11-01 创新科技有限公司 LiDAR system and method for detecting and classifying objects
CN110517523A (en) * 2018-05-21 2019-11-29 腾讯大地通途(北京)科技有限公司 Method for recording parking position, device and storage medium
TWI732218B (en) * 2016-11-11 2021-07-01 美商嘉年華公司 Wireless guest engagement system
TW202221466A (en) * 2020-11-20 2022-06-01 財團法人工業技術研究院 Image display system for preventing motion sick and image display method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI732218B (en) * 2016-11-11 2021-07-01 美商嘉年華公司 Wireless guest engagement system
CN110402399A (en) * 2017-01-03 2019-11-01 创新科技有限公司 LiDAR system and method for detecting and classifying objects
CN110517523A (en) * 2018-05-21 2019-11-29 腾讯大地通途(北京)科技有限公司 Method for recording parking position, device and storage medium
TW202221466A (en) * 2020-11-20 2022-06-01 財團法人工業技術研究院 Image display system for preventing motion sick and image display method thereof

Also Published As

Publication number Publication date
TW202516466A (en) 2025-04-16

Similar Documents

Publication Publication Date Title
US10482045B2 (en) Data communication interface for processing data in low power systems
TWI418210B (en) Image capture module and image capture method for avoiding shutter delay
WO2025241439A1 (en) Image processing method for image acquisition device, electronic device and storage medium
CN104836959A (en) FPGA-based Multi-mode automatic switchover collection system of array CMOS image sensor
CN100531311C (en) Device, method and chip and cell phone for realizing image data collection
TWI848829B (en) Image processing device and method having motion detection mechanism
KR101418892B1 (en) Front-end event detector and low-power camera system using thereof
CN104378574A (en) SoPC-based VGA (video graphics array) image collecting, compressing and storing device
CN101640794A (en) Image data compression system and method thereof
US8436915B2 (en) Image processing apparatus
CN102244722B (en) Image capture module and image capture method for avoiding shutter delay
CN114584708A (en) A Multifunctional Industrial Camera System Based on Single-chip FPGA
US20250124602A1 (en) Image processing device and method that generate multiple image data with different formats
US20250124583A1 (en) Image processing device and method having motion detection mechanism
TWI866538B (en) Image processing device and method that generate multiple image data with different formats
CN205193833U (en) Image acquisition circuit and including biological equipment of this circuit
JP2007037112A (en) Imaging serial interface ROM integrated circuit
CN113419987A (en) Dual-processor electronic device and operation method thereof
CN208888840U (en) Image object detection device
CN203590368U (en) A JPEG2000 standard image block compression device
TWI777639B (en) Dual-processor electronic apparatus and operation method thereof
JP2007037113A (en) Parallel interface RAM integrated circuit for imaging
CN119729200B (en) Scheduler, integrated circuit, and image sensor device
CN221829007U (en) Signal processing circuits and electronic devices
CN105631888B (en) Image data background removal processing system and method