[go: up one dir, main page]

TWI885635B - Electronic device and an operating method for electronic device - Google Patents

Electronic device and an operating method for electronic device Download PDF

Info

Publication number
TWI885635B
TWI885635B TW112148254A TW112148254A TWI885635B TW I885635 B TWI885635 B TW I885635B TW 112148254 A TW112148254 A TW 112148254A TW 112148254 A TW112148254 A TW 112148254A TW I885635 B TWI885635 B TW I885635B
Authority
TW
Taiwan
Prior art keywords
image capture
image
capture unit
operating parameter
parameter
Prior art date
Application number
TW112148254A
Other languages
Chinese (zh)
Other versions
TW202524293A (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 TW112148254A priority Critical patent/TWI885635B/en
Application granted granted Critical
Publication of TWI885635B publication Critical patent/TWI885635B/en
Publication of TW202524293A publication Critical patent/TW202524293A/en

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

An electronic device and an operating method for the electronic device are provided. The electronic device includes at least one image capturing unit, a memory and an image processor. The at least one image capturing unit includes a first image capturing unit. The memory stores a preset parameter and at least one operating parameter corresponding to the at least one image capturing unit. The image processor reads the first operating parameter corresponding to the first image capturing unit in response to a driving signal. When the first operating parameter is wrong, the image processor uses the preset parameter to receive an image data from one of the at least one image capture unit, and uses the preset parameter to convert the image data into a display data.

Description

電子裝置以及用於電子裝置的操作方法Electronic device and operating method for electronic device

本揭露是有關於一種裝置以及裝置的操作方法,且特別是有關於一種電子裝置以及用於電子裝置的操作方法。The present disclosure relates to a device and an operating method of the device, and in particular to an electronic device and an operating method for the electronic device.

一般來說,電子裝置搭載一個或多個影像擷取單元。由於製程、批號或製造商的不同。各個影像擷取單元的特性也不同。為了使各個影像擷取單元在擷取相同影像的情況下能夠提供盡可能相似顯示數據。對應於影像擷取單元的操作參數可以被紀錄在電子裝置中。Generally speaking, an electronic device is equipped with one or more image acquisition units. Due to differences in process, batch number or manufacturer, the characteristics of each image acquisition unit are also different. In order to enable each image acquisition unit to provide display data as similar as possible when capturing the same image, the operating parameters corresponding to the image acquisition unit can be recorded in the electronic device.

然而,當操作參數發生錯誤(如,操作參數的內容錯誤或操作參數不存在)時,電子裝置則無法接收到影像擷取單元的顯示數據。如果電子裝置包括顯示器,顯示器則會無法依據顯示數據呈現出影像,從而顯示出例如黑屏的異常顯示結果。However, when an error occurs in the operating parameter (e.g., the content of the operating parameter is incorrect or the operating parameter does not exist), the electronic device cannot receive the display data of the image capture unit. If the electronic device includes a display, the display cannot present an image according to the display data, thereby displaying an abnormal display result such as a black screen.

因此,如何使電子裝置在操作參數發生錯誤的情況下還能夠接收到影像擷取單元的顯示數據,是本領域技術人員的研究重點之一。Therefore, how to enable the electronic device to receive the display data of the image capture unit when the operating parameters are wrong is one of the research focuses of the technical personnel in this field.

本揭露提供一種電子裝置以及用於電子裝置的操作方法,能夠在操作參數發生錯誤的情況下使電子裝置接收到影像擷取單元的顯示數據。The present disclosure provides an electronic device and an operating method for the electronic device, which can enable the electronic device to receive display data from an image capture unit when an operating parameter error occurs.

本揭露的電子裝置包括至少一影像擷取單元、記憶體以及影像處理器。所述至少一影像擷取單元包括第一影像擷取單元。記憶體儲存預設定參數以及對應於所述至少一影像擷取單元的至少一操作參數。影像處理器耦接於所述至少一影像擷取單元以及記憶體。影像處理器反應於驅動訊號來讀取對應於第一影像擷取單元的第一操作參數,並且對第一操作參數進行判斷。當第一操作參數正確時,影像處理器利用第一操作參數來控制第一影像擷取單元以接收來自於第一影像擷取單元的第一影像數據,並利用第一操作參數將第一影像數據轉換為第一顯示數據。當第一操作參數錯誤時,影像處理器利用預設定參數來接收來自於所述至少一影像擷取單元的其中之一的第二影像數據,並利用預設定參數將第二影像數據轉換為第二顯示數據。The electronic device disclosed herein includes at least one image capture unit, a memory, and an image processor. The at least one image capture unit includes a first image capture unit. The memory stores preset parameters and at least one operating parameter corresponding to the at least one image capture unit. The image processor is coupled to the at least one image capture unit and the memory. The image processor responds to a driving signal to read a first operating parameter corresponding to the first image capture unit, and judges the first operating parameter. When the first operating parameter is correct, the image processor uses the first operating parameter to control the first image capture unit to receive the first image data from the first image capture unit, and uses the first operating parameter to convert the first image data into first display data. When the first operating parameter is erroneous, the image processor receives the second image data from one of the at least one image capturing units using the preset parameter, and converts the second image data into second display data using the preset parameter.

本揭露的操作方法用於操作電子裝置。電子裝置包括至少一影像擷取單元以及記憶體。所述至少一影像擷取單元包括第一影像擷取單元。操作方法包括:將預設定參數以及對應於所述至少一影像擷取單元的至少一操作參數儲存至記憶體;反應於驅動訊號來讀取對應於第一影像擷取單元的第一操作參數,並且對第一操作參數進行判斷;當第一操作參數正確時,利用第一操作參數來控制第一影像擷取單元以接收來自於第一影像擷取單元的第一影像數據,並利用第一操作參數將第一影像數據轉換為第一顯示數據;以及當第一操作參數錯誤時,利用預設定參數來接收來自於所述至少一影像擷取單元的其中之一的第二影像數據,並利用預設定參數將第二影像數據轉換為第二顯示數據。The disclosed operating method is used to operate an electronic device. The electronic device includes at least one image capture unit and a memory. The at least one image capture unit includes a first image capture unit. The operating method includes: storing a preset parameter and at least one operating parameter corresponding to the at least one image capture unit in a memory; reading a first operating parameter corresponding to the first image capture unit in response to a driving signal, and judging the first operating parameter; when the first operating parameter is correct, using the first operating parameter to control the first image capture unit to receive first image data from the first image capture unit, and using the first operating parameter to convert the first image data into first display data; and when the first operating parameter is erroneous, using the preset parameter to receive second image data from one of the at least one image capture units, and using the preset parameter to convert the second image data into second display data.

基於上述,當第一操作參數錯誤時,電子裝置利用預設定參數來接收來自於所述至少一影像擷取單元的其中之一的第二影像數據,並利用預設定參數將第二影像數據轉換為第二顯示數據。如此一來,在操作參數發生錯誤的情況下,電子裝置依舊能夠接收到顯示數據。Based on the above, when the first operating parameter is wrong, the electronic device uses the preset parameter to receive the second image data from one of the at least one image capture unit, and uses the preset parameter to convert the second image data into the second display data. In this way, when the operating parameter is wrong, the electronic device can still receive the display data.

本揭露的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本揭露的一部份,並未揭示所有本揭露的可實施方式。更確切的說,這些實施例只是本揭露的專利申請範圍中的範例。Some embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. When the same element symbols appear in different drawings, they will be regarded as the same or similar elements. These embodiments are only part of the present disclosure and do not disclose all possible implementations of the present disclosure. More precisely, these embodiments are only examples within the scope of the patent application of the present disclosure.

請參考圖1,圖1是依據本揭露一實施例所繪示的電子裝置的示意圖。在本實施例中,電子裝置100包括影像擷取單元110_1、110_2、記憶體120以及影像處理器130。記憶體120儲存預設定參數PRAD以及對應於影像擷取單元110_1、110_2的操作參數PRA1、PRA2。Please refer to FIG1, which is a schematic diagram of an electronic device according to an embodiment of the present disclosure. In this embodiment, the electronic device 100 includes image capture units 110_1, 110_2, a memory 120, and an image processor 130. The memory 120 stores a preset parameter PRAD and operation parameters PRA1, PRA2 corresponding to the image capture units 110_1, 110_2.

舉例來說,操作參數PRA1用於影像擷取單元110_1。操作參數PRA2用於影像擷取單元110_2。舉例來說,在擷取相同影像的情況下,影像擷取單元110_1基於操作參數PRA1所提供的影像數據DIMG1相似於影像擷取單元110_2基於操作參數PRA2所提供的影像數據DIMG2。此外,預設定參數PRAD適用於影像擷取單元110_1、110_2。For example, the operating parameter PRA1 is used for the image capture unit 110_1. The operating parameter PRA2 is used for the image capture unit 110_2. For example, when capturing the same image, the image data DIMG1 provided by the image capture unit 110_1 based on the operating parameter PRA1 is similar to the image data DIMG2 provided by the image capture unit 110_2 based on the operating parameter PRA2. In addition, the preset parameter PRAD is applicable to the image capture units 110_1 and 110_2.

在本實施例中,影像處理器130耦接於影像擷取單元110_1、110_2以及記憶體120。影像處理器130反應於驅動訊號SD來讀取對應於影像擷取單元110_1的操作參數PRA1或對應於影像擷取單元110_2的操作參數PRA2。影像處理器130對所接收到的操作參數(即,操作參數PRA1以及操作參數PRA2的其中之一)進行判斷。In this embodiment, the image processor 130 is coupled to the image capture units 110_1, 110_2 and the memory 120. The image processor 130 responds to the driving signal SD to read the operating parameter PRA1 corresponding to the image capture unit 110_1 or the operating parameter PRA2 corresponding to the image capture unit 110_2. The image processor 130 determines the received operating parameter (i.e., one of the operating parameter PRA1 and the operating parameter PRA2).

舉例來說,驅動訊號SD是用於指示電子裝置100驅動影像擷取單元110_1的訊號。影像處理器130反應於驅動訊號SD來讀取操作參數PRA1。當操作參數PRA1正確時,影像處理器130利用操作參數PRA1來控制影像擷取單元110_1以接收來自於影像擷取單元110_1的影像數據DIMG1,並利用操作參數PRA1將影像數據DIMG1轉換為顯示數據DDP1。在另一方面,當操作參數PRA1錯誤時,影像處理器130利用預設定參數PRAD來接收來自於影像擷取單元110_1、110_2的其中之一的影像數據,並利用預設定參數PRAD將影像數據轉換為顯示數據。For example, the driving signal SD is a signal for instructing the electronic device 100 to drive the image capture unit 110_1. The image processor 130 reads the operating parameter PRA1 in response to the driving signal SD. When the operating parameter PRA1 is correct, the image processor 130 uses the operating parameter PRA1 to control the image capture unit 110_1 to receive the image data DIMG1 from the image capture unit 110_1, and uses the operating parameter PRA1 to convert the image data DIMG1 into the display data DDP1. On the other hand, when the operating parameter PRA1 is erroneous, the image processor 130 receives the image data from one of the image capture units 110_1 and 110_2 using the default parameter PRAD, and converts the image data into display data using the default parameter PRAD.

進一步舉例來說,當操作參數PRA1錯誤時,影像處理器130利用預設定參數PRAD來接收來自於影像擷取單元110_1的影像數據DIMGD1,並利用預設定參數PRAD將影像數據DIMGD1轉換為顯示數據D1。另舉例來說,當操作參數PRA1錯誤時,影像處理器130利用預設定參數PRAD來接收來自於影像擷取單元110_2的影像數據DIMGD2,並利用預設定參數PRAD將影像數據DIMGD2轉換為顯示數據D2。基於相同的預設定參數PRAD,影像擷取單元110_1、110_2都能夠提供影像數據DIMGD1、DIMGD2。For further example, when the operating parameter PRA1 is erroneous, the image processor 130 receives the image data DIMGD1 from the image capture unit 110_1 using the preset parameter PRAD, and converts the image data DIMGD1 into display data D1 using the preset parameter PRAD. For another example, when the operating parameter PRA1 is erroneous, the image processor 130 receives the image data DIMGD2 from the image capture unit 110_2 using the preset parameter PRAD, and converts the image data DIMGD2 into display data D2 using the preset parameter PRAD. Based on the same preset parameter PRAD, the image capture units 110_1 and 110_2 can both provide the image data DIMGD1 and DIMGD2.

舉例來說,驅動訊號SD是用於指示電子裝置100驅動影像擷取單元110_2的訊號。影像處理器130反應於驅動訊號SD來讀取操作參數PRA2。當操作參數PRA2正確時,影像處理器130利用操作參數PRA2來控制影像擷取單元110_2以接收來自於影像擷取單元110_2的影像數據DIMG2,並利用操作參數PRA1將影像數據DIMG1轉換為顯示數據DDP1。在另一方面,當操作參數PRA2錯誤時,影像處理器130利用預設定參數PRAD來接收來自於影像擷取單元110_1、110_2的其中之一的影像數據,並利用預設定參數PRAD將影像數據轉換為顯示數據。For example, the driving signal SD is a signal for instructing the electronic device 100 to drive the image capture unit 110_2. The image processor 130 reads the operating parameter PRA2 in response to the driving signal SD. When the operating parameter PRA2 is correct, the image processor 130 uses the operating parameter PRA2 to control the image capture unit 110_2 to receive the image data DIMG2 from the image capture unit 110_2, and uses the operating parameter PRA1 to convert the image data DIMG1 into the display data DDP1. On the other hand, when the operating parameter PRA2 is erroneous, the image processor 130 receives the image data from one of the image capture units 110_1 and 110_2 using the default parameter PRAD, and converts the image data into display data using the default parameter PRAD.

在此值得一提的是,當操作參數PRA1、PRA2的至少其中之一錯誤時,電子裝置100利用預設定參數PRAD來接收到影像數據DIMGD1、DIMGD2的其中之一,並利用預設定參數PRAD將影像數據DIMGD1、DIMGD2的其中之一轉換為顯示數據(即,顯示數據D1或顯示數據D2)。如此一來,在操作參數PRA1、PRA2的至少其中之一發生錯誤的情況下,電子裝置100依舊能夠接收到影像數據DIMGD1、DIMGD2的其中之一並據以產生到顯示數據。It is worth mentioning that when at least one of the operating parameters PRA1 and PRA2 is wrong, the electronic device 100 receives one of the image data DIMGD1 and DIMGD2 using the preset parameter PRAD, and converts one of the image data DIMGD1 and DIMGD2 into display data (i.e., display data D1 or display data D2) using the preset parameter PRAD. In this way, when at least one of the operating parameters PRA1 and PRA2 is wrong, the electronic device 100 can still receive one of the image data DIMGD1 and DIMGD2 and generate display data accordingly.

在本實施例中,操作參數PRA1例如包括影像擷取單元110_1的名稱、對應於影像擷取單元110_1的白平衡參數、對應於影像擷取單元110_1的曝光參數以及對應於影像擷取單元110_1的臉部識別參數的至少其中之一。操作參數PRA2例如包括影像擷取單元110_2的名稱、對應於影像擷取單元110_2的白平衡參數、對應於影像擷取單元110_2的曝光參數以及對應於影像擷取單元110_2的臉部識別參數的至少其中之一。In this embodiment, the operating parameter PRA1 includes, for example, at least one of the name of the image capture unit 110_1, the white balance parameter corresponding to the image capture unit 110_1, the exposure parameter corresponding to the image capture unit 110_1, and the facial recognition parameter corresponding to the image capture unit 110_1. The operating parameter PRA2 includes, for example, at least one of the name of the image capture unit 110_2, the white balance parameter corresponding to the image capture unit 110_2, the exposure parameter corresponding to the image capture unit 110_2, and the facial recognition parameter corresponding to the image capture unit 110_2.

舉例來說,操作參數PRA1、PRA2可以被調整。在調整操作參數PRA1、PRA2之後。顯示數據DDP1的白平衡結果、曝光結果或臉部識別結果相似於顯示數據DDP2的白平衡結果、曝光結果或臉部識別結果。因此,當電子裝置100控制一螢幕來播放對應於相同擷取影像的顯示數據DDP1、DDP2時,使用者無法輕易查覺到顯示數據DDP1、DDP2之間的顯示差異。For example, the operating parameters PRA1 and PRA2 can be adjusted. After adjusting the operating parameters PRA1 and PRA2, the white balance result, exposure result or face recognition result of the display data DDP1 is similar to the white balance result, exposure result or face recognition result of the display data DDP2. Therefore, when the electronic device 100 controls a screen to play the display data DDP1 and DDP2 corresponding to the same captured image, the user cannot easily detect the display difference between the display data DDP1 and DDP2.

在本實施例中,預設定參數PRAD例如包括預設定白平衡參數、預設定曝光參數以及預設定臉部識別參數的至少其中之一。舉例來說,預設定白平衡參數可以介於對應於影像擷取單元110_1的白平衡參數與對應於影像擷取單元110_2的白平衡參數之間。預設定曝光參數可以介於對應於影像擷取單元110_1的曝光參數與對應於影像擷取單元110_2的曝光參數之間。預設定臉部識別參數可以介於對應於影像擷取單元110_1的臉部識別參數與對應於影像擷取單元110_2的臉部識別參數之間。因此,預設定參數PRAD是適用於影像擷取單元110_1、110_2的操作參數。In this embodiment, the preset parameters PRAD include, for example, at least one of preset white balance parameters, preset exposure parameters, and preset face recognition parameters. For example, the preset white balance parameters may be between the white balance parameters corresponding to the image capture unit 110_1 and the white balance parameters corresponding to the image capture unit 110_2. The preset exposure parameters may be between the exposure parameters corresponding to the image capture unit 110_1 and the exposure parameters corresponding to the image capture unit 110_2. The preset face recognition parameters may be between the face recognition parameters corresponding to the image capture unit 110_1 and the face recognition parameters corresponding to the image capture unit 110_2. Therefore, the preset parameter PRAD is an operating parameter applicable to the image capture units 110_1 and 110_2.

在本實施例中,記憶體120可以是任何型態的固定或可移動隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)等本領域技術人員所熟知的記憶體元件。記憶體120包括查找表(look-up table)121。查找表121紀錄預設定參數PRAD以及操作參數PRA1、PRA2。In this embodiment, the memory 120 can be any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, etc., which are memory elements known to those skilled in the art. The memory 120 includes a look-up table 121. The look-up table 121 records the preset parameter PRAD and the operating parameters PRA1 and PRA2.

