CN115588099B - Region of interest display method, electronic device and storage medium - Google Patents

Region of interest display method, electronic device and storage medium Download PDF

Info

Publication number
CN115588099B
CN115588099B CN202211363184.9A CN202211363184A CN115588099B CN 115588099 B CN115588099 B CN 115588099B CN 202211363184 A CN202211363184 A CN 202211363184A CN 115588099 B CN115588099 B CN 115588099B
Authority
CN
China
Prior art keywords
region
interest
roi
max
avg
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.)
Active
Application number
CN202211363184.9A
Other languages
Chinese (zh)
Other versions
CN115588099A (en
Inventor
陈佳丽
王纯良
宋昌梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Eagle Eye Intelligent Health Technology Co ltd
Original Assignee
Beijing Eagle Eye Intelligent Health Technology Co ltd
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 Beijing Eagle Eye Intelligent Health Technology Co ltd filed Critical Beijing Eagle Eye Intelligent Health Technology Co ltd
Priority to CN202211363184.9A priority Critical patent/CN115588099B/en
Publication of CN115588099A publication Critical patent/CN115588099A/en
Application granted granted Critical
Publication of CN115588099B publication Critical patent/CN115588099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Radiation Pyrometers (AREA)

Abstract

The invention provides a method for displaying a region of interest, which comprises the following steps: acquiring a set region of interest from a target human body infrared image; acquiring a central point O of a region of interest (ROI); acquiring a control area CA of the ROI; s40, obtaining the average temperature T of the ROI avg And the average temperature T of CA C avg The method comprises the steps of carrying out a first treatment on the surface of the According to T C avg And T avg The display colors of the ROI and CA are determined. The invention can automatically determine the display colors of the ROI and the CA based on the temperatures of the region of interest and the control region, and can improve the image display efficiency and the display accuracy.

Description

Region of interest display method, electronic device and storage medium
Technical Field
The present invention relates to the field of image processing, and in particular, to a method for displaying a region of interest, an electronic device, and a storage medium.
Background
The infrared thermal imaging technology is a functional imaging technology for scanning and measuring the distribution and the numerical value of the body surface temperature through an infrared thermal imager, has the advantages of high temperature sensitivity, quick and clear imaging, no wound, greenness, no contact and the like, can intuitively reflect the activity and the metabolic function of a human body, comprehensively and dynamically reflects the comprehensive condition of the organism on the whole, and is widely applied in the medical field. In a specific application, a professional needs to look at a region of interest in an infrared image in a medical infrared thermal imaging artificial intelligence analysis system to detect the comprehensive condition of the organism. When viewing the region of interest, the color band of the image is generally manually adjusted to a color band suitable for viewing, so that the region of interest is accurately displayed.
Disclosure of Invention
Aiming at the technical problems, the invention adopts the following technical scheme:
the embodiment of the invention provides a method for displaying a region of interest, which comprises the following steps:
the embodiment of the invention provides a method for displaying a region of interest, which is characterized by comprising the following steps:
s10, acquiring a set region of interest from a target human body infrared image;
s20, acquiring a central point O of a region of interest (ROI); roi= (S 1 ,S 2 ,…,S h ,…,S n ),S h The value of h is 1 to n, and n is the number of pixels in the ROI;
s30, acquiring a control area CA= (S) C 1 ,S C 2 ,…,S C r ,…,S C m1 ) Wherein S is C r R is R pixel points in CA, and R2 is less than or equal to D hr ≤R1;D hr Is S C r And O, R1 is a first radius, and R2 is a second radius; r is 1 to n1, n1 is the number of pixels in CA;
s40, obtaining the average temperature T of the ROI avg =Avg(t h ) And the average temperature T of CA C avg =Avg(t C r ),t h Is S h Corresponding temperature t C r Is S C r A corresponding temperature;
s50, according to T C avg And T avg The display colors of the ROI and CA are determined.
Embodiments of the present invention also provide a non-transitory computer readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the foregoing method.
The embodiment of the invention also provides an electronic device comprising a processor and the non-transitory computer readable storage medium.
The invention has at least the following beneficial effects:
according to the method for displaying the region of interest, provided by the embodiment of the invention, the display colors of the ROI and the CA can be automatically determined based on the temperatures of the region of interest and the control region, and the image display efficiency and the image display accuracy can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for displaying a region of interest according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for displaying a region of interest according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Example 1
Fig. 1 is a flowchart of a method for displaying a region of interest according to an embodiment of the present invention. As shown in fig. 1, the method for displaying a region of interest according to the embodiment of the present invention may include the following steps:
s10, acquiring a set region of interest from the infrared image of the target human body.
In this embodiment, the set region of interest may be 1 designated region. The infrared image of the target human body can be obtained by an image acquisition device such as an infrared camera device.
In the embodiment of the invention, the region of interest can be set based on actual needs. In one exemplary embodiment, the region of interest may be an acupoint. In one particular example, the region of interest may include: the space-eye region, the greater vertebral region, liver Ou, and the mutton-smell region.
Those skilled in the art will appreciate that acquiring a set region of interest from an infrared image of a target person may be accomplished based on existing methods. For example, this can be achieved by:
s11, manually marking a set region of interest on a plurality of human body infrared images;
s12, training the marked multiple images to obtain an image recognition model;
s13, inputting the target human body infrared image into the image recognition model to acquire a region of interest in the target human body infrared image.
S20, acquiring a central point O of a region of interest (ROI); roi= (S 1 ,S 2 ,…,S h ,…,S n ),S h And h is the h pixel point in the ROI, the value of h is 1 to n, and n is the number of the pixel points in the ROI.
In one embodiment of the present invention, the center point O of the ROI may be determined based on a variety of existing approaches. In one exemplary embodiment, O may satisfy the following condition 1:
condition 1: x is x 0 =Avg(x h ),y 0 =Avg(y h ),x h ,y h Respectively S h Is the abscissa and ordinate of (2); x is x 0 ,y 0 The abscissa and ordinate of O, respectively, i.e., x in this example 0 Is the average value of the abscissa of all pixel points in the ROI, y 0 Is the average of the ordinate of all pixels in the ROI.
In another example, O may satisfy the following condition 2:
conditions (conditions)2:x 0 =(x max -x min )/2,y 0 =(y max -y min )/2,x 0 ,y 0 Respectively the abscissa and ordinate of O, x max Is (x) 1 ,x 2 ,…,x h ,…,x n ) Maximum value of (y) max Is (y) 1 ,y 2 ,…,y h ,…,y n ) Maximum value of x h ,y h Respectively S h Is the abscissa and ordinate of (2); x is x h ,y h Respectively S h And the abscissa and ordinate of (c).
Those skilled in the art know that acquiring coordinates of pixels of an image is an existing method. In addition, the temperature corresponding to each pixel point can be obtained, the obtained pixel points and temperature can be stored in the form of a data table, for example, the h row of the data table can comprise (S hq ,T hq ),S hq The position of the q pixel point of the h row is T hq Is T hq The corresponding temperature value, h, is 1 to M1 and q is 1 to M2. M1 is the number of rows of pixels in the image, q is the number of columns of pixels in the image, and is determined based on the size of the image. It is known to those skilled in the art that acquiring a temperature value for each pixel point by infrared imaging may be known in the art.
S30, acquiring a control area CA= (S) C 1 ,S C 2 ,…,S C r ,…,S C m1 ) Wherein S is C R is R pixel points in CA, and R2 is less than or equal to D hr ≤R1;D hr Is S C r And O, R1 is a first radius, and R2 is a second radius; the value of r is 1 to n1, and n1 is the number of pixels in CA.
In the embodiment of the present invention, R1 may be a radius of a circumscribed circle of the ROI centered on the center point O, and may be determined based on the center point O.
In the case where O satisfies condition 1, since the ROI may be an irregular region, in which case O may not be located at the center of the region, in which case R2 may be equal to max (d 1, d2, d3, d 4), where d1= [ (x) 0 -x max ) 2 +(y 0 -y max ) 2 ] 1/2 ,d2=[(x 0 -x max ) 2 +(y 0 -y min ) 2 ] 1/2 ,d3=[(x 0 -x min ) 2 +(y 0 -y max ) 2 ] 1/2 ,d4=[(x 0 -x min ) 2 +(y 0 -y min ) 2 ] 1/2 . Setting R2 to max (d 1, d2, d3, d 4) enables the circumscribed circle to include the entire ROI.
In the case where O satisfies condition 2, O will be located at the center of the ROI, where R2 may be the distance between O and any one of the four vertices of the rectangular bounding box of the ROI, e.g., r2= [ (x) 0 -x max ) 2 +(y 0 -y max ) 2 ] 1/2
In an exemplary embodiment of the invention, R1 may be a set value. For example, R1 may be 2.5 inches in the case of a region of interest being the TIANOcular region, and R1 may be 2.5 inches in the case of a region of interest being the greater vertebral region, liver Ou, and the Danzhong region. In the examples of the present invention, "cun" refers to the same size in the field of traditional Chinese medicine.
In another embodiment of the present invention, R1 may be associated with R2, in one exemplary embodiment r1=k×r2, k > 1. Preferably, 1 < k < 2. More preferably, k=1.5.
S40, obtaining the average temperature T of the ROI avg =Avg(t h ) And the average temperature T of CA C avg =Avg(t C r ),t h Is S h Corresponding temperature t C r Is S C r Corresponding temperature.
The temperature corresponding to each pixel of the ROI and the temperature corresponding to each pixel of the control region may be obtained by referring to the data table, and then the average temperature of the corresponding region may be calculated based on all the obtained temperatures.
S50, according to T C avg And T avg The display colors of the ROI and CA are determined.
Further, S50 may further include:
s501, obtain Δt=t C avg -T avg
S502, if the DeltaT meets the set condition, displaying the ROI in a first color, displaying the CA in a second color, and enabling a color value between the first color and the second color to be larger than a set threshold value.
In the embodiment of the present invention, the setting condition is used to determine whether the region of interest is abnormal based on the temperatures of the region of interest and the control region, and the setting may be performed based on the position of the region of interest in the human body, and the present invention is not particularly limited. In the case that the interested area is the space-eye area, the large vertebral area, the liver Ou, the mutton-smell area and the two side areas of the body, the setting conditions corresponding to the space-eye area, the large vertebral point and the Ganshu point may be: the average temperature of the region of interest is lower than the average temperature of the control region by a set temperature, for example 0.5 ℃. The corresponding set conditions in the mutton smell can be as follows: the average temperature of the region of interest is greater than the average temperature of the control region by a set temperature, for example 0.5 ℃. The setting conditions corresponding to the two side areas of the body can be as follows: the difference between the average temperatures of the two side areas of the body is greater than a set temperature, for example 1 deg.c.
In an exemplary embodiment of the present invention, the first color may be red, and the second color may be green. But is not limited thereto and may be provided in other suitable colors as desired.
Further, in the embodiment of the present invention, the regions other than the ROI and the control region in the infrared image are also displayed in a third color which is significantly different from the first color and the second color, for example, displayed in white, black, or gray, or the like, so that the ROI and the control region can be more intuitively observed.
Example 2
Fig. 2 is a flowchart of a method for displaying a multi-region of interest according to another embodiment of the present invention. As shown in fig. 2, the method for displaying a multi-region of interest according to the embodiment of the present invention includes the following steps:
s100, any region of interest ROI in m set regions of interest in the infrared image of the target human body is acquired i Center point O of (2) i ;ROI i =(S i1 ,S i2 ,…,S ih ,…,S in(i) ),S ih Is ROI i The h pixel point in (1) is from 1 to n (i), and n (i) is the ROI i The number of pixels in the display panel.
In the embodiment of the invention, the infrared image of the target human body can be obtained through an image acquisition device such as an infrared camera device. m is more than or equal to 2.
In the embodiment of the invention, the region of interest can be set based on actual needs. In one exemplary embodiment, the region of interest may be an acupoint. In one particular example, the region of interest may include: the Tianyan region, dazhui region, liver Ou, danzhong region and two body side regions.
Those skilled in the art will appreciate that the acquisition of m set regions of interest from the infrared image of the target human body can be achieved based on existing methods. For example, this can be achieved by:
s101, manually marking m set interested areas on a plurality of human body infrared images;
s102, training the marked multiple images to obtain an image recognition model;
s103, inputting the target human body infrared image into the image recognition model to acquire a region of interest in the target human body infrared image. In one embodiment of the invention, the ROI i Center point O of (2) i Can be determined based on a variety of ways that exist. In one exemplary embodiment, O i The following condition 3 may be satisfied:
condition 3: x is x i0 =Avg(x ih ),y i0 =Avg(y ih );
x ih ,y ih Respectively S ih Is the abscissa and ordinate of (2); x is x i0 ,y i0 Respectively is O i And the abscissa and ordinate of (c). That is, in this embodiment, x i0 Is ROI i Average value of abscissa of all pixel points in (a), y i0 Is ROI i An average of the ordinate of all pixel points in (a).
In another aspect of the inventionIn an embodiment, the ROI i Center point O of (2) i The following condition 2 may be satisfied:
condition 3: x is x i0 =(x imax -x imin )/2,y i0 =(y imax -y imin )/2
x imax And x imin Respectively (x) i1 ,x i2 ,…,x ih ,…,x in(i) ) Maximum and minimum of (2), y imax And y imin Respectively (y) i1 ,y i2 ,…,y ih ,…,y in(i) ) And the maximum and minimum of (a) are defined.
Those skilled in the art know that acquiring coordinates of pixels of an image is an existing method. In addition, the temperature corresponding to each pixel point can be obtained, the obtained pixel points and temperature can be stored in the form of a data table, for example, the h row of the data table can comprise (S hq ,T hq ),S hq The position of the q pixel point of the h row is T hq Is T hq The corresponding temperature value, h, is 1 to M1 and q is 1 to M2. M1 is the number of rows of pixels in the image, q is the number of columns of pixels in the image, and is determined based on the size of the image. It is known to those skilled in the art that acquiring a temperature value for each pixel point by infrared imaging may be known in the art.
S200, if ROI i S300 is performed for the first setting type area; if ROI i For the second setting type area, S600 is performed.
In an embodiment of the present invention, the first setting type region may be a region whose temperature is compared with that of the control region. The second set type region may be a region whose temperature is compared with the temperature of a designated region of interest of the m regions of interest. The areas included in the first setting type area and the second setting type area are stored in the area classification table of the memory in advance. In the case where the region of interest includes a space-eye region, a large vertebral region, liver Ou, a region of mutton smell, and regions on both sides of the body, the space-eye region, the large vertebral region, liver Ou, the region of mutton smell belong to a first set type region, and the regions on both sides of the body belong to a second set type region.
S300, acquiring ROI i Control area CA of (C) i =(S C i1 ,S C i2 ,…,S C ir ,…,S C im(ic) ) Wherein S is C ir Is CA i R pixel points S in (1) C ir And R2 i ≤D i hr ≤R1 i ;D i hr Is S C ir And O i Distance between R1 i At a first radius, R2 i Is a second radius; r has a value of 1 to m (ic), m (ic) being CA i The number of pixels in the display panel.
In embodiments of the invention, R1 i Can be at the center point O i ROI as center of circle i May be based on the center point O i And (5) determining.
At O i In the case of satisfying condition 1, due to the ROI i May be an irregular area, in which case O i May not be located in the center of the region, in which case R2 i Can be equal to max (d 1, d2, d3, d 4), where d1= [ (x) i0 -x imax ) 2 +(y i0 -y imax ) 2 ] 1/2 ,d2=[(x i0 -x imax ) 2 +(y i0 -y imin ) 2 ] 1/2 ,d3=[(x i0 -x imin ) 2 +(y i0 -y imax ) 2 ] 1/2 ,d4=[(x i0 -x imin ) 2 +(y i0 -y imin ) 2 ] 1/2 . R2 is i Set to max (d 1, d2, d3, d 4) to enable the circumscribed circle to include the entire ROI i
At O i In the case of satisfying condition 2, O i Will be located in the ROI i At this time, R2 i Can be O i And ROI i Distance between any one of four vertices of a rectangular bounding box, e.g. R2 i =[(x i0 -x imax ) 2 +(y i0 -y imax ) 2 ] 1/2
In an exemplary embodiment of the invention, R1 i May be a set point. For example, where the region of interest is the space-eye region, the large vertebral region, liver Ou, and the Dan region, R1 i May be 2.5 inches. In the examples of the present invention, "cun" refers to the same size in the field of traditional Chinese medicine.
In another embodiment of the present invention, R1 i Can be combined with R2 i In association, in one illustrative embodiment, R1 i =k*R2 i K > 1. Preferably, 1 < k < 2. More preferably, k=1.5.
S400, acquiring ROI i Average temperature of (2)
Figure BDA0003922744270000061
And CA i Average temperature of (2)
Figure BDA0003922744270000062
Figure BDA0003922744270000063
t ih Is S ih Corresponding temperature t C ir Is S C ir Corresponding temperature. S500 is performed.
In embodiments of the present invention, the ROI may be obtained by consulting a data table i The temperature corresponding to each pixel of the control area and the temperature corresponding to each pixel of the control area, and then calculating the average temperature of the corresponding area based on all the acquired temperatures.
S500, obtaining a first temperature difference DeltaT 1 i =T C avgi -T avgi A first display list D1 is formed, and S700 is performed. Wherein the ith row in D1 includes (ID i ,△T1 i ),ID i Is ROI i For example, the ID may be a kanji name or an identification of the region of interest, e.g., each region of interest is distinguished by a number.
In an exemplary embodiment of the invention, T iw =(T C avgi +T avgi )/2。
In the embodiment of the invention, D1 can be displayed in the form of a floating window list.
S600, obtaining a second temperature difference DeltaT 2 i =T R avgi -T avgi A second display list D2 is formed, and S700 is performed. Line i in D2 includes (ID i ,△T2 i ),T R avgi Setting regions of interest and ROIs for m i There is an average temperature of the region of interest in relation to the correlation.
In the embodiment of the invention, with the ROI i The region of interest having the association relationship may be a single region of interest among m set regions of interest, or may be a combined region of a plurality of regions of interest, and may be determined based on actual conditions.
S700, traversing D1 and D2, for D1, if ΔT1 i Satisfying the corresponding first setting condition, then DeltaT 1 i In a first set color, otherwise, deltaT 1 i Displaying with a second set color; for D2, if DeltaT 2 i Satisfying the corresponding second setting condition, then DeltaT 2 i In a first set color, otherwise, deltaT 2 i And displaying in a second set color.
In the embodiment of the invention, the first setting condition is used for determining whether the region of interest is abnormal based on the temperatures of the region of interest and the control region, the second setting condition is used for determining whether the region of interest is abnormal based on the temperatures of the region of interest and the related region of interest, and the setting can be performed based on the positions of the region of interest in the human body respectively, and the invention is not particularly limited. The first setting condition and the second setting condition may be set based on the region of interest, and the present invention is not particularly limited. In the case that the region of interest is the Tianyan region, dazhui region, liver Ou, dan middle region and two side regions of the body, it can be known that the Tianyan region, dazhui point and Ganshu point belong to the first set type region and the two side regions of the body belong to the second set type region by referring to the region classification table. The first setting conditions corresponding to the Tianyan region, dazhui acupoint and Ganshu acupoint may be: the average temperature of the region of interest is lower than the average temperature of the control region by a set temperature, for example 0.5 ℃. The corresponding set conditions in the mutton smell can be as follows: the average temperature of the region of interest is greater than the average temperature of the control region by a set temperature, for example 0.5 ℃. The second setting condition corresponding to the body side regions may be: the difference between the average temperatures of the two side areas of the body is greater than a set temperature, for example 1 deg.c.
In another embodiment of the present invention, S700 may be replaced with:
s710, traversing D1 and D2, for D1, if ΔT1 i Satisfying the corresponding first setting condition, then DeltaT 1 i The line is displayed in a first set color, otherwise, deltaT 1 i The line is displayed with a second set color; for D2, if DeltaT 2 i Satisfying the corresponding second setting condition, then DeltaT 2 i The line is displayed in a first set color, otherwise, deltaT 2 i The line is displayed in a second set color.
Further, in an exemplary embodiment, the corresponding data is displayed in the second set color while blinking.
Further, in an embodiment of the present invention, the method further includes:
in response to receiving the temperature difference or the line displayed in the second set color in the click D1 or D2, displaying the clicked temperature difference or the region of interest corresponding to the line in the first color, and displaying the contrast area of the corresponding region of interest or the region associated with the corresponding presence of interest in the second color to distinguish the clicked region of interest from the corresponding contrast area or the clicked region of interest from the region associated with the corresponding presence of interest.
In an implementation of the invention, the color value between the first color and the second color is greater than a set threshold. In an exemplary embodiment of the present invention, the first color may be red, and the second color may be green. But is not limited thereto and may be provided in other suitable colors as desired.
Specifically, if Δt1 displayed in the second set color in click D1 is detected i Or row, then DeltaT 1 to click i Or a region of interest corresponding to a rowThe fields are displayed in a first color and the control areas of the corresponding regions of interest are displayed in a second color.
Further, in the embodiment of the present invention, the region other than the clicked region of interest and the control region in the infrared image is also displayed in a third color that is significantly different from the first color and the second color, for example, displayed in white, black, or gray, or the like.
If the delta T2 displayed in the second set color in the click D2 is detected i Or row, then DeltaT 2 to click i Or the region of interest corresponding to the row is displayed in a first color, and the region associated with the corresponding presence of interest is displayed in a second color.
Further, in the embodiment of the present invention, the region of the infrared image other than the clicked region of interest and the region associated with the corresponding presence of interest is also displayed in a third color that is significantly different from the first color and the second color, for example, in white, black, or gray, or the like.
In this embodiment, the corresponding region of interest can be displayed based on the control instruction of the user.
Further, in the embodiment of the present invention, S300 is replaced with:
s310, acquiring the ROI i Control area CA of (C) i =(S C i1 ,S C i2 ,…,S C ir ,…,S C im(ic) ) Wherein S is C ir Is CA i Is a pixel point (r) of the pixel,
Figure BDA0003922744270000081
D i hr ≤R1 i ;D i hr is S C ir And O i Distance between R1 i Is a first radius; r has a value of 1 to m (ic), m (ic) being CA i The number of pixels in the display panel.
In this embodiment, R1 i May be a set point. For example, the condition where the region of interest is the sky-eye regionIn case R1 may be 2.5 inches, in case the region of interest is the greater vertebral area, liver Ou and the Dan middle area, R1 may be 2.5 inches. In the examples of the present invention, "cun" refers to the same size in the field of traditional Chinese medicine.
In this example, due to the control area CA i To divide the ROI i Areas outside of this are due to the ROI, compared to the previous embodiment i The calculation of the average temperature is more accurate because the temperature is an actual area and is not an area surrounded by an external circle, and the calculation result is more accurate.
Further, the method provided by the embodiment of the invention can further comprise the following steps:
s800, traversing D, obtaining the number n of the second colors, and generating corresponding early warning states based on n/m.
Further, S800 may specifically include:
s801, if n/m is more than or equal to k1, generating a first early warning state; k1 is a first set threshold, for example, k1 may be 0.9 to 1, preferably 1.
S802, if k2 is less than or equal to n/m and less than k1, generating a second early warning state; k2 is a second set threshold, for example, k2 may be 0.6 to 0.8, preferably, may be 0.75;
s803, if n/m is less than k2, a third early warning state is generated.
The priority of the first early warning state is greater than that of the second early warning state, and the priority of the second early warning state is greater than that of the third early warning state.
Further, in the embodiment of the present invention, S800 is replaced with:
s810, obtaining the number n of the first identifications from m identifications, generating corresponding early warning states based on (n/m) a,
Figure BDA0003922744270000091
w r the weight of the r-th region of interest in the n corresponding n regions of interest for the n first identifications is a coefficient between 0 and 1. The weight of each region of interest may be determined based on actual conditions, and the present invention is not particularly limited.
Further, S810 specifically includes:
s811, if (n/m) a is more than or equal to k1, generating a first early warning state; k1 is a first set threshold;
s812, if k2 is less than or equal to (n/m) a is less than k1, generating a second early warning state; k2 is a second set threshold;
s813, if (n/m) a is less than k2, generating a third early warning state;
the priority of the first early warning state is greater than that of the second early warning state, and the priority of the second early warning state is greater than that of the third early warning state.
The technical effect of S810 is that, compared with S800, the calculation result is more accurate because the weight of the region of interest is considered.
Embodiments of the present invention also provide a non-transitory computer readable storage medium that may be disposed in an electronic device to store at least one instruction or at least one program for implementing one of the methods embodiments, the at least one instruction or the at least one program being loaded and executed by the processor to implement the methods provided by the embodiments described above.
Embodiments of the present invention also provide an electronic device comprising a processor and the aforementioned non-transitory computer-readable storage medium.
Embodiments of the present invention also provide a computer program product comprising program code for causing an electronic device to carry out the steps of the method according to the various exemplary embodiments of the invention as described in the specification, when said program product is run on the electronic device.
While certain specific embodiments of the invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the invention. Those skilled in the art will also appreciate that many modifications may be made to the embodiments without departing from the scope and spirit of the invention. The scope of the present disclosure is defined by the appended claims.

