CN115588099A - 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
CN115588099A
CN115588099A CN202211363184.9A CN202211363184A CN115588099A CN 115588099 A CN115588099 A CN 115588099A CN 202211363184 A CN202211363184 A CN 202211363184A CN 115588099 A CN115588099 A CN 115588099A
Authority
CN
China
Prior art keywords
region
roi
max
avg
interest
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.)
Granted
Application number
CN202211363184.9A
Other languages
Chinese (zh)
Other versions
CN115588099B (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 region-of-interest display method, 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; obtaining a contrast area CA of the ROI; s40, acquiring the average temperature T of the ROI avg And average temperature T of CA C avg (ii) a According to T C avg And T avg The display colors of 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 ROI and the contrast area, 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, no pollution, no contact and the like, can visually reflect the activity and the metabolic function of a human body, comprehensively and dynamically reflects the comprehensive condition of the body on the whole, and is widely applied to the field of medicine. In a specific application, a professional needs to check an interested area in an infrared image in a medical infrared thermal imaging artificial intelligence analysis system so as to detect the comprehensive condition of the body. When viewing the region of interest, the color bar of the image is generally manually adjusted to a color bar suitable for viewing so as to accurately display the region of interest.
Disclosure of Invention
Aiming at the technical problem, the technical scheme adopted by the invention is as follows:
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 of:
s10, acquiring a set region of interest from the target human body infrared image;
s20, acquiring a central point O of the ROI; ROI = (S) 1 ,S 2 ,…,S h ,…,S n ),S h H is the h-th 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;
s30, acquiring a contrast area CA = (S) of the ROI C 1 ,S C 2 ,…,S C r ,…,S C m1 ) Wherein S is C r R pixel points in CA, and R2 is not more than D hr ≤R1;D hr Is S C r And O, R1 is a first radius, R2 is a second radius; the value of r is 1 to n1, and n1 is the number of pixel points in CA;
s40, acquiring the average temperature T of the ROI avg =Avg(t h ) And 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 The corresponding temperature;
s50, according to T C avg And T avg The display colors of ROI and CA are determined.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, where at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded by a processor and executed to implement the foregoing method.
Embodiments of the present invention further provide an electronic device, which includes a processor and the aforementioned non-transitory computer-readable storage medium.
The invention has at least the following beneficial effects:
the region-of-interest display method provided by the embodiment of 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 contrast area, and can improve the image display efficiency and the display accuracy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
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 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present 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, a method for displaying a region of interest according to an embodiment of the present invention may include the following steps:
and S10, acquiring a set region of interest from the target human body infrared image.
In this embodiment, the set interested region may be 1 designated region. The target human body infrared image can be obtained through an image acquisition device such as an infrared camera device.
In the embodiment of the present invention, the region of interest may 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: a Tianyan region, a Dazhui region, a Ganshu region and a Danzhong region.
The person skilled in the art knows that the acquisition of the set region of interest from the infrared image of the target body can be implemented 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 images marked with the marks to obtain an image recognition model;
and S13, inputting the target human body infrared image into the image recognition model to obtain the region of interest in the target human body infrared image.
S20, acquiring a central point O of the ROI; ROI = (S) 1 ,S 2 ,…,S h ,…,S n ),S h The value of h is 1 to n for the h-th pixel point in the ROI, and n is the number of the pixel points in the ROI.
In an embodiment of the present invention, the center point O of the ROI may be determined based on various existing ways. In one exemplary embodiment, O may satisfy the following condition 1:
condition 1: x is the number of 0 =Avg(x h ),y 0 =Avg(y h ),x h ,y h Are respectively S h The abscissa and ordinate of (a); x is a radical of a fluorine atom 0 ,y 0 Respectively the abscissa and the ordinate of O, i.e. in this example, x 0 Is the average of the abscissa, y, of all pixel points in the ROI 0 Is the average of the ordinate of all pixel points in the ROIAnd (4) average value.
In another example, O may satisfy the following condition 2:
condition 2: x is the number of 0 =(x max -x min )/2,y 0 =(y max -y min )/2,x 0 ,y 0 Respectively the abscissa and ordinate, x, of O max Is (x) 1 ,x 2 ,…,x h ,…,x n ) Maximum value of (1), y max Is (y) 1 ,y 2 ,…,y h ,…,y n ) Maximum value of (1), x h ,y h Are respectively S h The abscissa and ordinate of (a); x is a radical of a fluorine atom h ,y h Are respectively S h The abscissa and the ordinate of (a).
Those skilled in the art know that obtaining coordinates of image pixels is an existing method. In addition, the temperature corresponding to each pixel point can be obtained, and the obtained pixel points and temperature can be stored in a data table form, for example, the h-th row of the data table can include (S) hq ,T hq ),S hq Is the position of the q-th pixel point of the h-th line, T hq Is T hq And h is from 1 to M1, and q is from 1 to M2. M1 is the number of pixel rows in the image and q is the number of pixel columns in the image, determined based on the size of the image. Those skilled in the art know that obtaining the temperature value of each pixel point through the infrared image may be the prior art.
S30, obtaining a comparison area CA = (S) of the ROI 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 not more than 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 around the center point O, and may be determined based on the center point O.
In the case where O satisfies the condition 1, since ROI may be an irregular region, suchIn which case O may not be located in 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 the condition 2, O may be located at the center position of the ROI, and in this case, R2 may be a distance between O and any one of four vertices of a rectangular bounding box of the ROI, for example, 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 where the region of interest is a tianye region, and R1 may be 2.5 inches in the case where the region of interest is a dazhui region, a houshu region, and a shanzhou region. In the embodiment of the invention, "cun" refers to the same cun in the field of traditional Chinese medicine.
In another embodiment of the 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, acquiring 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 The corresponding temperature.
The temperature corresponding to each pixel point of the ROI and the temperature corresponding to each pixel point of the control region may be obtained by referring to the data table, and then the average temperature of the corresponding region is calculated based on all the obtained temperatures.
S50, according to T C avg And T avg The display colors of ROI and CA are determined.
Further, S50 may further include:
s501, obtaining delta T = T C avg -T avg
And S502, if the delta T meets the set condition, displaying the ROI in a first color, and displaying the CA in a second color, wherein the color value between the first color and the second color is larger than the set threshold value.
In the embodiment of the present invention, the setting condition is used to determine whether there is an abnormality in the region of interest 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, which is not particularly limited in the present invention. In the case that the interested region is a tianyan region, a dazhui region, a ganshu region, a shanzhong region and two side regions of the body, wherein the setting conditions corresponding to the tianyan region, the dazhui point and the ganshu point can be as follows: 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 setting conditions of the cowherb smell are 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 body side regions may be: the difference between the average temperatures of the two side regions of the body is greater than a set temperature, for example 1 ℃.
In an exemplary embodiment of the 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 needed.
Further, in the embodiment of the present invention, the region other than the ROI 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, in white, black, or gray, so that the ROI and the control region can be more visually observed.
(example 2)
Fig. 2 is a flowchart of a multi-region roi displaying method according to another embodiment of the present invention. As shown in fig. 2, a method for displaying a multi-region of interest provided in an embodiment of the present invention includes the following steps:
s100, acquiring ROI (region of interest) in any one of m set ROI (regions of interest) in infrared image of target human body i Center point of (A) i ;ROI i =(S i1 ,S i2 ,…,S ih ,…,S in(i) ),S ih As ROI i H is 1 to n (i), and n (i) is ROI i The number of pixels in (1).
In the embodiment of the invention, the infrared image of the target human body can be acquired by an image acquisition device such as an infrared camera device. m is more than or equal to 2.
In the embodiment of the present invention, the region of interest can be set based on actual needs. In one exemplary embodiment, the regions of interest may be acupuncture points. In one particular example, the region of interest may include: a Tianyan region, a Dazhui region, a Ganshu region, a Danzhong region and two side regions of the body.
The person skilled in the art knows that obtaining m set regions of interest from the infrared image of the target body can be implemented 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 images marked with the marks to obtain an image recognition model;
s103, inputting the target human body infrared image into an image recognition model to obtain the region of interest in the target human body infrared image. In one embodiment of the present invention, the ROI i Center point of (A) i The determination may be based on various existing ways. In one exemplary embodiment, O i The following condition 3 can be satisfied:
condition 3: x is a radical of a fluorine atom i0 =Avg(x ih ),y i0 =Avg(y ih );
x ih ,y ih Are respectively S ih The abscissa and ordinate of (a); x is a radical of a fluorine atom i0 ,y i0 Are each O i The abscissa and the ordinate of (a). That is, in this embodiment, x i0 As ROI i Average value of the abscissa, y, of all the pixel points in (1) i0 As ROI i Average value of the ordinate of all the pixel points in (1).
In another embodiment of the invention, the ROI i Center point of (1) i The following condition 2 can be satisfied:
condition 3: x is the number of i0 =(x imax -x imin )/2,y i0 =(y imax -y imin )/2
x imax And x imin Are respectively (x) i1 ,x i2 ,…,x ih ,…,x in(i) ) Maximum and minimum values of (1), y imax And y imin Are respectively (y) i1 ,y i2 ,…,y ih ,…,y in(i) ) Maximum and minimum values of (a).
Those skilled in the art know that obtaining coordinates of image pixels is an existing method. In addition, the temperature corresponding to each pixel point can be obtained, and the obtained pixel points and temperature can be stored in a data table form, for example, the h-th row of the data table can comprise (S) hq ,T hq ),S hq Is the position of the q-th pixel point of the h-th line, T hq Is T hq And h is from 1 to M1, and q is from 1 to M2. M1 is the number of pixel rows in the image and q is the number of pixel columns in the image, determined based on the size of the image. Those skilled in the art know that obtaining the temperature value of each pixel point through the infrared image may be the prior art.
S200, if ROI i Executing S300 for the first setting type area; if ROI i For the second setting type region, S600 is performed.
In an embodiment of the present invention, the first setting type zone may be a zone whose temperature is compared with the temperature of the control zone. The second set type region may be a region whose temperature is compared with the temperature of a specified 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. Under the condition that the interested region comprises a skyhole region, a Dazhui region, a Ganshu region, a Shanzhong region and two side regions of the body, the skyhole region, the Dazhui region, the Ganshu region and the Shanzhong region belong to a first set type region, and the two side regions of the body belong to a second set type region.
S300, obtaining ROI i Control area CA of (2) i =(S C i1 ,S C i2 ,…,S C ir ,…,S C im(ic) ) Wherein S is C ir Is CA i R number of pixel points S C ir And, R2 i ≤D i hr ≤R1 i ;D i hr Is S C ir And O i Distance between, R1 i Is a first radius, R2 i Is a second radius; r is 1 to m (ic) and m (ic) is CA i The number of pixels in (1).
In the examples of the present invention, R1 i May be at the center point O i ROI as circle center i The radius of the circumscribed circle of (2) can be based on the center point O i And (4) determining.
At O i When condition 1 is satisfied, ROI i May be irregular regions, in this case O i May not be located in the center of the area, 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), the circumscribed circle can be made to include the entire ROI i
At O i When condition 2 is satisfied, O i Will be located in ROI i At this time, R2 i Can be O i And ROI i Of the 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 value. For example, in the case where the region of interest is the Tianyan region, dazhui region, ganshu region, and Danzhong region, R1 i It is 2.5 cun. In the embodiment of the invention, "cun" refers to the same cun in the field of traditional Chinese medicine.
In another embodiment of the invention, R1 i Can be reacted with R2 i In one exemplary embodiment, R1 i =k*R2 i And k is more than 1. Preferably, 1 < k < 2. More preferably, k =1.5.
S400, obtaining ROI i Average temperature of
Figure BDA0003922744270000061
And CA i Average temperature of
Figure BDA0003922744270000062
Figure BDA0003922744270000063
t ih Is S ih Corresponding temperature, t C ir Is S C ir The corresponding temperature. S500 is performed.
In embodiments of the present invention, the ROI may be obtained by consulting a data table i And then calculating the average temperature of the corresponding region based on all the obtained temperatures.
S500, acquiring a first temperature difference delta T1 i =T C avgi -T avgi The first display list D1 is formed and S700 is performed. Wherein the ith row in D1 comprises (ID) i ,△T1 i ),ID i As ROI i For example, the ID may be a kanji name or identification of the region of interest, e.g., each region of interest is numerically distinguished.
In an exemplary embodiment of the invention, T iw =(T C avgi +T avgi )/2。
In the embodiment of the present invention, D1 may be displayed in the form of a floating window list.
S600, obtaining a second temperature difference delta T2 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 the ROI and ROI in the ROI for m i The average temperature of the region of interest for which the correlation exists.
In the embodiment of the present invention, the ROI is connected i The region of interest having the association relationship may be a single region of interest among the 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 delta T1 i If the corresponding first setting condition is satisfied, the value of Delta T1 is set i Displaying in a first set color, otherwise, displaying Δ T1 i Displaying in a second set color; for D2, if Δ T2 i If the corresponding second setting condition is satisfied, will be Δ T2 i Displaying with a first set color, otherwise, displaying with a delta T2 i And displaying in a second set color.
In the embodiment of the present invention, the first setting condition is used to determine whether there is an abnormality in the region of interest based on the temperatures of the region of interest and the comparison region, and the second setting condition is used to determine whether there is an abnormality in the region of interest based on the temperatures of the region of interest and the associated region of interest, which may be respectively set based on the positions of the region of interest in the human body, which is not particularly limited by the present invention. 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. Under the condition that the interested regions are a Tianyan region, a Dazhui region, a Ganshu region, a Shanzhong region and two side regions of the body, the Tianyan region, the Dazhui point and the Ganshu point belong to a first set type region and the two side regions of the body belong to a second set type region by looking up the region classification table. Wherein, the setting conditions corresponding to the Tianyan region, dazhui point and Ganshu point, i.e. the first setting condition, can 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 of 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, e.g., 0.5 ℃. The second setting condition corresponding to the two side regions of the body may be: the difference between the average temperatures of the two regions of the body is greater than a set temperature, for example 1 ℃.
In another embodiment of the present invention, S700 may be replaced with:
s710, traverse D1 and D2, for D1, if Δ T1 i If the corresponding first setting condition is satisfied, the value of Delta T1 is set i All rows are displayed in a first set color, otherwise Δ T1 i Displaying the lines in a second set color; for D2, if Δ T2 i If the corresponding second setting condition is satisfied, Δ T2 will be i All rows are displayed in a first set color, otherwise Δ T2 i All rows are displayed in a second set color.
Further, in one exemplary embodiment, the corresponding data is displayed in a second set color while flashing.
Further, in an embodiment of the present invention, the method further includes:
in response to receiving the temperature difference value or the row displayed in the second set color in the click D1 or D2, displaying the region of interest corresponding to the click temperature difference value or the row in the first color, and displaying the corresponding region of interest or the region associated with the corresponding presence of interest in the second color to distinguish the click region of interest from the corresponding region of interest or distinguish the click 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 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 needed.
In particular, if it is detectedClick on Δ T1 displayed in the second set color in D1 i Or when the line is running, the click is performed i Or displaying the interested region corresponding to the row in a first color, and displaying the contrast region of the corresponding interested region in a second color.
Further, in the embodiment of the present invention, the region other than the clicked region of interest and the clicked 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, in white, black, or gray.
If Δ T2 displayed in a second set color in click D2 is detected i Or when going, the clicking delta T2 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 regions in the infrared image except the clicked interest region and the region associated with the corresponding interest are 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.
In this embodiment, the corresponding region of interest can be displayed based on a control instruction of a user.
Further, in the embodiment of the present invention, S300 is replaced with:
s310, obtaining ROI i Control area CA of i =(S C i1 ,S C i2 ,…,S C ir ,…,S C im(ic) ) Wherein S is C ir Is CA i The r-th pixel point in (1),
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 is 1 to m (ic), m (ic) is CA i Number of pixels in。
In this example, R1 i May be a set point. For example, R1 may be 2.5 inches in the case where the region of interest is a tianye region, and R1 may be 2.5 inches in the case where the region of interest is a dazhui region, a houshu region, and a shanzhou region. In the embodiment of the invention, "cun" refers to the same cun in the field of traditional Chinese medicine.
In this embodiment, since the control area CA i To remove ROI i Regions outside, in contrast to the previous embodiment, due to ROI i The area is an actual area and is not an area surrounded by the circumscribed circle, so that the average temperature can be calculated more accurately, and the calculation result is more accurate.
Further, the method provided by the embodiment of the present invention may further include:
s800, traversing the 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 larger 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 not less than n/m and less than k1, a second early warning state is generated; k2 is a second set threshold, for example, k2 may be 0.6 to 0.8, preferably, may be 0.75;
and S803, if n/m 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.
Further, in this embodiment of the present invention, S800 is replaced with:
s810, acquiring the number n of the first marks from the m marks, generating corresponding early warning states based on (n/m) a,
Figure BDA0003922744270000091
w r and the weight of the r interested area in the n interested areas corresponding to the n first marks is a coefficient between 0 and 1. Of each region of interestThe weight 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 larger 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 to S800, the calculation result is more accurate due to the consideration of the weights of the regions of interest.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium, which may be configured in an electronic device to store at least one instruction or at least one program for implementing a method of the method embodiments, where the at least one instruction or the at least one program is loaded into and executed by a processor to implement the method provided by the above embodiments.
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 means for causing an electronic device to carry out the steps of the method according to various exemplary embodiments of the invention described above in the present description, when said program product is run on the electronic device.
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 present disclosure is defined by the appended claims.

