TWI838086B - Image analyzation method and image analyzation device - Google Patents
Image analyzation method and image analyzation device Download PDFInfo
- Publication number
- TWI838086B TWI838086B TW112101818A TW112101818A TWI838086B TW I838086 B TWI838086 B TW I838086B TW 112101818 A TW112101818 A TW 112101818A TW 112101818 A TW112101818 A TW 112101818A TW I838086 B TWI838086 B TW I838086B
- Authority
- TW
- Taiwan
- Prior art keywords
- color
- prompt message
- image
- external image
- type
- Prior art date
Links
- 238000000034 method Methods 0.000 title abstract description 4
- 238000005516 engineering process Methods 0.000 claims abstract description 12
- 238000010191 image analysis Methods 0.000 claims description 34
- 238000012360 testing method Methods 0.000 claims description 30
- 238000003703 image analysis method Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 description 41
- 238000010586 diagram Methods 0.000 description 10
- 238000003384 imaging method Methods 0.000 description 10
- 238000013136 deep learning model Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000010409 thin film Substances 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Abstract
Description
本發明是有關於一種影像分析技術,且特別是有關於一種影像分析方法與影像分析裝置。 The present invention relates to an image analysis technology, and in particular to an image analysis method and an image analysis device.
傳統上,若要檢測攝影鏡頭的成像品質,需要先使用攝影鏡頭來擷取外部影像,然後再於後台針對該外部影像進行分析,從而根據影像分析結果來評估該攝影鏡頭的成像品質。但是,這樣的影像分析技術並無法在擷取外部影像的當下就讓使用者獲得攝影鏡頭的成像品質,而在完成影像擷取後再於後台進行鏡頭校正也已經為時已晚。 Traditionally, to test the imaging quality of a camera lens, you need to first use the camera lens to capture external images, and then analyze the external images in the background to evaluate the imaging quality of the camera lens based on the image analysis results. However, such image analysis technology cannot allow users to obtain the imaging quality of the camera lens at the moment of capturing external images, and it is too late to perform lens calibration in the background after completing image capture.
本發明提供一種影像分析方法與影像分析裝置,可提高影像分析效率。 The present invention provides an image analysis method and an image analysis device, which can improve the efficiency of image analysis.
本發明的實施例提供一種影像分析方法,其包括:經由 攝影鏡頭擷取外部影像;使用影像分析技術分析所述外部影像,以在所述外部影像中決定目標區域;根據所述目標區域的色彩分布狀況產生色彩提示訊息,其中所述色彩提示訊息提供與所述色彩分布狀況有關的統計資訊;以及經由顯示器同時呈現所述外部影像與所述色彩提示訊息。 The embodiment of the present invention provides an image analysis method, which includes: capturing an external image through a camera lens; analyzing the external image using image analysis technology to determine a target area in the external image; generating a color prompt message according to the color distribution of the target area, wherein the color prompt message provides statistical information related to the color distribution; and simultaneously presenting the external image and the color prompt message through a display.
本發明的實施例另提供一種影像分析裝置,其包括攝影鏡頭、顯示器、儲存電路及處理器。所述處理器耦接至所述攝影鏡頭、所述顯示器及所述儲存電路。所述處理器用以:經由所述攝影鏡頭擷取外部影像;使用影像分析技術分析所述外部影像,以在所述外部影像中決定目標區域;根據所述目標區域的色彩分布狀況產生色彩提示訊息,其中所述色彩提示訊息提供與所述色彩分布狀況有關的統計資訊;以及經由所述顯示器同時呈現所述外部影像與所述色彩提示訊息。 The embodiment of the present invention further provides an image analysis device, which includes a camera lens, a display, a storage circuit and a processor. The processor is coupled to the camera lens, the display and the storage circuit. The processor is used to: capture an external image through the camera lens; analyze the external image using image analysis technology to determine a target area in the external image; generate a color prompt message according to the color distribution of the target area, wherein the color prompt message provides statistical information related to the color distribution; and simultaneously present the external image and the color prompt message through the display.
基於上述,在經由攝影鏡頭擷取外部影像後,所述外部影像可被分析以在所述外部影像中決定目標區域。根據所述目標區域的色彩分布狀況,色彩提示訊息可被產生,以提供與所述色彩分布狀況有關的統計資訊。爾後,所述外部影像與所述色彩提示訊息可經由顯示器同時呈現。藉此,可提高對外部影像的即時影像分析效率。 Based on the above, after capturing an external image through a camera lens, the external image can be analyzed to determine a target area in the external image. According to the color distribution of the target area, a color prompt message can be generated to provide statistical information related to the color distribution. Thereafter, the external image and the color prompt message can be simultaneously presented through a display. In this way, the efficiency of real-time image analysis of external images can be improved.
10:影像分析裝置 10: Image analysis device
11:攝影鏡頭 11: Photography lens
12:顯示器 12: Display
13:儲存電路 13: Storage circuit
14:處理器 14: Processor
21~27,31~34,41~43:方塊 21~27,31~34,41~43: Blocks
51:影像 51: Image
501~503:目標區域 501~503: Target area
511~513:色彩提示訊息 511~513: Color prompt message
514:場景提示訊息 514: Scene prompt message
S601~S604:步驟 S601~S604: Steps
圖1是根據本發明的實施例所繪示的影像分析裝置的示意圖。 FIG1 is a schematic diagram of an image analysis device according to an embodiment of the present invention.
圖2是根據本發明的實施例所繪示的產生色彩提示訊息的示意圖。 FIG2 is a schematic diagram of generating a color prompt message according to an embodiment of the present invention.
圖3是根據本發明的實施例所繪示的產生色彩提示訊息的示意圖。 FIG3 is a schematic diagram of generating a color prompt message according to an embodiment of the present invention.
圖4是根據本發明的實施例所繪示的產生場景提示訊息的示意圖。 FIG4 is a schematic diagram of generating a scene prompt message according to an embodiment of the present invention.
圖5A至圖5C是根據本發明的實施例所繪示的顯示外部影像、色彩提示訊息及場景提示訊息的示意圖。 Figures 5A to 5C are schematic diagrams showing external images, color prompt messages, and scene prompt messages according to an embodiment of the present invention.
圖6是根據本發明的實施例所繪示的影像分析方法的流程圖。 FIG6 is a flow chart of an image analysis method according to an embodiment of the present invention.
圖1是根據本發明的實施例所繪示的影像分析裝置的示意圖。 FIG1 is a schematic diagram of an image analysis device according to an embodiment of the present invention.
請參照圖1,影像分析裝置10可包括攝影機、智慧型手機、平板電腦、頭戴式顯示器、筆記型電腦或其他具有影像擷取與顯示功能的電子裝置。本發明不限制影像分析裝置10的類型。
Referring to FIG. 1 , the
影像分析裝置10包括攝影鏡頭11、顯示器12、儲存電路13及處理器14。攝影鏡頭11用以擷取外部影像。所述外部影像可包括或反映攝影鏡頭11所拍攝到的外部環境之影像。例如,
攝影鏡頭11可包括影像擷取模組。所述影像擷取模組可包括鏡頭與感光元件以支援影像擷取功能。本發明不限制攝影鏡頭11的類型。
The
在一實施例中,攝影鏡頭11是設置於影像分析裝置10中。在一實施例中,攝影鏡頭11屬於外接式攝影裝置並耦接至影像分析裝置10。
In one embodiment, the
顯示器12用以顯示影像。例如,顯示器12可用以即時顯示所述外部影像。例如,顯示器12可包括電漿顯示器(Plasma Display)、液晶顯示器(liquid-crystal display,LCD)、薄膜電晶體液晶顯示器(Thin film transistor liquid crystal display,TFT-LCD)、有機發光二極體(Organic Light-Emitting Diode,OLED)及發光二極體顯示器(LED display)等,且顯示器12的類型不限於此。
The
儲存電路13可用以儲存資料。例如,儲存電路13可儲存所述外部影像。例如,儲存電路13可包括非揮發性儲存電路與揮發性儲存電路。例如,非揮發性儲存電路可包括唯讀記憶體(Read Only Memory,ROM)、快閃記憶體、傳統硬碟(Hard disk drive,HDD)或類似的非揮發性儲存媒體。例如,揮發性儲存電路可包括動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)或類似的揮發性儲存媒體。
The
處理器14耦接至攝影鏡頭11、顯示器12及儲存電路13。處理器14可用以負責影像分析裝置10的整體或部分運作。例如,處理器14可包括中央處理單元(Central Processing Unit,CPU)、影
像處理單元(Graphics Processing Unit,GPU)或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合。
The
在一實施例中,影像分析裝置10還可包括網路介面卡、滑鼠、鍵盤、觸控板、觸控面板、搖桿、遙控器、電池、電源管理電路、麥克風及/或揚聲器等各式輸入/輸出(Input/Output,I/O)裝置及/或周邊裝置,在此不逐一贅述。
In one embodiment, the
在一實施例中,處理器14可經由攝影鏡頭11擷取外部影像。例如,處理器14可指示攝影鏡頭11對外部環境進行影像擷取以獲得所述外部影像。處理器14可將所述外部影像暫存於儲存電路13中。
In one embodiment, the
在一實施例中,處理器14可使用影像分析技術來分析所述外部影像,以在所述外部影像中決定一或多個特定區域(亦稱為目標區域)。例如,處理器14可取得所述外部影像中的至少部分像素位置所對應的像素值。根據此些像素值,處理器14可將外部影像中符合特定條件的影像區域設定為目標區域。
In one embodiment, the
在一實施例中,處理器14可透過影像分析技術,偵測所述外部影像中的特定物件。例如,所述特定物件可包括各式預設類型或具有預設形狀的物體,本發明不加以限制。根據所述特定
物件的偵測結果,處理器14可在所述外部影像中決定目標區域。例如,在測得外部影像中的特定物件後,處理器14可根據所述特定物件在外部影像中佔據的影像範圍或所述特定物件的輪廓來設定目標區域,使得所決定的目標區域可涵蓋所述特定物件。此外,目標區域的形狀可以是矩形、圓形或不規則形等,本發明不加以限制。
In one embodiment, the
在一實施例中,處理器14可使用經訓練的深度學習(deep learning)模型等影像辨識模型來對所述外部影像執行影像辨識,以偵測外部影像中的特定物件。例如,處理器14可使用大量訓練資料(例如訓練影像)來訓練所述影像辨識模型執行影像辨識並根據相對應的驗證資料來對所述影像辨識模型的影像辨識結果進行驗證。根據驗證結果,所述影像辨識模型的內部決策參數(例如權重值)可被更新,從而提高所述影像辨識模型對所述特定物件的偵測或辨識準確率。
In one embodiment, the
在一實施例中,在確定目標區域後,處理器14可根據所述目標區域的色彩分布狀況產生提示訊息(亦稱為色彩提示訊息)。特別是,此色彩提示訊息可用以提供與所述目標區域之色彩分布狀況有關的統計資訊。然後,處理器14可經由顯示器12同時呈現所述外部影像與所述色彩提示訊息。
In one embodiment, after determining the target area, the
在一實施例中,所述特定物件可包括一或多種類型的物件。在一實施例中,所述特定物件可包括第一類物件與第二類物件。特別是,第一類物件帶有用以執行色彩偏差分析的圖案(亦稱
為色彩測試圖案或色彩檢測圖案),而第二類物件則不帶有所述色彩測試圖案。所述色彩測試圖案中可帶有不同顏色的色塊,以對攝影鏡頭11的成像品質進行檢測。
In one embodiment, the specific object may include one or more types of objects. In one embodiment, the specific object may include a first type of object and a second type of object. In particular, the first type of object carries a pattern for performing color deviation analysis (also called a color test pattern or a color detection pattern), while the second type of object does not carry the color test pattern. The color test pattern may carry blocks of different colors to detect the imaging quality of the
在一實施例中,響應於外部影像中的某一個特定物件為第一類物件,處理器14可根據涵蓋此特定物件的目標區域的色彩分布狀況產生相對應的色彩提示訊息(亦稱為第一提示訊息)。特別是,第一提示訊息可用以提供與所述第一類物件中的色彩測試圖案的色彩偏差有關的資訊。
In one embodiment, in response to a specific object in the external image being a first-class object, the
在一實施例中,響應於外部影像中的某一個特定物件為第一類物件,處理器14可對涵蓋此特定物件的目標區域執行色彩檢測,以獲得與此第一類物件中的色彩測試圖案的色彩偏差有關的資訊。例如,處理器14可取得此目標區域中的色彩測試圖案中的各個像素位置所對應的(實際)像素值。處理器14可將此些像素值與此色彩測試圖案中的各個像素位置所對應的標準像素值進行比對。處理器14可根據比對結果獲得此色彩測試圖案中的各個像素位置的(實際)像素值與相對應的標準像素值之間的差值。處理器14可根據此差值獲得此色彩測試圖案中的各個像素位置的色彩偏差量。然後,處理器14可根據此色彩偏差量產生第一提示訊息。
In one embodiment, in response to a specific object in the external image being a first-class object, the
圖2是根據本發明的實施例所繪示的產生色彩提示訊息的示意圖。 FIG2 is a schematic diagram of generating a color prompt message according to an embodiment of the present invention.
請參照圖2,在方塊21中,處理器14可啟動色彩檢測模組。在方塊22中,處理器14可透過此色彩檢測模組來偵測外部
影像中的色彩檢測圖案(即第一類物件)。例如,此色彩檢測模組可搭配前述深度學習模型來設計、訓練並使用,以偵測外部影像中的色彩檢測圖案(即第一類物件)。
Referring to FIG. 2 , in
在偵測到外部影像中的色彩檢測圖案後,在方塊23中,處理器14可判斷此色彩檢測圖案是否為已知圖案。例如,處理器14可將此色彩檢測圖案與資料庫中的一或多個預測檢測圖案進行邊緣比對或顏色區塊比對。若比對結果呈現出此色彩檢測圖案與資料庫中的某一個預設檢測圖案(亦稱為第一預設檢測圖案)相互吻合,則處理器14可判定此色彩檢測圖案為已知圖案。響應於此色彩檢測圖案為已知圖案,在方塊24中,處理器14可套用資料庫中的第一預設檢測圖案作為檢測樣本(亦稱為預設檢測樣本)。
After detecting the color detection pattern in the external image, in
另一方面,若比對結果呈現出此色彩檢測圖案與資料庫中的所有預設檢測圖案皆不吻合,則處理器14可判定此色彩檢測圖案非為已知圖案。響應於此色彩檢測圖案非為已知圖案,在方塊25中,處理器14可套用資料庫中最接近此色彩測試圖案的類似檢測圖案作為檢測樣本(亦稱為類似檢測樣本)。例如,所述類似檢測圖案可包含網路上常見的帶有不同色塊的色彩測試圖案。
On the other hand, if the comparison result shows that the color detection pattern does not match any of the preset detection patterns in the database, the
接著,在方塊26中,處理器14可根據所偵測到的色彩測試圖案(或第一類物件)來決定外部影像中的目標區域。例如,處理器14可將外部影像中涵蓋此色彩檢測圖案(或第一類物件)的影像區域設定為目標區域。在方塊27中,處理器14可將目標區域中的色彩測試圖案中的各個像素位置所對應的像素值分別與檢測
樣本中相同像素位置所對應的像素值(即標準像素值)進行比對並根據比對結果產生色彩提示訊息(即第一提示訊息)。第一提示訊息可包含與外部影像中的色彩測試圖案有關的色彩偏差之資訊,以反映此色彩測試圖案中的各個像素位置的(實際)像素值與相對應的標準像素值之間的色彩偏差。根據此色彩偏差之資訊,使用者及/或處理器14可得知當前攝影鏡頭11的成像品質。
Next, in
在一實施例中,第一提示訊息所提供的與色彩測試圖案的色彩偏差有關的資訊(例如所述色彩偏差量)可用以調整攝影鏡頭11的至少部分設定參數。例如,在調整攝影鏡頭11的至少部分設定參數後,重新擷取的外部影像中的色彩測試圖案所對應的色彩偏差量可被減少,從而提升經由攝影鏡頭11擷取的外部影像的影像品質。
In one embodiment, the information related to the color deviation of the color test pattern (e.g., the color deviation amount) provided by the first prompt message can be used to adjust at least some of the setting parameters of the
請回到圖1,在一實施例中,響應於外部影像中的某一個特定物件為第二類物件,處理器14可根據涵蓋此特定物件的目標區域的色彩分布狀況產生相對應的色彩提示訊息(亦稱為第二提示訊息)。特別是,第二提示訊息可用以提供與第二類物件的色彩分布有關的資訊。
Please return to FIG. 1. In one embodiment, in response to a specific object in the external image being a second type of object, the
在一實施例中,響應於外部影像中的某一個特定物件為第二類物件,處理器14可對涵蓋此特定物件的目標區域執行色彩檢測,以獲得與第二類物件的色彩分布有關的資訊。例如,處理器14可取得此目標區域中的物件影像中的各個像素位置所對應的像素值。處理器14可統計此些像素值的數值分布。例如,此數值
分布可反映物件影像中的各個像素位置所對應的像素值的統計資訊。例如,此統計資訊可反映物件影像中像素值為0~255的像素位置分別有幾個等等,且此統計資訊可根據實務需求進行設計與調整。然後,處理器14可根據此數值分布產生第二提示訊息。
In one embodiment, in response to a specific object in an external image being a second-class object, the
圖3是根據本發明的實施例所繪示的產生色彩提示訊息的示意圖。 FIG3 is a schematic diagram of generating a color prompt message according to an embodiment of the present invention.
請參照圖3,在方塊31中,處理器14可啟動物件偵測模組。在方塊32中,處理器14可透過此物件偵測模組來偵測外部影像中的第二類物件(亦稱為目標物件)。例如,此物件偵測模組可搭配前述深度學習模型設計、訓練並使用,以偵測外部影像中的目標物件。
Referring to FIG. 3 , in
在偵測到外部影像中的目標物件後,在方塊33中,處理器14可根據所偵測到的目標物件來決定外部影像中的目標區域。例如,處理器14可將外部影像中涵蓋目標物件的影像區域設定為目標區域。接著,在方塊34中,處理器14可對涵蓋此目標物件的目標區域執行色彩檢測並根據檢測結果產生色彩提示訊息(即第二提示訊息)。例如,第二提示訊息可反映目標區域中的目標物件中的至少部分像素位置的像素值的數值分布狀態。此數值分布狀態同樣可反映當前攝影鏡頭11的成像品質。在一實施例中,此數值分布狀態亦可用以調整攝影鏡頭11的至少部分設定參數,以提升攝影鏡頭11的成像品質。
After detecting the target object in the external image, in block 33, the
以外部影像中的計程車作為目標物件的範例,在正常情
況下,計程車的車體部分絕大部分都是黃色的。因此,若第二提示訊息反映出包含此計程車之影像的目標區域中的色彩分布絕大部分都是黃色,表示當前攝影鏡頭11的成像品質是合理的。然而,若第二提示訊息反映出包含此計程車之影像的目標區域中的色彩分布只帶有少量的黃色,表示當前攝影鏡頭11的成像品質不合理而需要校正。
Taking a taxi in an external image as an example of a target object, under normal circumstances, the body of the taxi is mostly yellow. Therefore, if the second prompt message reflects that the color distribution in the target area of the image containing the taxi is mostly yellow, it means that the imaging quality of the
請回到圖1,在一實施例中,處理器14還可使用影像分析技術來分析所述外部影像,以偵測所述外部影像所對應的場景類型。所述場景類型可反映當前攝影鏡頭11所擷取的外部影像所對應的環境的場景類型,例如為室內、戶外、太陽下、陰天、雨天、白天及/或晚上等,且所述場景類型不限於此。例如,處理器14可根據所述外部影像的整體色調(例如色溫)或其他參考依據來判斷所述外部影像所對應的場景類型。
Please go back to Figure 1. In one embodiment, the
在一實施例中,處理器14可根據所偵測的場景類型產生提示訊息(亦稱為場景提示訊息)。此場景提示訊息可反映當前攝影鏡頭11所擷取的外部影像所對應的環境狀態。然後,處理器14可經由顯示器12同時呈現所述外部影像、所述色彩提示訊息及所述場景提示訊息。
In one embodiment, the
圖4是根據本發明的實施例所繪示的產生場景提示訊息的示意圖。 FIG4 is a schematic diagram of generating a scene prompt message according to an embodiment of the present invention.
請參照圖4,在方塊41中,處理器14可啟動場景偵測模組。在方塊42中,處理器14可透過此場景偵測模組來偵測外部
影像所對應的場景類型。例如,此場景偵測模組可搭配前述深度學習模型設計、訓練並使用,以偵測外部影像所對應的場景類型。
Please refer to FIG. 4 . In
在偵測到外部影像所對應的場景類型後,在方塊43中,處理器14可根據所偵測到的場景類型產生場景提示訊息。例如,此場景提示訊息可反映外部影像所對應的場景類型為室內、戶外、太陽下、陰天、雨天、白天及/或晚上等。
After detecting the scene type corresponding to the external image, in
在一實施例中,在不同的場景類型(例如不同的天氣狀態、室內或戶外等)下,所擷取的外部影像的整體色調可能不同,從而導致所檢測到的色彩測試圖案的色彩偏差及/或目標物件的色彩分布可能會發生誤差。在一實施例中,處理器14可根據當下偵測到的外部影像所對應的場景類型,搭配前述色彩偏差及/或色彩分部之資訊,來對攝影鏡頭11的至少部分參數進行調整,從而提升對攝影鏡頭11的參數調整的準確度。藉此,可避免因環境類型不同而對攝影鏡頭11的參數調整產生誤差。
In one embodiment, the overall color tone of the captured external image may be different under different scene types (e.g., different weather conditions, indoors or outdoors, etc.), which may cause errors in the color deviation of the detected color test pattern and/or the color distribution of the target object. In one embodiment, the
在一實施例中,處理器14可將所述色彩提示訊息(即第一提示訊息及/或第二提示訊息)及/或場景提示訊息與外部影像同步呈現於顯示器12的顯示介面中。例如,處理器14可指示顯示器12將色彩提示訊息及/或場景提示訊息浮置於外部影像的圖層上方。
In one embodiment, the
圖5A至圖5C是根據本發明的實施例所繪示的顯示外部影像、色彩提示訊息及場景提示訊息的示意圖。 Figures 5A to 5C are schematic diagrams showing external images, color prompt messages, and scene prompt messages according to an embodiment of the present invention.
請參照圖5A,假設外部影像包括影像51。影像51所對
應的場景類型為室外,且影像51中包含第一類物件(即色彩測試圖案)與第二類物件(即車輛與人臉)。
Please refer to FIG. 5A , assuming that the external image includes
請參照圖5B,在透過影像分析技術來分析影像51後,第一類物件(即色彩測試圖案)與第二類物件(即車輛與人臉)可被偵測,且目標區域501~503可被決定。其中,目標區域501涵蓋第一類物件(即色彩測試圖案),且目標區域502、503涵蓋第二類物件(即人臉與車輛),如圖5B所示。
Please refer to FIG. 5B . After analyzing
請參照圖5C,在對目標區域的色彩分布狀況進行偵測與分析後,色彩提示訊息511~513可被呈現(例如浮置)於影像51的圖層上方,以提供與目標區域的色彩分布狀況有關的統計資訊。色彩提示訊息511可提供與目標區域501中的色彩測試圖案的色彩偏差有關的資訊。例如,色彩提示訊息511中任兩個點之間的連線長度,可反映色彩測試圖案中的某一個色塊的色彩偏差量。若色彩提示訊息511中某兩個點之間的連線長度越長,表示該連線所對應的色塊的色彩偏差量越大。色彩提示訊息512可提供與目標區域502中的目標物件的色彩分布有關的資訊(例如與目標區域502中的人臉的顏色分布有關的統計資訊)。色彩提示訊息513可提供與目標區域503中的目標物件的色彩分布有關的資訊(例如與目標區域503中的車輛的顏色分布有關的統計資訊)。須注意的是,色彩提示訊息511~513所提供的與目標區域的色彩分布狀況有關的統計資訊可根據實務需求進行設計與調整,本發明不加以限制。
Referring to FIG. 5C , after detecting and analyzing the color distribution of the target area, color prompt messages 511-513 may be presented (e.g., floated) above the layer of the
在一實施例中,在對影像51進行場景偵測後,根據影像51所對應的場景類型,場景提示訊息514也可被呈現於影像51中(例如浮置於影像51的圖層上方)。例如,場景提示訊息514可提供影像51的場景資訊(例如為室外)。
In one embodiment, after scene detection is performed on
在一實施例中,在即時呈現色彩提示訊息511~513(及場景提示訊息514)的狀態下,攝影鏡頭11的成像品質可根據色彩提示訊息511~513(及場景提示訊息514)而在擷取影像51的當下被即時評估。此評估結果可用以即時或在後續任一時間點對攝影鏡頭11的至少部分設定參數進行調整。藉此,可有效提高對攝影鏡頭11的參數調整效率。
In one embodiment, when the color prompt messages 511-513 (and the scene prompt message 514) are presented in real time, the imaging quality of the
圖6是根據本發明的實施例所繪示的影像分析方法的流程圖。 FIG6 is a flow chart of an image analysis method according to an embodiment of the present invention.
請參照圖6,在步驟S601中,經由攝影鏡頭擷取外部影像。在步驟S602中,使用影像分析技術分析外部影像,以在外部影像中決定目標區域。在步驟S603中,根據目標區域的色彩分布狀況產生色彩提示訊息,其中色彩提示訊息提供與所述色彩分布狀況有關的統計資訊。在步驟S604中,經由顯示器同時呈現外部影像與色彩提示訊息。 Please refer to Figure 6. In step S601, an external image is captured by a camera lens. In step S602, the external image is analyzed using image analysis technology to determine the target area in the external image. In step S603, a color prompt message is generated according to the color distribution of the target area, wherein the color prompt message provides statistical information related to the color distribution. In step S604, the external image and the color prompt message are simultaneously presented through a display.
然而,圖6中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖6中各步驟可以實作為多個程式碼或是電路,本案不加以限制。此外,圖6的方法可以搭配以上範例實施例使用,也可以單獨使用,本案不加以限制。 However, each step in FIG6 has been described in detail above and will not be repeated here. It is worth noting that each step in FIG6 can be implemented as multiple program codes or circuits, which is not limited in this case. In addition, the method of FIG6 can be used in conjunction with the above exemplary embodiments or can be used alone, which is not limited in this case.
綜上所述,本發明的實施例提出的影像分析方法與影像分析裝置,可根據當前經由攝影鏡頭擷取到的外部影像,將相關的色彩分布或色彩偏差資訊搭配該外部影像同時呈現於顯示器中。藉此,不需要等到使用者回家或是使用其餘專業儀器,使用者也可以很容易地根據此些資訊來對攝影鏡頭的至少部分設定參數進行調整與校正,從而提升攝影鏡頭的成像品質。 In summary, the image analysis method and image analysis device proposed in the embodiment of the present invention can present the relevant color distribution or color deviation information together with the external image captured by the camera lens on the display. In this way, the user can easily adjust and calibrate at least part of the setting parameters of the camera lens according to this information without waiting for the user to return home or use other professional instruments, thereby improving the imaging quality of the camera lens.
雖然本案已以實施例揭露如上,然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案的精神和範圍內,當可作些許的更動與潤飾,故本案的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed as above by way of embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field may make some changes and modifications within the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of the patent application attached hereto.
S601~S604:步驟 S601~S604: Steps
Claims (12)
Publications (1)
Publication Number | Publication Date |
---|---|
TWI838086B true TWI838086B (en) | 2024-04-01 |
Family
ID=
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9692964B2 (en) | 2003-06-26 | 2017-06-27 | Fotonation Limited | Modification of post-viewing parameters for digital images using image region or feature information |
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9692964B2 (en) | 2003-06-26 | 2017-06-27 | Fotonation Limited | Modification of post-viewing parameters for digital images using image region or feature information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10169894B2 (en) | Rebuilding images based on historical image data | |
US9392153B2 (en) | Plenoptic camera resolution | |
US20170031056A1 (en) | Solar Energy Forecasting | |
US20070176927A1 (en) | Image Processing method and image processor | |
US11030728B2 (en) | Tone mapping techniques for increased dynamic range | |
JP7006567B2 (en) | Shooting method and shooting equipment | |
CN107392145A (en) | A kind of fingerprint identification method, terminal and computer-readable recording medium | |
CN111475384B (en) | Shell temperature calculation method and device, storage medium and electronic equipment | |
CN113192470B (en) | Screen adjusting method and device, storage medium and electronic equipment | |
TWI732698B (en) | Anti-counterfeiting method and system for under-screen fingerprint identification | |
CN111311556B (en) | Mobile phone defect position identification method and equipment | |
CN111401419A (en) | Improved RetinaNet-based employee dressing specification detection method | |
CN108551552A (en) | Image processing method, device, storage medium and mobile terminal | |
CN108200335A (en) | Photographic method, terminal and computer readable storage medium based on dual camera | |
US20230025527A1 (en) | Quantitative analysis method and system for attention based on line-of-sight estimation neural network | |
WO2024078179A1 (en) | Lighting map noise reduction method and apparatus, and device and medium | |
CN115311618A (en) | Assembly quality inspection method based on deep learning and object matching | |
WO2021179698A1 (en) | Power generation capacity prediction method, apparatus and device, and computer-readable storage medium | |
TWI838086B (en) | Image analyzation method and image analyzation device | |
CN117333928B (en) | Face feature point detection method and device, electronic equipment and storage medium | |
US10675955B2 (en) | Adaptive glare removal and/or color correction | |
CN109034033B (en) | Smoke discharge video detection method based on improved VGG16 convolutional network | |
KR20180080618A (en) | Method and apparatus for realistic rendering based augmented reality | |
CN116977256A (en) | Training method, device, equipment and storage medium for defect detection model | |
JP7060107B2 (en) | Environment similarity display device, environment similarity display method and environment similarity display algorithm |