在本實施例中,影像處理器130例如是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合,其可載入並執行電腦程式。In this embodiment, the image processor 130 is, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessor, digital signal processor (DSP), programmable controller, application specific integrated circuits (ASIC), programmable logic device (PLD) or other similar devices or a combination of these devices, which can load and execute computer programs.

為了便於說明,在本實施例以兩個影像擷取單元110_1、110_2來示例。然本揭露並不以影像擷取單元的數量為限。本揭露的影像擷取單元的數量可以是一個或多個。在本實施例中,電子裝置100可例如是筆記型電腦、桌上型電腦、平板電腦、顯示裝置、智慧型手機等搭載或連接至少一影像擷取單元的裝置。For the sake of convenience, two image capture units 110_1 and 110_2 are used as examples in this embodiment. However, the present disclosure is not limited to the number of image capture units. The number of image capture units disclosed in this disclosure can be one or more. In this embodiment, the electronic device 100 can be, for example, a laptop, a desktop computer, a tablet computer, a display device, a smart phone, etc., which is equipped with or connected to at least one image capture unit.

請同時參考圖1以及圖2,圖2是依據本揭露一實施例所繪示的操作方法的流程圖。操作方法S100適用於電子裝置100。在本實施例中,操作方法S100包括步驟S110~S150。在步驟S110中,預設定參數PRAD以及對應於影像擷取單元110_1、110_2的操作參數PRA1、PRA2被儲存至記憶體120。在步驟S120中,影像處理器130反應於驅動訊號SD來讀取對應於第一影像擷取單元的第一操作參數。舉例來說,驅動訊號SD是用於指示電子裝置100驅動影像擷取單元110_1的訊號。第一影像擷取單元是影像擷取單元110_1。第一操作參數是操作參數PRA1。因此,影像處理器130反應於驅動訊號SD來讀取被儲存於記憶體120中的操作參數PRA1。Please refer to FIG. 1 and FIG. 2 at the same time. FIG. 2 is a flow chart of an operation method according to an embodiment of the present disclosure. The operation method S100 is applicable to the electronic device 100. In this embodiment, the operation method S100 includes steps S110 to S150. In step S110, the preset parameter PRAD and the operation parameters PRA1 and PRA2 corresponding to the image capture units 110_1 and 110_2 are stored in the memory 120. In step S120, the image processor 130 responds to the drive signal SD to read the first operation parameter corresponding to the first image capture unit. For example, the drive signal SD is a signal used to instruct the electronic device 100 to drive the image capture unit 110_1. The first image capture unit is the image capture unit 110_1. The first operating parameter is the operating parameter PRA1. Therefore, the image processor 130 reads the operating parameter PRA1 stored in the memory 120 in response to the driving signal SD.

在步驟S130中,影像處理器130判斷操作參數PRA1是否正確。在本實施例中,影像處理器130會判斷操作參數PRA1的內容或語法是否符合多個預設內容或預設語法的其中之一。當影像處理器130會判斷操作參數PRA1的內容或語法是否符合多個預設內容或預設語法的其中之一時,影像處理器130會判斷操作參數PRA1是正確的。因此,影像處理器130會在步驟S140中利用操作參數PRA1來控制影像擷取單元110_1以接收來自於影像擷取單元110_1的影像數據DIMG1,並利用操作參數PRA1將影像數據DIMG1轉換為顯示數據DDP1。In step S130, the image processor 130 determines whether the operating parameter PRA1 is correct. In the present embodiment, the image processor 130 determines whether the content or syntax of the operating parameter PRA1 conforms to one of a plurality of preset contents or preset syntaxes. When the image processor 130 determines whether the content or syntax of the operating parameter PRA1 conforms to one of a plurality of preset contents or preset syntaxes, the image processor 130 determines that the operating parameter PRA1 is correct. Therefore, the image processor 130 uses the operating parameter PRA1 to control the image capture unit 110_1 in step S140 to receive the image data DIMG1 from the image capture unit 110_1, and uses the operating parameter PRA1 to convert the image data DIMG1 into the display data DDP1.