Claims (5)

1. A method of displaying a region of interest, comprising the steps of:
s10, acquiring a set region of interest from a target human body infrared image; the region of interest includes the space-eye region, the large vertebral region, liver Ou, and the mutton-smell region;
s20, acquiring a central point O of a region of interest (ROI); roi= (S 1 ,S 2 ,…,S h ,…,S n ),S h The value of h is 1 to n, and n is the number of pixels in the ROI;
s30, acquiring a control area CA= (S) C 1 ,S C 2 ,…,S C r ,…,S C n1 ) Wherein S is C r R is R pixel points in CA, and R2 is less than or equal to D hr ≤R1;D hr Is S C r And O, R1 is a first radius, and R2 is a second radius; r is 1 to n1, n1 is the number of pixels in CA; wherein R2 is the radius of the circumscribed circle of the ROI, R1 is a set value or r1=k R2, k > 1;
s40, obtaining the average temperature T of the ROI avg =Avg(t h ) And the average temperature T of CA C avg =Avg(t C r ),t h Is S h Corresponding temperature t C r Is S C r A corresponding temperature;
s50, according to T C avg And T avg Determining display colors of the ROI and the CA;
s50 further comprises:
s501, obtain Δt=t C avg -T avg
S502, if the DeltaT meets the set condition, displaying the ROI in a first color, displaying the CA in a second color, and enabling a color value between the first color and the second color to be larger than a set threshold value.
2. The method of claim 1, wherein x is 0 =Avg(x h ),y 0 =Avg(y h ),x h ,y h Respectively S h Is the abscissa and ordinate of (2); x is x 0 ,y 0 The abscissa and ordinate of O respectively;
R2=max(d1,d2,d3,d4),d1=[(x 0 -x max ) 2 +(y 0 -y max ) 2 ] 1/2 ,d2=[(x 0 -x max ) 2 +(y 0 -y min )
2 ] 1/2 ,d3=[(x 0 -x min ) 2 +(y 0 -y max ) 2 ] 1/2 ,d4=[(x 0 -x min ) 2 +(y 0 -y min ) 2 ] 1/2 ,x max and x min Respectively (x) 1 ,x 2 ,…,x h ,…,x n ) Maximum and minimum of (2), y max And y min Respectively (y) 1 ,y 2 ,…,y h ,…,y n ) And the maximum and minimum of (a) are defined.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
x 0 =(x max -x min )/2,y 0 =(y max -y min )/2,x 0 ,y 0 respectively the abscissa and ordinate of O, x h ,y h Respectively S h X is the abscissa and ordinate of (x) max And x min Respectively (x) 1 ,x 2 ,…,x h ,…,x n ) Maximum and minimum of (2), y max And y min Respectively (y) 1 ,y 2 ,…,y h ,…,y n ) Maximum and minimum values of (a);
R2=[(x 0 -x max ) 2 +(y 0 -y max ) 2 ] 1/2
4. a non-transitory computer readable storage medium having stored therein at least one instruction or at least one program, wherein the at least one instruction or the at least one program is loaded and executed by a processor to implement the method of any one of claims 1-3.
5. An electronic device comprising a processor and the non-transitory computer readable storage medium of claim 4.
CN202211363184.9A 2022-11-02 2022-11-02 Region of interest display method, electronic device and storage medium Active CN115588099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211363184.9A CN115588099B (en) 2022-11-02 2022-11-02 Region of interest display method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211363184.9A CN115588099B (en) 2022-11-02 2022-11-02 Region of interest display method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN115588099A CN115588099A (en) 2023-01-10
CN115588099B true CN115588099B (en) 2023-05-30