Claims (10)

1. A region-of-interest displaying method, comprising the steps of:
s10, acquiring a set region of interest from the target human body infrared image;
s20, acquiring a central point O of the ROI; ROI = (S) 1 ,S 2 ,…,S h ,…,S n ),S h H is the h-th 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;
s30, acquiring a contrast area CA = (S) of the ROI C 1 ,S C 2 ,…,S C r ,…,S C m1 ) Wherein S is C r R pixel points in CA, and R2 is not more than D hr ≤R1;D hr Is S C r And O, R1 is a first radius, R2 is a second radius; the value of r is 1 to n1, and n1 is the number of pixel points in CA;
s40, acquiring 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 The corresponding temperature;
s50, according to T C avg And T avg The display colors of ROI and CA are determined.
2. The method of claim 1, wherein S50 further comprises:
s501, obtaining delta T = T C avg -T avg
And S502, if the delta T meets the set condition, displaying the ROI in a first color, and displaying the CA in a second color, wherein the color value between the first color and the second color is larger than the set threshold value.
3. The method of claim 1, wherein R2 is a radius of a circle circumscribing the ROI.
4. The method of claim 3, wherein x is 0 =Avg(x h ),y 0 =Avg(y h ),x h ,y h Are respectively S h The abscissa and ordinate of (a); x is a radical of a fluorine atom 0 ,y 0 Respectively as the abscissa and ordinate of O;
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 Are respectively (x) 1 ,x 2 ,…,x h ,…,x n ) Maximum and minimum values of (1), y max And y min Are respectively (y) 1 ,y 2 ,…,y h ,…,y n ) Maximum and minimum values of (a).
5. The method of claim 4,
x 0 =(x max -x min )/2,y 0 =(y max -y min )/2,x 0 ,y 0 respectively the abscissa and ordinate, x, of O h ,y h Are respectively S h Abscissa and ordinate of (a), x max And x min Are respectively (x) 1 ,x 2 ,…,x h ,…,x n ) Maximum and minimum values of (1), y max And y min Are respectively (y) 1 ,y 2 ,…,y h ,…,y n ) Maximum and minimum values of;
R2=[(x 0 -x max ) 2 +(y 0 -y max ) 2 ] 1/2
6. the method of claim 1, wherein S300 is replaced with:
s31, obtaining a control region CA = (S) of the ROI C 1 ,S C 2 ,…,S C r ,…,S C m ) Wherein S is C r For the r-th pixel point in CA,
Figure FDA0003922744260000021
D hr ≤R1;D hr is S C r And O, R1 is a first radius; the value of r is 1 to n1, and n1 is the number of pixels in CA.
7. The method of claim 1, wherein R1 is a set value.
8. The method of claim 1, wherein R1= k R2, k > 1.
9. 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 method of any one of claims 1-8.
10. An electronic device comprising a processor and the non-transitory computer readable storage medium of claim 9.
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 true CN115588099A (en) 2023-01-10
CN115588099B 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)