在另一方面,當影像處理器130會判斷操作參數PRA1的內容或語法是否並不符合多個預設內容或預設語法的其中任一時,這表示操作參數PRA1可能已經損壞、被誤植或不存在。因此,影像處理器130會判斷操作參數PRA1發生錯誤。因此,影像處理器130在步驟S150中讀取被儲存於記憶體120中的預設定參數PRAD,利用預設定參數PRAD來接收來自於影像擷取單元110_1、110_2的其中之一的第二影像數據(即,影像數據DIMGD1、DIMGD2的其中之一),並利用預設定參數PRAD將第二影像數據轉換為第二顯示數據(即,顯示數據D1、D2的其中之一)。On the other hand, when the image processor 130 determines whether the content or syntax of the operating parameter PRA1 does not conform to any of the multiple preset contents or preset syntaxes, this means that the operating parameter PRA1 may be damaged, incorrectly implanted, or does not exist. Therefore, the image processor 130 determines that an error has occurred in the operating parameter PRA1. Therefore, the image processor 130 reads the preset parameter PRAD stored in the memory 120 in step S150, uses the preset parameter PRAD to receive the second image data (i.e., one of the image data DIMGD1, DIMGD2) from one of the image capture units 110_1, 110_2, and uses the preset parameter PRAD to convert the second image data into second display data (i.e., one of the display data D1, D2).