Family

ID=84782918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211363184.9A Active CN115588099B (en) 2022-11-02 2022-11-02 Region of interest display method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115588099B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116797778B (en) * 2023-03-23 2024-03-22 北京鹰之眼智能健康科技有限公司 Region of interest acquisition method, electronic device, and storage medium
CN116863130B (en) * 2023-07-27 2024-04-05 北京鹰之眼智能健康科技有限公司 Head area state parameter acquisition method, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105342565A (en) * 2015-11-19 2016-02-24 小红象医疗科技有限公司 Traditional Chinese medicine channels and collaterals analysis method based on human body surface infrared medical science image
CN111325770A (en) * 2020-02-13 2020-06-23 中国科学院自动化研究所 RGBD camera-based target following method, system and device
WO2021004402A1 (en) * 2019-07-05 2021-01-14 深圳数字生命研究院 Image recognition method and apparatus, storage medium, and processor
CN113229784A (en) * 2021-05-13 2021-08-10 北京鹰之眼智能健康科技有限公司 Method and system for evaluating functions of five-organ system in traditional Chinese medicine by far infrared thermal imaging technology
CN113842116A (en) * 2021-10-14 2021-12-28 北京鹰之眼智能健康科技有限公司 Automatic positioning method and device for human acupuncture points and electronic equipment
CN114098636A (en) * 2021-11-05 2022-03-01 北京鹰之眼智能健康科技有限公司 Human health state management method and system and electronic equipment
CN114821757A (en) * 2022-06-24 2022-07-29 北京鹰之眼智能健康科技有限公司 Data processing system for acquiring visual fatigue state

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1072031A (en) * 1992-10-24 1993-05-12 中医研究院针灸研究所 The computer partitioning scheme of thermography acupuncture diagnosis
US20090326381A1 (en) * 2008-06-27 2009-12-31 Yuan yun-e System and method to facilitate health evaluation and medical diagnosis of a human subject
US20110103663A1 (en) * 2009-11-03 2011-05-05 Mckesson Financial Holdings Limited Apparatus, method and computer-readable storage mediums for detecting a region of interest in a medical image
CN104922755B (en) * 2015-07-13 2018-01-09 京东方科技集团股份有限公司 A kind of detecting system for being injected intravenously leakage
CN108065915B (en) * 2017-11-01 2021-06-08 杭州远舟医疗科技有限公司 Infrared-based constitution identification method, electronic equipment, storage medium and system
CN112734711A (en) * 2020-12-31 2021-04-30 北京鹰之眼智能健康科技有限公司 Traditional Chinese medicine syndrome diagnosis method and system based on infrared thermal imaging technology
CN115690400B (en) * 2022-11-02 2024-01-23 北京鹰之眼智能健康科技有限公司 Infrared image display method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105342565A (en) * 2015-11-19 2016-02-24 小红象医疗科技有限公司 Traditional Chinese medicine channels and collaterals analysis method based on human body surface infrared medical science image
WO2021004402A1 (en) * 2019-07-05 2021-01-14 深圳数字生命研究院 Image recognition method and apparatus, storage medium, and processor
CN111325770A (en) * 2020-02-13 2020-06-23 中国科学院自动化研究所 RGBD camera-based target following method, system and device
CN113229784A (en) * 2021-05-13 2021-08-10 北京鹰之眼智能健康科技有限公司 Method and system for evaluating functions of five-organ system in traditional Chinese medicine by far infrared thermal imaging technology
CN113842116A (en) * 2021-10-14 2021-12-28 北京鹰之眼智能健康科技有限公司 Automatic positioning method and device for human acupuncture points and electronic equipment
CN114098636A (en) * 2021-11-05 2022-03-01 北京鹰之眼智能健康科技有限公司 Human health state management method and system and electronic equipment
CN114821757A (en) * 2022-06-24 2022-07-29 北京鹰之眼智能健康科技有限公司 Data processing system for acquiring visual fatigue state

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Intra- and Interrater Reliability of Infrared Image Analysis of Facial Acupoints in Individuals with Facial Paralysis;Xulong Liu 等;Evidence-Based Complementary and Alternative Medicine;第2020卷;1-9 *
不同证型的腰椎间盘突出症红外特征研究;余婷;中国优秀硕士学位论文全文数据库 医药卫生科技辑(第01期);E056-359 *
穴位皮肤温度研究之述评;杨紫艺 等;第二十二届全国针灸临床学术研讨会暨第二届全国针灸学术流派交流研讨会暨河南省针灸学会针灸临床分会2016年年会暨河南省针灸临床应用及特色技术学术交流会会议;314-323 *