Cited By (2)

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

Citations (14)

* 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
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
US20170157339A1 (en) * 2015-07-13 2017-06-08 Boe Technology Group Co., Ltd. Detection system and detection method for intravenous injection leakage
CN108065915A (en) * 2017-11-01 2018-05-25 杭州远舟医疗科技有限公司 Based on infrared Constitution Identification method, electronic equipment, storage medium and system
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
CN112734711A (en) * 2020-12-31 2021-04-30 北京鹰之眼智能健康科技有限公司 Traditional Chinese medicine syndrome diagnosis method and system based on infrared thermal imaging technology
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
CN115690400A (en) * 2022-11-02 2023-02-03 北京鹰之眼智能健康科技有限公司 Infrared image display method

Patent Citations (14)

* 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
US20170157339A1 (en) * 2015-07-13 2017-06-08 Boe Technology Group Co., Ltd. Detection system and detection method for intravenous injection leakage
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
CN108065915A (en) * 2017-11-01 2018-05-25 杭州远舟医疗科技有限公司 Based on infrared Constitution Identification method, electronic equipment, storage medium and system
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
CN112734711A (en) * 2020-12-31 2021-04-30 北京鹰之眼智能健康科技有限公司 Traditional Chinese medicine syndrome diagnosis method and system based on infrared thermal imaging technology
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
CN115690400A (en) * 2022-11-02 2023-02-03 北京鹰之眼智能健康科技有限公司 Infrared image display method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XULONG LIU 等: "Intra- and Interrater Reliability of Infrared Image Analysis of Facial Acupoints in Individuals with Facial Paralysis", EVIDENCE-BASED COMPLEMENTARY AND ALTERNATIVE MEDICINE, vol. 2020, pages 1 - 9 *
余婷: "不同证型的腰椎间盘突出症红外特征研究", 中国优秀硕士学位论文全文数据库 医药卫生科技辑, no. 01, pages 056 - 359 *
杨紫艺 等: "穴位皮肤温度研究之述评", 第二十二届全国针灸临床学术研讨会暨第二届全国针灸学术流派交流研讨会暨河南省针灸学会针灸临床分会2016年年会暨河南省针灸临床应用及特色技术学术交流会会议, pages 314 - 323 *