請參考圖3,圖3是依據本揭露一實施例所繪示的電子裝置的示意圖。在本實施例中,電子裝置200包括影像擷取單元110_1、110_2、記憶體120、影像處理器130以及顯示器240。記憶體120儲存預設定參數PRAD以及操作參數PRA1、PRA2。影像處理器130耦接於影像擷取單元110_1、110_2、記憶體120以及顯示器240。影像處理器130反應於驅動訊號SD來讀取對應於影像擷取單元110_1的操作參數PRA1或對應於影像擷取單元110_2的操作參數PRA2。影像處理器130對所接收到的操作參數(即,操作參數PRA1以及操作參數PRA2的其中之一)進行判斷。Please refer to FIG. 3, which is a schematic diagram of an electronic device according to an embodiment of the present disclosure. In this embodiment, the electronic device 200 includes image capture units 110_1, 110_2, a memory 120, an image processor 130, and a display 240. The memory 120 stores a preset parameter PRAD and operating parameters PRA1, PRA2. The image processor 130 is coupled to the image capture units 110_1, 110_2, the memory 120, and the display 240. The image processor 130 responds to the drive signal SD to read the operating parameter PRA1 corresponding to the image capture unit 110_1 or the operating parameter PRA2 corresponding to the image capture unit 110_2. The image processor 130 determines the received operating parameter (ie, one of the operating parameter PRA1 and the operating parameter PRA2).

以操作參數PRA1為例,當操作參數PRA1正確時,影像處理器130利用操作參數PRA1來控制影像擷取單元110_1以接收來自於影像擷取單元110_1的影像數據DIMG1,並利用操作參數PRA1將影像數據DIMG1轉換為顯示數據DDP1。此外,當操作參數PRA1正確時,影像處理器130利用顯示數據DDP1來控制顯示器240。Taking the operation parameter PRA1 as an example, when the operation parameter PRA1 is correct, the image processor 130 uses the operation parameter PRA1 to control the image capture unit 110_1 to receive the image data DIMG1 from the image capture unit 110_1, and uses the operation parameter PRA1 to convert the image data DIMG1 into the display data DDP1. In addition, when the operation parameter PRA1 is correct, the image processor 130 uses the display data DDP1 to control the display 240.

在另一方面,當操作參數PRA1錯誤時,影像處理器130利用預設定參數PRAD來接收來自於影像擷取單元110_1的影像數據DIMGD1,並利用預設定參數PRAD將影像數據DIMGD1轉換為顯示數據D1。此外,影像處理器130還利用顯示數據D1來控制顯示器240。在一實施例中,當操作參數PRA1錯誤時,影像處理器130也可以利用預設定參數PRAD來接收來自於影像擷取單元110_2的影像數據DIMGD2,並利用預設定參數PRAD將影像數據DIMGD2轉換為顯示數據D2。此外,當操作參數PRA1錯誤時,影像處理器130還利用顯示數據D2來控制顯示器240。On the other hand, when the operating parameter PRA1 is erroneous, the image processor 130 receives the image data DIMGD1 from the image capture unit 110_1 using the preset parameter PRAD, and converts the image data DIMGD1 into display data D1 using the preset parameter PRAD. In addition, the image processor 130 also uses the display data D1 to control the display 240. In one embodiment, when the operating parameter PRA1 is erroneous, the image processor 130 may also receive the image data DIMGD2 from the image capture unit 110_2 using the preset parameter PRAD, and convert the image data DIMGD2 into display data D2 using the preset parameter PRAD. In addition, when the operating parameter PRA1 is erroneous, the image processor 130 also uses the display data D2 to control the display 240.

如前文所提,預設定參數PRAD是適用於影像擷取單元110_1、110_2的操作參數。在本實施例中,當操作參數PRA1、PRA2的至少其中之一被判斷為錯誤時,影像處理器130利用顯示數據D1、D2的其中之一來控制顯示器240。因此,顯示器240能夠顯示出對應於影像擷取單元110_1、110_2所擷取到的影像的畫面,而不會顯示出例如黑屏的異常顯示結果。As mentioned above, the preset parameter PRAD is an operating parameter applicable to the image capture units 110_1 and 110_2. In this embodiment, when at least one of the operating parameters PRA1 and PRA2 is judged to be an error, the image processor 130 uses one of the display data D1 and D2 to control the display 240. Therefore, the display 240 can display the screen corresponding to the image captured by the image capture units 110_1 and 110_2, and will not display an abnormal display result such as a black screen.

在本實施例中,顯示器240可以是本領域技術人員所熟知的顯示單元。顯示器240例如是液晶顯示器(liquid crystal display,LCD)、發光二極體(light-emitting diode,LED)、有機發光二極體(Organic Light-Emitting Diode,OLED)等提供顯示功能的顯示裝置。以及採用冷陰極螢光燈管(Cold Cathode Fluorescent Lamp,CCFL)或發光二極體(Light-Emitting Diode,LED)做為背光模組的螢幕。In this embodiment, the display 240 may be a display unit known to those skilled in the art. The display 240 may be, for example, a liquid crystal display (LCD), a light-emitting diode (LED), an organic light-emitting diode (OLED), or a display device that provides a display function. Also, a screen that uses a cold cathode fluorescent lamp (CCFL) or a light-emitting diode (LED) as a backlight module.

