CN111311631A - Fluid velocity detection method, device and equipment in microfluidic chip - Google Patents
Fluid velocity detection method, device and equipment in microfluidic chip Download PDFInfo
- Publication number
- CN111311631A CN111311631A CN202010061950.0A CN202010061950A CN111311631A CN 111311631 A CN111311631 A CN 111311631A CN 202010061950 A CN202010061950 A CN 202010061950A CN 111311631 A CN111311631 A CN 111311631A
- Authority
- CN
- China
- Prior art keywords
- fluid
- detected
- image
- image frame
- optical flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000012530 fluid Substances 0.000 title claims abstract description 234
- 238000001514 detection method Methods 0.000 title claims abstract description 38
- 230000033001 locomotion Effects 0.000 claims abstract description 64
- 238000000034 method Methods 0.000 claims abstract description 56
- 238000000605 extraction Methods 0.000 claims abstract description 22
- 230000003287 optical effect Effects 0.000 claims description 117
- 238000001914 filtration Methods 0.000 claims description 15
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000002347 injection Methods 0.000 claims description 7
- 239000007924 injection Substances 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 7
- 238000002955 isolation Methods 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 3
- 239000007788 liquid Substances 0.000 abstract description 10
- 230000000007 visual effect Effects 0.000 abstract 1
- 239000000243 solution Substances 0.000 description 15
- 238000010586 diagram Methods 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 3
- 230000011218 segmentation Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000009969 flowable effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000005086 pumping Methods 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 239000000700 radioactive tracer Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000011410 subtraction method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10056—Microscopic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20092—Interactive image processing based on input by user
- G06T2207/20104—Interactive definition of region of interest [ROI]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
本发明属于视觉检测技术领域,公开了一种微流控芯片中流体速度检测方法、装置及设备。该方法包括:获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合;获取所述图像帧集合中每帧图像对应的流体运动时间;获取所述每帧图像中所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。通过上述方式,能够有效地跟踪流动的液体,从而精准的获取液体运动的速度和方向。
The invention belongs to the technical field of visual detection, and discloses a method, device and equipment for detecting fluid velocity in a microfluidic chip. The method includes: acquiring a flow velocity video corresponding to the fluid to be detected, performing image frame extraction on the flow velocity video to obtain a set of image frames; acquiring the fluid motion time corresponding to each frame of the image in the set of image frames; vector data corresponding to the fluid to be detected in the frame image, and the velocity of the fluid to be detected is calculated according to the fluid movement time and the vector data. Through the above method, the flowing liquid can be effectively tracked, so as to accurately obtain the speed and direction of the liquid movement.
Description
技术领域technical field
本发明涉及视觉检测技术领域,尤其涉及一种微流控芯片中流体速度检测方法、装置及设备。The invention relates to the technical field of visual inspection, and in particular to a method, device and equipment for detecting fluid velocity in a microfluidic chip.
背景技术Background technique
近年来,微流控技术在使用时其样品消耗量低、分析时间短、高通量和与大多数实验样品兼容等优点,使得目前的研究工具能够小型化和高效化,从而极大地促进了生物、化工、农业食品等领域的发展。In recent years, the advantages of microfluidic technology, such as low sample consumption, short analysis time, high throughput, and compatibility with most experimental samples, have enabled the miniaturization and high efficiency of current research tools, thus greatly promoting the The development of biology, chemical industry, agricultural food and other fields.
因此,为了加速这些领域的发展,实时、准确地检测流体在微通道的运动,变得越来越迫切。通过检测出微通道内的流速状态,能便捷的获取流体的粘度和微流体在芯片中流动的剪切力,这些信息能给广大研究者提供极大的帮助。但是,现有技术中微流控芯片管道尺寸很小,通道宽度常在几十微米到几百微米之间,导致常规的测量方法无法正常使用,使微通道中流体运动信息的量化受到很大程度的限制。Therefore, in order to accelerate the development of these fields, it is becoming more and more urgent to detect the movement of fluids in microchannels in real time and accurately. By detecting the flow rate state in the microchannel, the viscosity of the fluid and the shear force of the microfluid flowing in the chip can be easily obtained. This information can provide great help to the majority of researchers. However, in the prior art, the microfluidic chip pipeline size is very small, and the channel width is often between tens of micrometers to hundreds of micrometers, so that the conventional measurement methods cannot be used normally, and the quantification of the fluid motion information in the microchannel is greatly affected. degree of restriction.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solutions of the present invention, and does not mean that the above content is the prior art.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供一种微流控芯片中流体速度检测方法、装置及设备,旨在解决如何精准获取微流控芯片中流体速度的技术问题。The main purpose of the present invention is to provide a fluid velocity detection method, device and equipment in a microfluidic chip, which aims to solve the technical problem of how to accurately obtain the fluid velocity in the microfluidic chip.
为实现上述目的,本发明提供了一种微流控芯片中流体速度检测方法,所述方法包括以下步骤:To achieve the above object, the invention provides a fluid velocity detection method in a microfluidic chip, the method comprising the following steps:
所述微流控芯片中包含待检测流体,所述方法包括:The microfluidic chip contains the fluid to be detected, and the method includes:
获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合;obtaining the flow velocity video corresponding to the fluid to be detected, and extracting image frames from the flow velocity video to obtain an image frame set;
获取所述图像帧集合中每帧图像对应的流体运动时间;Obtain the fluid motion time corresponding to each frame of image in the image frame set;
获取所述每帧图像中所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。The vector data corresponding to the fluid to be detected in each frame of image is acquired, and the velocity of the fluid to be detected is calculated according to the movement time of the fluid and the vector data.
优选地,所述获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合的步骤,包括:Preferably, the step of acquiring the flow velocity video corresponding to the fluid to be detected, extracting image frames from the flow velocity video, and obtaining a set of image frames, includes:
获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得初始图像帧;obtaining the flow velocity video corresponding to the fluid to be detected, and performing image frame extraction on the flow velocity video to obtain an initial image frame;
根据预设ROI区域从所述初始图像帧中提取待处理图像帧,并根据所述待处理图像帧构建图像帧集合。An image frame to be processed is extracted from the initial image frame according to a preset ROI area, and an image frame set is constructed according to the image frame to be processed.
优选地,所述获取所述每帧图像中所述待检测流体对应的矢量数据的步骤,包括:Preferably, the step of acquiring vector data corresponding to the fluid to be detected in each frame of image includes:
从所述图像帧集合中选取目标图像帧;Select a target image frame from the set of image frames;
根据所述目标图像帧获取对应的目标图像;Obtain a corresponding target image according to the target image frame;
将所述目标图像转化为灰度图像,并对所述灰度图像进行高斯滤波处理,获得所述待检测流体对应的平滑图像;Converting the target image into a grayscale image, and performing Gaussian filtering on the grayscale image to obtain a smooth image corresponding to the fluid to be detected;
根据所述平滑图像计算所述待检测流体对应的光流场;Calculate the optical flow field corresponding to the fluid to be detected according to the smoothed image;
根据所述光流场确定所述待检测流体对应的光流场检测区域;Determine the optical flow field detection area corresponding to the fluid to be detected according to the optical flow field;
对所述光流场检测区域进行区域划分,获得矢量场图像;Dividing the optical flow field detection area to obtain a vector field image;
根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据。According to the vector field image, vector data corresponding to the fluid to be detected is calculated by a preset optical flow algorithm.
优选地,所述对所述目标图像进行高斯滤波处理,获得矢量场图像的步骤,包括:Preferably, the step of performing Gaussian filtering on the target image to obtain a vector field image includes:
优选地,所述根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据的步骤,包括:Preferably, the step of calculating the vector data corresponding to the fluid to be detected by using a preset optical flow algorithm according to the vector field image includes:
根据所述平滑图像确定所述待检测流体对应的坐标值;Determine the coordinate value corresponding to the fluid to be detected according to the smooth image;
根据所述矢量场图像确定所述待检测流体对应的像素值;Determine the pixel value corresponding to the fluid to be detected according to the vector field image;
根据所述坐标值,通过正态分布算法获得所述待检测流体对应的有效权值;According to the coordinate value, the effective weight corresponding to the fluid to be detected is obtained through a normal distribution algorithm;
对所述像素值进行求导以获得所述待检测流体对应的方向梯度值;Derivating the pixel value to obtain a directional gradient value corresponding to the fluid to be detected;
根据所述有效权值和所述方向梯度值计算所述待检测流体对应矢量数据。The vector data corresponding to the fluid to be detected is calculated according to the effective weight and the directional gradient value.
优选地,所述根据所述坐标值,通过正态分布算法获得所述待检测流体对应的有效权值的步骤,包括:Preferably, the step of obtaining the effective weight corresponding to the fluid to be detected through a normal distribution algorithm according to the coordinate value includes:
根据所述坐标值,通过正态分布算法计算所述待检测流体对应的初始权值;According to the coordinate value, calculate the initial weight corresponding to the fluid to be detected by a normal distribution algorithm;
对所述初始权值进行筛选,获得所述待检测流体对应的有效权值。The initial weights are screened to obtain effective weights corresponding to the fluid to be detected.
优选地,所述对所述初始权值进行筛选,获得所述待检测流体对应的有效权值的步骤,包括:Preferably, the step of screening the initial weight to obtain an effective weight corresponding to the fluid to be detected includes:
判断所述初始权值是否属于预设权值阈值范围;judging whether the initial weight falls within a preset weight threshold range;
若所述初始权值属于所述预设权值阈值范围,则将所述初始权值作为所述待检测流体对应的有效权值。If the initial weight falls within the preset weight threshold range, the initial weight is used as an effective weight corresponding to the fluid to be detected.
此外,为实现上述目的,本发明还提出一种微流控芯片中流体速度检测装置,所述微流控芯片中包含待检测流体,所述装置包括:提取模块,用于获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合;In addition, in order to achieve the above purpose, the present invention also provides a fluid velocity detection device in a microfluidic chip, the microfluidic chip contains the fluid to be detected, and the device includes: an extraction module for obtaining the to-be-detected fluid. The flow velocity video corresponding to the fluid, extracting image frames from the flow velocity video to obtain an image frame set;
获取模块,用于获取所述图像帧集合中每帧图像对应的流体运动时间;an acquisition module, used for acquiring the fluid motion time corresponding to each frame of image in the image frame set;
计算模块,用于获取所述每帧图像中所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。A calculation module, configured to acquire vector data corresponding to the fluid to be detected in each frame of the image, and calculate the velocity of the fluid to be detected according to the fluid movement time and the vector data.
优选地,所述提取模块,还用于获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得初始图像帧;Preferably, the extraction module is further configured to obtain a flow velocity video corresponding to the fluid to be detected, and perform image frame extraction on the flow velocity video to obtain an initial image frame;
所述提取模块,还用于根据预设ROI区域从所述初始图像帧中提取待处理图像帧,并根据所述待处理图像帧构建图像帧集合。The extraction module is further configured to extract image frames to be processed from the initial image frames according to a preset ROI area, and construct an image frame set according to the image frames to be processed.
优选地,所述计算模块,还用于从所述图像帧集合中选取目标图像帧;Preferably, the computing module is further configured to select a target image frame from the image frame set;
所述计算模块,还用于根据所述目标图像帧获取对应的目标图像;The computing module is further configured to obtain a corresponding target image according to the target image frame;
所述计算模块,还用于对所述目标图像进行高斯滤波处理,获得矢量场图像;The computing module is further configured to perform Gaussian filtering processing on the target image to obtain a vector field image;
所述计算模块,还用于根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据。The calculation module is further configured to calculate vector data corresponding to the fluid to be detected through a preset optical flow algorithm according to the vector field image.
此外,为实现上述目的,本发明还提出一种微流控芯片中流体速度检测设备,所述设备包括:CCD相机、显微镜、背光板、芯片固定夹具、隔振平台、显示器、伺服注射控制器、注射泵、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的微流控芯片中流体速度检测程序,所述微流控芯片中流体速度检测程序配置为实现如上文中任一项所述的微流控芯片中流体速度检测方法的步骤。In addition, in order to achieve the above purpose, the present invention also proposes a fluid velocity detection device in a microfluidic chip, the device includes: a CCD camera, a microscope, a backlight board, a chip fixing fixture, a vibration isolation platform, a display, and a servo injection controller , a syringe pump, a memory, a processor, and a fluid velocity detection program in a microfluidic chip stored on the memory and operable on the processor, the fluid velocity detection program in the microfluidic chip being configured to achieve the above The steps of the fluid velocity detection method in the microfluidic chip described in any one of the texts.
本发明首先获取所述待检测流体对应的流速视频,并对所述流速视频进行图像帧提取,将所述图像帧进行组合获得图像帧集合,然后获取所述图像帧集合中每帧图像对应的流体运动时间,之后获取每帧图像中所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。由于本发明是根据流速视频提取含有流体运动的图像帧,以使用户可以有效的跟踪流体运动状态,然后获取所述图像帧对应的流体运动时间,并对所述图像帧进行转换、处理及计算所述每帧图像对应的矢量数据,最后根据流体运动时间和矢量数据确定流体速度,能够保证流体速度的计算结果准确度较高,同时为预测待检测流体运动的方向及速度提供了有效的参考。The present invention first obtains the flow velocity video corresponding to the fluid to be detected, extracts image frames from the flow velocity video, combines the image frames to obtain an image frame set, and then obtains the corresponding image frame of each frame in the image frame set. The fluid movement time is obtained, and then the vector data corresponding to the fluid to be detected in each frame of image is obtained, and the velocity of the fluid to be detected is calculated according to the fluid movement time and the vector data. Because the present invention extracts the image frame containing fluid motion according to the flow velocity video, so that the user can effectively track the fluid motion state, then obtain the fluid motion time corresponding to the image frame, and convert, process and calculate the image frame. The vector data corresponding to each frame of image, and finally the fluid velocity is determined according to the fluid movement time and the vector data, which can ensure that the calculation result of the fluid velocity has a high accuracy, and at the same time provides an effective reference for predicting the direction and velocity of the fluid movement to be detected. .
附图说明Description of drawings
图1是本发明实施例方案涉及的硬件运行环境的微流控芯片中流体速度检测设备的结构示意图;1 is a schematic structural diagram of a fluid velocity detection device in a microfluidic chip of a hardware operating environment involved in an embodiment of the present invention;
图2为本发明微流控芯片中流体速度检测方法第一实施例的流程示意图;2 is a schematic flowchart of the first embodiment of the fluid velocity detection method in the microfluidic chip of the present invention;
图3为本发明微流控芯片中流体速度检测方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a fluid velocity detection method in a microfluidic chip of the present invention;
图4为本发明微流控芯片中流体速度检测装置第一实施例的结构框图。FIG. 4 is a structural block diagram of the first embodiment of the fluid velocity detection device in the microfluidic chip of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
参照图1,图1为本发明实施例方案涉及的硬件运行环境的微流控芯片中流体速度检测设备结构示意图。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a fluid velocity detection device in a microfluidic chip of a hardware operating environment involved in an embodiment of the present invention.
如图1所示,该微流控芯片中流体速度检测设备可以包括:CCD相机1001、显微镜1002、背光板1003、芯片固定夹具1004、隔振平台1005、显示器1006、伺服注射控制器1007、注射泵1008、启动开关1009、电源开关1010、计算器1011及散热板1012。其中,CCD相机1001为图像采集装置的一部分。显微镜1002放大微通道中流体运动情况,提升图像质量。背光板1003提供稳定的光照条件,利于光流法的实现。芯片固定夹具1004与隔振平台1005起隔振作用,提高检测的稳定性。显示器1006显示待检测流体的运动视频,并显示所述运动视频转换的图像。伺服注射控制器1007和注射泵1008为本发明的泵送装置,给液体提供动力。As shown in FIG. 1, the fluid velocity detection equipment in the microfluidic chip may include:
计算器1011包括高速的随机存取存储器(Random Access Memory,RAM)存储器,也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。计算器1011可选的还可以包括独立于处理器的存储装置。The
本领域技术人员可以理解,图1中示出的结构并不构成对微流控芯片中流体速度检测设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 does not constitute a limitation on the fluid velocity detection device in the microfluidic chip, and may include more or less components than the one shown, or combine some components, or Different component arrangements.
如图1所示,作为一种存储介质的计算器1011中可以包括操作系统、处理器、存储装置以及微流控芯片中流体速度检测程序。As shown in FIG. 1 , the
在图1所示的微流控芯片中流体速度检测设备中,本发明微流控芯片中流体速度检测设备中的CCD相机1001、显微镜1002、背光板1003、芯片固定夹具1004、隔振平台1005、显示器1006、伺服注射控制器1007、注射泵1008、启动开关1009、电源开关1010、计算器1011及散热板1012可以设置在微流控芯片中流体速度检测设备中,所述微流控芯片中流体速度检测设备通过计算器1011中存储的微流控芯片中流体速度检测程序,并执行本发明实施例提供的微流控芯片中流体速度检测方法。In the fluid velocity detection device in the microfluidic chip shown in FIG. 1 , the
本发明实施例提供了一种微流控芯片中流体速度检测方法,参照图2,图2为本发明一种微流控芯片中流体速度检测方法第一实施例的流程示意图。An embodiment of the present invention provides a method for detecting fluid velocity in a microfluidic chip. Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a first embodiment of a method for detecting fluid velocity in a microfluidic chip of the present invention.
本实施例中,所述微流控芯片中流体速度检测方法包括以下步骤:In this embodiment, the fluid velocity detection method in the microfluidic chip includes the following steps:
步骤S10:获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合。Step S10: Obtain a flow velocity video corresponding to the fluid to be detected, and perform image frame extraction on the flow velocity video to obtain an image frame set.
需要说明的是,本实施例的方法的执行主体为计算器,即一种可以实现接收待检测流体对应的流速视频,并对所述流速视频进行处理获得矢量数据之后计算所述矢量数据的计算器。It should be noted that the execution body of the method in this embodiment is a calculator, that is, a calculation method that can receive the flow velocity video corresponding to the fluid to be detected, process the flow velocity video to obtain vector data, and then calculate the vector data. device.
本方案中,所述待检测流体为可流动的液体,具体可以是墨水,也可以是加入示踪粒子的液体,也可以是微液滴等,所述微流控芯片为用户选用的一种在试验中所使用的芯片,所述微流控芯片采用的是PIE-14-007混合型芯片,在进行试验时也可以采用另外一种液体或芯片,本实施例并不加以限制。In this solution, the fluid to be detected is a flowable liquid, specifically ink, or a liquid with tracer particles added, or micro-droplets, etc. The microfluidic chip is a kind of microfluidic chip selected by the user The chip used in the test, the microfluidic chip adopts a PIE-14-007 hybrid chip, and another liquid or chip can also be used in the test, which is not limited in this embodiment.
所述获取获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合的步骤,包括获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得初始图像帧,根据预设ROI区域从所述初始图像帧中提取待处理图像帧,并根据所述待处理图像帧构建图像帧集合。The step of acquiring and acquiring the flow velocity video corresponding to the fluid to be detected, performing image frame extraction on the flow velocity video, and obtaining a set of image frames, includes acquiring the flow velocity video corresponding to the fluid to be detected, and performing image processing on the flow velocity video. Frame extraction, obtaining an initial image frame, extracting a to-be-processed image frame from the initial image frame according to a preset ROI area, and constructing an image frame set according to the to-be-processed image frame.
其中,所述流速视频为用户提供的给定泵速下的微流控芯片中流体运动检测的视频,然后对所述流速视频进行提取,并获取所述流速视频对于的初始图像帧,之后根据用户自定义区域,从所述初始图像帧中提取待处理图像帧,所述初始图像帧中可能存在所述待检测流体对应的空白帧和所述待检测流体对应的运动帧,然而所述待处理图像帧为待检测流体对应的运动帧,最后将所述待检测流体对应的运动帧放在一起,构建图像帧集合。Wherein, the flow velocity video is the video of the fluid motion detection in the microfluidic chip under a given pump speed provided by the user, and then the flow velocity video is extracted, and the initial image frame of the flow velocity video is obtained, and then according to The user-defined area is to extract the image frame to be processed from the initial image frame. There may be blank frames corresponding to the fluid to be detected and motion frames corresponding to the fluid to be detected in the initial image frame. The processed image frames are motion frames corresponding to the fluid to be detected, and finally the motion frames corresponding to the fluid to be detected are put together to construct an image frame set.
步骤S20:获取所述图像帧集合中每帧图像对应的流体运动时间。Step S20: Acquire the fluid motion time corresponding to each frame of the image in the set of image frames.
需要说明的是,所述图像帧集合中的每帧图像都是相邻关系,其图像帧中每帧也都会存在对应的流体运动时间。It should be noted that, each image frame in the image frame set is in an adjacent relationship, and each frame in the image frame also has a corresponding fluid motion time.
步骤S30:获取所述每帧图像中所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。Step S30: Obtain vector data corresponding to the fluid to be detected in each frame of the image, and calculate the velocity of the fluid to be detected according to the fluid movement time and the vector data.
所述获取所述每帧图像中所述待检测流体对应的矢量数据,包括从所述图像帧集合中选取目标图像帧,然后根据所述目标图像帧获取对应的目标图像,并对所述目标图像进行高斯滤波处理,获得矢量场图像,最后根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据。The obtaining of the vector data corresponding to the fluid to be detected in each frame of image includes selecting a target image frame from the image frame set, then obtaining a corresponding target image according to the target image frame, and analyzing the target image. Gaussian filtering is performed on the image to obtain a vector field image, and finally vector data corresponding to the fluid to be detected is calculated by a preset optical flow algorithm according to the vector field image.
上述所说的目标图像为用户利用计算器从所述图像帧集合中选取相邻的多张目标图像帧,之后根据所述目标图像帧获取对应的目标图像,将所述目标图片转化为灰度图像,之后对所述灰度图像进行高斯滤波处理,获得所述待检测流体对应的平滑图像,并根据平滑图像计算所述待检测流体对应的光流场,根据所述光流场确定所述待检测流体对应的光流场检测区域,对所述光流场检测区域进行区域划分,获得矢量场图像。The above-mentioned target image is that the user uses a calculator to select a plurality of adjacent target image frames from the image frame set, then obtains the corresponding target image according to the target image frame, and converts the target image into grayscale. After that, Gaussian filtering is performed on the grayscale image to obtain a smooth image corresponding to the fluid to be detected, and the optical flow field corresponding to the fluid to be detected is calculated according to the smooth image, and the optical flow field is determined according to the optical flow field. The optical flow field detection area corresponding to the fluid to be detected is divided into regions to obtain a vector field image.
应理解的是,将所述平滑图像划分网格计算光流场,然后通过阈值分割筛选掉因图像有噪点而产生的孤立光流矢量,最后将选定的光流矢量转换为行列两个实值图像并求解。将这些值求平均作为两帧图像之间运动距离。It should be understood that the smooth image is divided into grids to calculate the optical flow field, and then the isolated optical flow vector caused by the noise of the image is filtered out through threshold segmentation, and finally the selected optical flow vector is converted into two real lines and columns. Value image and solve. These values are averaged as the motion distance between the two frames.
所述根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据,包括,根据所述平滑图像确定所述待检测流体对应的坐标值,根据所述矢量场图像确定所述待检测流体对应的像素值,根据所述坐标值,通过正态分布算法获得所述待检测流体对应的有效权值,对所述像素值进行求导以获得所述待检测流体对应的方向梯度值,根据所述有效权值和所述方向梯度值计算所述待检测流体对应矢量数据。The calculating, according to the vector field image, the vector data corresponding to the fluid to be detected by using a preset optical flow algorithm includes determining the coordinate value corresponding to the fluid to be detected according to the smooth image, and determining the coordinate value corresponding to the fluid to be detected according to the vector field image. Determine the pixel value corresponding to the fluid to be detected, obtain the effective weight corresponding to the fluid to be detected through a normal distribution algorithm according to the coordinate value, and derive the pixel value to obtain the corresponding value of the fluid to be detected. The directional gradient value is calculated according to the effective weight and the directional gradient value, and the corresponding vector data of the fluid to be detected is calculated.
上述根据坐标值,通过正态分布算法获得所述待检测流体对应的有效权值的步骤,包括,根据所述坐标值,通过正态分布算法计算所述待检测流体对应的初始权值,对所述初始权值进行筛选,获得所述待检测流体对应的有效权值,其中,还包括,判断所述初始权值是否属于预设权值阈值范围,若所述初始权值属于所述预设权值阈值范围,则将所述初始权值作为所述待检测流体对应的有效权值。The above step of obtaining the effective weights corresponding to the fluid to be detected according to the coordinate values through a normal distribution algorithm includes, according to the coordinate values, calculating the initial weights corresponding to the fluid to be detected through a normal distribution algorithm, The initial weights are screened to obtain effective weights corresponding to the fluid to be detected, which further includes: judging whether the initial weights belong to a preset weight threshold range, if the initial weights belong to the preset weights. If the weight threshold range is set, the initial weight is used as the effective weight corresponding to the fluid to be detected.
此外,上述所提到的预设光流算法为计算两帧之间对应像素的运动信息,计算小目标像素的运动信息,从而得到光流矢量。In addition, the preset optical flow algorithm mentioned above is to calculate the motion information of the corresponding pixels between two frames, and calculate the motion information of the small target pixels, so as to obtain the optical flow vector.
其中,假设运动间隔极小,我们就能将其视为描述该点瞬时速度的二维矢量也称之为光流矢量。光流场是所有像素点的瞬时运动矢量。如果物体运动时,物体的像素亮度保持不变,则亮度的瞬时速度为光流,图像中所有像素的光流构成光流场。Among them, assuming that the motion interval is extremely small, we can regard it as a two-dimensional vector describing the instantaneous velocity of the point Also known as the optical flow vector. The optical flow field is the instantaneous motion vector of all pixels. If the pixel brightness of the object remains unchanged when the object moves, the instantaneous speed of the brightness is the optical flow, and the optical flow of all pixels in the image constitutes the optical flow field.
光流法实现由如下三个假设:(1)亮度一致性;(2)两帧之间运动较小;(3)空间一致性。The optical flow method is realized by the following three assumptions: (1) brightness consistency; (2) small motion between two frames; (3) spatial consistency.
在进行光流约束方程时,所述光流也就是本方案中的待检测流体,设I(x,y,t)为t时点(x,y)处的亮度值,I(x+dx,y+dy,t+dt)为t+dt时(x,y)处对应像素的亮度值,由亮度一致性假设,有:When carrying out the optical flow constraint equation, the optical flow is also the fluid to be detected in this scheme. Let I(x,y,t) be the brightness value at the point (x,y) at time t, and I(x+dx , y+dy, t+dt) is the brightness value of the corresponding pixel at (x, y) when t+dt, assuming the brightness consistency, there are:
I(x,y,t)=I(x+dx,y+dy,t+dt) (1)I(x,y,t)=I(x+dx,y+dy,t+dt) (1)
将上述右边用Taylor级数展开,由于光流定义(u,v)=(dx/dt,dy/dt),可将(u,v)=(dx/dt,dy/dt)用(u,v)替换得到光流的基本方程:Expand the above right side with Taylor series, since the optical flow defines (u,v)=(dx/dt,dy/dt), (u,v)=(dx/dt,dy/dt) can be used as (u, v) Substitute to get the basic equation of optical flow:
即光流约束方程:That is, the optical flow constraint equation:
Ixu+Iyv+It=0 (3)I x u+I y v+I t =0 (3)
然而由于孔径问题的存在,仅仅依靠一个光流约束方程无法求解两个未知量(u,v),因此需要引入其他的约束条件。不同的光流法创建不同的约束条件,建立新的约束方程,使该方程的解唯一。However, due to the existence of the aperture problem, only one optical flow constraint equation cannot solve the two unknowns (u, v), so other constraints need to be introduced. Different optical flow methods create different constraints, establish a new constraint equation, and make the solution of the equation unique.
假设在一个小的空间邻域Ω内运动矢量恒定不变,然后对区域内的每个点赋予不同的权重。假设有n个像素在邻域Ω内,那么每个像素都应满足:Assuming that the motion vector is constant in a small spatial neighborhood Ω, then assign different weights to each point in the region. Assuming that there are n pixels in the neighborhood Ω, then each pixel should satisfy:
Ixiu+Iyiv+Iti=0 i=1,2...,n (4)I xi u+I yi v+I ti =0 i=1,2...,n (4)
光流的基础约束方程变为:The basic constraint equation of optical flow becomes:
Ec(u,v)=∫∫[Ixu+Iyv+It]2dxdy (5)E c (u,v)=∫∫[I x u+I y v+I t ] 2 dxdy (5)
在邻域Ω内,Lucas-Kanade光流的误差为公式为:In the neighborhood Ω, the error of Lucas-Kanade optical flow is formulated as:
ELK(u,v)=∫∫W2(x,y).(Ixu+Iyv+It)2dxdy (6)E LK (u,v)=∫∫W 2 (x,y).(I x u+I y v+I t ) 2 dxdy (6)
其中,W(x,y)={wi|i=1,2,...,n}是邻域中每个点的权值,其分布特征是离中心越偏离,对应的权值越小。Among them, W(x,y)={ wi |i=1,2,...,n} is the weight of each point in the neighborhood, and its distribution characteristic is that the further away from the center, the greater the corresponding weight Small.
将公式(6)式离散化,得到:Discretizing formula (6), we get:
其中Ixi、Iyi、Iti为领域内各点像素在x、y、t方向的梯度值,wi为各点的权值。令:Among them, I xi , I yi , and I ti are the gradient values of each point pixel in the field in the x, y, and t directions, and wi is the weight of each point. make:
W=diag(wx1,wx2,...,wxn) (9)W=diag(w x1 ,w x2 ,...,w xn ) (9)
b=[It1,It2,...,Itn]T (10)b=[I t1 ,I t2 ,...,I tn ] T (10)
则公式(7)可表示为:Then formula (7) can be expressed as:
则公式(11)的解可以表示为:Then the solution of formula (11) can be expressed as:
其中,式中的A、W及b为公式中的影响因子,且公式(12)的解即为所求光流矢量数据。Among them, A, W and b in the formula are the influencing factors in the formula, and the solution of formula (12) is the obtained optical flow vector data.
需要说明的是,近年来,运动目标检测算法层出不穷,但较为经典的算法可以分为帧差法、背景减法以及光流法三种。其中帧差法虽然算法简单,适应力强,但通常很难获得运动物体的完整轮廓,容易出现“空心”现象;背景减法是通过视频帧建立背景模型,从输入的视频序列中减去背景模型得到前景对象。背景减法虽然也相对简单,而且实时性较高,但其对背景质量要求较高,十分敏感;光流法相比这两种算法,其复杂度较高、对亮度的稳定性要求较高。但光流法不仅可以知道运动物体的位置,而且能清楚得到运动物体的速度和方向。光流法不需要背景建模和背景更新,产生的运动物体不会出现“空心”现象。本实验中,背景光源亮度大,稳定性高,且不同帧之间运动距离较短,适合光流法的使用。It should be noted that in recent years, moving target detection algorithms have emerged one after another, but the more classic algorithms can be divided into three types: frame difference method, background subtraction and optical flow method. Among them, the frame difference method has a simple algorithm and strong adaptability, but it is usually difficult to obtain the complete outline of the moving object, which is prone to the phenomenon of "hollow". Get the foreground object. Although background subtraction is relatively simple and has high real-time performance, it has high requirements for background quality and is very sensitive. Compared with these two algorithms, optical flow method has higher complexity and higher requirements for brightness stability. But the optical flow method can not only know the position of the moving object, but also get the speed and direction of the moving object clearly. The optical flow method does not require background modeling and background updating, and the resulting moving objects will not appear "hollow". In this experiment, the brightness of the background light source is high, the stability is high, and the moving distance between different frames is short, which is suitable for the use of the optical flow method.
本实施例通过获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得初始图像帧,然后根据预设ROI区域从所述初始图像帧中提取待处理图像帧,并根据所述待处理图像帧构建图像帧集合,获取所述图像帧集合中每帧图像对应的流体运动时间和从所述图像帧集合中选取目标图像帧,并根据所述目标图像帧获取对应的目标图像,之后对所述目标图像进行高斯滤波处理,获得矢量场图像,根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。通过上述方式,采用预设光流算法和高斯滤波算法等图像处理算法,能有效地跟踪流动的液体,能精确的获取待检测流体的速度和方向,稳定性好,效率高,也为预测并实时控制管中全位置流速奠定基础。In this embodiment, the flow velocity video corresponding to the fluid to be detected is acquired, the image frame is extracted from the flow velocity video, the initial image frame is obtained, and then the to-be-processed image frame is extracted from the initial image frame according to the preset ROI area, and Build an image frame set according to the to-be-processed image frames, obtain the fluid motion time corresponding to each frame of the image in the image frame set, select a target image frame from the image frame set, and obtain the corresponding image frame according to the target image frame target image, and then Gaussian filtering is performed on the target image to obtain a vector field image. According to the vector field image, the vector data corresponding to the fluid to be detected is calculated by a preset optical flow algorithm, and according to the fluid motion time and the vector data to calculate the velocity of the fluid to be detected. Through the above method, image processing algorithms such as preset optical flow algorithm and Gaussian filter algorithm can be used, which can effectively track the flowing liquid, and can accurately obtain the speed and direction of the fluid to be detected, with good stability and high efficiency. Lay the foundation for real-time control of all-position flow velocity in the tube.
参考图3,图3为本发明一种微流控芯片中流体速度检测方法第二实施例的流程示意图。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a second embodiment of a fluid velocity detection method in a microfluidic chip of the present invention.
基于上述第一实施例,本实施例微流控芯片中流体速度检测方法在所述步骤S30中,还包括:Based on the above-mentioned first embodiment, the method for detecting fluid velocity in the microfluidic chip of this embodiment, in the step S30, further includes:
步骤S301:从所述图像帧集合中选取目标图像帧。Step S301: Select a target image frame from the image frame set.
步骤S302:根据所述目标图像帧获取对应的目标图像。Step S302: Acquire a corresponding target image according to the target image frame.
步骤S303:将所述目标图像转化为灰度图像,并对所述灰度图像进行高斯滤波处理,获得所述待检测流体对应的平滑图像。Step S303: Convert the target image into a grayscale image, and perform Gaussian filtering on the grayscale image to obtain a smooth image corresponding to the fluid to be detected.
步骤S304:根据所述平滑图像计算所述待检测流体对应的光流场。Step S304: Calculate the optical flow field corresponding to the fluid to be detected according to the smoothed image.
步骤S305:根据所述光流场确定所述待检测流体对应的光流场检测区域。Step S305: Determine an optical flow field detection area corresponding to the fluid to be detected according to the optical flow field.
步骤S306:对所述光流场检测区域进行区域划分,获得矢量场图像。Step S306: Divide the optical flow field detection area to obtain a vector field image.
步骤S307:根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据。Step S307: Calculate vector data corresponding to the fluid to be detected by using a preset optical flow algorithm according to the vector field image.
步骤S308:根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。Step S308: Calculate the velocity of the fluid to be detected according to the fluid movement time and the vector data.
所述获取所述每帧图像中所述待检测流体对应的矢量数据,包括从所述图像帧集合中选取目标图像帧,然后根据所述目标图像帧获取对应的目标图像,并对所述目标图像进行高斯滤波处理,获得矢量场图像,最后根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据。The obtaining of the vector data corresponding to the fluid to be detected in each frame of image includes selecting a target image frame from the image frame set, then obtaining a corresponding target image according to the target image frame, and analyzing the target image. Gaussian filtering is performed on the image to obtain a vector field image, and finally vector data corresponding to the fluid to be detected is calculated by a preset optical flow algorithm according to the vector field image.
上述所说的目标图像为用户利用计算器从所述图像帧集合中选取相邻的多张目标图像帧,之后根据所述目标图像帧获取对应的目标图像,将所述目标图片转化为灰度图像,之后对所述灰度图像进行高斯滤波处理,获得所述待检测流体对应的平滑图像,并根据平滑图像计算所述待检测流体对应的光流场,根据所述光流场确定所述待检测流体对应的光流场检测区域,对所述光流场检测区域进行区域划分,获得矢量场图像。The above-mentioned target image is that the user uses a calculator to select a plurality of adjacent target image frames from the image frame set, then obtains the corresponding target image according to the target image frame, and converts the target image into grayscale. After that, Gaussian filtering is performed on the grayscale image to obtain a smooth image corresponding to the fluid to be detected, and the optical flow field corresponding to the fluid to be detected is calculated according to the smooth image, and the optical flow field is determined according to the optical flow field. The optical flow field detection area corresponding to the fluid to be detected is divided into regions to obtain a vector field image.
应理解的是,将所述平滑图像划分网格计算光流场,然后通过阈值分割筛选掉因图像有噪点而产生的孤立光流矢量,最后将选定的光流矢量转换为行列两个实值图像并求解。将这些值求平均作为两帧图像之间运动距离。It should be understood that the smooth image is divided into grids to calculate the optical flow field, and then the isolated optical flow vector caused by the noise of the image is filtered out through threshold segmentation, and finally the selected optical flow vector is converted into two real lines and columns. Value image and solve. These values are averaged as the motion distance between the two frames.
所述根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据,包括,根据所述平滑图像确定所述待检测流体对应的坐标值,根据所述矢量场图像确定所述待检测流体对应的像素值,根据所述坐标值,通过正态分布算法获得所述待检测流体对应的有效权值,对所述像素值进行求导以获得所述待检测流体对应的方向梯度值,根据所述有效权值和所述方向梯度值计算所述待检测流体对应矢量数据。The calculating, according to the vector field image, the vector data corresponding to the fluid to be detected by using a preset optical flow algorithm includes determining the coordinate value corresponding to the fluid to be detected according to the smooth image, and determining the coordinate value corresponding to the fluid to be detected according to the vector field image. Determine the pixel value corresponding to the fluid to be detected, obtain the effective weight corresponding to the fluid to be detected through a normal distribution algorithm according to the coordinate value, and derive the pixel value to obtain the corresponding value of the fluid to be detected. The directional gradient value is calculated according to the effective weight and the directional gradient value, and the corresponding vector data of the fluid to be detected is calculated.
上述根据坐标值,通过正态分布算法获得所述待检测流体对应的有效权值的步骤,包括,根据所述坐标值,通过正态分布算法计算所述待检测流体对应的初始权值,对所述初始权值进行筛选,获得所述待检测流体对应的有效权值,其中,还包括,判断所述初始权值是否属于预设权值阈值范围,若所述初始权值属于所述预设权值阈值范围,则将所述初始权值作为所述待检测流体对应的有效权值。The above step of obtaining the effective weights corresponding to the fluid to be detected according to the coordinate values through a normal distribution algorithm includes, according to the coordinate values, calculating the initial weights corresponding to the fluid to be detected through a normal distribution algorithm, The initial weights are screened to obtain effective weights corresponding to the fluid to be detected, which further includes: judging whether the initial weights belong to a preset weight threshold range, if the initial weights belong to the preset weights. If the weight threshold range is set, the initial weight is used as the effective weight corresponding to the fluid to be detected.
此外,上述所提到的预设光流算法为计算两帧之间对应像素的运动信息,计算小目标像素的运动信息,从而得到光流矢量。In addition, the preset optical flow algorithm mentioned above is to calculate the motion information of the corresponding pixels between two frames, and calculate the motion information of the small target pixels, so as to obtain the optical flow vector.
其中,假设运动间隔极小,我们就能将其视为描述该点瞬时速度的二维矢量也称之为光流矢量。光流场是所有像素点的瞬时运动矢量。如果物体运动时,物体的像素亮度保持不变,则亮度的瞬时速度为光流,图像中所有像素的光流构成光流场。Among them, assuming that the motion interval is extremely small, we can regard it as a two-dimensional vector describing the instantaneous velocity of the point Also known as the optical flow vector. The optical flow field is the instantaneous motion vector of all pixels. If the pixel brightness of the object remains unchanged when the object moves, the instantaneous speed of the brightness is the optical flow, and the optical flow of all pixels in the image constitutes the optical flow field.
光流法实现由如下三个假设:(1)亮度一致性;(2)两帧之间运动较小;(3)空间一致性。The optical flow method is realized by the following three assumptions: (1) brightness consistency; (2) small motion between two frames; (3) spatial consistency.
在进行光流约束方程时,所述光流也就是本方案中的待检测流体,设I(x,y,t)为t时点(x,y)处的亮度值,I(x+dx,y+dy,t+dt)为t+dt时(x,y)处对应像素的亮度值,由亮度一致性假设,有:When carrying out the optical flow constraint equation, the optical flow is also the fluid to be detected in this scheme. Let I(x,y,t) be the brightness value at the point (x,y) at time t, and I(x+dx , y+dy, t+dt) is the brightness value of the corresponding pixel at (x, y) when t+dt, assuming the brightness consistency, there are:
I(x,y,t)=I(x+dx,y+dy,t+dt) (1)I(x,y,t)=I(x+dx,y+dy,t+dt) (1)
将上述右边用Taylor级数展开,由于光流定义(u,v)=(dx/dt,dy/dt),可将(u,v)=(dx/dt,dy/dt)用(u,v)替换得到光流的基本方程:Expand the above right side with Taylor series, since the optical flow defines (u,v)=(dx/dt,dy/dt), (u,v)=(dx/dt,dy/dt) can be used as (u, v) Substitute to get the basic equation of optical flow:
即光流约束方程:That is, the optical flow constraint equation:
Ixu+Iyv+It=0 (3)I x u+I y v+I t =0 (3)
然而由于孔径问题的存在,仅仅依靠一个光流约束方程无法求解两个未知量(u,v),因此需要引入其他的约束条件。不同的光流法创建不同的约束条件,建立新的约束方程,使该方程的解唯一。However, due to the existence of the aperture problem, only one optical flow constraint equation cannot solve the two unknowns (u, v), so other constraints need to be introduced. Different optical flow methods create different constraints, establish a new constraint equation, and make the solution of the equation unique.
假设在一个小的空间邻域Ω内运动矢量恒定不变,然后对区域内的每个点赋予不同的权重。假设有n个像素在邻域Ω内,那么每个像素都应满足:Assuming that the motion vector is constant in a small spatial neighborhood Ω, then assign different weights to each point in the region. Assuming that there are n pixels in the neighborhood Ω, then each pixel should satisfy:
Ixiu+Iyiv+Iti=0 i=1,2...,n (4)I xi u+I yi v+I ti =0 i=1,2...,n (4)
光流的基础约束方程变为:The basic constraint equation of optical flow becomes:
Ec(u,v)=∫∫[Ixu+Iyv+It]2dxdy (5)E c (u,v)=∫∫[I x u+I y v+I t ] 2 dxdy (5)
在邻域Ω内,Lucas-Kanade光流的误差为公式为:In the neighborhood Ω, the error of Lucas-Kanade optical flow is formulated as:
ELK(u,v)=∫∫W2(x,y).(Ixu+Iyv+It)2dxdy (6)E LK (u,v)=∫∫W 2 (x,y).(I x u+I y v+I t ) 2 dxdy (6)
其中,W(x,y)={wi|i=1,2,...,n}是邻域中每个点的权值,其分布特征是离中心越偏离,对应的权值越小。Among them, W(x,y)={ wi |i=1,2,...,n} is the weight of each point in the neighborhood, and its distribution characteristic is that the further away from the center, the greater the corresponding weight Small.
将公式(6)式离散化,得到:Discretizing formula (6), we get:
其中Ixi、Iyi、Iti为领域内各点像素在x、y、t方向的梯度值,wi为各点的权值。令:Among them, I xi , I yi , and I ti are the gradient values of each point pixel in the field in the x, y, and t directions, and wi is the weight of each point. make:
W=diag(wx1,wx2,...,wxn) (9)W=diag(w x1 ,w x2 ,...,w xn ) (9)
b=[It1,It2,...,Itn]T (10)b=[I t1 ,I t2 ,...,I tn ] T (10)
则公式(7)可表示为:Then formula (7) can be expressed as:
则公式(11)的解可以表示为:Then the solution of formula (11) can be expressed as:
其中,式中的A、W及b为公式中的影响因子,且公式(12)的解即为所求光流矢量数据。Among them, A, W and b in the formula are the influencing factors in the formula, and the solution of formula (12) is the obtained optical flow vector data.
本实施例通过从所述图像帧集合中选取目标图像帧,然后根据所述目标图像帧获取对应的目标图像,并对所述目标图像进行高斯滤波处理,获得矢量场图像,之后根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据。通过上述方式,有效地跟踪待检测流体的位置,从而能够精确的获取待检测流体运动的速度和方向。In this embodiment, a target image frame is selected from the image frame set, then a corresponding target image is obtained according to the target image frame, and Gaussian filtering is performed on the target image to obtain a vector field image, and then a vector field image is obtained according to the vector field image, and the vector data corresponding to the fluid to be detected is calculated by a preset optical flow algorithm. In the above manner, the position of the fluid to be detected is effectively tracked, so that the speed and direction of the movement of the fluid to be detected can be accurately obtained.
参照图4,图4为本发明微流控芯片中流体速度检测装置第一实施例的结构框图。Referring to FIG. 4 , FIG. 4 is a structural block diagram of the first embodiment of the fluid velocity detection device in the microfluidic chip of the present invention.
如图4所示,本发明实施例提出的微流控芯片中流体速度检测装置包括:提取模块4001,用于获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合;获取模块4002,用于获取所述图像帧集合中每帧图像对应的流体运动时间;计算模块4003,用于获取所述每帧图像中所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。As shown in FIG. 4 , the fluid velocity detection device in the microfluidic chip proposed by the embodiment of the present invention includes: an
所述提取模块4001获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合的操作。The
需要说明的是,本实施例的方法的执行主体为计算器,即一种可以实现接收待检测流体对应的流速视频,并对所述流速视频进行处理获得矢量数据之后计算所述矢量数据的计算器。It should be noted that the execution body of the method in this embodiment is a calculator, that is, a calculation method that can receive the flow velocity video corresponding to the fluid to be detected, process the flow velocity video to obtain vector data, and then calculate the vector data. device.
本方案中,所述待检测流体为可流动的液体,具体可以是墨水,也可以是清水等,所述微流控芯片为用户选用的一种在试验中所使用的芯片,所述微流控芯片采用的是PIE-14-007混合型芯片,在进行试验时也可以采用另外一种液体或芯片,本实施例并不加以限制。In this solution, the fluid to be detected is a flowable liquid, which may be ink or clear water. The microfluidic chip is a chip selected by the user and used in the experiment. The control chip adopts a PIE-14-007 hybrid chip, and another liquid or chip can also be used during the test, which is not limited in this embodiment.
所述获取获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得图像帧集合的步骤,包括获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得初始图像帧,根据预设ROI区域从所述初始图像帧中提取待处理图像帧,并根据所述待处理图像帧构建图像帧集合。The step of acquiring and acquiring the flow velocity video corresponding to the fluid to be detected, performing image frame extraction on the flow velocity video, and obtaining a set of image frames, includes acquiring the flow velocity video corresponding to the fluid to be detected, and performing image processing on the flow velocity video. Frame extraction, obtaining an initial image frame, extracting a to-be-processed image frame from the initial image frame according to a preset ROI area, and constructing an image frame set according to the to-be-processed image frame.
其中,所述流速视频为用户提供的给定泵速下的微流控芯片中流体运动检测的视频,然后对所述流速视频进行提取,并获取所述流速视频对于的初始图像帧,之后根据用户自定义区域,从所述初始图像帧中提取待处理图像帧,所述初始图像帧中可能存在所述待检测流体对应的空白帧和所述待检测流体对应的运动帧,然而所述待处理图像帧为待检测流体对应的运动帧,最后将所述待检测流体对应的运动帧放在一起,构建图像帧集合。Wherein, the flow velocity video is the video of the fluid motion detection in the microfluidic chip under a given pump speed provided by the user, and then the flow velocity video is extracted, and the initial image frame of the flow velocity video is obtained, and then according to The user-defined area is to extract the image frame to be processed from the initial image frame. There may be blank frames corresponding to the fluid to be detected and motion frames corresponding to the fluid to be detected in the initial image frame. The processed image frames are motion frames corresponding to the fluid to be detected, and finally the motion frames corresponding to the fluid to be detected are put together to construct an image frame set.
所述获取模块4002获取所述图像帧集合中每帧图像对应的流体运动时间的操作。The obtaining
需要说明的是,所述图像帧集合中的每帧图像都是相邻关系,其图像帧中每帧也都会存在对应的流体运动时间。It should be noted that, each image frame in the image frame set is in an adjacent relationship, and each frame in the image frame also has a corresponding fluid motion time.
所述计算模块4003获取所述每帧图像中所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度的操作。The
所述获取所述每帧图像中所述待检测流体对应的矢量数据,包括从所述图像帧集合中选取目标图像帧,然后根据所述目标图像帧获取对应的目标图像,并对所述目标图像进行高斯滤波处理,获得矢量场图像,最后根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据。The obtaining of the vector data corresponding to the fluid to be detected in each frame of image includes selecting a target image frame from the image frame set, then obtaining a corresponding target image according to the target image frame, and analyzing the target image. Gaussian filtering is performed on the image to obtain a vector field image, and finally vector data corresponding to the fluid to be detected is calculated by a preset optical flow algorithm according to the vector field image.
上述所说的目标图像为用户利用计算器从所述图像帧集合中选取相邻的多张目标图像帧,之后根据所述目标图像帧获取对应的目标图像,将所述目标图片转化为灰度图像,之后对所述灰度图像进行高斯滤波处理,获得所述待检测流体对应的平滑图像,并根据平滑图像计算所述待检测流体对应的光流场,根据所述光流场确定所述待检测流体对应的光流场检测区域,对所述光流场检测区域进行区域划分,获得矢量场图像。The above-mentioned target image is that the user uses a calculator to select a plurality of adjacent target image frames from the image frame set, then obtains the corresponding target image according to the target image frame, and converts the target image into grayscale. After that, Gaussian filtering is performed on the grayscale image to obtain a smooth image corresponding to the fluid to be detected, and the optical flow field corresponding to the fluid to be detected is calculated according to the smooth image, and the optical flow field is determined according to the optical flow field. The optical flow field detection area corresponding to the fluid to be detected is divided into regions to obtain a vector field image.
应理解的是,将所述平滑图像划分网格计算光流场,然后通过阈值分割筛选掉因图像有噪点而产生的孤立光流矢量,最后将选定的光流矢量转换为行列两个实值图像并求解。将这些值求平均作为两帧图像之间运动距离。It should be understood that the smooth image is divided into grids to calculate the optical flow field, and then the isolated optical flow vector caused by the noise of the image is filtered out through threshold segmentation, and finally the selected optical flow vector is converted into two real lines and columns. Value image and solve. These values are averaged as the motion distance between the two frames.
所述根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据,包括,根据所述平滑图像确定所述待检测流体对应的坐标值,根据所述矢量场图像确定所述待检测流体对应的像素值,根据所述坐标值,通过正态分布算法获得所述待检测流体对应的有效权值,对所述像素值进行求导以获得所述待检测流体对应的方向梯度值,根据所述有效权值和所述方向梯度值计算所述待检测流体对应矢量数据。The calculating, according to the vector field image, the vector data corresponding to the fluid to be detected by using a preset optical flow algorithm includes determining the coordinate value corresponding to the fluid to be detected according to the smooth image, and determining the coordinate value corresponding to the fluid to be detected according to the vector field image. Determine the pixel value corresponding to the fluid to be detected, obtain the effective weight corresponding to the fluid to be detected through a normal distribution algorithm according to the coordinate value, and derive the pixel value to obtain the corresponding value of the fluid to be detected. The directional gradient value is calculated according to the effective weight and the directional gradient value, and the corresponding vector data of the fluid to be detected is calculated.
上述根据坐标值,通过正态分布算法获得所述待检测流体对应的有效权值的步骤,包括,根据所述坐标值,通过正态分布算法计算所述待检测流体对应的初始权值,对所述初始权值进行筛选,获得所述待检测流体对应的有效权值,其中,还包括,判断所述初始权值是否属于预设权值阈值范围,若所述初始权值属于所述预设权值阈值范围,则将所述初始权值作为所述待检测流体对应的有效权值。The above step of obtaining the effective weights corresponding to the fluid to be detected according to the coordinate values through a normal distribution algorithm includes, according to the coordinate values, calculating the initial weights corresponding to the fluid to be detected through a normal distribution algorithm, The initial weights are screened to obtain effective weights corresponding to the fluid to be detected, which further includes: judging whether the initial weights belong to a preset weight threshold range, if the initial weights belong to the preset weights. If the weight threshold range is set, the initial weight is used as the effective weight corresponding to the fluid to be detected.
此外,上述所提到的预设光流算法为计算两帧之间对应像素的运动信息,计算小目标像素的运动信息,从而得到光流矢量。In addition, the preset optical flow algorithm mentioned above is to calculate the motion information of the corresponding pixels between two frames, and calculate the motion information of the small target pixels, so as to obtain the optical flow vector.
其中,假设运动间隔极小,我们就能将其视为描述该点瞬时速度的二维矢量也称之为光流矢量。光流场是所有像素点的瞬时运动矢量。如果物体运动时,物体的像素亮度保持不变,则亮度的瞬时速度为光流,图像中所有像素的光流构成光流场。Among them, assuming that the motion interval is extremely small, we can regard it as a two-dimensional vector describing the instantaneous velocity of the point Also known as the optical flow vector. The optical flow field is the instantaneous motion vector of all pixels. If the pixel brightness of the object remains unchanged when the object moves, the instantaneous speed of the brightness is the optical flow, and the optical flow of all pixels in the image constitutes the optical flow field.
光流法实现由如下三个假设:(1)亮度一致性;(2)两帧之间运动较小;(3)空间一致性。The optical flow method is realized by the following three assumptions: (1) brightness consistency; (2) small motion between two frames; (3) spatial consistency.
在进行光流约束方程时,所述光流也就是本方案中的待检测流体,设I(x,y,t)为t时点(x,y)处的亮度值,I(x+dx,y+dy,t+dt)为t+dt时(x,y)处对应像素的亮度值,由亮度一致性假设,有:When carrying out the optical flow constraint equation, the optical flow is also the fluid to be detected in this scheme. Let I(x,y,t) be the brightness value at the point (x,y) at time t, and I(x+dx , y+dy, t+dt) is the brightness value of the corresponding pixel at (x, y) when t+dt, assuming the brightness consistency, there are:
I(x,y,t)=I(x+dx,y+dy,t+dt) (1)I(x,y,t)=I(x+dx,y+dy,t+dt) (1)
将上述右边用Taylor级数展开,由于光流定义(u,v)=(dx/dt,dy/dt),可将(u,v)=(dx/dt,dy/dt)用(u,v)替换得到光流的基本方程:Expand the above right side with Taylor series, since the optical flow defines (u,v)=(dx/dt,dy/dt), (u,v)=(dx/dt,dy/dt) can be used as (u, v) Substitute to get the basic equation of optical flow:
即光流约束方程:That is, the optical flow constraint equation:
Ixu+Iyv+It=0 (3)I x u+I y v+I t =0 (3)
然而由于孔径问题的存在,仅仅依靠一个光流约束方程无法求解两个未知量(u,v),因此需要引入其他的约束条件。不同的光流法创建不同的约束条件,建立新的约束方程,使该方程的解唯一。However, due to the existence of the aperture problem, only one optical flow constraint equation cannot solve the two unknowns (u, v), so other constraints need to be introduced. Different optical flow methods create different constraints, establish a new constraint equation, and make the solution of the equation unique.
假设在一个小的空间邻域Ω内运动矢量恒定不变,然后对区域内的每个点赋予不同的权重。假设有n个像素在邻域Ω内,那么每个像素都应满足:Assuming that the motion vector is constant in a small spatial neighborhood Ω, then assign different weights to each point in the region. Assuming that there are n pixels in the neighborhood Ω, then each pixel should satisfy:
Ixiu+Iyiv+Iti=0 i=1,2...,n (4)I xi u+I yi v+I ti =0 i=1,2...,n (4)
光流的基础约束方程变为:The basic constraint equation of optical flow becomes:
Ec(u,v)=∫∫[Ixu+Iyv+It]2dxdy (5)E c (u,v)=∫∫[I x u+I y v+I t ] 2 dxdy (5)
在邻域Ω内,Lucas-Kanade光流的误差为公式为:In the neighborhood Ω, the error of Lucas-Kanade optical flow is formulated as:
ELK(u,v)=∫∫W2(x,y).(Ixu+Iyv+It)2dxdy (6)E LK (u,v)=∫∫W 2 (x,y).(I x u+I y v+I t ) 2 dxdy (6)
其中,W(x,y)={wi|i=1,2,...,n}是邻域中每个点的权值,其分布特征是离中心越偏离,对应的权值越小。Among them, W(x,y)={ wi |i=1,2,...,n} is the weight of each point in the neighborhood, and its distribution characteristic is that the further away from the center, the greater the corresponding weight Small.
将公式(6)式离散化,得到:Discretizing formula (6), we get:
其中Ixi、Iyi、Iti为领域内各点像素在x、y、t方向的梯度值,wi为各点的权值。令:Among them, I xi , I yi , and I ti are the gradient values of each point pixel in the field in the x, y, and t directions, and wi is the weight of each point. make:
W=diag(wx1,wx2,...,wxn) (9)W=diag(w x1 ,w x2 ,...,w xn ) (9)
b=[It1,It2,...,Itn]T (10)b=[I t1 ,I t2 ,...,I tn ] T (10)
则公式(7)可表示为:Then formula (7) can be expressed as:
则公式(11)的解可以表示为:Then the solution of formula (11) can be expressed as:
其中,式中的A、W及b为公式中的影响因子,且公式(12)的解即为所求光流矢量数据。Among them, A, W and b in the formula are the influencing factors in the formula, and the solution of formula (12) is the obtained optical flow vector data.
需要说明的是,近年来,运动目标检测算法层出不穷,但较为经典的算法可以分为帧差法、背景减法以及光流法三种。其中帧差法虽然算法简单,适应力强,但通常很难获得运动物体的完整轮廓,容易出现“空心”现象;背景减法是通过视频帧建立背景模型,从输入的视频序列中减去背景模型得到前景对象。背景减法虽然也相对简单,而且实时性较高,但其对背景质量要求较高,十分敏感;光流法相比这两种算法,其复杂度较高、对亮度的稳定性要求较高。但光流法不仅可以知道运动物体的位置,而且能清楚得到运动物体的速度和方向。光流法不需要背景建模和背景更新,产生的运动物体不会出现“空心”现象。本实验中,背景光源亮度大,稳定性高,且不同帧之间运动距离较短,适合光流法的使用。It should be noted that in recent years, moving target detection algorithms have emerged one after another, but the more classic algorithms can be divided into three types: frame difference method, background subtraction and optical flow method. Although the frame difference method has a simple algorithm and strong adaptability, it is usually difficult to obtain the complete outline of the moving object, and the phenomenon of "hollow" is prone to occur; the background subtraction method is to establish a background model through video frames, and subtract the background model from the input video sequence. Get the foreground object. Although background subtraction is relatively simple and has high real-time performance, it has high requirements on background quality and is very sensitive. Compared with these two algorithms, optical flow method has higher complexity and higher requirements for brightness stability. But the optical flow method can not only know the position of the moving object, but also get the speed and direction of the moving object clearly. The optical flow method does not require background modeling and background updating, and the resulting moving objects will not appear "hollow". In this experiment, the brightness of the background light source is high, the stability is high, and the moving distance between different frames is short, which is suitable for the use of the optical flow method.
应当理解的是,以上仅为举例说明,对本发明的技术方案并不构成任何限定,在具体应用中,本领域的技术人员可以根据需要进行设置,本发明对此不做限制。It should be understood that the above are only examples, and do not constitute any limitation to the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as required, which is not limited by the present invention.
本实施例通过获取所述待检测流体对应的流速视频,对所述流速视频进行图像帧提取,获得初始图像帧,然后根据预设ROI区域从所述初始图像帧中提取待处理图像帧,并根据所述待处理图像帧构建图像帧集合,获取所述图像帧集合中每帧图像对应的流体运动时间和从所述图像帧集合中选取目标图像帧,并根据所述目标图像帧获取对应的目标图像,之后对所述目标图像进行高斯滤波处理,获得矢量场图像,根据所述矢量场图像,通过预设光流算法计算所述待检测流体对应的矢量数据,并根据所述流体运动时间和所述矢量数据计算所述待检测流体的速度。通过上述方式,采用预设光流算法和高斯滤波算法等图像处理算法,能有效地跟踪流动的液体,能精确的获取待检测流体的速度和方向,稳定性好,效率高,也为预测并实时控制管中全位置流速奠定基础。In this embodiment, the flow velocity video corresponding to the fluid to be detected is acquired, the image frame is extracted from the flow velocity video, the initial image frame is obtained, and then the to-be-processed image frame is extracted from the initial image frame according to the preset ROI area, and Build an image frame set according to the to-be-processed image frames, obtain the fluid motion time corresponding to each frame of the image in the image frame set, select a target image frame from the image frame set, and obtain the corresponding image frame according to the target image frame target image, and then Gaussian filtering is performed on the target image to obtain a vector field image. According to the vector field image, the vector data corresponding to the fluid to be detected is calculated by a preset optical flow algorithm, and according to the fluid motion time and the vector data to calculate the velocity of the fluid to be detected. Through the above method, image processing algorithms such as preset optical flow algorithm and Gaussian filter algorithm can be used, which can effectively track the flowing liquid, and can accurately obtain the speed and direction of the fluid to be detected, with good stability and high efficiency. Lay the foundation for real-time control of all-position flow velocity in the tube.
需要说明的是,以上所描述的工作流程仅仅是示意性的,并不对本发明的保护范围构成限定,在实际应用中,本领域的技术人员可以根据实际的需要选择其中的部分或者全部来实现本实施例方案的目的,此处不做限制。It should be noted that the above-described workflow is only illustrative, and does not limit the protection scope of the present invention. In practical applications, those skilled in the art can select some or all of them to implement according to actual needs. The purpose of the solution in this embodiment is not limited here.
另外,未在本实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的微流控芯片中流体速度检测方法,此处不再赘述。In addition, for technical details that are not described in detail in this embodiment, reference may be made to the method for detecting fluid velocity in a microfluidic chip provided by any embodiment of the present invention, which will not be repeated here.
此外,需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。Furthermore, it should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or system comprising a series of elements includes not only those elements, but also other elements not expressly listed or inherent to such a process, method, article or system. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system that includes the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(Read Only Memory,ROM)/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that contribute to the prior art, and the computer software products are stored in a storage medium (such as a read-only memory (Read Only Memory). , ROM)/RAM, magnetic disk, optical disk), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010061950.0A CN111311631B (en) | 2020-01-19 | 2020-01-19 | Method, device and equipment for detecting fluid speed in microfluidic chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010061950.0A CN111311631B (en) | 2020-01-19 | 2020-01-19 | Method, device and equipment for detecting fluid speed in microfluidic chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111311631A true CN111311631A (en) | 2020-06-19 |
CN111311631B CN111311631B (en) | 2024-03-08 |
Family
ID=71148344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010061950.0A Active CN111311631B (en) | 2020-01-19 | 2020-01-19 | Method, device and equipment for detecting fluid speed in microfluidic chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111311631B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114518303A (en) * | 2020-11-19 | 2022-05-20 | 深圳市瑞图生物技术有限公司 | Micro-fluidic chip, body fluid detection device and portable body fluid detector |
CN114791509A (en) * | 2022-06-22 | 2022-07-26 | 武汉易维科技股份有限公司 | Intelligent detection method and device for water flow velocity |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104869387A (en) * | 2015-04-19 | 2015-08-26 | 中国传媒大学 | Method for acquiring binocular image maximum parallax based on optical flow method |
CN106803265A (en) * | 2017-01-06 | 2017-06-06 | 重庆邮电大学 | Multi-object tracking method based on optical flow method and Kalman filtering |
WO2018127539A1 (en) * | 2017-01-05 | 2018-07-12 | Universite De Toulon | Methods and devices for extracting an object from a video sequence |
CN108753596A (en) * | 2018-04-09 | 2018-11-06 | 暨南大学 | A kind of microorganism growth image detection microchamber microfluidic system |
CN109932282A (en) * | 2017-12-19 | 2019-06-25 | 中国科学院沈阳自动化研究所 | High temperature molten slag online visual monitoring system and method |
-
2020
- 2020-01-19 CN CN202010061950.0A patent/CN111311631B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104869387A (en) * | 2015-04-19 | 2015-08-26 | 中国传媒大学 | Method for acquiring binocular image maximum parallax based on optical flow method |
WO2018127539A1 (en) * | 2017-01-05 | 2018-07-12 | Universite De Toulon | Methods and devices for extracting an object from a video sequence |
CN106803265A (en) * | 2017-01-06 | 2017-06-06 | 重庆邮电大学 | Multi-object tracking method based on optical flow method and Kalman filtering |
CN109932282A (en) * | 2017-12-19 | 2019-06-25 | 中国科学院沈阳自动化研究所 | High temperature molten slag online visual monitoring system and method |
CN108753596A (en) * | 2018-04-09 | 2018-11-06 | 暨南大学 | A kind of microorganism growth image detection microchamber microfluidic system |
Non-Patent Citations (1)
Title |
---|
马鹏飞: "基于光流法的粒子图像测速", vol. 12, no. 12, pages 8583 - 8587 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114518303A (en) * | 2020-11-19 | 2022-05-20 | 深圳市瑞图生物技术有限公司 | Micro-fluidic chip, body fluid detection device and portable body fluid detector |
CN114791509A (en) * | 2022-06-22 | 2022-07-26 | 武汉易维科技股份有限公司 | Intelligent detection method and device for water flow velocity |
Also Published As
Publication number | Publication date |
---|---|
CN111311631B (en) | 2024-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wu et al. | Enhanced precision in dam crack width measurement: leveraging advanced lightweight network identification for pixel‐level accuracy | |
Hoang et al. | Metaheuristic optimized edge detection for recognition of concrete wall cracks: a comparative study on the performances of roberts, prewitt, canny, and sobel algorithms | |
CN110738642A (en) | Mask R-CNN-based reinforced concrete crack identification and measurement method and storage medium | |
Rossi et al. | A fast and robust algorithm for general defocusing particle tracking | |
Dorn et al. | Computational processing and analysis of dynamic fluorescence image data | |
CN113255555A (en) | Method, system, processing equipment and storage medium for identifying Chinese traffic sign board | |
CN111311631A (en) | Fluid velocity detection method, device and equipment in microfluidic chip | |
Durve et al. | A fast and efficient deep learning procedure for tracking droplet motion in dense microfluidic emulsions | |
CN106503683A (en) | A kind of video well-marked target detection method based on dynamic focal point | |
Liu et al. | Two‐stream boundary‐aware neural network for concrete crack segmentation and quantification | |
Wong et al. | Tracking indoor construction progress by deep-learning-based analysis of site surveillance video | |
CN119048601A (en) | Pose determination method, pose determination device, pose determination equipment, storage medium and pose determination product | |
Babu et al. | Enhancing infrastructure safety: A uav-based approach for crack detection | |
Wang et al. | A novel real-time pixel-level road crack segmentation network | |
CN113763395B (en) | Method for analyzing cavitation bubble dynamics based on image | |
Ren et al. | LBA-YOLO: A novel lightweight approach for detecting micro-cracks in building structures | |
Kee et al. | Cracks identification using mask region-based denoised deformable convolutional network | |
CN111914863A (en) | Target detection method and device, terminal equipment and computer readable storage medium | |
CN116563666A (en) | Training method and related equipment for three-dimensional point cloud processing model and semantic segmentation model | |
Zhao et al. | DSU-Net: Dynamic Stacked U-Net for Enhancing Mobile Screen Defect Detection | |
Shaowei et al. | Concrete crack recognition and geometric parameter evaluation based on deep learning | |
CN115546539A (en) | Magnetic flip plate liquid level reading method and device based on machine vision and readable medium | |
Kamp et al. | Automated image analysis for trajectory determination of single drop collisions | |
CN104123713B (en) | Many image joint dividing methods and device | |
Ji et al. | A Neural Network with Spatial Attention for Pixel-Level Crack Detection on Concrete Bridges |
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 |