CN110363744B - Lung age detection method and equipment - Google Patents

Lung age detection method and equipment Download PDF

Info

Publication number
CN110363744B
CN110363744B CN201910498635.1A CN201910498635A CN110363744B CN 110363744 B CN110363744 B CN 110363744B CN 201910498635 A CN201910498635 A CN 201910498635A CN 110363744 B CN110363744 B CN 110363744B
Authority
CN
China
Prior art keywords
lung
age
value
image
user
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
CN201910498635.1A
Other languages
Chinese (zh)
Other versions
CN110363744A (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.)
Shenzhen Zhiying Medical Technology Co ltd
Original Assignee
Shenzhen Zhiying Medical 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 Shenzhen Zhiying Medical Technology Co ltd filed Critical Shenzhen Zhiying Medical Technology Co ltd
Priority to CN201910498635.1A priority Critical patent/CN110363744B/en
Publication of CN110363744A publication Critical patent/CN110363744A/en
Application granted granted Critical
Publication of CN110363744B publication Critical patent/CN110363744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30061Lung

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Radiology & Medical Imaging (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Pathology (AREA)
  • Epidemiology (AREA)
  • Primary Health Care (AREA)
  • Geometry (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The invention is suitable for the technical field of medicine, and provides a lung age detection method and equipment, wherein the lung age detection method comprises the following steps: acquiring a target lung image, height information and weight information of a user to be detected; determining a lung contour image of the target lung image based on the target lung image; determining an actual area value of a lung region based on the lung contour image and a preset proportion; determining a lung area mapping value corresponding to the actual area value based on the actual area value, the height information and the weight information; and calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relation between the lung area mapping value and the lung age. According to the method, the lung age of the user to be detected is determined based on the lung area of the user to be detected, the preset relationship between the preset lung area mapping value and the lung age, and the lung age of the user to be detected is obtained more accurately.

Description

Lung age detection method and equipment
Technical Field
The invention belongs to the technical field of medicine, and particularly relates to a lung age detection method and equipment.
Background
The lung age is an effective means for reflecting the health condition of the development of the lungs of teenagers and the health condition of the lungs of adults, and the lung age is analyzed to be beneficial to early discovering the health condition of the lungs of patients and preventing the risk of diseases. In the prior art, the method for detecting the lung age comprises the following steps: and testing the volume of the user to be detected exhaling forcefully for one second to obtain the vital capacity condition of the user to be detected, so as to deduce the lung age of the user to be detected.
However, the existing detection method does not consider the lung development and the lung aging of the user to be detected, and the lung age of the user to be detected cannot be accurately judged.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for detecting lung age, so as to solve the problem that the lung age of a user to be detected cannot be accurately determined without considering conditions of lung development, lung aging, and the like of the user to be detected in the prior art.
A first aspect of an embodiment of the present invention provides a method for detecting a lung age, including:
acquiring a target lung image, height information and weight information of a user to be detected;
determining a lung contour image of the target lung image based on the target lung image;
determining an actual area value of a lung region based on the lung contour image and a preset proportion; the preset proportion is used for identifying the scaling ratio between the lung outline image and the actual lung area value;
determining a lung area mapping value corresponding to the actual area value based on the actual area value, the height information and the weight information;
and calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relation between the lung area mapping value and the lung age.
A second aspect of an embodiment of the present invention provides a lung age detection apparatus, including:
the acquisition unit is used for acquiring a target lung image, height information and weight information of a user to be detected;
a first determining unit for determining a lung contour image of the target lung image based on the target lung image;
a second determining unit, configured to determine an actual area value of the lung region based on the lung contour image and a preset ratio; the preset proportion is used for identifying the scaling ratio between the lung outline image and the actual lung area value;
a third determining unit, configured to determine a lung area mapping value corresponding to the actual area value based on the actual area value, the height information, and the weight information;
and the calculating unit is used for calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value and the preset relation between the lung area mapping value and the lung age.
A third aspect of embodiments of the present invention provides a lung age detection apparatus, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the lung age detection method according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the lung age detection method according to the first aspect.
According to the embodiment of the invention, the target lung image, the height information and the weight information of a user to be detected are obtained; determining a lung contour image of the target lung image based on the target lung image; determining an actual area value of a lung region based on the lung contour image and a preset proportion; determining a lung area mapping value corresponding to the actual area value based on the actual area value, the height information and the weight information; and calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relation between the lung area mapping value and the lung age. According to the method, the lung age of the user to be detected is determined based on the lung area of the user to be detected, the preset relationship between the preset lung area mapping value and the lung age, the lung age is determined based on the lung image of the user to be detected, the analysis method and the reference factor are more objective, and the lung age of the user to be detected can be obtained more accurately.
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 embodiments or the prior art descriptions will be briefly described 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 inventive exercise.
FIG. 1 is a schematic flow chart of a method for detecting lung age according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a refinement at S104 in a lung age detection method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of another method for detecting lung age according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram of another method for detecting lung age according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram of another method for detecting lung age according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a lung age detection apparatus provided in an embodiment of the present invention;
fig. 7 is a schematic diagram of a lung age detection device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for detecting lung age according to an embodiment of the present invention. The main execution body of the lung age detection method in the embodiment is lung age detection equipment. The lung age detection method as shown in fig. 1 may include:
s101: and acquiring a target lung image, height information and weight information of the user to be detected.
The lung age detection device acquires a target lung image, height information and weight information of a user to be detected, wherein the target lung image of the user to be detected can be from a lung imaging examination device, and the image acquired by the lung imaging examination can display the size, shape, position and contour of a heart great vessel and the size, shape, position and contour of a lung. The height information and the weight information of the user to be detected can be obtained from information input by the user to be detected, or can be obtained by measuring the user to be detected by a device for measuring the height and the weight, and the position is not limited.
S102: determining a lung contour image of the target lung image based on the target lung image.
The lung age detection device determines the lung contour image of the target lung image based on the target lung image, and the determination manner of the lung contour image of the target lung image is not limited here. For example, in one embodiment, the target lung image may be subjected to image processing to obtain an image, and a lung contour image of the target lung image is determined; in another embodiment, the extraction of the lung contour image of the target lung image can be performed by a trained neural network model.
Further, for extracting the lung contour image of the target lung image through the trained neural network model, S102 may include: inputting the target lung image of the user to be detected into a pre-trained lung contour recognition model for processing to obtain a lung contour image of the target lung image; in the training process, the input of the lung contour recognition model is a sample lung image with a lung contour mark, and the output of the lung contour recognition model is a lung contour image of the sample lung image.
The lung age detection device is preset with a lung contour recognition model, which can comprise an input layer, a hidden layer and an output layer (a loss function layer). The input layer comprises an input layer node for receiving externally input sample lung images with lung silhouette markers. The hidden layer is used for processing the sample lung image with the lung contour mark. The output layer is used for outputting a lung outline image of the sample lung image. In this embodiment, the preset lung contour recognition model is input as a sample lung image with a lung contour mark, and the output of the lung contour recognition model is a lung contour image of the sample lung image.
The lung age detection equipment inputs the target lung image of the user to be detected into a pre-trained lung contour recognition model for processing, so that a lung contour image of the target lung image is obtained.
S103: determining an actual area value of a lung region based on the lung contour image and a preset proportion; and the preset proportion is used for identifying the scaling ratio between the lung outline image and the actual lung area value.
The lung age detection device obtains the lung image area in the lung contour image based on the lung contour image, the scaling ratio between the lung contour image and the actual lung area value is preset in the lung age detection device, and the actual lung area value is calculated based on the lung image area and the preset ratio.
For example, in one embodiment, the size of the target lung image is L, the width of the target lung image is W, the acquired target lung image to be tested is converted into an image in PNG format, the size of the target lung image is uniformly set to a × b, the size of the acquired lung contour image is also a × b, the lung contour image is subjected to image binarization, the image binarization is to set the gray value of a pixel point on the image to 0 or 255, that is, the whole image exhibits an obvious black-and-white effect, and the number of pixel values in the image which is not 0 is calculated to obtain the lung image area S1 in the lung contour image. The ratio between the pixels in the lung contour image and the actual lung region is set to r × c in the lung age detection device in advance, and the ratio between the pixels in the lung contour image and the actual lung region is set based on the imaging principle. The actual area value of the lung region S2 can be calculated, and the specific calculation process can refer to the following formula:
S2=S1×(a×b)/(L×W)×(rows×clos)。
s104: and determining a lung area mapping value corresponding to the actual area value based on the actual area value, the height information and the weight information.
Mapping, also known as projective, refers to the relationship of elements "corresponding" to each other between a set of two elements. And the lung age detection equipment determines a lung area mapping value corresponding to the actual area value based on the actual area value, the height information and the weight information. In this embodiment, the actual area value is mapped based on the height information and the weight information, and a lung area mapping value corresponding to the actual area value is obtained.
Further, in order to accurately obtain the lung area mapping value corresponding to the actual area value, S104 may include S1041 to S1042, as shown in fig. 2, where S1041 to S1042 specifically include the following:
s1041: and carrying out normalization processing on the height information and the weight information to obtain a height normalization value and a weight normalization value of the user to be detected.
The lung age detection equipment performs normalization processing on height information and weight information, wherein the normalization (data normalization) processing is a basic work of data mining, different evaluation indexes often have different dimensions and dimension units, the condition can affect the result of data analysis, and in order to eliminate the dimension influence among the indexes, the data normalization processing is required to solve the comparability among the data indexes. After the raw data are subjected to data standardization processing, all indexes are in the same order of magnitude, and the method is suitable for comprehensive comparison and evaluation. The following are two common normalization methods: one is to change the number to a decimal number between (0, 1), and one is to change a dimensional expression to a dimensionless expression. The method mainly aims to provide data processing convenience, maps data into a range of 0-1 for processing, and is more convenient and faster.
The Normalization method adopted in this embodiment is a Min-Max Normalization method (also called dispersion Normalization), which is a linear transformation on the original data to map the result value between [0-1 ]. The transfer function is as follows:
Figure BDA0002089447430000061
where max is the maximum value of the sample data and min is the minimum value of the sample data.
And normalizing the height information to obtain a height normalized value of the user to be detected, and normalizing the weight information to obtain a weight normalized value of the user to be detected.
S1042: and mapping the actual area value according to the height normalization value and the weight normalization value to obtain a lung area mapping value.
And the lung age detection equipment maps the actual area value according to the height normalization value and the weight normalization value to obtain a lung area mapping value. The specific mapping relationship may be:
S3=S2/H/W
wherein S3 is the lung area mapping value corresponding to the actual area value, S2 is the actual area value, H is the height normalization value, and W is the weight normalization value.
S105: and calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relation between the lung area mapping value and the lung age.
The lung age detection device finds the relationship between the preset lung area mapping value and the lung age, for example, when the preset lung area mapping value is d, the lung age corresponding to d is 23 years old. The lung age detection device determines the lung age corresponding to the lung area mapping value corresponding to the actual area value based on the lung area mapping value corresponding to the actual area value and the preset relationship between the lung area mapping value and the lung age, and the lung age is the lung age of the user to be detected.
According to the embodiment of the invention, the target lung image, the height information and the weight information of a user to be detected are obtained; determining a lung contour image of the target lung image based on the target lung image; determining an actual area value of a lung region based on the lung contour image and a preset proportion; determining a lung area mapping value corresponding to the actual area value based on the actual area value, the height information and the weight information; and calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relation between the lung area mapping value and the lung age. According to the method, the lung age of the user to be detected is determined based on the lung area of the user to be detected, the preset relationship between the preset lung area mapping value and the lung age, the actual lung condition of the user to be detected is considered, the analysis method and the reference factor are more objective, and the lung age of the user to be detected can be more accurately obtained.
Referring to fig. 3, fig. 3 is a schematic flow chart of another method for detecting lung age according to an embodiment of the present invention. The main execution body of the lung age detection method in the embodiment is lung age detection equipment. In order to more accurately obtain the lung age of the user to be detected, the present embodiment is different from the previous embodiment in S205, where S201 to S204 are the same as S101 to S104 in the previous embodiment, S205 is a specific implementation manner of S105, S205 is executed after S201 to S204, and S205 is specifically as follows:
s205: substituting the lung area mapping value corresponding to the actual area value into a preset lung age function, and calculating the lung age of the user to be detected; wherein the lung age function identifies a preset relationship between lung area map values and lung age.
And substituting the lung area mapping value corresponding to the actual area value into a preset lung age function by the lung age detection equipment, and calculating the lung age of the user to be detected. The lung age detection device presets a lung age function, wherein the lung age function marks a preset relation between a lung area mapping value and the lung age, an independent variable of the lung age function is the lung area mapping value, a dependent variable of the lung age function is the lung age, and the function is used for calculating the lung age of the user to be detected when the lung area mapping value corresponding to the actual area value is known. In addition, the preset lung age function may include two parts, a male part corresponding to the lung age function of a male and a female part corresponding to the lung age function of a female, due to differences between the male and female. When the lung area mapping value corresponding to the actual area value is substituted into the preset lung age function, the gender of the user can be determined first, and then the gender of the user is substituted into the corresponding lung age function for calculation.
As will be understood by those skilled in the art, the preset lung age function is a function for identifying a preset relationship between the lung area mapping value and the lung age, and the form and parameters of the function are not limited too much in this embodiment. In the practical operation of this embodiment, the preset lung age function is:
male: f (x) 7.747e-10x7-3.36e-7x6+6.005e-5x5-5.855e-3x4+3.267e-1x3-10.44x2+174x-691.8。
Female: f (x) 3.461e-10x7-1.43e-7x6+2.468e-5x5-2.314e-3x4+0.128x3-4.188x2+73.22x-125.5,
Wherein x is the lung area map value, and F (x) is the lung age.
Referring to fig. 4, fig. 4 is a schematic flow chart of another method for detecting lung age according to an embodiment of the present invention. The main execution body of the lung age detection method in the embodiment is lung age detection equipment. In order to obtain the preset lung age function, the present embodiment is different from the previous embodiment in S305 to S306, wherein S301 to S304 are the same as S201 to S204, S307 is the same as S205, and S305 to S306 are executed before S307, and S305 to S306 are specifically as follows:
s305: acquiring a sample data set; wherein the sample data set comprises age and lung area map values of a sample user.
The lung age detection device acquires a sample data set, where the acquired sample data set includes an age and a lung area mapping value of a sample user, and in this embodiment, a manner of acquiring the lung area mapping value of the sample user may refer to a manner of acquiring the lung area mapping value of the user to be detected in the first embodiment, which is not described herein again. Since the lung area mapping value of the sample user is acquired by acquiring the lung image of the sample user, the sample user is selected to be a user between 10 and 80 years old in the actual operation process considering that the user with the too small age is not suitable for acquiring the chest radiography. In addition, selecting a user of 10 to 80 years as a sample user is also a user whose main group to which the lung age detection method in the present embodiment is applicable is also focused on 10 to 80 years.
S306: a lung age function is fitted based on the sample data set.
The lung age detection equipment fits a lung age function based on the sample data set, and the fitting is to connect a series of points on a plane by a smooth curve. Because of the myriad possibilities for this curve, there are various methods of fitting. The fitted curve can be generally represented by a function, and different fitting names are provided according to the function. Common fitting methods such as least squares curve fitting methods, etc., can also fit polynomials in MATLAB. MATLAB can be Curve fitted by built-in functions or Curve Fitting toolkit (Curve Fitting Toolbox). This tool kit integrates Graphical User Interfaces (GUIs) built with MATLAB and M-file functions. Using this kit, parametric fits (which may be used when it is desired to find the regression coefficients and their underlying physical significance) or non-parametric fits (which may be used when the regression coefficients do not have physical significance and are not intended for them) may be used, using smooth splines or other various interpolation methods. With this interface, many basic curve fits can be quickly achieved in a simple and easy-to-use environment.
In the practical process of this embodiment, the fitted lung age function is:
male: f (x) 7.747e-10x7-3.36e-7x6+6.005e-5x5-5.855e-3x4+3.267e-1x3-10.44x2+174x-691.8
Female: f (x) 3.461e-10x7-1.43e-7x6+2.468e-5x5-2.314e-3x4+0.128x3-4.188x2+73.22x-125.5。
Referring to fig. 5, fig. 5 is a schematic flow chart of another method for detecting lung age according to an embodiment of the present invention. The main execution body of the lung age detection method in the embodiment is lung age detection equipment. In order to obtain the health ranking condition of the user to be detected, so that the user to be detected can intuitively know the health condition of the user to be detected, the difference between the embodiment and the previous embodiment is S408 to S409, where S401 to S407 are the same as S301 to S307, S408 to S409 are executed after S401 to S407, and S408 to S409 are specifically as follows:
s408: and acquiring target lung age information of a target user meeting preset conditions from a preset database.
The lung age detection device is characterized in that a database is preset in the lung age detection device, and the preset database comprises lung ages corresponding to users with different ages and different sexes and health grades in the preset database. The lung age detection device acquires target users meeting preset conditions in a preset database, and the preset conditions are used for screening the target users with the same age or the same age group and the same gender as the user to be detected. Screening target users meeting preset conditions from a preset database, and acquiring lung age information of the target users, wherein the lung age information comprises the lung ages of the target users, health levels in the preset database and the like.
S409: and determining the health ranking information of the user to be detected based on the lung age of the user to be detected and the target lung age information.
The lung age detection equipment ranks the user to be detected and the screened target user based on the lung age and the target lung age information of the user to be detected, and determines the health ranking information of the user to be detected. The ranking can be based on users of the same gender and the same age, and the smaller the lung age is, the higher the ranking is.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 6, fig. 6 is a schematic view of an induction power obtaining apparatus according to an embodiment of the present invention. The included units are used for executing steps in the embodiments corresponding to fig. 1 to fig. 5, and refer to the related descriptions in the embodiments corresponding to fig. 1 to fig. 5. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 6, the device 6 for induction power supply includes:
the acquiring unit 610 is used for acquiring a target lung image, height information and weight information of a user to be detected;
a first determining unit 620 for determining a lung contour image of the target lung image based on the target lung image;
a second determining unit 630, configured to determine an actual area value of the lung region based on the lung contour image and a preset ratio; the preset proportion is used for identifying the scaling ratio between the lung outline image and the actual lung area value;
a third determining unit 640, configured to determine a lung area mapping value corresponding to the actual area value based on the actual area value, the height information, and the weight information;
and the calculating unit 650 is configured to calculate the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, and a preset relationship between the lung area mapping value and the lung age.
Further, the third determining unit 640 is specifically configured to:
carrying out normalization processing on the height information and the weight information to obtain a height normalization value and a weight normalization value of the user to be detected;
and mapping the actual area value according to the height normalization value and the weight normalization value to obtain a lung area mapping value.
Further, the calculating unit 650 is specifically configured to:
substituting the lung area mapping value corresponding to the actual area value into a preset lung age function, and calculating the lung age of the user to be detected; wherein the lung age function identifies a preset relationship between lung area map values and lung age.
Further, the lung age detection device further comprises:
a first obtaining unit, configured to obtain a sample data set; wherein the sample data set comprises age and lung area map values of a sample user.
And the fitting unit is used for fitting a lung age function based on the sample data set.
Further, the first determining unit 620 is specifically configured to:
inputting the target lung image of the user to be detected into a pre-trained lung contour recognition model for processing to obtain a lung contour image of the target lung image; in the training process, the input of the lung contour recognition model is a sample lung image with a lung contour mark, and the output of the lung contour recognition model is a lung contour image of the sample lung image.
Further, the lung age detection device further comprises:
the second acquisition unit is used for acquiring target lung age information of a target user meeting preset conditions from a preset database;
and the fourth determining unit is used for determining the health ranking information of the user to be detected based on the lung age of the user to be detected and the target lung age information.
Referring to fig. 7, fig. 7 is a schematic diagram of a lung age detection apparatus according to an embodiment of the present invention. As shown in fig. 7, the lung age detection apparatus 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72, such as a lung age detection program, stored in said memory 71 and operable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the various lung age detection method embodiments described above, such as the steps 101 to 105 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 610 to 650 shown in fig. 6.
Illustratively, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 72 in the lung age detection device 7. For example, the computer program 72 may be divided into an acquisition unit, a first determination unit, a second determination unit, a third determination unit, and a calculation unit, and the specific functions of each unit are as follows:
the acquisition unit is used for acquiring a target lung image, height information and weight information of a user to be detected;
a first determining unit for determining a lung contour image of the target lung image based on the target lung image;
a second determining unit, configured to determine an actual area value of the lung region based on the lung contour image and a preset ratio; the preset proportion is used for identifying the scaling ratio between the lung outline image and the actual lung area value;
a third determining unit, configured to determine a lung area mapping value corresponding to the actual area value based on the actual area value, the height information, and the weight information;
and the calculating unit is used for calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value and the preset relation between the lung area mapping value and the lung age.
The lung age detection device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of the lung age detection device 7 and does not constitute a limitation of the lung age detection device 7 and may comprise more or less components than shown, or some components may be combined, or different components, e.g. the lung age detection device may further comprise an input-output device, a network access device, a bus, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the lung age detection device 7, such as a hard disk or a memory of the lung age detection device 7. The memory 71 may also be an external storage device of the lung age detection device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the lung age detection device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the lung age detection device 7. The memory 71 is used to store the computer program and other programs and data required by the lung age detection device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method of lung age detection, comprising:
acquiring a target lung image, height information and weight information of a user to be detected;
determining a lung contour image of the target lung image based on the target lung image;
determining an actual area value of a lung region based on the lung contour image and a preset proportion; the preset proportion is used for identifying the scaling ratio between the lung outline image and the actual lung area value;
determining a lung area mapping value corresponding to the actual area value based on the actual area value, the height information and the weight information;
and calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relation between the lung area mapping value and the lung age.
2. The lung age detection method of claim 1, wherein the determining a lung area map value corresponding to the actual area value based on the actual area value, the height information, and the weight information comprises:
carrying out normalization processing on the height information and the weight information to obtain a height normalization value and a weight normalization value of the user to be detected;
and mapping the actual area value according to the height normalization value and the weight normalization value to obtain a lung area mapping value.
3. The method for detecting lung age according to claim 1, wherein the calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relationship between the lung area mapping value and the lung age comprises:
substituting the lung area mapping value corresponding to the actual area value into a preset lung age function, and calculating the lung age of the user to be detected; wherein the lung age function identifies a preset relationship between lung area map values and lung age.
4. The method for detecting lung age according to claim 3, wherein before the calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relationship between the lung area mapping value and the lung age, the method further comprises:
acquiring a sample data set; wherein the sample data set comprises lung age and lung area map values of a sample user;
a lung age function is fitted based on the sample data set.
5. The lung age detection method of claim 1, wherein the determining the lung contour image of the target lung image based on the target lung image of the user to be detected comprises:
inputting the target lung image of the user to be detected into a pre-trained lung contour recognition model for processing to obtain a lung contour image of the target lung image; in the training process, the input of the lung contour recognition model is a sample lung image with a lung contour mark, and the output of the lung contour recognition model is a lung contour image of the sample lung image.
6. The method for detecting lung age according to any one of claims 1 to 5, wherein after the calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value, the preset relationship between the lung area mapping value and the lung age, the method further comprises:
acquiring target lung age information of a target user meeting preset conditions from a preset database;
and determining the health ranking information of the user to be detected based on the lung age of the user to be detected and the target lung age information.
7. A lung age detection device, comprising:
the acquisition unit is used for acquiring a target lung image, height information and weight information of a user to be detected;
a first determining unit for determining a lung contour image of the target lung image based on the target lung image;
a second determining unit, configured to determine an actual area value of the lung region based on the lung contour image and a preset ratio; the preset proportion is used for identifying the scaling ratio between the lung outline image and the actual lung area value;
a third determining unit, configured to determine a lung area mapping value corresponding to the actual area value based on the actual area value, the height information, and the weight information;
and the calculating unit is used for calculating the lung age of the user to be detected based on the lung area mapping value corresponding to the actual area value and the preset relation between the lung area mapping value and the lung age.
8. The lung age detection device of claim 7, wherein the third determination unit is specifically configured to:
carrying out normalization processing on the height information and the weight information to obtain a height normalization value and a weight normalization value of the user to be detected;
and mapping the actual area value according to the height normalization value and the weight normalization value to obtain a lung area mapping value.
9. A lung age detection device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201910498635.1A 2019-06-10 2019-06-10 Lung age detection method and equipment Active CN110363744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910498635.1A CN110363744B (en) 2019-06-10 2019-06-10 Lung age detection method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910498635.1A CN110363744B (en) 2019-06-10 2019-06-10 Lung age detection method and equipment

Publications (2)

Publication Number Publication Date
CN110363744A CN110363744A (en) 2019-10-22
CN110363744B true CN110363744B (en) 2021-08-06

Family

ID=68216860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910498635.1A Active CN110363744B (en) 2019-06-10 2019-06-10 Lung age detection method and equipment

Country Status (1)

Country Link
CN (1) CN110363744B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111933285B (en) * 2020-09-29 2021-01-08 平安科技(深圳)有限公司 Organ age prediction system, method and device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1803085A (en) * 2005-01-14 2006-07-19 费兆馥 Human subhealth state determining method and its checking device
CN104093356A (en) * 2011-11-03 2014-10-08 Pmd医疗保健公司 Personal spirometer
CN107767951A (en) * 2017-09-12 2018-03-06 广东技术师范学院 A kind of health management information physics emerging system
CN108091395A (en) * 2017-11-07 2018-05-29 浙江诺特健康科技股份有限公司 A kind of method for weight management and server
CN108847284A (en) * 2018-05-02 2018-11-20 莱博生物科技股份有限公司 The human-body biological age calculates apparatus and system
CN109215032A (en) * 2017-06-30 2019-01-15 上海联影医疗科技有限公司 The method and system of image segmentation
CN109461495A (en) * 2018-11-01 2019-03-12 腾讯科技(深圳)有限公司 A kind of recognition methods of medical image, model training method and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0919269D0 (en) * 2009-11-03 2009-12-16 Univ Manchester Lung function analysis method and apparatus
US20130047989A1 (en) * 2011-08-31 2013-02-28 Nellcor Puritan Bennett Llc Methods and systems for adjusting tidal volume during ventilation
CN106558045B (en) * 2016-10-20 2019-07-19 上海联影医疗科技有限公司 A kind of segmentation of lung parenchyma method, apparatus, magic magiscan
CN108888272A (en) * 2018-05-22 2018-11-27 广东工业大学 A kind of autonomic pulmonary function measuring instrument and Pulmonary function method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1803085A (en) * 2005-01-14 2006-07-19 费兆馥 Human subhealth state determining method and its checking device
CN104093356A (en) * 2011-11-03 2014-10-08 Pmd医疗保健公司 Personal spirometer
CN109215032A (en) * 2017-06-30 2019-01-15 上海联影医疗科技有限公司 The method and system of image segmentation
CN107767951A (en) * 2017-09-12 2018-03-06 广东技术师范学院 A kind of health management information physics emerging system
CN108091395A (en) * 2017-11-07 2018-05-29 浙江诺特健康科技股份有限公司 A kind of method for weight management and server
CN108847284A (en) * 2018-05-02 2018-11-20 莱博生物科技股份有限公司 The human-body biological age calculates apparatus and system
CN109461495A (en) * 2018-11-01 2019-03-12 腾讯科技(深圳)有限公司 A kind of recognition methods of medical image, model training method and server

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Estimating normal lung weight measurement using postmortem CT in forensic cases;Kotaro Matoba,Hideki Hyodob,Manabu Murakami;《Legal Medicine》;20171130;第77-81页 *
儿童少年心肺结构和功能指标与体表面积相关性研究;张美玲,王松利,周越,于亮,陈怡珊,汪军;《2017年中国生理学会运动生理学专业委员会会议》;20171231;第31页 *
肺年龄在评估肺功能损害中的作用探讨;王英保,何权瀛;《中国实用内科杂志》;20030630;第369页 *

Also Published As

Publication number Publication date
CN110363744A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN109271969B (en) Brain glioma grading evaluation method and device
KR102074406B1 (en) Apparatus and Method for classifying Landmark of Image
US20220383661A1 (en) Method and device for retinal image recognition, electronic equipment, and storage medium
CN112348765A (en) Data enhancement method and device, computer readable storage medium and terminal equipment
CN104363815A (en) Image processing device, image processing method, and image processing program
CN108955901B (en) Infrared temperature measurement method and system and terminal equipment
CN111325164B (en) Pointer representation number identification method and device and electronic equipment
CN110136153A (en) A kind of image processing method, equipment and storage medium
CN105303511A (en) Image processing apparatus and light source identification method
CN110827967A (en) Platform, method and storage medium for identifying space occupation proportion of pharmacy
CN115082968B (en) Behavior identification method based on infrared light and visible light fusion and terminal equipment
CN111325709A (en) Wireless capsule endoscope image detection system and detection method
CN110363744B (en) Lung age detection method and equipment
CN112132812A (en) Certificate checking method and device, electronic equipment and medium
CN117274278B (en) Retina image focus part segmentation method and system based on simulated receptive field
CN107633506B (en) Image symmetry detection method and device and terminal equipment
CN116350203B (en) Physical testing data processing method and system
CN113158822A (en) Eye detection data classification method and device based on cross-modal relationship reasoning
CN113192067A (en) Intelligent prediction method, device, equipment and medium based on image detection
CN107945186A (en) Method, apparatus, computer-readable recording medium and the terminal device of segmentation figure picture
CN104200460A (en) Image registration method based on images characteristics and mutual information
CN107590806A (en) A kind of detection method and system based on brain medical imaging
CN108629219B (en) Method and device for identifying one-dimensional code
CN115546168A (en) Constitution identification method and device, electronic equipment and storage medium
CN110464379A (en) A kind of fetus head circumference measurement method, device and terminal device

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