在本實施例中,電子裝置200還包括驅動電路250。驅動電路250耦接於影像處理器130。當驅動影像擷取單元110_1、110_2時,驅動電路250提供驅動訊號SD至影像處理器130。In this embodiment, the electronic device 200 further includes a driving circuit 250. The driving circuit 250 is coupled to the image processor 130. When the image capture units 110_1 and 110_2 are driven, the driving circuit 250 provides a driving signal SD to the image processor 130.

在本實施例中,電子裝置200還包括基本輸入輸出系統(Basic Input/Output System,BIOS)260。驅動電路250可反應於BIOS 260的控制來提供驅動訊號SD,然本揭露並不以此為限。在一些實施例中,驅動電路250可反應於其他控制電路的控制來提供驅動訊號SD。In this embodiment, the electronic device 200 further includes a Basic Input/Output System (BIOS) 260. The drive circuit 250 may provide a drive signal SD in response to the control of the BIOS 260, but the present disclosure is not limited thereto. In some embodiments, the drive circuit 250 may provide a drive signal SD in response to the control of other control circuits.

請同時參考圖3以及圖4,圖4是依據本揭露一實施例所繪示的操作方法的流程圖。操作方法S200適用於電子裝置200。在本實施例中,操作方法S200包括步驟S210~S270。在步驟S210中,預設定參數PRAD以及對應於影像擷取單元110_1、110_2的操作參數PRA1、PRA2被儲存至記憶體120。在步驟S220中,影像處理器130反應於驅動訊號SD來讀取對應於第一影像擷取單元的第一操作參數。舉例來說,驅動訊號SD是用於指示電子裝置200驅動影像擷取單元110_1的訊號。第一影像擷取單元是影像擷取單元110_1。第一操作參數是操作參數PRA1。因此,影像處理器130反應於驅動訊號SD來讀取被儲存於記憶體120中的操作參數PRA1。在步驟S230中,影像處理器130判斷操作參數PRA1是否正確。操作參數PRA1的判斷方式已經在步驟S130的實施範例中清楚說明,故不在此重述。Please refer to Figures 3 and 4 at the same time. Figure 4 is a flow chart of an operating method according to an embodiment of the present disclosure. The operating method S200 is applicable to the electronic device 200. In this embodiment, the operating method S200 includes steps S210~S270. In step S210, the default parameter PRAD and the operating parameters PRA1 and PRA2 corresponding to the image capture units 110_1 and 110_2 are stored in the memory 120. In step S220, the image processor 130 responds to the drive signal SD to read the first operating parameter corresponding to the first image capture unit. For example, the drive signal SD is a signal used to instruct the electronic device 200 to drive the image capture unit 110_1. The first image capture unit is the image capture unit 110_1. The first operating parameter is the operating parameter PRA1. Therefore, the image processor 130 responds to the drive signal SD to read the operating parameter PRA1 stored in the memory 120. In step S230, the image processor 130 determines whether the operating parameter PRA1 is correct. The determination method of the operating parameter PRA1 has been clearly explained in the implementation example of step S130, so it will not be repeated here.

當操作參數PRA1被判斷為正確時,影像處理器130會在步驟S240中利用操作參數PRA1來控制影像擷取單元110_1以接收來自於影像擷取單元110_1的影像數據DIMG1,並利用操作參數PRA1將影像數據DIMG1轉換為顯示數據DDP1。接下來,影像處理器130會在步驟S250中利用顯示數據DDP1來控制顯示器240。When the operating parameter PRA1 is determined to be correct, the image processor 130 uses the operating parameter PRA1 to control the image capture unit 110_1 in step S240 to receive the image data DIMG1 from the image capture unit 110_1, and uses the operating parameter PRA1 to convert the image data DIMG1 into display data DDP1. Next, the image processor 130 uses the display data DDP1 to control the display 240 in step S250.

在另一方面,當操作參數PRA1被判斷為錯誤時,影像處理器130會在步驟S260中利用預設定參數PRAD來接收來自於影像擷取單元110_1、110_2的其中之一的第二影像數據(即,影像數據DIMGD1、DIMGD2的其中之一),並利用預設定參數PRAD將第二影像數據轉換為第二顯示數據(即,顯示數據D1、D2的其中之一)。接下來,影像處理器130會在步驟S270中利用第二顯示數據來控制顯示器240。On the other hand, when the operating parameter PRA1 is judged to be an error, the image processor 130 receives the second image data (i.e., one of the image data DIMGD1, DIMGD2) from one of the image capture units 110_1, 110_2 using the preset parameter PRAD in step S260, and converts the second image data into second display data (i.e., one of the display data D1, D2) using the preset parameter PRAD. Next, the image processor 130 controls the display 240 using the second display data in step S270.

綜上所述,影像處理器反應於驅動訊號來讀取對應於第一影像擷取單元的第一操作參數。當第一操作參數錯誤時,影像處理器利用預設定參數來接收來自於所述至少一影像擷取單元的其中之一的第二影像數據,並利用預設定參數將第二影像數據轉換為第二顯示數據。如此一來,在操作參數發生錯誤的情況下,電子裝置依舊能夠接收到顯示數據。In summary, the image processor responds to the driving signal to read the first operating parameter corresponding to the first image capture unit. When the first operating parameter is erroneous, the image processor uses the preset parameter to receive the second image data from one of the at least one image capture unit, and uses the preset parameter to convert the second image data into the second display data. In this way, when the operating parameter is erroneous, the electronic device can still receive the display data.

雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露,任何所屬技術領域中具有通常知識者,在不脫離本揭露的精神和範圍內,當可作些許的更動與潤飾,故本揭露的保護範圍當視後附的申請專利範圍所界定者為準。Although the present disclosure has been disclosed as above by way of embodiments, it is not intended to limit the present disclosure. Any person having ordinary knowledge in the relevant technical field may make some changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the definition of the attached patent application scope.

