CN115371820A - Storage medium and infrared thermal image processing system - Google Patents
Storage medium and infrared thermal image processing system Download PDFInfo
- Publication number
- CN115371820A CN115371820A CN202211034429.3A CN202211034429A CN115371820A CN 115371820 A CN115371820 A CN 115371820A CN 202211034429 A CN202211034429 A CN 202211034429A CN 115371820 A CN115371820 A CN 115371820A
- Authority
- CN
- China
- Prior art keywords
- temperature
- thermal image
- infrared thermal
- human body
- obtaining
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 16
- 238000013528 artificial neural network Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 4
- 230000000747 cardiac effect Effects 0.000 claims description 3
- 238000002372 labelling Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000003672 processing method Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000019522 cellular metabolic process Effects 0.000 description 1
- 238000002059 diagnostic imaging Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001931 thermography Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/0022—Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
- G01J5/0025—Living bodies
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/02—Constructional details
- G01J5/03—Arrangements for indicating or recording specially adapted for radiation pyrometers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/48—Thermography; Techniques using wholly visual means
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Radiation Pyrometers (AREA)
Abstract
The present application relates to the field of image data processing or generation technologies in general, and in particular, to a storage medium and an infrared thermal image processing system. The storage medium has stored therein instructions or a program that are loaded and executed by a processor to perform the steps of: obtaining A, T B And T C (ii) a If C is located at S B In which C is not located at S B In, but d BC <d 0 And T BC <T 0 Then obtain T AB =T 1 A ‑T 1 B Then output an indication T AB The second prompt message of (1); if C is not located at S B And d is BC ≥d 0 Or T BC ≥T 0 Then first prompt information indicating to recapture or reacquire L is output. The invention can accurately acquire the temperature of the symmetrical position of a certain position of a human body in the infrared thermal image.
Description
Technical Field
The present invention relates to the field of image data processing or generation technology, and more particularly, to a storage medium and an infrared thermal image processing system.
Background
The infrared thermal imaging technology belongs to the modern medical imaging technology, and is a functional imaging technology based on cell metabolism. The infrared camera can be used for collecting the infrared thermal image of the human body, and the temperature difference of the symmetrical positions of the left side and the right side of the human body in the infrared thermal image has higher reference significance. However, when the infrared thermal image of the human body is collected, the human body may shake or tilt, or a user may have a deviation when determining the symmetry axis of the human body, or a computer may have a deviation when automatically recognizing the symmetry axis, so that the method for obtaining the symmetric position of a certain position of the human body based on the symmetry axis of the human body is prone to have a deviation, and further, the reliability of the obtained temperature difference is not high. How to accurately acquire the temperature of a symmetrical position of a certain position of a human body in an infrared thermal image is a problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a storage medium and an infrared thermal image processing system, which can accurately acquire the temperature of a symmetrical position of a certain position of a human body in an infrared thermal image.
According to a first aspect of the present invention, there is provided a non-transitory computer readable storage medium having at least one instruction or at least one program stored therein, wherein the at least one instruction or the at least one program is loaded and executed by a processor to implement the steps of:
s100, obtaining A, A is a first target area S of the human body in the infrared thermal image P 1 The location of lowest temperature.
S200, obtaining T B ,T B Is the temperature of B, which is the position of the human body in P that is symmetric to A about L, which is the axis of symmetry of the human body in P.
S300, acquiring T C ,T C Is the temperature of C, C is the second target area S of the human body in P 2 Middle temperature lowest position, S 2 Is a reaction with S 1 A region of symmetry about L.
S400, if C is located at S B If so, go to S600, S B The region with the size of m x n taking B as the center, wherein m and n are positive integers; if C is not located at S B In this case, the process proceeds to S500.
S500, if d BC <d 0 And T BC <T 0 If yes, entering S600; if d is BC ≥d 0 Or T BC ≥T 0 Outputting first prompt information indicating to shoot again or obtain L again; d is a radical of BC Distance of B from C, T BC =T B -T C ,d 0 To set the distance, T 0 To set the temperature, T 0 >0。
S600, acquiring T AB =T 1 A -T 1 B And outputs an indication T AB The second prompt message of (1);T A,j is S A Temperature of the jth position of (1), S A Is a region with the size of m x n taking A as the center,T B,k is S B The temperature at the k-th position.
Compared with the prior art, the storage medium and the infrared thermal image processing system provided by the invention have obvious beneficial effects, and by means of the technical scheme, the storage medium and the infrared thermal image processing system provided by the invention can achieve considerable technical progress and practicability, have industrial wide utilization value and at least have the following beneficial effects:
the invention respectively obtains S 1 A position A at which the temperature is lowest, a position B symmetrical to A with respect to L, and a position S 1 Region S symmetrical about L 2 The position C with the lowest temperature is quickly judged to be the temperature of the accurate symmetrical position of A according to the fact that C is located in a region with the size of m x n and taking B as the center, whether the distance between C and B is smaller than the set distance and whether the temperature difference between C and B is smaller than the set temperature are further judged when C is not located in the region, and only when C is located in the region, the temperature difference between C and B is smaller than the set temperatureIf the temperature is smaller than the preset temperature, the temperature corresponding to the B is judged to be the temperature of the accurate symmetrical position of the A; the invention further obtains T on the premise that the temperature corresponding to B is the accurate temperature of the symmetrical position of A AB And output an indication T AB The second prompt message of (1); otherwise, outputting first prompt information indicating to shoot again or obtain L again. According to the invention, whether the temperature corresponding to B is the accurate temperature of the symmetrical position of A is judged by introducing the mode of C, so that the aim of accurately acquiring the temperature of the symmetrical position of A is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an infrared thermal image processing method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
According to a first aspect of the present invention, there is provided a non-transitory computer readable storage medium having at least one instruction or at least one program stored therein, the at least one instruction or the at least one program being loaded and executed by a processor to implement an infrared thermal image processing method. As shown in fig. 1, the infrared thermal image processing method includes the following steps:
s100, obtaining A, A is a first target area S of the human body in the infrared thermal image P 1 The location of lowest temperature.
According to the invention, S is obtained 1 The method comprises the following steps:
s110, obtaining a key point P = (P) on L 1 ,p 2 ,…,p N ),p r =(x p,r ,y p,r ) Is the r-th key point, x, on L p,r And y p,r Are each p r R ranges from 1 to N, N being the total number of key points on L.
According to the invention, L is the axis of symmetry of the human body in P.
S120, obtaining S 1 Edge point E = (E) 1 ,e 2 ,…,e N ),e r =(x p,r +x’ r ,y p,r +y’ r ),x’ r And y' r Are respectively e r Compared with p r The abscissa offset amount and the ordinate offset amount.
According to the invention, the key point p on L can be determined first r At the determined key point p on L r After the position of (c), x 'may be set in advance' r And y' r To obtain e r E and ordinate, thereby obtaining e r Location in the infrared thermal image.
The invention obtains e according to the method r Has the advantages that: the positions of key points on L are easier to obtain accurately, and S 1 The relative position relationship of the position of the upper edge point to the corresponding key point is fixed, thereby improving the acquisition e r And thus improves the acquisition S 1 The accuracy of (2).
S130, traversing E, and connecting E r-1 And e r+1 Are each independently of e r Connecting to obtain S 1 。
Optionally, in S110, P is obtained by using the trained neural network.
According to the invention, the method of acquiring a trained neural network comprises:
and S111, acquiring an infrared thermal image sample set.
And S112, carrying out key point labeling on the L on each infrared thermal image sample to obtain a labeled infrared thermal image sample set.
And S113, training the constructed neural network by using the marked infrared thermal image sample set to obtain the trained neural network.
It is understood by those skilled in the art that any method for training a neural network in the prior art to obtain a trained neural network of the present invention falls within the scope of the present invention.
Optionally, S 1 Precordial or posterior cardiac regions that are automatically identified for user input or by a computer.
S200, obtaining T B ,T B Is the temperature of B, which is the position of the human body in P that is symmetric to A about L, which is the axis of symmetry of the human body in P.
According to the invention, the method for obtaining L comprises the following steps: go through P, let P r-1 And p r+1 Are each independently of P r Ligation, resulting in L.
Optionally, when S 1 In the region of precordial region, L is the conception vessel of human body, and P is the set of key points of acupoints on conception vessel; when S is 1 In the region of the posterior cardiac region, L is the governor vessel of the human body, and P is the set of key points of the points on the governor vessel. It should be understood that the conception vessel and the governor vessel of the human body respectively comprise a plurality of acupoint key points, and in the process of training the neural network, all the acupoint key points do not need to be labeled, the trained neural network does not need to have the function of identifying all the acupoint key points of the human body, and only the acupoint key points for positioning E need to be labeled, so that the trained neural network has the function of identifying the acupoint key points for positioning E of the human body.
According to the invention, the temperature T corresponding to the temperature B acquired by the invention can be caused by the shaking or inclination of the human body when the infrared thermal image of the human body is acquired or the deviation of the L acquired in the process B Temperatures at symmetrical positions of A that are not exact (according to the invention, the temperature T corresponding to B is obtained B Either the exact "temperature of the symmetrical position of a", or not), resulting in T in S600 AB The result of the calculation is notFor reference. For this purpose, the invention then also requires the pair T B And judging whether the temperature is the accurate temperature at the symmetrical position of A.
S300, acquiring T C ,T C Is the temperature of C, C is the second target area S of the human body in P 2 Middle temperature lowest position, S 2 Is a reaction with S 1 A region of symmetry about L.
According to the invention, A belongs to S 1 B is a position symmetrical to A with respect to L, S 2 Is with S 1 With respect to the region of L symmetry, then B also belongs to S 2 Therefore, C may or may not coincide with B.
According to the invention, the heat energy radiated outwards by the human body has symmetry, if B is the exact symmetrical position of A and the temperature information of B is exact, the temperature of B and A should be basically the same, if A is S 1 The lowest temperature position, then B should also be S 2 The location of lowest temperature. On the contrary, if B is not the exact symmetrical position of A or the temperature information of B is not exact, B will be identical to S 2 The temperature difference is large at the position where the middle temperature is the lowest.
The invention aims to realize the T-pairing B Whether the temperature is the accurate temperature of the symmetrical position of A or not is judged, and S is also introduced 2 The middle temperature lowest position C. The invention can judge whether the temperature of B is the accurate temperature of the symmetrical position of A or not based on the introduced position and temperature of C, and obtains T under the condition that the temperature of B is the accurate temperature of the symmetrical position of A AB Thereby ensuring T AB The meaning of (c) is as follows.
S400, if C is located at S B If so, the process goes to S600, S B The region with the size of m x n taking B as the center, wherein m and n are positive integers; if C is not located at S B In this case, the process proceeds to S500.
According to the invention, S B In the position of S 2 The position with the middle distance B being close to the C is judged whether the C is positioned at the S or not B The purpose of (1) is to quickly judge whether C is close to B. According to the invention, the temperatures of C and B are similar when C and B are very close, so that the invention can be used when C is located at S B The method and the device directly judge whether the temperature of the B is the accurate symmetrical position of the A or not in the middle time, and judge whether the temperature information of the B is accurate without S500.
S500, if d BC <d 0 And T is BC <T 0 If so, entering S600; if d is BC ≥d 0 Or T BC ≥T 0 Outputting first prompt information indicating to shoot again or to obtain L again; d BC Distance of B from C, T BC =T B -T C ,d 0 To set the distance, T 0 To set the temperature, T 0 >0。
According to the invention, if d BC <d 0 And T BC <T 0 It is explained that the distance and temperature difference between C and B are small, and B can be determined as the exact symmetrical position of a, and the temperature of B can be determined as the temperature of the exact symmetrical position of a.
According to the invention, if d BC ≥d 0 Or T BC ≥T 0 The following explains that the distance or temperature difference between C and B is large, and B cannot be determined as the correct symmetric position of a, and the temperature of B cannot be determined as the correct temperature of the symmetric position of a. The reason for this may be that there may be a shake or a tilt of the human body when the infrared thermal image of the human body is acquired or a deviation occurs in the above process of acquiring L, and it is preferable that the present invention outputs a first prompt indicating to re-photograph or re-acquire L in this case.
Alternatively to this, the first and second parts may,x B and x C The abscissas of B and C, y B And y C The ordinate of B and C, respectively.
S600, acquiring T AB =T 1 A -T 1 B And output an indication T AB The second prompt message of (1);T A,j is S A Temperature of the jth position of (1), S A Is a region with the size of m x n taking A as the center,T B,k is S B The temperature at the k-th position.
According to the present invention, the average of the temperatures at the respective positions of the region having a size of m × n centered around a represents the temperature of a, and the average of the temperatures at the respective positions of the region having a size of m × n centered around B represents the temperature of B. Obtaining T in the invention 1 A And T 1 B Has the advantages that: the influence of inaccurate temperature information of a single position in the infrared thermal image on an analysis result is reduced, and the accuracy of the acquired temperature difference between the A position and the symmetrical position is improved.
Optionally, m = n. At this time S A A square area centered at a.
Preferably, m = n =3. At this time S A A region of size 3 x 3 centered on A, T 1 A The influence of inaccurate temperature information of a single position in the infrared thermal image on an analysis result and the T are considered 1 A The similarity with the temperature of A improves the accuracy of the acquired temperature difference between A and the symmetrical position.
The embodiment of the invention also provides an infrared thermal image processing system which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the infrared thermal image processing method provided by the embodiment of the invention is realized.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims (9)
1. A non-transitory computer readable storage medium having at least one instruction or at least one program stored therein, wherein the at least one instruction or the at least one program is loaded and executed by a processor to perform the steps of:
s100, obtaining A, A is a first target area S of the human body in the infrared thermal image P 1 The lowest temperature position;
s200, obtaining T B ,T B Is the temperature of B, B is the position of the human body in P that is symmetrical to A about L, L is the axis of symmetry of the human body in P;
s300, obtaining T C ,T C Is the temperature of C, C is the second target area S of the human body in P 2 Middle temperature lowest position, S 2 Is a reaction with S 1 A region of symmetry about L;
s400, if C is located at S B If so, go to S600, S B The region with the size of m x n taking B as the center, wherein m and n are positive integers; if C is not located at S B If yes, entering S500;
s500, if d BC <d 0 And T BC <T 0 If yes, entering S600; if d is BC ≥d 0 Or T BC ≥T 0 Outputting first prompt information indicating to shoot again or obtain L again; d BC Is the distance of B from C, T BC =T B -T C ,d 0 To set the distance, T 0 To set the temperature, T 0 >0;
2. The medium of claim 1, wherein in S100, S is obtained 1 The method comprises the following steps:
s110, obtaining a key point P = (P) on L 1 ,p 2 ,…,p N ),p r =(x p,r ,y p,r ) Is the r-th key point on L, x p,r And y p,r Are each p r R ranges from 1 to N, and N is the total number of key points on L;
s120, obtaining S 1 Edge point E = (E) 1 ,e 2 ,…,e N ),e r =(x p,r +x’ r ,y p,r +y’ r ),x’ r And y' r Are each e r In comparison with p r The abscissa offset and the ordinate offset;
s130, traversing E, and connecting E r-1 And e r+1 Are each independently of e r Connecting to obtain S 1 。
3. The medium of claim 1, wherein in S110, P is obtained using a trained neural network.
4. The medium of claim 1, wherein in S110, the method of obtaining the trained neural network comprises:
s111, acquiring an infrared thermal image sample set;
s112, carrying out key point labeling on the L on each infrared thermal image sample to obtain a labeled infrared thermal image sample set;
s113, training the constructed neural network by using the marked infrared thermal image sample set to obtain the trained neural network.
5. The medium of claim 1, wherein m = n in S600.
6. The medium of claim 5, wherein m = n =3 in S600.
8. The medium of claim 1, wherein in S100, S is 1 Precordial or posterior cardiac regions that are automatically identified for user input or by a computer.
9. An infrared thermal image processing system comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
s100, obtaining A, A is a first target area S of the human body in the infrared thermal image P 1 The lowest temperature position;
s200, obtaining T B ,T B Is the temperature of B, B is the position of the human body in P that is symmetrical to A about L, L is the axis of symmetry of the human body in P;
s300, obtaining T C ,T C Is the temperature of C, C is the second target area S of the human body in P 2 Middle temperature lowest position, S 2 Is a reaction with S 1 A region of symmetry about L;
s400, if C is located at S B If so, the process goes to S600, S B Is a region with the size of m x n and taking B as the center, and m and n are both positive integers; if C is not located at S B If yes, entering S500;
s500, if d BC <d 0 And T BC <T 0 If yes, entering S600; if d is BC ≥d 0 Or T BC ≥T 0 Outputting first prompt information indicating to shoot again or obtain L again; d BC Is the distance of B from C, T BC =T B -T C ,d 0 To set the distance, T 0 To set the temperature, T 0 >0;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211034429.3A CN115371820A (en) | 2022-08-26 | 2022-08-26 | Storage medium and infrared thermal image processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211034429.3A CN115371820A (en) | 2022-08-26 | 2022-08-26 | Storage medium and infrared thermal image processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115371820A true CN115371820A (en) | 2022-11-22 |
Family
ID=84068056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211034429.3A Pending CN115371820A (en) | 2022-08-26 | 2022-08-26 | Storage medium and infrared thermal image processing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115371820A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116052209A (en) * | 2022-12-14 | 2023-05-02 | 长沙观谱红外科技有限公司 | Processing method of infrared image and standard 3D human body model and storage medium |
-
2022
- 2022-08-26 CN CN202211034429.3A patent/CN115371820A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116052209A (en) * | 2022-12-14 | 2023-05-02 | 长沙观谱红外科技有限公司 | Processing method of infrared image and standard 3D human body model and storage medium |
CN116052209B (en) * | 2022-12-14 | 2024-03-29 | 长沙观谱红外科技有限公司 | Processing method of infrared image and standard 3D human body model and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | Automatic location of optic disk in retinal images | |
CN115371820A (en) | Storage medium and infrared thermal image processing system | |
CN111161879B (en) | Disease prediction system based on big data | |
CN103262118A (en) | Attribute value estimation device, attribute value estimation method, program, and recording medium | |
CN111598867B (en) | Method, apparatus, and computer-readable storage medium for detecting specific facial syndrome | |
CN111339854A (en) | Temperature measurement method, temperature measurement device, robot and computer storage medium | |
CN113842116B (en) | Automatic positioning method and device for human acupuncture points and electronic equipment | |
US20070127781A1 (en) | Animal eye biometrics | |
WO2017206914A1 (en) | Fingerprint recognition method, fingerprint recognition system, and electronic device | |
WO2012105281A1 (en) | Information processing system, information processing method, information processing device and method for control of same, and recording medium storing control program for same | |
CN109087356A (en) | Recognition positioning method, system and the device of medicine glass slide based on machine vision | |
CN113724243B (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN114429459A (en) | Training method of target detection model and corresponding detection method | |
Yang et al. | Covariance-driven mosaic formation from sparsely-overlapping image sets with application to retinal image mosaicing | |
CN115619756B (en) | Heart region identification method of human body infrared image | |
CN115115711B (en) | Visual calibration method and related equipment in nasopharynx swab sampling | |
CN116230172A (en) | System for acquiring electrocardio ST segment information through shooting electrocardiogram | |
CN116412915A (en) | Temperature measurement method, electronic device and computer readable storage medium | |
CN113850794A (en) | Image processing method and device | |
CN112834047A (en) | Wearable temperature monitoring device, temperature monitoring method and storage medium | |
JP2021068336A (en) | Image diagnostic system for embryo, image diagnosis program for embryo, and method of creating diagnostic imaging classifier for embryo | |
CN116869481B (en) | Spine overall structure state detection method based on infrared image and electronic equipment | |
CN111950584B (en) | Intelligent identification method and system for position integrity in X-ray chest radiography | |
CN117268559B (en) | Multi-mode infant abnormal body temperature detection method, device, equipment and medium | |
CN117475434A (en) | Construction method of improved YOLOv5s model, small target detection method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |