TWI744785B - Method for recognizing and locating object basde on thermal image - Google Patents
Method for recognizing and locating object basde on thermal image Download PDFInfo
- Publication number
- TWI744785B TWI744785B TW109103290A TW109103290A TWI744785B TW I744785 B TWI744785 B TW I744785B TW 109103290 A TW109103290 A TW 109103290A TW 109103290 A TW109103290 A TW 109103290A TW I744785 B TWI744785 B TW I744785B
- Authority
- TW
- Taiwan
- Prior art keywords
- boundary
- threshold
- temperature values
- dispersion
- degree
- Prior art date
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
Description
本揭露實施例是有關於一種物件辨識與定位方法,且特別是有關於一種基於熱影像的物件辨識與定位方法。The embodiment of the disclosure relates to an object recognition and positioning method, and particularly relates to a thermal image-based object recognition and positioning method.
一般而言,辨識與定位物件在影像中的位置是透過解析可見光影像,其乃是利用影像中的像素特徵值來藉由計算以解析出物件的位置。具體做法則是,會先設定物件所對應的辨識條件,從而在所取得的可見光影像中找出符合條件的像素點,例如,在彩色影像中為使用RGB、HSV、YUV等數值的大小作為辨識條件,在灰階影像中使用單值閥值(0~255)的設定,透過全影像搜尋,將可見中影像中符合辨識條件的像素點標示出,再設計一特定方式進行後續物件辨識的計算,找出最符合的區域並將物件的位置標示出。Generally speaking, identifying and locating the position of the object in the image is by analyzing the visible light image, which uses the pixel feature values in the image to analyze the position of the object through calculation. The specific method is to first set the identification conditions corresponding to the object, so as to find the pixels that meet the conditions in the obtained visible light image. For example, in the color image, use the value of RGB, HSV, YUV, etc. as the identification Condition, use the single value threshold (0~255) setting in the grayscale image, through the full image search, mark the pixels in the visible image that meet the identification conditions, and then design a specific method for subsequent object identification calculations , Find the most suitable area and mark the position of the object.
然而,若物件所處在的環境中的光源不足或變化差異大時,將無法使用可見光影像來進行辨識。另外,若辨識物周邊有相識特徵的物件,或與欲辨識物件極靠近或重疊時,就會造成辨識錯誤。此外,在背景複雜、不屬於本體的邊緣很多的情況下,也會造成辨識結果不佳。However, if the light source in the environment where the object is located is insufficient or the variation is large, the visible light image cannot be used for identification. In addition, if there are objects with recognizable characteristics around the recognized object, or extremely close to or overlap with the object to be recognized, it will cause recognition errors. In addition, if the background is complex and there are many edges that do not belong to the ontology, it will also cause poor recognition results.
辨識與定位物件在影像中的位置的另一種方式則是透過解析物件的熱影像,然而,若是物件有部分遮蔽、有複雜背景或影像資訊有缺陷時,將會造成辨識錯誤,導致物件的位置的誤判。Another way to identify and locate the position of an object in the image is to analyze the thermal image of the object. However, if the object is partially obscured, has a complex background, or the image information is defective, it will cause recognition errors and lead to the position of the object Misjudgment.
本揭露之目的在於提出一種基於熱影像的物件辨識與定位方法,包含:載入物件的二維熱影像資訊,其中所述二維熱影像資訊包含對應於排列成M行與N列的多個像素點的多個溫度值,其中M、N為正整數;對位於第i行的N個像素點的N個溫度值進行水平邊界判斷以獲得物件的左邊界與右邊界,其中i=1~M;對位於第j列且位於左邊界與右邊界之間的多個所述像素點的多個所述溫度值進行垂直邊界判斷以獲得物件的上邊界與下邊界,其中j=1~N;以及組合左邊界、右邊界、上邊界與下邊界以取得物件的位置。The purpose of this disclosure is to provide a thermal image-based object identification and positioning method, including: loading two-dimensional thermal image information of the object, wherein the two-dimensional thermal image information includes a plurality of corresponding rows arranged in M rows and N rows. Multiple temperature values of the pixel, where M and N are positive integers; perform horizontal boundary judgment on the N temperature values of the N pixels located in the i-th row to obtain the left and right boundaries of the object, where i=1~ M; Perform vertical boundary judgment on the multiple temperature values of the multiple pixels located in the j-th column and between the left boundary and the right boundary to obtain the upper boundary and the lower boundary of the object, where j=1~N ; And combine the left border, right border, upper border and lower border to get the position of the object.
在一些實施例中,其中係基於溫度範圍、數量閥值、離散程度閥值與寬度閥值來進行水平邊界判斷;其中係基於溫度範圍、數量閥值、離散程度閥值與高度閥值來進行垂直邊界判斷。In some embodiments, the horizontal boundary judgment is based on the temperature range, the number threshold, the dispersion threshold, and the width threshold; wherein the judgment is based on the temperature range, the number threshold, the dispersion threshold, and the height threshold. Vertical boundary judgment.
在一些實施例中,其中對位於第i行的N個像素點的N個溫度值所進行的水平邊界判斷包含:[步驟S11]:判斷位於第i行的N個像素點的N個溫度值當中,符合溫度範圍的溫度值的數量是否大於數量閥值;於[步驟S11]中,若數量大於數量閥值,則進入[步驟S12]:判斷位於第i行的N個像素點的N個溫度值的離散程度是否大於離散程度閥值;於[步驟S12]中,若離散程度大於離散程度閥值,則進入[步驟S13]:判斷是否已找到左邊界;於[步驟S13]中,若未找到左邊界,則第i行即為左邊界,且進入[步驟S14]:將i加1,並回到[步驟S11]。In some embodiments, the determination of the horizontal boundary of the N temperature values of the N pixels located in the i-th row includes: [Step S11]: determining the N temperature values of the N pixels located in the i-th row Among them, whether the number of temperature values that meet the temperature range is greater than the number threshold; in [Step S11], if the number is greater than the number threshold, go to [Step S12]: Determine N of the N pixels in the i-th row Whether the dispersion degree of the temperature value is greater than the dispersion degree threshold; in [Step S12], if the dispersion degree is greater than the dispersion threshold, go to [Step S13]: determine whether the left boundary has been found; in [Step S13], if If the left boundary is not found, the i-th row is the left boundary, and enter [Step S14]: add 1 to i, and return to [Step S11].
在一些實施例中,其中對位於第i行的N個像素點的N個溫度值所進行的水平邊界判斷包含:於[步驟S11]中,若數量不大於數量閥值,則進入[步驟S15]:判斷i是否等於M;於[步驟S15]中,若i不等於M,則回到[步驟S14];於[步驟S15]中,若i等於M,則第M行即為右邊界,且結束水平邊界判斷。In some embodiments, the determination of the horizontal boundary of the N temperature values of the N pixels located in the i-th row includes: in [Step S11], if the number is not greater than the number threshold, proceed to [Step S15 ]: Determine whether i is equal to M; in [step S15], if i is not equal to M, go back to [step S14]; in [step S15], if i is equal to M, then the Mth row is the right boundary, And end the horizontal boundary judgment.
在一些實施例中,其中對位於第i行的N個像素點的N個溫度值所進行的水平邊界判斷包含:於[步驟S12]中,若離散程度不大於離散程度閥值,則進入[步驟S16]:判斷是否已找到左邊界;於[步驟S16]中,若未找到左邊界,則回到[步驟S14]。In some embodiments, the determination of the horizontal boundary of the N temperature values of the N pixels in the i-th row includes: in [Step S12], if the degree of dispersion is not greater than the threshold of the degree of dispersion, enter [ Step S16: Determine whether the left boundary has been found; in [Step S16], if the left boundary is not found, go back to [Step S14].
在一些實施例中,其中對位於第i行的N個像素點的N個溫度值所進行的水平邊界判斷包含:於[步驟S16]中,若已找到左邊界,則進入[步驟S17]:判斷第i行與左邊界的距離是否大於寬度閥值;於[步驟S17]中,若距離不大於寬度閥值,則回到[步驟S15];於[步驟S17]中,若距離大於寬度閥值,則第i行即為右邊界,且結束水平邊界判斷。In some embodiments, the determination of the horizontal boundary of the N temperature values of the N pixels in the i-th row includes: in [Step S16], if the left boundary has been found, then proceed to [Step S17]: Determine whether the distance between the i-th row and the left border is greater than the width threshold; in [Step S17], if the distance is not greater than the width threshold, go back to [Step S15]; in [Step S17], if the distance is greater than the width threshold Value, the i-th row is the right boundary, and the horizontal boundary judgment ends.
在一些實施例中,其中對位於第j列且位於左邊界與右邊界之間的多個所述像素點的多個所述溫度值所進行的垂直邊界判斷包含:[步驟S21]:判斷位於第j列且位於左邊界與右邊界之間的多個所述像素點的多個所述溫度值當中,符合溫度範圍的多個所述溫度值的數量是否大於數量閥值;於[步驟S21]中,若數量大於數量閥值,則進入[步驟S22]:判斷位於第j列且位於左邊界與右邊界之間的多個所述像素點的多個所述溫度值的離散程度是否大於離散程度閥值;於[步驟S22]中,若離散程度大於離散程度閥值,則進入[步驟S23]:判斷是否已找到上邊界;於[步驟S23]中,若未找到上邊界,則第j列即為上邊界,且進入[步驟S24]:將j加1,並回到[步驟S21]。In some embodiments, the vertical boundary determination performed on the plurality of temperature values of the plurality of pixel points located in the j-th column and located between the left boundary and the right boundary includes: [Step S21]: determining that it is located Among the plurality of temperature values of the plurality of pixel points in the jth column and located between the left border and the right border, whether the number of the plurality of temperature values that meet the temperature range is greater than the number threshold; in [Step S21 ], if the number is greater than the number threshold, proceed to [Step S22]: determine whether the dispersion degree of the temperature values of the plurality of pixel points located in the j-th column and between the left boundary and the right boundary is greater than Discrete degree threshold; In [Step S22], if the degree of dispersion is greater than the threshold of Discrete degree, proceed to [Step S23]: Determine whether the upper boundary has been found; In [Step S23], if the upper boundary is not found, then proceed to [Step S23]: Column j is the upper boundary, and enter [Step S24]: add 1 to j, and return to [Step S21].
在一些實施例中,其中對位於第j列且位於左邊界與右邊界之間的多個所述像素點的多個所述溫度值所進行的垂直邊界判斷包含:於[步驟S21]中,若數量不大於數量閥值,則進入[步驟S25]:判斷j是否等於N;於[步驟S25]中,若j不等於N,則回到[步驟S24];於[步驟S25]中,若j等於N,則第N列即為下邊界,且結束垂直邊界判斷。In some embodiments, the vertical boundary determination performed on the plurality of temperature values of the plurality of pixel points located in the j-th column and located between the left boundary and the right boundary includes: in [step S21], If the quantity is not greater than the quantity threshold, proceed to [Step S25]: Determine whether j is equal to N; In [Step S25], if j is not equal to N, go back to [Step S24]; In [Step S25], if If j is equal to N, the Nth column is the lower boundary, and the vertical boundary judgment ends.
在一些實施例中,其中對位於第j列且位於左邊界與右邊界之間的多個所述像素點的多個所述溫度值所進行的垂直邊界判斷包含:於[步驟S22]中,若離散程度不大於離散程度閥值,則進入[步驟S26]:判斷是否已找到上邊界;於[步驟S26]中,若未找到上邊界,則回到[步驟S24]。In some embodiments, the determination of the vertical boundary of the plurality of temperature values of the plurality of pixel points located in the j-th column and between the left boundary and the right boundary includes: in [step S22], If the degree of dispersion is not greater than the threshold of the degree of dispersion, proceed to [Step S26]: determine whether the upper boundary has been found; in [Step S26], if the upper boundary is not found, return to [Step S24].
在一些實施例中,其中對位於第j列且位於左邊界與右邊界之間的多個所述像素點的多個所述溫度值所進行的垂直邊界判斷包含:於[步驟S26]中,若已找到上邊界,則進入[步驟S27]:判斷第j列與上邊界的距離是否大於高度閥值;於[步驟S27]中,若距離不大於高度閥值,則回到[步驟S25];於[步驟S27]中,若距離大於高度閥值,則第j列即為下邊界,且結束垂直邊界判斷。In some embodiments, the determination of the vertical boundary of the plurality of temperature values of the plurality of pixel points located in the j-th column and between the left boundary and the right boundary includes: in [step S26], If the upper boundary has been found, proceed to [Step S27]: Determine whether the distance between the j-th column and the upper boundary is greater than the height threshold; in [Step S27], if the distance is not greater than the height threshold, go back to [Step S25] ; In [Step S27], if the distance is greater than the height threshold, the j-th column is the lower boundary, and the vertical boundary judgment is ended.
為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present disclosure more obvious and understandable, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
以下仔細討論本發明的實施例。然而,可以理解的是,實施例提供許多可應用的概念,其可實施於各式各樣的特定內容中。所討論、揭示之實施例僅供說明,並非用以限定本發明之範圍。The embodiments of the present invention are discussed in detail below. However, it can be understood that the embodiments provide many applicable concepts, which can be implemented in various specific contents. The discussed and disclosed embodiments are for illustrative purposes only, and are not intended to limit the scope of the present invention.
本揭露所揭示的技術乃是利用熱像感測器,判斷熱影像中符合指定溫度範圍區間的物件的位置的方式。本揭露可應用於煉鋼廠內盛鋼桶(Ladle,LD)壁部溫度檢測系統時所使用的辨識方式,藉由本揭露所提出之基於熱影像的物件辨識與定位方法將能夠正確找到盛鋼桶的實際位置,完成盛鋼桶的辨識與定位。The technology disclosed in this disclosure uses a thermal image sensor to determine the position of an object in a thermal image that meets a specified temperature range. The present disclosure can be applied to the identification method used in the temperature detection system of the ladle (LD) wall in a steelmaking plant. The thermal image-based object identification and positioning method proposed in this disclosure will be able to correctly find the steel The actual position of the barrel completes the identification and positioning of the steel barrel.
圖1係根據本揭露的實施例之基於熱影像的物件辨識與定位方法1000的流程圖。基於熱影像的物件辨識與定位方法1000包含步驟1100、1200、1300、1400。於步驟1100,載入物件的二維熱影像資訊,其中二維熱影像資訊包含對應於排列成M行與N列的多個像素點的多個溫度值,其中M、N為正整數。FIG. 1 is a flowchart of a
於步驟1200,基於溫度範圍Trange
、數量閥值Tth
、離散程度閥值Dth
與寬度閥值Wth
來對位於第i行的N個像素點的N個溫度值進行水平邊界判斷以獲得物件的左邊界與右邊界,其中i=1~M。In
於步驟1300,基於溫度範圍Trange
、數量閥值Tth
、離散程度閥值Dth
與高度閥值Hth
來對位於第j列且位於物件的左邊界與右邊界之間的多個像素點的多個溫度值進行垂直邊界判斷以獲得物件的上邊界與下邊界,其中j=1~N。In
於步驟1400,組合物件的左邊界、右邊界、上邊界與下邊界以取得物件的位置。In
圖2係根據本揭露的實施例之基於熱影像的物件辨識與定位方法1000的步驟1200的水平邊界判斷的流程圖。步驟1200的水平邊界判斷包含步驟S10~S19。於步驟S10,將i設為0。接著,於步驟S14,將i累加1,即i=i+1。2 is a flowchart of the horizontal boundary determination in
接著,於步驟S11,判斷位於第i行的N個像素點的N個溫度值當中,符合溫度範圍Trange 的溫度值的數量Ti 是否大於數量閥值Tth 。具體而言,步驟S11當中的溫度範圍Trange 為由使用者所設定之待測物件本身所符合的溫度範圍區間。換言之,步驟S11乃是找出第i行中,符合指定溫度區間的像素點的數量Ti ,並判斷所述數量Ti 是否大於數量閥值Tth 。 Next, in step S11, it is determined whether the number T i of the temperature values in the temperature range T range among the N temperature values of the N pixels in the i-th row is greater than the number threshold T th . Specifically, the temperature range T range in step S11 is the temperature range range set by the user to which the object to be tested fits. In other words, step S11 is to find the number T i of pixels in the i-th row that meet the specified temperature interval, and determine whether the number T i is greater than the number threshold T th .
於步驟S11中,若數量Ti 大於數量閥值Tth ,則進入步驟S12,判斷位於第i行的N個像素點的N個溫度值的離散程度Di是否大於離散程度閥值Dth 。具體而言,若於步驟S12中,判斷出離散程度Di 大於離散程度閥值Dth ,則代表第i行的N個溫度值可能包含物件的溫度值與其餘背景溫度值。In step S11, if the number T i is greater than the number threshold T th , proceed to step S12 to determine whether the dispersion degree Di of the N temperature values of the N pixels in the i-th row is greater than the dispersion degree threshold D th . Specifically, if it is determined in step S12 that the dispersion degree Di is greater than the dispersion degree threshold D th , it means that the N temperature values in the i-th row may include the temperature value of the object and other background temperature values.
於步驟S12中,若離散程度Di 大於離散程度閥值Dth ,則進入步驟S13:判斷是否已找到左邊界。於步驟S13中,若未找到左邊界,則進入步驟S18:第i行即為左邊界,且接著回到步驟S14。In step S12, if the dispersion degree D i is greater than the dispersion degree threshold value D th , proceed to step S13: determine whether the left boundary has been found. In step S13, if the left boundary is not found, proceed to step S18: the i-th row is the left boundary, and then return to step S14.
於步驟S11中,若數量Ti 不大於數量閥值Tth ,則進入步驟S15(透過中繼的節點A):判斷i是否等於M。於步驟S15中,若i不等於M,則回到步驟S14。於步驟S15中,若i等於M,則進入步驟S19:第i行即為右邊界。In step S11, if the number T i is not greater than the number threshold T th , proceed to step S15 (node A through the relay): determine whether i is equal to M. In step S15, if i is not equal to M, go back to step S14. In step S15, if i is equal to M, proceed to step S19: the i-th row is the right boundary.
於步驟S12中,若離散程度Di 不大於離散程度閥值Dth ,則進入步驟S16:判斷是否已找到左邊界。於步驟S16中,若未找到左邊界,則回到步驟S14。於步驟S16中,若已找到左邊界,則進入步驟S17:判斷第i行與左邊界所相距的距離是否大於寬度閥值Wth 。舉例而言,若是待測的物件被其他低溫物體覆蓋而使得符合溫度條件之連續性中斷,將會無法正確辨識出待測的物件的位置,因此本揭露透過寬度閥值Wth ,來改善當待測的物件被其他低溫物體覆蓋而無法正確辨識出待測的物件的位置的問題。In step S12, if the dispersion degree Di is not greater than the dispersion degree threshold value D th , proceed to step S16: determine whether the left boundary has been found. In step S16, if the left boundary is not found, return to step S14. In step S16, if the left boundary has been found, proceed to step S17: determine whether the distance between the i-th row and the left boundary is greater than the width threshold W th . For example, if the object to be tested is covered by other low-temperature objects and the continuity that meets the temperature condition is interrupted, the position of the object to be tested will not be correctly identified. Therefore, the present disclosure uses the width threshold W th to improve the performance. The object to be tested is covered by other low-temperature objects and the position of the object to be tested cannot be correctly identified.
於步驟S17中,若所述距離不大於寬度閥值Wth ,則回到步驟S15(透過中繼的節點A);於步驟S17中,若所述距離大於寬度閥值Wth ,則進入步驟S19:第i行即為右邊界。In step S17, if the threshold distance is not greater than the width W th, the process returns to step S15 (via the relay node A); in step S17, if the distance is greater than the width of the threshold W th, the process proceeds to step S19: The i-th row is the right boundary.
圖3係根據本揭露的實施例之基於熱影像的物件辨識與定位方法1000的步驟1300的垂直邊界判斷的流程圖。步驟1300的垂直邊界判斷包含步驟S20~S29。於步驟S20,將j設為0。接著,於步驟S24,將j累加1,即j=j+1。3 is a flowchart of the vertical boundary determination in
接著,於步驟S21,判斷位於第j列且位於物件的左邊界與右邊界之間的多個像素點的多個溫度值當中,符合溫度範圍Trange 的溫度值的數量Tj 是否大於數量閥值Tth 。具體而言,步驟S21當中的溫度範圍Trange 為由使用者所設定之待測物件本身所符合的溫度範圍區間。換言之,步驟S21乃是找出位於第j列且位於物件的左邊界與右邊界之間,符合指定溫度區間的像素點的數量Tj ,並判斷所述數量Tj 是否大於數量閥值Tth 。Next, in step S21, it is determined whether the number of temperature values T j that conform to the temperature range T range among the multiple temperature values of the multiple pixels located in the j-th column and between the left and right boundaries of the object is greater than the quantity threshold The value T th . Specifically, the temperature range T range in step S21 is the temperature range range set by the user to which the object to be tested fits. In other words, step S21 is to find out the number T j of pixels in the j-th column and between the left and right edges of the object that meet the specified temperature interval, and determine whether the number T j is greater than the number threshold T th .
於步驟S21中,若數量Tj 大於數量閥值Tth ,則進入步驟S22,判斷位於第j列且位於物件的左邊界與右邊界之間的多個像素點的多個溫度值的離散程度Dj 是否大於離散程度閥值Dth 。具體而言,若於步驟S22中,判斷出離散程度Dj 大於離散程度閥值Dth ,則代表位於第j列且位於物件的左邊界與右邊界之間的多個像素點的多個溫度值可能包含物件的溫度值與其餘背景溫度值。In step S21, if the number T j is greater than the number threshold T th , proceed to step S22 to determine the degree of dispersion of the temperature values of the pixels located in the j-th column and between the left and right edges of the object Whether D j is greater than the dispersion degree threshold D th . Specifically, if it is determined in step S22 that the degree of dispersion D j is greater than the threshold value D th of the degree of dispersion, it represents multiple temperatures of multiple pixels located in the j-th column and between the left and right edges of the object. The value may include the temperature value of the object and other background temperature values.
於步驟S22中,若離散程度Dj 大於離散程度閥值Dth ,則進入步驟S23:判斷是否已找到上邊界。於步驟S23中,若未找到上邊界,則進入步驟S28:第j列即為上邊界,且接著回到步驟S24。In step S22, if the dispersion degree D j is greater than the dispersion degree threshold D th , proceed to step S23: determine whether the upper boundary has been found. In step S23, if the upper boundary is not found, proceed to step S28: the jth column is the upper boundary, and then return to step S24.
於步驟S21中,若數量Tj 不大於數量閥值Tth ,則進入步驟S25(透過中繼的節點B):判斷j是否等於N。於步驟S25中,若j不等於N,則回到步驟S24。於步驟S25中,若j等於N,則進入步驟S29:第j列即為下邊界。In step S21, if the number T j is not greater than the number threshold T th , proceed to step S25 (node B through the relay): determine whether j is equal to N. In step S25, if j is not equal to N, return to step S24. In step S25, if j is equal to N, proceed to step S29: the jth column is the lower boundary.
於步驟S22中,若離散程度Dj 不大於離散程度閥值Dth ,則進入步驟S26:判斷是否已找到上邊界。於步驟S26中,若未找到上邊界,則回到步驟S24。於步驟S26中,若已找到上邊界,則進入步驟S27:判斷第j列與上邊界所相距的距離是否大於高度閥值Hth 。舉例而言,若是待測的物件被其他低溫物體覆蓋而使得符合溫度條件之連續性中斷,將會無法正確辨識出待測的物件的位置,因此本揭露透過高度閥值Hth ,來改善當待測的物件被其他低溫物體覆蓋而無法正確辨識出待測的物件的位置的問題。In step S22, if the dispersion degree D j is not greater than the dispersion degree threshold D th , proceed to step S26: determine whether the upper boundary has been found. In step S26, if the upper boundary is not found, return to step S24. In step S26, if the upper boundary has been found, proceed to step S27: determine whether the distance between the j-th column and the upper boundary is greater than the height threshold H th . For example, if the object to be tested is covered by other low-temperature objects and the continuity that meets the temperature condition is interrupted, the position of the object to be tested will not be correctly identified. Therefore, the present disclosure uses the height threshold H th to improve the performance. The object to be tested is covered by other low-temperature objects and the position of the object to be tested cannot be correctly identified.
於步驟S27中,若所述距離不大於高度閥值Hth ,則回到步驟S25(透過中繼的節點B);於步驟S27中,若所述距離大於高度閥值Hth ,則進入步驟S29:第j列即為下邊界。In step S27, if the distance is not greater than the height threshold H th , go back to step S25 (passing the relay node B); in step S27, if the distance is greater than the height threshold H th , then go to step S29: The jth column is the lower boundary.
具體而言,本揭露基於多個判斷條件(溫度範圍、數量閥值、離散程度閥值、寬度閥值與高度閥值)來作為物件辨識的條件依據,本揭露並非是使用單一判斷條件來作為物件辨識的條件依據,因此本揭露可以解決部分遮蔽、有複雜背景或影像資訊有缺陷等等類型的熱影像會造成辨識錯誤導致物件的位置的誤判的問題。舉例而言,若是待測的物件被其他低溫物體覆蓋而使得符合溫度條件之連續性中斷,使用單一判斷條件來作為物件辨識的條件將會無法正確辨識出待測的物件的位置,本揭露透過使用多個判斷條件之組合來作為物件辨識的條件,從而改善當待測的物件被其他低溫物體覆蓋而無法正確辨識出待測的物件的位置的問題。舉例而言,若是在複雜背景的情況下,僅使用溫度範圍區間來作為物件辨識的條件,若是周邊還有其他符合溫度範圍區間的其他物體與待測的物件重疊,將會把其他物體也辨識成待測的物件,本揭露透過使用多個判斷條件之組合來作為物件辨識的條件,從而改善當周邊還有其他符合溫度範圍區間的其他物體與待測的物件重疊而無法正確辨識出待測的物件的位置的問題。Specifically, the present disclosure is based on multiple judgment conditions (temperature range, quantity threshold, dispersion threshold, width threshold, and height threshold) as the condition basis for object identification. This disclosure does not use a single judgment condition as the basis for identifying the object. The condition basis for object identification, therefore, the present disclosure can solve the problem that partial occlusion, complicated background, or defective image information, etc. thermal images will cause identification errors and misjudge the position of the object. For example, if the object to be tested is covered by other low-temperature objects and the continuity that meets the temperature condition is interrupted, using a single judgment condition as the condition for object identification will not be able to correctly identify the location of the object to be tested. This disclosure uses A combination of multiple judgment conditions is used as the condition for object identification, so as to improve the problem that when the object to be tested is covered by other low-temperature objects, the position of the object to be tested cannot be correctly identified. For example, in the case of a complex background, only the temperature range is used as the condition for object recognition. If there are other objects that meet the temperature range and overlap with the object to be measured, other objects will also be recognized As the object to be tested, this disclosure uses a combination of multiple judgment conditions as the condition for object identification, thereby improving when there are other objects in the surrounding temperature range that overlap with the object to be tested and the object to be tested cannot be correctly identified The position of the object.
綜合上述,本揭露提出一種基於熱影像的物件辨識與定位方法,可藉由二維熱影像資訊來辨識並定位出待測的物件,即便待測的物件有部分遮蔽、有複雜背景或熱影像資訊有缺陷時,仍可正確地辨識且定位出待測的物件。本揭露所提出的基於熱影像的物件辨識與定位方法不但能夠提升辨識準確率,同時還可降低計算複雜度,加速辨識速度,本揭露對於M*N的二維熱影像只需小於2*(M*N)的計算,即可找出待測的物件,因此,本揭露所提出的基於熱影像的物件辨識與定位方法的計算量相較於其他演算法是更有效率且更快速的。In summary, this disclosure proposes a thermal image-based object recognition and positioning method, which can identify and locate the object to be tested by using two-dimensional thermal image information, even if the object to be tested is partially obscured, has a complex background or thermal image When the information is defective, the object to be tested can still be correctly identified and located. The thermal image-based object identification and positioning method proposed in this disclosure can not only improve the recognition accuracy, but also reduce the computational complexity and speed up the identification speed. For the M*N two-dimensional thermal image, this disclosure only needs to be less than 2*( M*N) calculation can find the object to be tested. Therefore, the calculation amount of the thermal image-based object identification and positioning method proposed in this disclosure is more efficient and faster than other algorithms.
以上概述了數個實施例的特徵,因此熟習此技藝者可以更了解本揭露的態樣。熟習此技藝者應了解到,其可輕易地把本揭露當作基礎來設計或修改其他的製程與結構,藉此實現和在此所介紹的這些實施例相同的目標及/或達到相同的優點。熟習此技藝者也應可明白,這些等效的建構並未脫離本揭露的精神與範圍,並且他們可以在不脫離本揭露精神與範圍的前提下做各種的改變、替換與變動。The features of several embodiments are summarized above, so those who are familiar with the art can better understand the aspect of the present disclosure. Those who are familiar with this technique should understand that they can easily use the present disclosure as a basis to design or modify other processes and structures, thereby achieving the same goals and/or the same advantages as the embodiments described herein. . Those who are familiar with this art should also understand that these equivalent constructions do not depart from the spirit and scope of this disclosure, and they can make various changes, substitutions and alterations without departing from the spirit and scope of this disclosure.
1000:基於熱影像的物件辨識與定位方法
1100,1200,1300,1400:步驟
S10~S19,S20~S29:步驟
A,B:節點1000: Object recognition and positioning method based on
從以下結合所附圖式所做的詳細描述,可對本揭露之態樣有更佳的了解。需注意的是,根據業界的標準實務,各特徵並未依比例繪示。事實上,為了使討論更為清楚,各特徵的尺寸都可任意地增加或減少。 [圖1]係根據本揭露的實施例之基於熱影像的物件辨識與定位方法的流程圖。 [圖2]係根據本揭露的實施例之基於熱影像的物件辨識與定位方法的水平邊界判斷的流程圖。 [圖3] 係根據本揭露的實施例之基於熱影像的物件辨識與定位方法的垂直邊界判斷的流程圖。From the following detailed description in conjunction with the accompanying drawings, a better understanding of the aspect of the present disclosure can be obtained. It should be noted that, according to industry standard practice, each feature is not drawn to scale. In fact, in order to make the discussion clearer, the size of each feature can be increased or decreased arbitrarily. [Fig. 1] is a flowchart of an object recognition and positioning method based on thermal images according to an embodiment of the present disclosure. [Fig. 2] is a flowchart of the horizontal boundary determination of the thermal image-based object recognition and positioning method according to the embodiment of the present disclosure. [FIG. 3] It is a flowchart of the vertical boundary determination of the thermal image-based object identification and positioning method according to the embodiment of the present disclosure.
國內寄存資訊(請依寄存機構、日期、號碼順序註記) 無 國外寄存資訊(請依寄存國家、機構、日期、號碼順序註記) 無Domestic deposit information (please note in the order of deposit institution, date and number) without Foreign hosting information (please note in the order of hosting country, institution, date, and number) without
1000:基於熱影像的物件辨識與定位方法1000: Object recognition and positioning method based on thermal image
1100,1200,1300,1400:步驟1100, 1200, 1300, 1400: steps
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109103290A TWI744785B (en) | 2020-02-04 | 2020-02-04 | Method for recognizing and locating object basde on thermal image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109103290A TWI744785B (en) | 2020-02-04 | 2020-02-04 | Method for recognizing and locating object basde on thermal image |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202131280A TW202131280A (en) | 2021-08-16 |
TWI744785B true TWI744785B (en) | 2021-11-01 |
Family
ID=78282917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109103290A TWI744785B (en) | 2020-02-04 | 2020-02-04 | Method for recognizing and locating object basde on thermal image |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI744785B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008258A (en) * | 2014-06-17 | 2014-08-27 | 东南大学 | Steel structure fire disaster temperature field inverse presumption method based on displacement forms |
US9013771B2 (en) * | 2004-02-26 | 2015-04-21 | Samsung Electronics Co., Ltd. | Color temperature conversion method, medium, and apparatus converting a color temperature of a pixel based on brightness |
CN105740211A (en) * | 2016-04-26 | 2016-07-06 | 安徽农业大学 | Information fusion and analysis method based on honeycomb video-temperature acquisition system |
TW201915820A (en) * | 2017-10-05 | 2019-04-16 | 中國鋼鐵股份有限公司 | Method for recognizing moving direction of object |
US20190228221A1 (en) * | 2018-05-29 | 2019-07-25 | University Of Electronic Science And Technology Of China | Method for separating out a defect image from a thermogram sequence based on weighted naive bayesian classifier and dynamic multi-objective optimization |
-
2020
- 2020-02-04 TW TW109103290A patent/TWI744785B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9013771B2 (en) * | 2004-02-26 | 2015-04-21 | Samsung Electronics Co., Ltd. | Color temperature conversion method, medium, and apparatus converting a color temperature of a pixel based on brightness |
CN104008258A (en) * | 2014-06-17 | 2014-08-27 | 东南大学 | Steel structure fire disaster temperature field inverse presumption method based on displacement forms |
CN105740211A (en) * | 2016-04-26 | 2016-07-06 | 安徽农业大学 | Information fusion and analysis method based on honeycomb video-temperature acquisition system |
TW201915820A (en) * | 2017-10-05 | 2019-04-16 | 中國鋼鐵股份有限公司 | Method for recognizing moving direction of object |
US20190228221A1 (en) * | 2018-05-29 | 2019-07-25 | University Of Electronic Science And Technology Of China | Method for separating out a defect image from a thermogram sequence based on weighted naive bayesian classifier and dynamic multi-objective optimization |
Also Published As
Publication number | Publication date |
---|---|
TW202131280A (en) | 2021-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10691982B2 (en) | Method and apparatus for vehicle damage identification | |
WO2021000664A1 (en) | Method, system, and device for automatic calibration of differences in cross-modal target detection | |
Hoang et al. | Metaheuristic optimized edge detection for recognition of concrete wall cracks: a comparative study on the performances of roberts, prewitt, canny, and sobel algorithms | |
WO2021042909A1 (en) | Scene switching detection method and apparatus, electronic device, and storage medium | |
WO2020238256A1 (en) | Weak segmentation-based damage detection method and device | |
TWI716012B (en) | Sample labeling method, device, storage medium and computing equipment, damage category identification method and device | |
CN106683073B (en) | License plate detection method, camera and server | |
CN106920245B (en) | Boundary detection method and device | |
CN110766095B (en) | Defect detection method based on image gray level features | |
CN109271848B (en) | Face detection method, face detection device and storage medium | |
AU2018207032B2 (en) | Logo detection video analytics | |
CN112749673A (en) | Method and device for intelligently extracting stock of oil storage tank based on remote sensing image | |
CN111598928A (en) | Abrupt change moving target tracking method based on semantic evaluation and region suggestion | |
CN114429577B (en) | Flag detection method, system and equipment based on high confidence labeling strategy | |
CN108764343B (en) | Method for positioning tracking target frame in tracking algorithm | |
CN111950546B (en) | License plate recognition method and device, computer equipment and storage medium | |
TWI744785B (en) | Method for recognizing and locating object basde on thermal image | |
Ranyal et al. | Enhancing pavement health assessment: An attention-based approach for accurate crack detection, measurement, and mapping | |
JP6028972B2 (en) | Image processing apparatus, image processing method, and image processing program | |
CN112215266A (en) | X-ray image contraband detection method based on small sample learning | |
CN103473566A (en) | Multi-scale-model-based vehicle detection method | |
CN110751623A (en) | Joint feature-based defect detection method, device, equipment and storage medium | |
CN113435444B (en) | Immunochromatography detection method, immunochromatography detection device, storage medium and computer equipment | |
US8705874B2 (en) | Image processing method and system using regionalized architecture | |
CN111583341B (en) | Cloud deck camera shift detection method |