100、200:電子裝置 110_1、110_2:影像擷取單元 120:記憶體 121:查找表 130:影像處理器 240:顯示器 250:驅動電路 260:BIOS D1、D2、DDP1、DDP2:顯示數據 DIMG1、DIMG2、DIMGD1、DIMGD2:影像數據 PRA1、PRA2:操作參數 PRAD:預設定參數 S100、S200:操作方法 S110~S150、S210~S270:步驟 SD:驅動訊號100, 200: electronic device 110_1, 110_2: image capture unit 120: memory 121: lookup table 130: image processor 240: display 250: drive circuit 260: BIOS D1, D2, DDP1, DDP2: display data DIMG1, DIMG2, DIMGD1, DIMGD2: image data PRA1, PRA2: operation parameters PRAD: default parameters S100, S200: operation method S110~S150, S210~S270: steps SD: drive signal

圖1是依據本揭露一實施例所繪示的電子裝置的示意圖。 圖2是依據本揭露一實施例所繪示的操作方法的流程圖。 圖3是依據本揭露一實施例所繪示的電子裝置的示意圖。 圖4是依據本揭露一實施例所繪示的操作方法的流程圖。 FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. FIG. 2 is a flow chart of an operation method according to an embodiment of the present disclosure. FIG. 3 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. FIG. 4 is a flow chart of an operation method according to an embodiment of the present disclosure.

100:電子裝置 100: Electronic devices

110_1、110_2:影像擷取單元 110_1, 110_2: Image capture unit

120:記憶體 120: Memory

121:查找表 121: Lookup table

130:影像處理器 130: Image processor

D1、D2、DDP1、DDP2:顯示數據 D1, D2, DDP1, DDP2: Display data

DIMG1、DIMG2、DIMGD1、DIMGD2:影像數據 DIMG1, DIMG2, DIMGD1, DIMGD2: Image data

PRA1、PRA2:操作參數 PRA1, PRA2: Operation parameters

PRAD:預設定參數 PRAD: Default parameters

SD:驅動訊號 SD: drive signal

Claims (10)

一種電子裝置,包括: 至少一影像擷取單元,包括一第一影像擷取單元; 一記憶體,經配置以儲存一預設定參數以及對應於該至少一影像擷取單元的至少一操作參數;以及 一影像處理器,耦接於該至少一影像擷取單元以及該記憶體,經配置以反應於一驅動訊號來讀取對應於該第一影像擷取單元的一第一操作參數,並且對該第一操作參數進行判斷, 其中當該第一操作參數正確時,該影像處理器利用該第一操作參數來控制該第一影像擷取單元以接收來自於該第一影像擷取單元的一第一影像數據,並利用該第一操作參數將該第一影像數據轉換為一第一顯示數據,並且 其中當該第一操作參數錯誤時,該影像處理器利用該預設定參數來接收來自於該至少一影像擷取單元的其中之一的一第二影像數據,並利用該預設定參數將該第二影像數據轉換為一第二顯示數據。 An electronic device, comprising: At least one image capture unit, including a first image capture unit; A memory, configured to store a preset parameter and at least one operating parameter corresponding to the at least one image capture unit; and An image processor, coupled to the at least one image capture unit and the memory, configured to respond to a drive signal to read a first operating parameter corresponding to the first image capture unit, and to judge the first operating parameter, wherein when the first operating parameter is correct, the image processor uses the first operating parameter to control the first image capture unit to receive a first image data from the first image capture unit, and uses the first operating parameter to convert the first image data into a first display data, and When the first operating parameter is erroneous, the image processor uses the preset parameter to receive a second image data from one of the at least one image capture units, and uses the preset parameter to convert the second image data into a second display data. 如請求項1所述的電子裝置,還包括: 一顯示器,耦接於該影像處理器, 其中當該第一操作參數錯誤時,該影像處理器利用該第二顯示數據控制該顯示器。 The electronic device as described in claim 1 further comprises: A display coupled to the image processor, wherein when the first operating parameter is erroneous, the image processor controls the display using the second display data. 如請求項2所述的電子裝置,其中當該第一操作參數正確時,該影像處理器利用該第一顯示數據控制該顯示器。An electronic device as described in claim 2, wherein when the first operating parameter is correct, the image processor controls the display using the first display data. 如請求項1所述的電子裝置,其中該第一操作參數包括該第一影像擷取單元的名稱、對應於該第一影像擷取單元的白平衡參數、對應於該第一影像擷取單元的曝光參數以及對應於該第一影像擷取單元的臉部識別參數的至少其中之一。An electronic device as described in claim 1, wherein the first operating parameter includes at least one of a name of the first image capture unit, a white balance parameter corresponding to the first image capture unit, an exposure parameter corresponding to the first image capture unit, and a facial recognition parameter corresponding to the first image capture unit. 如請求項1所述的電子裝置,其中該記憶體包括: 一查找表,經配置以紀錄該預設定參數以及對應於該至少一影像擷取單元的該至少一操作參數。 An electronic device as described in claim 1, wherein the memory includes: A lookup table configured to record the preset parameter and the at least one operating parameter corresponding to the at least one image capture unit. 如請求項1所述的電子裝置,還包括: 一驅動電路,耦接於該至少一影像擷取單元以及該影像處理器,經配置以當驅動該至少一影像擷取單元的其中之一時提供該驅動訊號。 The electronic device as described in claim 1 further comprises: A driving circuit coupled to the at least one image capture unit and the image processor, configured to provide the driving signal when one of the at least one image capture unit is driven. 如請求項1所述的電子裝置,其中該預設定參數是適用於該至少一影像擷取單元的操作參數。An electronic device as described in claim 1, wherein the default parameter is an operating parameter applicable to the at least one image capture unit. 一種用於一電子裝置的操作方法,其中該電子裝置包括至少一影像擷取單元以及記憶體,該至少一影像擷取單元包括一第一影像擷取單元,其中該操作方法包括: 將一預設定參數以及對應於該至少一影像擷取單元的至少一操作參數儲存至該記憶體; 反應於一驅動訊號來讀取對應於該第一影像擷取單元的一第一操作參數,並且對該第一操作參數進行判斷; 當該第一操作參數正確時,利用該第一操作參數來控制該第一影像擷取單元以接收來自於該第一影像擷取單元的一第一影像數據,並利用該第一操作參數將該第一影像數據轉換為一第一顯示數據;以及 當該第一操作參數錯誤時,利用該預設定參數來接收來自於該至少一影像擷取單元的其中之一的一第二影像數據,並利用該預設定參數將該第二影像數據轉換為一第二顯示數據。 An operating method for an electronic device, wherein the electronic device includes at least one image capture unit and a memory, wherein the at least one image capture unit includes a first image capture unit, wherein the operating method includes: Storing a preset parameter and at least one operating parameter corresponding to the at least one image capture unit in the memory; Responding to a driving signal to read a first operating parameter corresponding to the first image capture unit, and judging the first operating parameter; When the first operating parameter is correct, using the first operating parameter to control the first image capture unit to receive a first image data from the first image capture unit, and using the first operating parameter to convert the first image data into a first display data; and When the first operating parameter is erroneous, the preset parameter is used to receive a second image data from one of the at least one image capture units, and the second image data is converted into a second display data using the preset parameter. 如請求項8所述的操作方法,其中該電子裝置還包括一顯示器,其中該操作方法還包括: 當該第一操作參數錯誤時,利用該第二顯示數據控制該顯示器。 The operating method as described in claim 8, wherein the electronic device further includes a display, wherein the operating method further includes: When the first operating parameter is erroneous, using the second display data to control the display. 如請求項9所述的操作方法,其中該操作方法還包括: 當該第一操作參數正確時,利用該第一顯示數據控制該顯示器。 The operating method as described in claim 9, wherein the operating method further comprises: When the first operating parameter is correct, using the first display data to control the display.
TW112148254A 2023-12-12 2023-12-12 Electronic device and an operating method for electronic device TWI885635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112148254A TWI885635B (en) 2023-12-12 2023-12-12 Electronic device and an operating method for electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112148254A TWI885635B (en) 2023-12-12 2023-12-12 Electronic device and an operating method for electronic device