Also Published As

Publication number Publication date
CN115588099A (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN115690400B (en) Infrared image display method
CN115588099B (en) Region of interest display method, electronic device and storage medium
CN115761212B (en) Human body state early warning system based on infrared image
US8456451B2 (en) System and method for differentiating between pointers used to contact touch surface
US8285357B2 (en) Region of interest methods and systems for ultrasound imaging
CN109271914A (en) Detect method, apparatus, storage medium and the terminal device of sight drop point
US7925112B2 (en) Video data matching using clustering on covariance appearance
Eveland et al. Tracking human faces in infrared video
Garnavi et al. Automatic segmentation of dermoscopy images using histogram thresholding on optimal color channels
CN101542525A (en) 3D segmentation by voxel classification based on intensity histogram thresholding intialised by K-means clustering
US20190206053A1 (en) Image processing device, image processing method, medical imaging system
US20050210019A1 (en) Method and apparatus for retrieving image from database, and computer product
CN109171817A (en) Three-dimensional breast ultrasound scan method and ultrasonic scanning system
Wang et al. Gaussian field estimator with manifold regularization for retinal image registration
Tam et al. Automated delineation of organs-at-risk in head and neck CT images using multi-output support vector regression
CN115497123B (en) Method for acquiring state parameters of region of interest
US20230401706A1 (en) Method for detecting a rib with a medical image, device, and medium
Cao et al. Grayscale Image Colorization Using an Adaptive Weighted Average Method.
CN116052209B (en) Processing method of infrared image and standard 3D human body model and storage medium
US20170007118A1 (en) Apparatus and method for estimating gaze from un-calibrated eye measurement points
US20230091536A1 (en) Camera Placement Guidance
CN115100556B (en) Augmented reality method and device based on image segmentation and fusion and electronic equipment
US20060010582A1 (en) Chin detecting method, chin detecting system and chin detecting program for a chin of a human face
Islam et al. QuanCro: a novel framework for quantification of corn crops’ consistency under natural field conditions
CN112183383A (en) Information processing method and device for measuring face image in complicated environment

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
GR01 Patent grant
GR01 Patent grant