Cited By (4)

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

Also Published As

Publication number Publication date
CN115588099B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN115690400A (en) Infrared image display method
CN115588099A (en) Region-of-interest display method, electronic device and storage medium
CN115761212B (en) Human body state early warning system based on infrared image
US6404936B1 (en) Subject image extraction method and apparatus
US20040207600A1 (en) System and method for transforming an ordinary computer monitor into a touch screen
CN108985210A (en) A kind of Eye-controlling focus method and system based on human eye geometrical characteristic
CN110930427B (en) Image segmentation method, device and storage medium based on semantic contour information
JP2012042396A (en) Position attitude measurement device, position attitude measurement method, and program
US20130051642A1 (en) Image processing device, image processing method and computer readable recording device
CN109171817A (en) Three-dimensional breast ultrasound scan method and ultrasonic scanning system
CN112418251B (en) Infrared body temperature detection method and system
JPWO2007013300A1 (en) Abnormal shadow candidate detection method and abnormal shadow candidate detection apparatus
CN112561878A (en) Finger vein image quality evaluation method based on weighted fusion
JP2015111128A (en) Position attitude measurement device, position attitude measurement method, and program
CN112651962A (en) AI intelligent diagnosis system platform
CN116052209B (en) Processing method of infrared image and standard 3D human body model and storage medium
CN116977727A (en) Image processing-based gas combustion flame real-time monitoring method and system
US20230091536A1 (en) Camera Placement Guidance
Islam et al. QuanCro: a novel framework for quantification of corn crops’ consistency under natural field conditions
JP5080416B2 (en) Image processing apparatus for detecting an image of a detection object from an input image
US12020428B2 (en) System and methods for medical image quality assessment using deep neural networks
US20060010582A1 (en) Chin detecting method, chin detecting system and chin detecting program for a chin of a human face
CN113112475B (en) Traditional Chinese medicine ear five-organ region segmentation method and device based on machine learning
CN112766338B (en) Method, system and computer readable storage medium for calculating distance image
CN114092399A (en) Focus marking method, device, electronic equipment and readable storage medium

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