Publications (2)

Publication Number Publication Date
TWI885635B true TWI885635B (en) 2025-06-01
TW202524293A TW202524293A (en) 2025-06-16

Family

ID=97224112

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112148254A TWI885635B (en) 2023-12-12 2023-12-12 Electronic device and an operating method for electronic device

Country Status (1)

Country Link
TW (1) TWI885635B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI661770B (en) * 2018-05-31 2019-06-11 National Chin-Yi University Of Technology Intelligent deep learning agricultural and fishery training system
US20190205244A1 (en) * 2011-04-06 2019-07-04 P4tents1, LLC Memory system, method and computer program products
CN113301148A (en) * 2021-05-21 2021-08-24 北京达佳互联信息技术有限公司 Page display method, device, server, terminal and storage medium
CN116453437A (en) * 2023-06-16 2023-07-18 深圳市彤兴电子有限公司 Display screen module testing method, device, equipment and storage medium
TWI826242B (en) * 2023-01-19 2023-12-11 緯創資通股份有限公司 Receiving device and operation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190205244A1 (en) * 2011-04-06 2019-07-04 P4tents1, LLC Memory system, method and computer program products
TWI661770B (en) * 2018-05-31 2019-06-11 National Chin-Yi University Of Technology Intelligent deep learning agricultural and fishery training system
CN113301148A (en) * 2021-05-21 2021-08-24 北京达佳互联信息技术有限公司 Page display method, device, server, terminal and storage medium
TWI826242B (en) * 2023-01-19 2023-12-11 緯創資通股份有限公司 Receiving device and operation method thereof
CN116453437A (en) * 2023-06-16 2023-07-18 深圳市彤兴电子有限公司 Display screen module testing method, device, equipment and storage medium

Also Published As

Publication number Publication date
TW202524293A (en) 2025-06-16

Similar Documents

Publication Publication Date Title
US20210082373A1 (en) Method for correcting brightness of display panel and apparatus for correcting brightness of display panel
CN104424895B (en) Display backlight adjustment method and backlight adjustment device
CN108922494B (en) Light sensing module fault detection method and device, display screen and air conditioner
US20120169241A1 (en) Electronic device capable of detecting environment brightness and method thereof
US8861882B2 (en) Method and device for eliminating image blur by pixel-based processing
TWI556202B (en) Display driving apparatus and method for driving display apparatus
EP2207157A2 (en) Display device and method for driving the same
US10728409B2 (en) Electronic apparatus with a user interface module having a diagnosis unit to detect an abnormality of a display at the time of boot, and abnormality detection method
US20150106643A1 (en) Detecting circuit and configuration status detecting method of real-time clock battery and electronic apparatus using the same
US20110074836A1 (en) Display driver capable of selectively providing gamma correction and display apparatus using same
US20210160394A1 (en) Information processing apparatus and method of notifying verification result of program
TWI885635B (en) Electronic device and an operating method for electronic device
EP3370225A1 (en) Display processing method and apparatus, and display device
GB2574290A (en) Information processing apparatus and information processing method
JP2004248059A (en) Electronic camera
CN105338289A (en) Static interference processing method and apparatus
CN110088828A (en) Correction system
CN119007684B (en) Transistor compensation circuit, transistor compensation method and display panel
US7378977B2 (en) Current overload detecting system and method
CN102176301B (en) A kind of LED control device of system intelligence monitoring and LED control system
CN115631708B (en) Backlight module monitoring method and monitoring device
CN114999367B (en) Display panel and driving method thereof
TW201725570A (en) The monitor automatically corresponds to a different environment and a corresponding adjustment of supply to determine the maximum brightness adjustment method
JP2006074734A (en) Pixel inspection method, pixel output voltage correction method, defective pixel processing apparatus, defective pixel processing program, defective pixel processing method, and recording medium on which the program is recorded
CN117319528A (en) Automatic identification method for vehicle-mounted display terminal panel and related equipment