CN110427880B - A method and system for quantitative nematode fatty acid based on image processing - Google Patents
A method and system for quantitative nematode fatty acid based on image processing Download PDFInfo
- Publication number
- CN110427880B CN110427880B CN201910706312.7A CN201910706312A CN110427880B CN 110427880 B CN110427880 B CN 110427880B CN 201910706312 A CN201910706312 A CN 201910706312A CN 110427880 B CN110427880 B CN 110427880B
- Authority
- CN
- China
- Prior art keywords
- nematode
- fatty acid
- red
- nematodes
- acid content
- 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
Links
- 241000244206 Nematoda Species 0.000 title claims abstract description 260
- 235000014113 dietary fatty acids Nutrition 0.000 title claims abstract description 142
- 229930195729 fatty acid Natural products 0.000 title claims abstract description 142
- 239000000194 fatty acid Substances 0.000 title claims abstract description 142
- 150000004665 fatty acids Chemical class 0.000 title claims abstract description 142
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012545 processing Methods 0.000 title claims abstract description 21
- 238000011002 quantification Methods 0.000 claims abstract description 9
- 238000004364 calculation method Methods 0.000 claims description 36
- 238000001914 filtration Methods 0.000 claims description 9
- 238000012216 screening Methods 0.000 claims description 9
- 238000007781 pre-processing Methods 0.000 claims description 6
- 230000011218 segmentation Effects 0.000 claims description 6
- 238000004043 dyeing Methods 0.000 claims description 3
- 238000004817 gas chromatography Methods 0.000 description 6
- 238000004949 mass spectrometry Methods 0.000 description 5
- 239000000243 solution Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000001727 in vivo Methods 0.000 description 4
- 238000004445 quantitative analysis Methods 0.000 description 4
- 210000000746 body region Anatomy 0.000 description 3
- 230000002503 metabolic effect Effects 0.000 description 3
- MCSXGCZMEPXKIW-UHFFFAOYSA-N 3-hydroxy-4-[(4-methyl-2-nitrophenyl)diazenyl]-N-(3-nitrophenyl)naphthalene-2-carboxamide Chemical compound Cc1ccc(N=Nc2c(O)c(cc3ccccc23)C(=O)Nc2cccc(c2)[N+]([O-])=O)c(c1)[N+]([O-])=O MCSXGCZMEPXKIW-UHFFFAOYSA-N 0.000 description 2
- 230000032683 aging Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 241000244203 Caenorhabditis elegans Species 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010813 internal standard method Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000001819 mass spectrum Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000004060 metabolic process Effects 0.000 description 1
- 239000011259 mixed solution Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/56—Extraction of image or video features relating to colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种基于图像处理的线虫脂肪酸定量方法及系统,属于图像处理技术领域,本发明要解决的技术问题为如何能够方便快捷的测量线虫体内的脂肪酸含量,采用的技术方案为:①该方法是用油红对线虫进行染色处理,线虫体内的脂肪被染成红色,同时对染色后的线虫拍摄彩色图片,通过处理彩色图像来定量线虫体内的脂肪酸含量以及线虫体内脂肪酸的分布;具体包括:彩色图片中线虫体内各个部位的红色强度表示油红密度,油红密度反应线虫体内的脂肪酸含量;彩色图片中线虫体内各个部位的红色分布反应线虫体内脂肪酸的分布情况。②该系统包括定量计算线虫体内的脂肪酸含量子系统以及定量计算线虫体内脂肪酸的分布子系统。
The invention discloses a nematode fatty acid quantification method and system based on image processing, which belongs to the technical field of image processing. The technical problem to be solved by the invention is how to conveniently and quickly measure the fatty acid content in nematodes. The adopted technical scheme is: ① The method is to dye the nematodes with oil red, and the fat in the nematodes is dyed red. At the same time, color pictures are taken of the dyed nematodes, and the fatty acid content in the nematodes and the distribution of fatty acids in the nematodes are quantified by processing the color images; specifically Including: the red intensity of each part of the nematode in the color picture indicates the oil red density, and the oil red density reflects the fatty acid content in the nematode; the red distribution of each part in the nematode in the color picture reflects the distribution of fatty acid in the nematode. ② The system includes a subsystem for quantitatively calculating fatty acid content in nematodes and a subsystem for quantitatively calculating fatty acid distribution in nematodes.
Description
技术领域technical field
本发明涉及图像处理技术领域,具体地说是一种基于图像处理的线虫脂肪酸定量方法及系统。The invention relates to the technical field of image processing, in particular to a nematode fatty acid quantification method and system based on image processing.
背景技术Background technique
秀丽隐杆线虫简称线虫,是应用非常多的模式动物,它体积小,身长约1毫米,易于培养。普通的秀丽隐杆线虫在实验室中平均寿命约为18-20天,每个线虫可产生约300个后代。线虫作为模式生物已经应用在发育、衰老、代谢等多个领域,成为生命科学研究中非常重要的模式生物。Caenorhabditis elegans, referred to as nematode for short, is a model animal with many applications. It is small in size, about 1 mm in length, and easy to cultivate. Common C. elegans live an average of about 18-20 days in the lab, and each worm can produce about 300 offspring. As a model organism, nematodes have been used in many fields such as development, aging, and metabolism, and have become very important model organisms in life science research.
线虫的脂肪酸含量在一定程度上可以反映线虫的代谢水平,而且与线虫的寿命相关。因此测量不同线虫体内的脂肪酸含量有重要的科学意义。传统的线虫脂肪酸含量的测量方法主要是基于气相色谱的方法对线虫脂肪酸的含量进行测量。传统的测量方法非常复杂、不易于操作,因此非常需要开发其它方便易用的方法来测量线虫体内的脂肪酸含量。The fatty acid content of nematodes can reflect the metabolic level of nematodes to a certain extent, and is related to the lifespan of nematodes. Therefore, it is of great scientific significance to measure the fatty acid content in different nematodes. The traditional method for measuring the content of fatty acids in nematodes is mainly based on the method of gas chromatography to measure the content of fatty acids in nematodes. Traditional measurement methods are very complicated and not easy to operate, so there is a great need to develop other convenient and easy-to-use methods to measure fatty acid content in nematodes.
专利号为CN109387585A的专利文献公开了一种气相色谱、质谱联用技术检测线虫中脂肪酸含量的方法,该方法包括以下步骤:(1)配制标准品,用气相色谱、质谱联用方法进行检测,并与质谱数据库进行比对,得到不同保留时间对应的脂肪酸组分,相似度≥95%时确认为该种化合物;(2)配制标准混合液,用内标法,建立气相色谱、质谱联用定性定量方法;(3)预处理线虫样品,获得分析试样;(4)采用步骤(2)建立气相色谱、质谱联用定性定量方法对待测分析试样进行分析检测;(5)计算确定线虫样品中各脂肪酸的含量。该技术方案是使用气相色谱和质谱进行分析和测量,不易于操作,不能方便快捷的测量线虫体内的脂肪酸含量。The patent No. is CN109387585A patent document discloses a kind of method that gas chromatography, mass spectrometry technology detects fatty acid content in the nematode, and the method comprises the following steps: (1) prepare standard substance, detect with gas chromatography, mass spectrometry method, And compared with the mass spectrum database, the fatty acid components corresponding to different retention times are obtained, and the compound is confirmed when the similarity is ≥95%; (2) prepare a standard mixed solution, and use the internal standard method to establish a gas chromatography and mass spectrometry Qualitative and quantitative method; (3) pretreating nematode samples to obtain analysis samples; (4) adopting step (2) to establish gas chromatography and mass spectrometry qualitative and quantitative methods to analyze and detect the samples to be tested; (5) calculating and determining nematodes The content of each fatty acid in the sample. The technical solution uses gas chromatography and mass spectrometry for analysis and measurement, which is not easy to operate, and cannot conveniently and quickly measure the content of fatty acids in nematodes.
发明内容Contents of the invention
本发明的技术任务是提供一种基于图像处理的线虫脂肪酸定量方法及系统,来解决如何能够方便快捷的测量线虫体内的脂肪酸含量的问题。The technical task of the present invention is to provide a nematode fatty acid quantification method and system based on image processing to solve the problem of how to conveniently and quickly measure the fatty acid content in nematodes.
本发明的技术任务是按以下方式实现的,一种基于图像处理的线虫脂肪酸定量方法,该方法是用油红对线虫进行染色处理,线虫体内的脂肪被染成红色,同时对染色后的线虫拍摄彩色图片,通过处理彩色图像来定量线虫体内的脂肪酸含量以及线虫体内脂肪酸的分布;具体包括:The technical task of the present invention is achieved in the following manner, a nematode fatty acid quantitative method based on image processing, the method is to dye the nematodes with oil red, the fat in the nematodes is dyed red, and at the same time, the dyed nematodes Take color pictures, and quantify the content of fatty acids in nematodes and the distribution of fatty acids in nematodes by processing color images; specifically include:
彩色图片中线虫体内各个部位的红色强度表示油红密度,油红密度反应线虫体内的脂肪酸含量;The red intensity of each part of the nematode in the color picture indicates the oil red density, and the oil red density reflects the fatty acid content in the nematode;
彩色图片中线虫体内各个部位的红色分布反应线虫体内脂肪酸的分布情况。The red distribution of various parts of the nematode in the color picture reflects the distribution of fatty acids in the nematode.
作为优选,所述定量线虫体内的脂肪酸含量的方法具体如下:As preferably, the method for the fatty acid content in the quantitative nematode is specifically as follows:
识别线虫身体区域并计算线虫的身体面积:从彩色图片中识别出线虫身体区域并计算线虫身体的面积;Identify the nematode body area and calculate the nematode body area: identify the nematode body area from the color picture and calculate the nematode body area;
预处理彩色图片:利用识别出的线虫身体区域过滤掉除线虫身体区域之外的背景区域,只保留线虫身体区域;Preprocessing color images: use the identified nematode body area to filter out the background area except the nematode body area, and only keep the nematode body area;
识别红色像素点:在线虫身体区域内通过过滤条件找到线虫身体区域内的红色像素点;Identify red pixels: find the red pixels in the nematode body area by filtering conditions;
筛选深红色区域:在红色像素点的基础上筛选出深红色的区域;Filter the dark red area: filter out the dark red area based on the red pixels;
计算线虫体内脂肪酸含量的平均值:定量深红色区域的表型,并将定量的表型分别除以每条线虫的身体面积,从而得到线虫体内脂肪酸含量的平均值,利用线虫体内脂肪酸含量的平均值比较不同大小的线虫之间体内脂肪酸含量。Calculate the average fatty acid content in nematodes: Quantify the phenotypes in the dark red area, and divide the quantified phenotypes by the body area of each nematode to obtain the average fatty acid content in nematodes, using the average fatty acid content in nematodes Values comparing in vivo fatty acid content between nematodes of different sizes.
更优地,所述识别红色像素点的过滤条件是在RGB彩色图片中,要求红色分量的强度要大于绿色分量和蓝色分量的强度。More preferably, the filter condition for identifying red pixels is that in an RGB color picture, the intensity of the red component is required to be greater than the intensity of the green component and the blue component.
更优地,所述筛选深红色区域的方法是红色分量的强度值大于设定的阀值60。More preferably, the method for screening the deep red area is that the intensity value of the red component is greater than the preset threshold value of 60.
更优地,所述定量的表型指的是红色区域的面积以及红色区域的强度。More preferably, the quantitative phenotype refers to the area of the red area and the intensity of the red area.
作为优选,所述线虫体内脂肪酸的分布情况包括沿着线虫身体的长度方向从头部到尾部的脂肪酸分布以及沿着线虫身体的宽度方向从身体外侧到身体中心的脂肪酸分布。Preferably, the distribution of fatty acids in the nematode body includes fatty acid distribution along the length direction of the nematode body from head to tail and fatty acid distribution along the width direction of the nematode body from the outside of the body to the center of the body.
更优地,所述沿着线虫身体的长度方向从头部到尾部的脂肪酸分布的计算方法如下:More preferably, the calculation method of the fatty acid distribution from the head to the tail along the length direction of the nematode body is as follows:
自动识别头部和尾部:根据线虫头部和尾部的差异,自动识别出线虫的头部和尾部;Automatic identification of the head and tail: according to the difference between the head and tail of the nematode, automatically identify the head and tail of the nematode;
分块分割线虫身体:将线虫的身体按照长度平均分成若干块(如十块);Divide the body of the nematode into pieces: divide the body of the nematode into several pieces (such as ten pieces) on average according to the length;
计算每一块的脂肪酸含量:在每一块内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从头部到尾部的脂肪酸分布情况。Calculate the fatty acid content of each block: Calculate the average red intensity in each block as the fatty acid content of this area, so as to calculate the fatty acid distribution from the head to the tail of the nematode.
更优地,所述沿着线虫身体的宽度方向从身体外侧到身体中心的脂肪酸分布的计算方法如下:More preferably, the calculation method of fatty acid distribution from the outside of the body to the center of the body along the width direction of the nematode body is as follows:
计算边界距离:计算线虫身体内的每个像素点到其身体边界的距离;Calculate the boundary distance: calculate the distance from each pixel in the nematode body to its body boundary;
分层分割线虫身体:将线虫身体内所有的像素点按照其到身体边界的距离平均分成若干层(如十层);Hierarchically segment the nematode body: divide all pixels in the nematode body into several layers (such as ten layers) on average according to the distance from the nematode body to the body boundary;
计算每一层的脂肪酸含量:在每一层内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从外到内的脂肪酸分布情况。Calculate the fatty acid content of each layer: Calculate the average red intensity in each layer as the fatty acid content of this region, so as to calculate the fatty acid distribution of nematodes from the outside to the inside.
一种基于图像处理的线虫脂肪酸定量系统,该系统包括定量计算线虫体内的脂肪酸含量子系统以及定量计算线虫体内脂肪酸的分布子系统;A nematode fatty acid quantification system based on image processing, the system includes a subsystem for quantitative calculation of fatty acid content in nematodes and a subsystem for quantitative calculation of fatty acid distribution in nematodes;
定量计算线虫体内的脂肪酸含量子系统包括,The subsystem for quantitative calculation of fatty acid content in nematodes includes,
线虫身体区域识别并线虫的身体面积计算模块,用于从彩色图片中识别出线虫身体区域并计算线虫身体的面积;The nematode body area identification and nematode body area calculation module is used to identify the nematode body area from the color picture and calculate the area of the nematode body;
彩色图片预处理模块,用于利用识别出的线虫身体区域过滤掉除线虫身体区域之外的背景区域,只保留线虫身体区域;The color picture preprocessing module is used to filter out the background area except the nematode body area by using the identified nematode body area, and only keep the nematode body area;
红色像素点识别模块,用于在线虫身体区域内通过过滤条件找到线虫身体区域内的红色像素点;The red pixel point identification module is used to find the red pixel points in the nematode body area by filtering conditions in the nematode body area;
深红色区域筛选模块,用于在红色像素点的基础上筛选出深红色的区域;The dark red area screening module is used to filter out dark red areas on the basis of red pixels;
线虫体内脂肪酸含量的平均值计算模块,用于定量深红色区域的表型,并将定量的表型分别除以每条线虫的身体面积,从而得到线虫体内脂肪酸含量的平均值,利用线虫体内脂肪酸含量的平均值比较不同大小的线虫之间体内脂肪酸含量。The average calculation module of fatty acid content in nematodes is used to quantify the phenotypes in the dark red area, and divide the quantified phenotypes by the body area of each nematode to obtain the average fatty acid content in nematodes, using fatty acid in nematodes The mean of the content compares the in vivo fatty acid content between nematodes of different sizes.
作为优选,所述定量计算线虫体内脂肪酸的分布子系统包括沿着线虫身体的长度方向分布计算模块以及沿着线虫身体的宽度方向分布计算模块;Preferably, the subsystem for quantitatively calculating the distribution of fatty acids in the nematode body includes a distribution calculation module along the length direction of the nematode body and a distribution calculation module along the width direction of the nematode body;
沿着线虫身体的长度方向分布计算模块包括,The distribution calculation module along the length direction of the nematode body includes,
头部和尾部自动识别子模块,用于根据线虫头部和尾部的差异,自动识别出线虫的头部和尾部;The head and tail automatic identification sub-module is used to automatically identify the head and tail of the nematode according to the difference between the head and tail of the nematode;
线虫身体分块分割子模块,用于将线虫的身体按照长度平均分成若干块(如十块);The nematode body segmentation sub-module is used to divide the body of the nematode into several pieces (such as ten pieces) on average according to the length;
每一块的脂肪酸含量计算子模块,用于在每一块内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从头部到尾部的脂肪酸分布情况;The fatty acid content calculation submodule of each block is used to calculate the average red intensity in each block as the fatty acid content of this area, thereby calculating the fatty acid distribution from the head to the tail of the nematode;
沿着线虫身体的宽度方向分布计算模块包括,The distribution calculation module along the width direction of the nematode body includes,
边界距离计算子模块,用于计算线虫身体内的每个像素点到其身体边界的距离;The boundary distance calculation sub-module is used to calculate the distance from each pixel in the nematode body to its body boundary;
线虫身体分层分割子模块,用于将线虫身体内所有的像素点按照其到身体边界的距离平均分成若干层(如十层);The nematode body layered segmentation sub-module is used to divide all pixels in the nematode body into several layers (such as ten layers) on average according to the distance from the nematode body to the body boundary;
每一层的脂肪酸含量计算子模块,用于在每一层内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从外到内的脂肪酸分布情况。The fatty acid content calculation submodule of each layer is used to calculate the average red intensity in each layer as the fatty acid content of the region, so as to calculate the distribution of fatty acids from the outside to the inside of the nematode.
本发明的基于图像处理的线虫脂肪酸定量方法及系统具有以下优点:The nematode fatty acid quantification method and system based on image processing of the present invention have the following advantages:
(1)、本发明通过设计图像处理的方法对线虫体内的脂肪酸含量进行测量,解决了传统的线虫脂肪酸含量测量方法非常复杂、不易于操作的困难,使用图像处理程序来定量红色强度并反映脂肪酸含量的方法与传统的定量方法相比更简单、方便;(1), the present invention measures the fatty acid content in nematodes by designing an image processing method, which solves the difficulty that the traditional method for measuring fatty acid content in nematodes is very complicated and difficult to operate, and uses an image processing program to quantify the red intensity and reflect fatty acids Compared with the traditional quantitative method, the content method is simpler and more convenient;
(2)、本发明对模式生物线虫体内的脂肪酸含量及分布的进行定量,从油红染色的线虫彩色图像中定量脂肪酸含量和分布,从而为定量的研究线虫的代谢水平以及揭示代谢水平对衰老速度的影响提供量化的指标。(2), the present invention quantifies the fatty acid content and distribution in the model organism nematode, and quantifies the fatty acid content and distribution from the nematode color image stained with oil red, so as to quantitatively study the metabolic level of the nematode and reveal the effect of the metabolic level on aging The impact of speed provides quantitative indicators.
附图说明Description of drawings
下面结合附图对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings.
附图1为定量线虫体内的脂肪酸含量的方法的流程框图;Accompanying drawing 1 is the flowchart of the method for the fatty acid content in quantitative nematode;
附图2为沿着线虫身体的长度方向从头部到尾部的脂肪酸分布的计算方法的流程框图;Accompanying drawing 2 is the flowchart of the calculation method of fatty acid distribution from head to tail along the length direction of nematode body;
附图3为沿着线虫身体的宽度方向从身体外侧到身体中心的脂肪酸分布的计算方法的流程框图;Accompanying drawing 3 is the flowchart of the calculation method of the fatty acid distribution from the outside of the body to the center of the body along the width direction of the nematode body;
附图4为线虫经过油红染色后的示意图;Accompanying drawing 4 is the schematic diagram of nematode after being stained with oil red;
附图5为从图片中识别出线虫的示意图;Accompanying drawing 5 is the schematic diagram that identifies nematode from picture;
附图6为筛选出线虫体内的红色区域的示意图;Accompanying drawing 6 is the schematic diagram that screens out the red region in nematode;
附图7为识别出线虫体内的脂肪颗粒的示意图。Figure 7 is a schematic diagram of identifying fat particles in nematodes.
具体实施方式Detailed ways
参照说明书附图和具体实施例对本发明的一种基于图像处理的线虫脂肪酸定量方法及系统作以下详细地说明。A method and system for quantifying fatty acids in nematodes based on image processing of the present invention will be described in detail below with reference to the accompanying drawings and specific examples.
实施例1Example 1
本发明的基于图像处理的线虫脂肪酸定量方法,该方法是用油红对线虫进行染色处理,如附图4所示,线虫体内的脂肪被染成红色,同时对染色后的线虫拍摄彩色图片,通过处理彩色图像来定量线虫体内的脂肪酸含量以及线虫体内脂肪酸的分布;具体包括:The nematode fatty acid quantification method based on image processing of the present invention, this method is to carry out dyeing process to nematode with oil red, as shown in accompanying drawing 4, the fat in the nematode body is dyed red, simultaneously to the nematode after dyeing color picture is taken, Quantify the content of fatty acids in nematodes and the distribution of fatty acids in nematodes by processing color images; specifically:
彩色图片中线虫体内各个部位的红色强度表示油红密度,油红密度反应线虫体内的脂肪酸含量;The red intensity of each part of the nematode in the color picture indicates the oil red density, and the oil red density reflects the fatty acid content in the nematode;
彩色图片中线虫体内各个部位的红色分布反应线虫体内脂肪酸的分布情况。The red distribution of various parts of the nematode in the color picture reflects the distribution of fatty acids in the nematode.
如附图1所示,定量线虫体内的脂肪酸含量的方法具体如下:As shown in accompanying drawing 1, the method for the fatty acid content in quantitative nematode body is specifically as follows:
S1、如附图5所示,识别线虫身体区域并计算线虫的身体面积:从彩色图片中识别出线虫身体区域并计算线虫身体的面积;S1, as shown in accompanying drawing 5, identify the nematode body area and calculate the body area of the nematode: identify the nematode body area from the color picture and calculate the area of the nematode body;
S2、预处理彩色图片:利用识别出的线虫身体区域过滤掉除线虫身体区域之外的背景区域,只保留线虫身体区域;S2. Preprocessing the color image: using the identified nematode body region to filter out background regions other than the nematode body region, and only retain the nematode body region;
S3、如附图6所示,识别红色像素点:在线虫身体区域内通过过滤条件找到线虫身体区域内的红色像素点;S3. As shown in accompanying drawing 6, identify the red pixel points: find the red pixel points in the nematode body area by filtering conditions in the nematode body area;
S4、如附图7所示,筛选深红色区域:在红色像素点的基础上筛选出深红色的区域;S4. As shown in accompanying drawing 7, filter the dark red area: filter out the dark red area on the basis of the red pixels;
S5、计算线虫体内脂肪酸含量的平均值:定量深红色区域的表型,并将定量的表型分别除以每条线虫的身体面积,从而得到线虫体内脂肪酸含量的平均值,利用线虫体内脂肪酸含量的平均值比较不同大小的线虫之间体内脂肪酸含量。S5. Calculate the average value of fatty acid content in nematodes: quantify the phenotypes in the deep red area, and divide the quantified phenotypes by the body area of each nematode to obtain the average value of fatty acid content in nematodes, and use the fatty acid content in nematodes The mean value compares in vivo fatty acid content between nematodes of different sizes.
其中,步骤S3中识别红色像素点的过滤条件是在RGB彩色图片中,要求红色分量的强度要大于绿色分量和蓝色分量的强度。Wherein, the filter condition for identifying red pixels in step S3 is that in an RGB color picture, the intensity of the red component is required to be greater than the intensity of the green component and the blue component.
步骤S4中筛选深红色区域的方法是红色分量的强度值大于设定的阀值60。The method for screening the dark red area in step S4 is that the intensity value of the red component is greater than the set threshold 60.
步骤S5中定量的表型指的是红色区域的面积以及红色区域的强度。The phenotype quantified in step S5 refers to the area of the red area and the intensity of the red area.
线虫体内脂肪酸的分布情况包括沿着线虫身体的长度方向从头部到尾部的脂肪酸分布以及沿着线虫身体的宽度方向从身体外侧到身体中心的脂肪酸分布。The distribution of fatty acids in the nematode body includes fatty acid distribution along the length direction of the nematode body from head to tail and fatty acid distribution along the width direction of the nematode body from the outside of the body to the center of the body.
如附图2所示,沿着线虫身体的长度方向从头部到尾部的脂肪酸分布的计算方法如下:As shown in Figure 2, the fatty acid distribution from the head to the tail along the length of the nematode body is calculated as follows:
M1、自动识别头部和尾部:根据线虫头部和尾部的差异,自动识别出线虫的头部和尾部;M1. Automatic recognition of the head and tail: according to the difference between the head and tail of the nematode, automatically recognize the head and tail of the nematode;
M2、分块分割线虫身体:将线虫的身体按照长度平均分成若干块(如十块);分块的个数可以根据线虫身体的长度来设定;M2, dividing the nematode body into pieces: the body of the nematode is divided into several pieces (such as ten pieces) on average according to the length; the number of pieces can be set according to the length of the nematode body;
M3、计算每一块的脂肪酸含量:在每一块内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从头部到尾部的脂肪酸分布情况。M3. Calculating the fatty acid content of each block: calculating the average red intensity in each block as the fatty acid content of this area, thereby calculating the fatty acid distribution from the head to the tail of the nematode.
如附图3所示,沿着线虫身体的宽度方向从身体外侧到身体中心的脂肪酸分布的计算方法如下:As shown in Figure 3, the calculation method of the fatty acid distribution from the outside of the body to the center of the body along the width direction of the nematode body is as follows:
R1、计算边界距离:计算线虫身体内的每个像素点到其身体边界的距离;R1, calculate the boundary distance: calculate the distance from each pixel in the nematode body to its body boundary;
R2、分层分割线虫身体:将线虫身体内所有的像素点按照其到身体边界的距离平均分成若干层(如十层);分层的层数可以根据线虫身体的宽度来设定;R2, split the nematode body in layers: divide all pixels in the nematode body into several layers (such as ten layers) on average according to the distance from it to the body boundary; the number of layers can be set according to the width of the nematode body;
R3、计算每一层的脂肪酸含量:在每一层内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从外到内的脂肪酸分布情况。R3. Calculating the fatty acid content of each layer: calculating the average red intensity in each layer as the fatty acid content of the region, so as to calculate the fatty acid distribution of the nematode from the outside to the inside.
实施例2:Example 2:
本发明的基于图像处理的线虫脂肪酸定量系统,该系统包括定量计算线虫体内的脂肪酸含量子系统以及定量计算线虫体内脂肪酸的分布子系统;The nematode fatty acid quantification system based on image processing of the present invention includes a subsystem for quantitatively calculating fatty acid content in nematodes and a subsystem for quantitatively calculating fatty acid distribution in nematodes;
定量计算线虫体内的脂肪酸含量子系统包括,The subsystem for quantitative calculation of fatty acid content in nematodes includes,
线虫身体区域识别并线虫的身体面积计算模块,用于从彩色图片中识别出线虫身体区域并计算线虫身体的面积;The nematode body area identification and nematode body area calculation module is used to identify the nematode body area from the color picture and calculate the area of the nematode body;
彩色图片预处理模块,用于利用识别出的线虫身体区域过滤掉除线虫身体区域之外的背景区域,只保留线虫身体区域;The color picture preprocessing module is used to filter out the background area except the nematode body area by using the identified nematode body area, and only keep the nematode body area;
红色像素点识别模块,用于在线虫身体区域内通过过滤条件找到线虫身体区域内的红色像素点;The red pixel point identification module is used to find the red pixel points in the nematode body area by filtering conditions in the nematode body area;
深红色区域筛选模块,用于在红色像素点的基础上筛选出深红色的区域;The dark red area screening module is used to filter out dark red areas on the basis of red pixels;
线虫体内脂肪酸含量的平均值计算模块,用于定量深红色区域的表型,并将定量的表型分别除以每条线虫的身体面积,从而得到线虫体内脂肪酸含量的平均值,利用线虫体内脂肪酸含量的平均值比较不同大小的线虫之间体内脂肪酸含量。The average calculation module of fatty acid content in nematodes is used to quantify the phenotypes in the dark red area, and divide the quantified phenotypes by the body area of each nematode to obtain the average fatty acid content in nematodes, using fatty acid in nematodes The mean of the content compares the in vivo fatty acid content between nematodes of different sizes.
作为优选,所述定量计算线虫体内脂肪酸的分布子系统包括沿着线虫身体的长度方向分布计算模块以及沿着线虫身体的宽度方向分布计算模块;Preferably, the subsystem for quantitatively calculating the distribution of fatty acids in the nematode body includes a distribution calculation module along the length direction of the nematode body and a distribution calculation module along the width direction of the nematode body;
沿着线虫身体的长度方向分布计算模块包括,The distribution calculation module along the length direction of the nematode body includes,
头部和尾部自动识别子模块,用于根据线虫头部和尾部的差异,自动识别出线虫的头部和尾部;The head and tail automatic identification sub-module is used to automatically identify the head and tail of the nematode according to the difference between the head and tail of the nematode;
线虫身体分块分割子模块,用于将线虫的身体按照长度平均分成若干块(如十块);The nematode body segmentation sub-module is used to divide the body of the nematode into several pieces (such as ten pieces) on average according to the length;
每一块的脂肪酸含量计算子模块,用于在每一块内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从头部到尾部的脂肪酸分布情况;The fatty acid content calculation submodule of each block is used to calculate the average red intensity in each block as the fatty acid content of this area, thereby calculating the fatty acid distribution from the head to the tail of the nematode;
沿着线虫身体的宽度方向分布计算模块包括,The distribution calculation module along the width direction of the nematode body includes,
边界距离计算子模块,用于计算线虫身体内的每个像素点到其身体边界的距离;The boundary distance calculation sub-module is used to calculate the distance from each pixel in the nematode body to its body boundary;
线虫身体分层分割子模块,用于将线虫身体内所有的像素点按照其到身体边界的距离平均分成若干层(如十层);The nematode body layered segmentation sub-module is used to divide all pixels in the nematode body into several layers (such as ten layers) on average according to the distance from the nematode body to the body boundary;
每一层的脂肪酸含量计算子模块,用于在每一层内计算平均红色强度作为本区域的脂肪酸含量,从而计算出线虫从外到内的脂肪酸分布情况。The fatty acid content calculation submodule of each layer is used to calculate the average red intensity in each layer as the fatty acid content of the region, so as to calculate the distribution of fatty acids from the outside to the inside of the nematode.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910706312.7A CN110427880B (en) | 2019-08-01 | 2019-08-01 | A method and system for quantitative nematode fatty acid based on image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910706312.7A CN110427880B (en) | 2019-08-01 | 2019-08-01 | A method and system for quantitative nematode fatty acid based on image processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110427880A CN110427880A (en) | 2019-11-08 |
CN110427880B true CN110427880B (en) | 2023-05-02 |
Family
ID=68412012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910706312.7A Active CN110427880B (en) | 2019-08-01 | 2019-08-01 | A method and system for quantitative nematode fatty acid based on image processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110427880B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101881726A (en) * | 2010-06-18 | 2010-11-10 | 北京农业智能装备技术研究中心 | Nondestructive detection method for comprehensive character living bodies of plant seedlings |
CN102213672A (en) * | 2010-04-03 | 2011-10-12 | 李红玉 | Method and kit for setting survival rate of nematode quickly |
CN104928208A (en) * | 2015-04-30 | 2015-09-23 | 江苏紫石微康生物科技有限公司 | Lactobacillus plantarum Lp90, and screening method and application thereof |
CN107561264A (en) * | 2017-09-05 | 2018-01-09 | 齐鲁工业大学 | The identification of beta-amyloyd patch and measuring method based on image procossing |
CN107808396A (en) * | 2017-11-01 | 2018-03-16 | 齐鲁工业大学 | It is easy to nematode recognition methods and the system of image segmentation |
CN109387585A (en) * | 2018-10-23 | 2019-02-26 | 江汉大学 | The method of content of fatty acid in gas-chromatography, mass spectrometric hyphenated technique detection nematode |
CN109872301A (en) * | 2018-12-26 | 2019-06-11 | 浙江清华长三角研究院 | A color image preprocessing method for rice disease and insect pest identification and counting |
CN110148125A (en) * | 2019-05-21 | 2019-08-20 | 苏州大学 | Adaptive skin oil and fat detection method based on color detection |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3040724B1 (en) * | 2013-09-26 | 2018-08-29 | Konica Minolta, Inc. | Method for determining quantity of biological material in tissue section |
-
2019
- 2019-08-01 CN CN201910706312.7A patent/CN110427880B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102213672A (en) * | 2010-04-03 | 2011-10-12 | 李红玉 | Method and kit for setting survival rate of nematode quickly |
CN101881726A (en) * | 2010-06-18 | 2010-11-10 | 北京农业智能装备技术研究中心 | Nondestructive detection method for comprehensive character living bodies of plant seedlings |
CN104928208A (en) * | 2015-04-30 | 2015-09-23 | 江苏紫石微康生物科技有限公司 | Lactobacillus plantarum Lp90, and screening method and application thereof |
CN107561264A (en) * | 2017-09-05 | 2018-01-09 | 齐鲁工业大学 | The identification of beta-amyloyd patch and measuring method based on image procossing |
CN107808396A (en) * | 2017-11-01 | 2018-03-16 | 齐鲁工业大学 | It is easy to nematode recognition methods and the system of image segmentation |
CN109387585A (en) * | 2018-10-23 | 2019-02-26 | 江汉大学 | The method of content of fatty acid in gas-chromatography, mass spectrometric hyphenated technique detection nematode |
CN109872301A (en) * | 2018-12-26 | 2019-06-11 | 浙江清华长三角研究院 | A color image preprocessing method for rice disease and insect pest identification and counting |
CN110148125A (en) * | 2019-05-21 | 2019-08-20 | 苏州大学 | Adaptive skin oil and fat detection method based on color detection |
Also Published As
Publication number | Publication date |
---|---|
CN110427880A (en) | 2019-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Hartig | Basic image analysis and manipulation in ImageJ | |
DE60316113T2 (en) | METHOD FOR QUANTITATIVE VIDEO MICROSCOPY AND DEVICE AND COMPUTER PROGRAM FOR IMPLEMENTING THE PROCESS | |
Encarnacion-Rivera et al. | Myosoft: An automated muscle histology analysis tool using machine learning algorithm utilizing FIJI/ImageJ software | |
CN110161233B (en) | A rapid quantitative detection method of immunochromatographic test paper card | |
EP2610813B1 (en) | Biomarker evaluation through image analysis | |
Hoque et al. | Retinex model based stain normalization technique for whole slide image analysis | |
CN112215790A (en) | KI67 index analysis method based on deep learning | |
CN105954252B (en) | The qualitative checking method of illegal additive tonyred in a kind of feedstuff | |
US20180268191A1 (en) | Apparatus, system, and method for image normalization using a gaussian residual of fit selection criteria | |
CN118115496B (en) | Wafer defect detection method and device | |
CN112308854A (en) | Automatic detection method and system for chip surface flaws and electronic equipment | |
Stevens et al. | Approach for semi-automated measurement of fiber diameter in murine and canine skeletal muscle | |
CN110427880B (en) | A method and system for quantitative nematode fatty acid based on image processing | |
Sazzad et al. | An automated detection process to detect ovarian tissues using type P63 digitized color images | |
IT201600109354A1 (en) | Procedure for discerning fresh meat from meats subjected to freezing by analyzing images of muscle tissue samples and a corresponding system designed to carry out this procedure. | |
Şerbănescu et al. | A hardware approach for histological and histopathological digital image stain normalization | |
KR102545148B1 (en) | Method for estimating mass of microplastics using fluorescent staining | |
Astola | Stain separation in digital bright field histopathology | |
CN117058014B (en) | LAB color space matching-based dyeing normalization system and method | |
Willemse et al. | Image analysis in immunohistochemistry | |
CN114463745B (en) | Method for rapidly identifying and quantifying target protein | |
CN109919924B (en) | A method suitable for digital processing of cells in large quantities of HE-stained pictures | |
DK201570249A1 (en) | Method and system for detection of fluid inclusion | |
Al‐Tahhan et al. | Fusion of Color Correction and HSV Segmentation Techniques for Automated Segmentation of Acute Lymphoblastic Leukemia | |
CN114004846B (en) | Nematode survival rate identification method based on combination of bright field and dark field images |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 250353 University Road, Changqing District, Ji'nan, Shandong Province, No. 3501 Patentee after: Qilu University of Technology (Shandong Academy of Sciences) Country or region after: China Address before: 250353 University Road, Changqing District, Ji'nan, Shandong Province, No. 3501 Patentee before: Qilu University of Technology Country or region before: China |