WO2017020393A1 - Motion estimation method and motion estimation system based on block matching, and application thereof - Google Patents

Motion estimation method and motion estimation system based on block matching, and application thereof Download PDF

Info

Publication number
WO2017020393A1
WO2017020393A1 PCT/CN2015/088947 CN2015088947W WO2017020393A1 WO 2017020393 A1 WO2017020393 A1 WO 2017020393A1 CN 2015088947 W CN2015088947 W CN 2015088947W WO 2017020393 A1 WO2017020393 A1 WO 2017020393A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
motion estimation
target
template
matching
Prior art date
Application number
PCT/CN2015/088947
Other languages
French (fr)
Chinese (zh)
Inventor
李志�
张光烈
李文荣
Original Assignee
深圳大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳大学 filed Critical 深圳大学
Publication of WO2017020393A1 publication Critical patent/WO2017020393A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30024Cell structures in vitro; Tissue sections in vitro

Definitions

  • the invention relates to the technical field of image processing, in particular to an image motion estimation method based on block matching algorithm, a motion estimation system and an application thereof in cell dynamics analysis.
  • Computer vision-based motion estimation is a research project with broad application prospects, such as target tracking in the military field, dynamic monitoring of industrial processes, video data compression in the commercial field, video data analysis, and cardiac motion research in the medical field. Virtual reality and other aspects.
  • the goal of motion estimation is to achieve the following goal: if the scene and the camera are both stationary, the position of the scene in the current frame It should be the same as the position in the next frame. If there is still a moving object in the still scene, the estimated optimal motion position for a pixel on the moving object in the current frame should be the position of the pixel in the next frame.
  • motion estimation can effectively remove redundancy and preserve valid information between frames, which is very important for image sequence (including video) data compression and transmission.
  • Motion estimation algorithms are diverse and can be roughly divided into four categories: block matching, recursive estimation, Bayesian estimation, and optical flow.
  • the block matching algorithm is the most simple and effective, and is widely used.
  • the typical algorithms in the block matching algorithm include: full search algorithm (calculate all pixels in the search window (M+2w) x (N+2w) to find the smallest error The best match block.
  • the three-step search algorithm For the search of the motion vector of a block to be matched in the current frame, calculate (2w+1)x(2w+1) times error value); the three-step search algorithm (the three-step search process is: (1) step by w/2 Long, test eight points centered on the origin; (2) center on the minimum matching error point, halve the step size, test the new eight points; (3) repeat step 2 to get the final motion vector. TSS algorithm for each block The test points are fixed (988) 25.
  • the acceleration factor of the three-step search relative to the full search algorithm is 9
  • the two-dimensional logarithmic search to track the direction of the minimum mean square error
  • the full search algorithm has high accuracy, but the speed is too slow; while other fast search methods reduce the computational complexity by limiting the number of search positions, but it is not conducive to estimating small motion and Search is easy to fall into local optimum; and the matching template of the rectangle is used, only the panning operation can be performed, and the tracking efficiency is too low when the target performs the rotating motion.
  • the Bayesian estimation method is too computationally intensive.
  • the iterative speed of the optical flow field method is relatively fast, but the obtained optical flow field is only an approximation of the velocity field.
  • the brightness of the image is abrupt and transported At the discontinuity, the assumptions that the algorithm relies on are not true, and the resulting error is also large.
  • the object of the present invention is to provide a motion estimation method based on block matching, a motion estimation system and an application thereof, aiming at solving the problem that the existing block matching algorithm is too low in tracking the rotational motion. Take into account the speed and accuracy of the calculation.
  • a motion estimation method based on block matching comprising the steps of: acquiring a rotational motion image sequence of a small object; and performing translation compensation on the target small object by a block matching based custom block algorithm;
  • the target micro object is then subjected to pixel block correlation analysis to calculate the number of rotations of the target micro object; the block matching based custom algorithm uses a circular rotation template.
  • the motion estimation method wherein the method further comprises: performing noise reduction on a rotated moving image sequence of the minute object by using a Gaussian low-pass filter and enhancing contrast of the target minute object and the background by histogram equalization.
  • the motion estimation method wherein the step of performing translation compensation on a target micro object by a block matching-based custom block algorithm specifically includes: generating a circular rotation template; performing block matching by using the circular rotation template, Estimating the trajectory of the target minute object.
  • the motion estimation method wherein the step of generating a circular rotation template specifically includes: converting a target image into a grayscale image; converting the grayscale image into a binary image by an adaptive threshold algorithm; The center and radius of the circular rotating template, The circular rotating template is formed.
  • the motion estimation method wherein the block matching step specifically includes: calculating, by using a preset matching criterion, a best matching block as a reference block in the search window; and calculating a motion vector of the reference block to a current position of the macroblock.
  • the motion estimation method wherein the matching criterion is specifically represented by the following formula: Where (x, y) ⁇ S, (i, j) ⁇ M, S is a search window, and M is a circular rotation template.
  • the motion estimation method wherein the pixel correlation analysis specifically includes: calculating a correlation coefficient between a template and a sequential image block by using Equation 1; searching for a local maximum value of the correlation coefficient to track a peak point; The index calculation obtains the number of revolutions of the minute object; the formula 1 is: Where t( ⁇ ) is a template and f( ⁇ ) is a sequential image block. with They are the average of t( ⁇ ) and f( ⁇ ), respectively.
  • a method for analyzing a cell dynamics characteristic wherein a rotational velocity analysis is performed on a cell in a dielectrophoretic force field using a motion estimation method as described above.
  • a motion estimation system based on block matching comprising: an image acquisition module for acquiring a sequence of rotational motion images of a small object; and a translation compensation module for targeting the target by a block matching based block algorithm Small objects are compensated for translation; And a correlation coefficient calculation module, configured to perform pixel block correlation analysis on the target micro object after the translation compensation to calculate a rotation number of the target micro object; and the block matching based custom algorithm uses a circle Rotate the template.
  • the present invention provides a motion estimation method based on block matching, a motion estimation system and an application thereof, and uses a circular rotation template for target rotational motion tracking, thereby effectively improving the rotation of the block matching algorithm for the target object.
  • the tracking efficiency of the motion greatly improves the efficiency of the block matching algorithm while maintaining accuracy.
  • FIG. 1 is a schematic diagram of a system of a light-induced dielectrophoresis platform according to a specific embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for a block matching based motion estimation method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a step of generating a circular rotation template in a motion estimation method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a block matching step in a motion estimation method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for generating a circular rotation template in a motion estimation method according to an embodiment of the present invention.
  • the invention provides a motion estimation method based on block matching, a motion estimation system and an application thereof.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • a sequence of stained cell images that are rotated in a dielectrophoretic field is used as an example.
  • the block matching based motion estimation method and the estimation system thereof according to the present invention are particularly suitable for image sequence analysis of rotating motions of other small objects having similar image characteristics, and may also be applied to the image sequence including the dyed cells. Image processing is performed in any other suitable image sequence or video stream.
  • the system includes an ODEP chip 100, an optical microscope 200, a high resolution projector 300, a programmable high precision ODEP chip driver (not shown), and a computer 500. (ie a complete light-induced dielectrophoresis platform)
  • the computer 500 can employ any suitable electronic computing device or platform capable of satisfying the required computing power, such as a personal computer, a laptop, a cloud host, and the like.
  • the ODEP refers to optically induced-electrophoresis (optically-induced dielectrophoresis).
  • the ODEP chip may specifically be composed of a three-layer structure: wherein the substrate 110 is an ITO glass coated with a 1 micron thick hydrogenated amorphous silicon (a-Si:H) coating 11, and the uppermost layer is a common ITO glass 120.
  • a-Si:H hydrogenated amorphous silicon
  • a 100 micron high microfluidic channel 130 is encapsulated between the substrate and the uppermost layer using PDMS or double sided tape.
  • the computer is connected to the projector through the data line 10, and the lens of the projector is connected to the incident optical path of the microscope through the switching device (as shown by A1 in FIG. 1).
  • the ODEP chip is placed on a microscope stage (wherein 200 is specifically an objective lens of the microscope).
  • the cells are cultured and the cells and matrix are placed in an ODEP chip.
  • the cells may specifically be any type of cells, depending on the needs of the actual research, such as tumor cells, immunocompetent cells (ICC), and the like.
  • a pattern is generated on the computer and projected by the projector onto the ODEP chip on the microscope stage to form a pattern as shown in FIG. 1 (ie, the rectangular frame B1 in FIG. 1).
  • the chip driver 400 adds alternating current to the ODEP chip, changes the frequency and size of the alternating current signal, and cooperates with the corresponding projection pattern to rotate the cells 13 in the ODEP chip.
  • FIG. 2 in order to analyze the image sequence of the cell motion recorded by the high-speed CCD of the above microscope using the block matching-based motion estimation method according to the present invention, a flow chart of a method for calculating the number of rotations of the cells is shown.
  • the method includes the following steps:
  • the image sequence to be analyzed is obtained here as an image sequence of cell motion recorded by a high-speed CCD of the microscope.
  • the block matching based custom algorithm uses a circular rotation template.
  • the rotation motion of the cells in the dielectrophoretic force field can be decomposed into two motions, translational and rotational.
  • the translation compensation is performed by the step S2
  • the rotation analysis of the compensated image is performed by the step S3.
  • the image may be pre-processed to improve the efficiency and accuracy of subsequent processing.
  • the pre-processing method includes: performing noise reduction on a rotating motion image sequence of the minute object by using a Gaussian low-pass filter and enhancing contrast of the target minute object and the background by histogram equalization.
  • noise reduction preprocessing In general, in the image sequence obtained by the above system, the main source of noise of the image frame is the camera. Because the image-to-charge conversion is done by the CCD in the camera, the CCD randomly generates some electrons that form noise in the signal. Since these noises are randomly distributed, a Gaussian low-pass filter can be used to effectively filter out noise.
  • the core formula of the Gaussian filter is as follows:
  • the histogram equalization is one of the commonly used methods of image contrast enhancement.
  • the specific principle is that the gray histogram of the original image is changed from a certain gray interval in the comparison set to a uniform distribution in the entire gray range.
  • the modified pixel value conversion function of the grayscale image can be expressed by the following formula:
  • the grayscale image ⁇ x ⁇ contains L discrete gray levels, expressed as ⁇ Xi ⁇ .
  • contrast enhancement eg, histogram stretching
  • the step of performing translation compensation on the target micro object by using a block matching-based custom block algorithm specifically includes: generating a circular rotation template; performing block matching by using the circular rotation template, and estimating the The trajectory of the target tiny object.
  • a block matching-based custom block algorithm ie, S2
  • a rectangular template is used. Since the cells are rotational in the sequence of images, the tracking efficiency using rectangular templates will be very low.
  • the use of a circular rotation template for matching can very well achieve tracking of the rotation motion, greatly improving the efficiency and accuracy of the algorithm.
  • the step of generating a circular rotation template may specifically include:
  • the circular rotating template can be rotated at a certain angle for matching (E image in FIG. 3), that is, an E image obtained by rotating the D image at a certain angle.
  • E image in FIG. 3 an E image obtained by rotating the D image at a certain angle.
  • the term "circular rotation template” is used to denote this re-customized matching template.
  • the block matching step may include (as shown in FIG. 4, a matching process between the reference image frame in the image sequence and the current operation image frame):
  • the best matching block is obtained as the reference block 10 according to the preset matching criterion in the search window.
  • the matching criterion is specifically represented by the following formula:
  • Macroblock is a basic concept in video coding. That is, in video coding, an image frame is usually composed of several macroblocks. Wherein, the absolute difference and the smallest motion vector in the corresponding search window can be expressed by the following formula:
  • the minimum absolute difference and calculation process based on the reference block which is a circular rotation template, can be represented by the following pseudo code:
  • step of "blocking-based custom block algorithm” uses a circular rotation template to match to track the translation of the target cell, effectively improving the tracking accuracy of the block matching algorithm for rotating objects, while at the same time Computational efficiency, with good Application prospects.
  • pixel correlation analysis can be used to estimate the number of cell revolutions.
  • the pixel correlation analysis may include the following steps:
  • Equation 1 For two grayscale image blocks, the correlation coefficient between the two is calculated by Equation 1.
  • a local maximum of the correlation coefficient is sought to track the peak point.
  • the number of rotations of the template cells is obtained based on the index of the peak points.
  • t( ⁇ ) is the selected template block (that is, the matching template used above), and f( ⁇ ) is the sequential image block. with They are the average of t( ⁇ ) and f( ⁇ ), respectively.
  • the invention also provides a method for analyzing cell dynamics characteristics.
  • the analysis method applies a motion estimation method as described above to perform rotational velocity analysis on cells in the dielectrophoretic force field. That is, by obtaining the number of rotations of the target cells, the rotational speed of the target is estimated for further analysis.
  • the present invention still further provides a motion estimation system based on block matching.
  • the system specifically includes: an image acquisition module 100, configured to acquire a sequence of rotational motion images of a small object; and a translation compensation module 200 configured to perform target microscopic objects through a block-based custom block algorithm.
  • the translation compensation module 300 is configured to perform pixel block correlation analysis on the target micro object after the translational compensation to calculate the number of rotations of the target micro object.
  • the image acquisition module can implement image sequence acquisition using a suitable system according to actual conditions, for example, the system shown in FIG. 1 acquires a moving image sequence of cells.
  • the calculation module 300 can be executed on any suitable electronic computing platform or integrated into a system as a component of the motion estimation function.
  • the image sequence to be analyzed can also be directly input to the translation compensation module 200 and the correlation coefficient calculation module 300 for analysis and calculation without passing through the image acquisition module 100.

Abstract

The present invention provides a motion estimation method and system based on block matching, and an application thereof. The method comprises the following steps: obtaining a rotation motion image sequence of a small object; performing translational motion compensation on a target small object by using a customized block algorithm that is based on blocking matching; and performing pixel block related analysis on the target small object on which the translational motion compensation has performed, to calculate the number of rotations of the target small object, a round rotation template being used in the customized algorithm that is based on block matching. The method is used for rotation motion tracking of a target, and uses a round rotation template, so that the tracking efficiency of rotation motion of the target object by using a block matching algorithm is effectively improved. In view of this, it is proposed that the method is applied to, based on the above matching algorithm, cell rotation speed estimation, and has far-reaching significance for the analysis of the dynamics characteristics of a cell.

Description

一种基于块匹配的运动估计方法、运动估计系统及其应用A Motion Estimation Method Based on Block Matching, Motion Estimation System and Its Application 技术领域Technical field
本发明涉及图像处理技术领域,尤其涉及一种基于块匹配算法的图像运动估计方法、运动估计系统及其在细胞动力学分析上的应用。The invention relates to the technical field of image processing, in particular to an image motion estimation method based on block matching algorithm, a motion estimation system and an application thereof in cell dynamics analysis.
背景技术Background technique
基于计算机视觉的运动估计是一门有着广泛的应用前景的研究项目,例如在军事领域的目标跟踪,工业过程的动态监控,商业领域的视频数据压缩、视频数据分析,医学领域的心脏运动研究以及虚拟现实方面等方面。Computer vision-based motion estimation is a research project with broad application prospects, such as target tracking in the military field, dynamic monitoring of industrial processes, video data compression in the commercial field, video data analysis, and cardiac motion research in the medical field. Virtual reality and other aspects.
在随时间变化的视频序列中,帧与帧之间存在着很大的空间冗余,运动估计的目标在于实现如下目标:如果景物和摄像设备都是静止的,则景物在当前帧中的位置与在下一帧中的位置应当是相同的。如果在静止景物中还有运动的物体,则对当前帧中运动物体上某一像素点,在未来时刻的最佳运动位置估计,应为该像素点在下一帧中的位置。In the video sequence changing with time, there is a large spatial redundancy between the frame and the frame. The goal of motion estimation is to achieve the following goal: if the scene and the camera are both stationary, the position of the scene in the current frame It should be the same as the position in the next frame. If there is still a moving object in the still scene, the estimated optimal motion position for a pixel on the moving object in the current frame should be the position of the pixel in the next frame.
因此,运动估计可有效地去除冗余,保留帧间的有效信息,这对于图像序列(包括视频)数据压缩和传输都非常重要。Therefore, motion estimation can effectively remove redundancy and preserve valid information between frames, which is very important for image sequence (including video) data compression and transmission.
运动估计算法多种多样,大体上可以把它们分成四类:块匹配法、递归估计法、贝叶斯估计法和光流法。其中块匹配算法最为简单有效,被广泛采用。块匹配算法中较为典型的算法包括有:全搜索算法(在搜索窗(M+2w)x(N+2w)内计算所有的像素来寻找具有最小误差 的最佳匹配块。对于当前帧一个待匹配块的运动向量的搜索要计算(2w+1)x(2w+1)次误差值);三步搜索算法(三步搜索流程为:(1)以w/2为步长,测试以原点为中心的八点;(2)以最小匹配误差点为中心,步长折半,测试新的八点;(3)重复第2步得到最后的运动向量。TSS算法对于每一块的测试点为固定的(988)25个。当位移大小w<7时,三步搜索相对于全搜索算法的加速因子为9)以及二维对数搜索(以跟踪最小均方差所在的方向为主要思想。初始化计算五点,一点为原点,其他四点为(±w/2,±w/2);再以相同的步长,以上一步搜索到的最小点为中心测试点;然后,步长折半重复以上步骤,直到步长大小变为1停止)等等。Motion estimation algorithms are diverse and can be roughly divided into four categories: block matching, recursive estimation, Bayesian estimation, and optical flow. Among them, the block matching algorithm is the most simple and effective, and is widely used. The typical algorithms in the block matching algorithm include: full search algorithm (calculate all pixels in the search window (M+2w) x (N+2w) to find the smallest error The best match block. For the search of the motion vector of a block to be matched in the current frame, calculate (2w+1)x(2w+1) times error value); the three-step search algorithm (the three-step search process is: (1) step by w/2 Long, test eight points centered on the origin; (2) center on the minimum matching error point, halve the step size, test the new eight points; (3) repeat step 2 to get the final motion vector. TSS algorithm for each block The test points are fixed (988) 25. When the displacement size is w<7, the acceleration factor of the three-step search relative to the full search algorithm is 9) and the two-dimensional logarithmic search (to track the direction of the minimum mean square error) The main idea is to initialize five points, one point is the origin, the other four points are (±w/2, ±w/2); then with the same step size, the smallest point searched in the above step is the center test point; then, step Repeat the above steps for half lengths until the step size becomes 1 stop) and so on.
但在已有的块匹配算法中,全搜索算法虽然准确度高,但是速度太慢;而其他的快速搜索方法通过限制搜索位置的数目来减小计算复杂度,但不利于估计小的运动且搜索容易陷入局部最优;而且使用了矩形的匹配模板,只能进行平移操作,在目标做旋转运动时跟踪效率过低。However, in the existing block matching algorithm, the full search algorithm has high accuracy, but the speed is too slow; while other fast search methods reduce the computational complexity by limiting the number of search positions, but it is not conducive to estimating small motion and Search is easy to fall into local optimum; and the matching template of the rectangle is used, only the panning operation can be performed, and the tracking efficiency is too low when the target performs the rotating motion.
递归估计法虽然在运动目标较小时,递归估计算法收敛较快,还有利用过去信息进行估计的能力。但是,当图像序列前后帧变化比较大的时候,这种方法很难得到正确的结果,而且点位移的帧差绝对值常有多个最小值,造成递归估计算法的结果有时是局部最小值而不是全局最小值。Recursive Estimation Although the recursive estimation algorithm converges faster when the moving target is small, there is also the ability to use past information for estimation. However, when the frame sequence changes before and after the image sequence is relatively large, it is difficult to obtain correct results by this method, and the absolute value of the frame difference of the point shift often has multiple minimum values, and the result of the recursive estimation algorithm is sometimes a local minimum. Not a global minimum.
贝叶斯估计法的计算量太大。而光流场方法的迭代速度虽然比较快,但得到的光流场只是速度场的一种近似。在图像的亮度突变和运 动不连续处,由于该算法所依赖的假设不成立,因而所得的结果误差也较大。The Bayesian estimation method is too computationally intensive. The iterative speed of the optical flow field method is relatively fast, but the obtained optical flow field is only an approximation of the velocity field. The brightness of the image is abrupt and transported At the discontinuity, the assumptions that the algorithm relies on are not true, and the resulting error is also large.
发明内容Summary of the invention
鉴于上述现有技术的不足之处,本发明的目的在于提供一种基于块匹配的运动估计方法、运动估计系统及其应用,旨在解决现有块匹配算法对旋转运动追踪效率过低,无法兼顾运算速度及准确度的问题。In view of the above-mentioned deficiencies of the prior art, the object of the present invention is to provide a motion estimation method based on block matching, a motion estimation system and an application thereof, aiming at solving the problem that the existing block matching algorithm is too low in tracking the rotational motion. Take into account the speed and accuracy of the calculation.
为了达到上述目的,本发明采取了以下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
一种基于块匹配的运动估计方法,其中,所述方法包括如下步骤:获取微小物体的旋转运动图像序列;通过基于块匹配的自定义块算法对目标微小物体进行平动补偿;对平动补偿后所述目标微小物体进行像素块相关分析,以计算所述目标微小物体的旋转圈数;所述基于块匹配的自定义算法使用圆形旋转模板。A motion estimation method based on block matching, wherein the method comprises the steps of: acquiring a rotational motion image sequence of a small object; and performing translation compensation on the target small object by a block matching based custom block algorithm; The target micro object is then subjected to pixel block correlation analysis to calculate the number of rotations of the target micro object; the block matching based custom algorithm uses a circular rotation template.
所述的运动估计方法,其中,所述方法还包括:对所述微小物体的旋转运动图像序列通过使用高斯低通滤波器进行降噪以及通过直方图均衡化增强目标微小物体与背景的对比度。The motion estimation method, wherein the method further comprises: performing noise reduction on a rotated moving image sequence of the minute object by using a Gaussian low-pass filter and enhancing contrast of the target minute object and the background by histogram equalization.
所述的运动估计方法,其中,所述通过基于块匹配的自定义块算法对目标微小物体进行平动补偿的步骤具体包括:生成圆形旋转模板;利用所述圆形旋转模板进行块匹配,估计所述目标微小物体的运动轨迹。The motion estimation method, wherein the step of performing translation compensation on a target micro object by a block matching-based custom block algorithm specifically includes: generating a circular rotation template; performing block matching by using the circular rotation template, Estimating the trajectory of the target minute object.
所述的运动估计方法,其中,所述生成圆形旋转模板的步骤具体包括:将目标图像转换为灰度等级图像;通过自适应阈值算法将所述灰度等级图像转换为二值图像;计算所述圆形旋转模板的圆心及半径, 形成所述圆形旋转模板。The motion estimation method, wherein the step of generating a circular rotation template specifically includes: converting a target image into a grayscale image; converting the grayscale image into a binary image by an adaptive threshold algorithm; The center and radius of the circular rotating template, The circular rotating template is formed.
所述的运动估计方法,其中,所述块匹配步骤具体包括:在搜索窗口依据预设的匹配标准计算获得最佳匹配块作为参考块;计算所述参考块到宏块当前位置的运动向量。The motion estimation method, wherein the block matching step specifically includes: calculating, by using a preset matching criterion, a best matching block as a reference block in the search window; and calculating a motion vector of the reference block to a current position of the macroblock.
所述的运动估计方法,其中,所述匹配标准具体由如下算式表示:
Figure PCTCN2015088947-appb-000001
其中,(x,y)∈S,(i,j)∈M,S为搜索窗口,M为圆形旋转模板。
The motion estimation method, wherein the matching criterion is specifically represented by the following formula:
Figure PCTCN2015088947-appb-000001
Where (x, y) ∈ S, (i, j) ∈ M, S is a search window, and M is a circular rotation template.
所述的运动估计方法,其中,与所述运动向量相对应的搜索窗口中绝对差和最小的运动向量具体由如下算式计算具体由如下算式计算:
Figure PCTCN2015088947-appb-000002
The motion estimation method, wherein an absolute difference and a minimum motion vector in a search window corresponding to the motion vector are specifically calculated by the following formula:
Figure PCTCN2015088947-appb-000002
所述的运动估计方法,其中,所述像素相关分析具体包括:通过算式1计算模板与顺序图像块之间的相关系数;寻找所述相关系数的局部最大值以追踪峰点;依据峰点的索引计算获得所述微小物体的旋转圈数;所述算式1为:
Figure PCTCN2015088947-appb-000003
其中,t(·)为模板,f(·)为顺序图像块,
Figure PCTCN2015088947-appb-000004
Figure PCTCN2015088947-appb-000005
分别是t(·)和f(·)的平均数。
The motion estimation method, wherein the pixel correlation analysis specifically includes: calculating a correlation coefficient between a template and a sequential image block by using Equation 1; searching for a local maximum value of the correlation coefficient to track a peak point; The index calculation obtains the number of revolutions of the minute object; the formula 1 is:
Figure PCTCN2015088947-appb-000003
Where t(·) is a template and f(·) is a sequential image block.
Figure PCTCN2015088947-appb-000004
with
Figure PCTCN2015088947-appb-000005
They are the average of t(·) and f(·), respectively.
一种细胞运动动力学特性分析方法,其中,应用如上所述的运动估计方法对处于介电泳力场的细胞进行旋转速度分析。A method for analyzing a cell dynamics characteristic, wherein a rotational velocity analysis is performed on a cell in a dielectrophoretic force field using a motion estimation method as described above.
一种基于块匹配的运动估计系统,其中,所述系统包括:图像获取模块,用于获取微小物体的旋转运动图像序列;平动补偿模块,用于通过基于块匹配的自定义块算法对目标微小物体进行平动补偿;以 及相关系数计算模块,用于对平动补偿后所述目标微小物体进行像素块相关分析,以计算所述目标微小物体的旋转圈数;所述所述基于块匹配的自定义算法使用圆形旋转模板。A motion estimation system based on block matching, wherein the system comprises: an image acquisition module for acquiring a sequence of rotational motion images of a small object; and a translation compensation module for targeting the target by a block matching based block algorithm Small objects are compensated for translation; And a correlation coefficient calculation module, configured to perform pixel block correlation analysis on the target micro object after the translation compensation to calculate a rotation number of the target micro object; and the block matching based custom algorithm uses a circle Rotate the template.
有益效果:本发明提供的一种基于块匹配的运动估计方法、运动估计系统及其应用,针对目标的旋转运动跟踪,使用圆形旋转模板,从而有效的改进了块匹配算法对于目标物体的旋转运动的追踪效率,在保持准确度的同时大幅度提高了块匹配算法的效率。并据此提出了基于上述匹配算法应用于细胞旋转速度估计,对于细胞的动力学特性分析具有非常深远的意义,能够为细胞动力学特性分析提供极大的便利。Advantageous Effects: The present invention provides a motion estimation method based on block matching, a motion estimation system and an application thereof, and uses a circular rotation template for target rotational motion tracking, thereby effectively improving the rotation of the block matching algorithm for the target object. The tracking efficiency of the motion greatly improves the efficiency of the block matching algorithm while maintaining accuracy. Based on this, it is proposed that the above-mentioned matching algorithm is applied to the estimation of cell rotation velocity, which has far-reaching significance for the analysis of cell dynamics characteristics, and can provide great convenience for cell dynamics analysis.
附图说明DRAWINGS
图1为本发明具体实施例的光诱导介电泳平台的系统示意图。1 is a schematic diagram of a system of a light-induced dielectrophoresis platform according to a specific embodiment of the present invention.
图2为本发明具体实施例的基于块匹配的运动估计方法的方法流程图。2 is a flow chart of a method for a block matching based motion estimation method according to an embodiment of the present invention.
图3为本发明具体实施例的运动估计方法中生成圆形旋转模板步骤的示意图。3 is a schematic diagram of a step of generating a circular rotation template in a motion estimation method according to an embodiment of the present invention.
图4为本发明具体实施例的运动估计方法中块匹配步骤的示意图。4 is a schematic diagram of a block matching step in a motion estimation method according to an embodiment of the present invention.
图5为本发明具体实施例的运动估计方法中生成圆形旋转模板步骤的方法流程图。FIG. 5 is a flowchart of a method for generating a circular rotation template in a motion estimation method according to an embodiment of the present invention.
具体实施方式 detailed description
本发明提供一种基于块匹配的运动估计方法、运动估计系统及其应用。为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The invention provides a motion estimation method based on block matching, a motion estimation system and an application thereof. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在本发明具体实施例中,使用处于介电泳力场中进行自转运动的染色细胞图像序列为例进行陈述。应当理解的是,本发明所述基于块匹配的运动估计方法及其估计系统尤其适用于其他图像特点相类似的微小物体进行旋转运动的图像序列分析,也可以应用于包含所述染色细胞图像序列图像特点的其他任何合适的图像序列或者视频流等分析处理中。In a specific embodiment of the invention, a sequence of stained cell images that are rotated in a dielectrophoretic field is used as an example. It should be understood that the block matching based motion estimation method and the estimation system thereof according to the present invention are particularly suitable for image sequence analysis of rotating motions of other small objects having similar image characteristics, and may also be applied to the image sequence including the dyed cells. Image processing is performed in any other suitable image sequence or video stream.
如图1所示,为获取所述细胞图像序列的系统的具体实施例。As shown in Figure 1, a specific embodiment of a system for acquiring the sequence of cell images.
所述系统包括:ODEP芯片100、光学显微镜200、高分辨率投影仪300、可编程的高精度ODEP芯片驱动器(图中未示出)以及计算机500。(亦即一个完整的光诱导介电泳平台)The system includes an ODEP chip 100, an optical microscope 200, a high resolution projector 300, a programmable high precision ODEP chip driver (not shown), and a computer 500. (ie a complete light-induced dielectrophoresis platform)
其中,所述计算机500可以采用现有技术中任何合适的,具有能够满足需要的运算能力的电子运算设备或者平台,例如个人电脑、手提电脑、云端主机等等。The computer 500 can employ any suitable electronic computing device or platform capable of satisfying the required computing power, such as a personal computer, a laptop, a cloud host, and the like.
ODEP是指光诱导介电泳(optically-induced dielectrophoresis)。所述ODEP芯片具体可以由三层结构组成:其中,基底110是涂有一层1微米厚的氢化非晶硅(a-Si:H)涂层11的ITO玻璃,最上层是普通ITO玻璃120,基底与最上层之间利用PDMS或是双面胶封装出一个100微米高的微流体通道130。 ODEP refers to optically induced-electrophoresis (optically-induced dielectrophoresis). The ODEP chip may specifically be composed of a three-layer structure: wherein the substrate 110 is an ITO glass coated with a 1 micron thick hydrogenated amorphous silicon (a-Si:H) coating 11, and the uppermost layer is a common ITO glass 120. A 100 micron high microfluidic channel 130 is encapsulated between the substrate and the uppermost layer using PDMS or double sided tape.
所述计算机通过数据线10与与投影仪连接,投影仪的镜头则与显微镜的入射光路通过转接装置相连(如图1中A1所示)。ODEP芯片置于显微镜载物台上(其中图中200具体为显微镜的物镜)。The computer is connected to the projector through the data line 10, and the lens of the projector is connected to the incident optical path of the microscope through the switching device (as shown by A1 in FIG. 1). The ODEP chip is placed on a microscope stage (wherein 200 is specifically an objective lens of the microscope).
所述系统的使用过程为:The use of the system is:
首先、培养细胞,并将细胞和基质放入ODEP芯片中。所述细胞具体可以为任何类型的细胞,具体依据实际研究的需求而确定,例如肿瘤细胞,免疫活性细胞(ICC)等等。First, the cells are cultured and the cells and matrix are placed in an ODEP chip. The cells may specifically be any type of cells, depending on the needs of the actual research, such as tumor cells, immunocompetent cells (ICC), and the like.
然后、在计算机上生成图案,由投影仪投射到位于显微镜载物台上的ODEP芯片上,形成如图1中所示的图案(即图1中矩形框B1)。通过所述芯片驱动器400为ODEP芯片加上交流电,改变交流电信号的频率和大小,并配合对应的投射图案,使ODEP芯片中的细胞13做旋转运动。Then, a pattern is generated on the computer and projected by the projector onto the ODEP chip on the microscope stage to form a pattern as shown in FIG. 1 (ie, the rectangular frame B1 in FIG. 1). The chip driver 400 adds alternating current to the ODEP chip, changes the frequency and size of the alternating current signal, and cooperates with the corresponding projection pattern to rotate the cells 13 in the ODEP chip.
最后,通过显微镜的高速CCD记录细胞运动的图像序列。Finally, the image sequence of cell movement was recorded by a high speed CCD of the microscope.
如图2所示,为使用本发明所述的基于块匹配的运动估计方法对上述显微镜的高速CCD记录的细胞运动的图像序列进行分析,计算细胞旋转圈数的方法流程图。As shown in FIG. 2, in order to analyze the image sequence of the cell motion recorded by the high-speed CCD of the above microscope using the block matching-based motion estimation method according to the present invention, a flow chart of a method for calculating the number of rotations of the cells is shown.
所述方法包括如下步骤:The method includes the following steps:
S1、获取微小物体的旋转运动图像序列。如上所述,此处获取需要进行分析的图像序列为显微镜的高速CCD记录的细胞运动的图像序列。S1. Acquire a sequence of rotational motion images of a small object. As described above, the image sequence to be analyzed is obtained here as an image sequence of cell motion recorded by a high-speed CCD of the microscope.
S2、通过基于块匹配的自定义块算法对目标微小物体进行平动补偿。其中,所述基于块匹配的自定义算法使用圆形旋转模板。 S2, performing translation compensation on the target small object by a block matching based custom block algorithm. Wherein, the block matching based custom algorithm uses a circular rotation template.
S3、对平动补偿后所述目标微小物体进行像素块相关分析,以计算所述目标微小物体的旋转圈数。S3. Perform pixel block correlation analysis on the target micro object after the translation compensation to calculate the number of rotations of the target micro object.
一般的,可以将细胞在介电泳力场中的自转运动分解为平动及自转两种运动。为了准确的分析细胞的转动情况,首先通过步骤S2进行平动补偿,然后再通过步骤S3对补偿后的图像进行转动分析。In general, the rotation motion of the cells in the dielectrophoretic force field can be decomposed into two motions, translational and rotational. In order to accurately analyze the rotation of the cells, firstly, the translation compensation is performed by the step S2, and then the rotation analysis of the compensated image is performed by the step S3.
较佳的是,为了提高后续处理的效率以及准确度,可以对所述图像进行预处理。所述预处理方法包括:对所述微小物体的旋转运动图像序列通过使用高斯低通滤波器进行降噪以及通过直方图均衡化增强目标微小物体与背景的对比度。Preferably, the image may be pre-processed to improve the efficiency and accuracy of subsequent processing. The pre-processing method includes: performing noise reduction on a rotating motion image sequence of the minute object by using a Gaussian low-pass filter and enhancing contrast of the target minute object and the background by histogram equalization.
关于降噪预处理:一般的,采用上述系统获得的图像序列中,图像帧的噪声主要来源是相机。因为图像到电荷的转换是由相机中的CCD完成的,而CCD会随机产生一些电子,这些电子夹杂在信号中形成了噪声。由于这些噪声是随机分布的,因此可以使用高斯低通滤波器从而有效滤除噪声。Regarding noise reduction preprocessing: In general, in the image sequence obtained by the above system, the main source of noise of the image frame is the camera. Because the image-to-charge conversion is done by the CCD in the camera, the CCD randomly generates some electrons that form noise in the signal. Since these noises are randomly distributed, a Gaussian low-pass filter can be used to effectively filter out noise.
所述高斯滤波器的核心公式具体如下:The core formula of the Gaussian filter is as follows:
Figure PCTCN2015088947-appb-000006
Figure PCTCN2015088947-appb-000006
关于对比度预处理:所述直方图均衡化是图像对比度增强的常用方法之一。具体原理为:把原始图像的灰度直方图从比较集中的某个灰度区间变成在全部灰度范围内的均匀分布。其灰度图像的修正像素值转换函数可通过如下算式表示:Regarding contrast preprocessing: The histogram equalization is one of the commonly used methods of image contrast enhancement. The specific principle is that the gray histogram of the original image is changed from a certain gray interval in the comparison set to a uniform distribution in the entire gray range. The modified pixel value conversion function of the grayscale image can be expressed by the following formula:
f(x)=X0+(XL-1-X0)cdf(x)f(x)=X 0 +(X L-1 -X 0 )cdf(x)
其中,灰度图像{x}包含L个离散的灰度等级,表示为{Xi}。当 然,也可以采用其他合适的方法或者不同方法的组合对所述图像序列中的图像帧进行对比度增强(例如直方图拉伸)或者提高图像质量。Among them, the grayscale image {x} contains L discrete gray levels, expressed as {Xi}. when However, it is also possible to use other suitable methods or a combination of different methods to perform contrast enhancement (eg, histogram stretching) on the image frames in the sequence of images or to improve image quality.
具体的,所述通过基于块匹配的自定义块算法对目标微小物体进行平动补偿的步骤(即S2)具体包括:生成圆形旋转模板;利用所述圆形旋转模板进行块匹配,估计所述目标微小物体的运动轨迹。在常规的块匹配算法中,使用的为矩形模板。由于细胞在图像序列中为旋转运动,使用矩形模板的追踪效率将非常低下。而使用圆形旋转模板进行匹配则能够非常良好的实现对旋转运动的追踪,极大的提高了算法的效率与准确度。Specifically, the step of performing translation compensation on the target micro object by using a block matching-based custom block algorithm (ie, S2) specifically includes: generating a circular rotation template; performing block matching by using the circular rotation template, and estimating the The trajectory of the target tiny object. In the conventional block matching algorithm, a rectangular template is used. Since the cells are rotational in the sequence of images, the tracking efficiency using rectangular templates will be very low. The use of a circular rotation template for matching can very well achieve tracking of the rotation motion, greatly improving the efficiency and accuracy of the algorithm.
在本发明的一个具体实施例中,如图3及图5所示,所述生成圆形旋转模板的步骤具体可以包括:In a specific embodiment of the present invention, as shown in FIG. 3 and FIG. 5, the step of generating a circular rotation template may specifically include:
S100、将目标图像(图3中A图像)转换为灰度等级图像(图3中B图像)。S100. Convert the target image (A image in FIG. 3) into a grayscale image (B image in FIG. 3).
S200、通过自适应阈值算法将所述灰度等级图像转换为二值图像(图3中C图像)。S200. Convert the grayscale image into a binary image (C image in FIG. 3) by an adaptive threshold algorithm.
S300、计算所述圆形旋转模板的圆心及半径,形成所述圆形旋转模板(图3中D图像)。S300. Calculate a center and a radius of the circular rotating template to form the circular rotating template (D image in FIG. 3).
所述圆形旋转模板可旋转一定的角度进行匹配(图3中E图像),亦即由D图像旋转一定角度获得的E图像。由此,使用术语“圆形旋转模板”用以表示这一重新自定义的匹配模板。The circular rotating template can be rotated at a certain angle for matching (E image in FIG. 3), that is, an E image obtained by rotating the D image at a certain angle. Thus, the term "circular rotation template" is used to denote this re-customized matching template.
具体的,所述块匹配步骤则可以包括(如图4所示,为图像序列中的参考图像帧以及当前运算图像帧之间的匹配过程): Specifically, the block matching step may include (as shown in FIG. 4, a matching process between the reference image frame in the image sequence and the current operation image frame):
首先、在搜索窗口依据预设的匹配标准计算获得最佳匹配块作为参考块10。其中,所述匹配标准具体由如下算式表示:First, the best matching block is obtained as the reference block 10 according to the preset matching criterion in the search window. Wherein, the matching criterion is specifically represented by the following formula:
Figure PCTCN2015088947-appb-000007
Figure PCTCN2015088947-appb-000007
其中,(x,y)∈S,(i,j)∈M,S为搜索窗口,M为圆形旋转模板(亦即图像遮罩)。SAD为运算估计中一种主要的运算形式,具体运算方式为本领域技术人员所熟知,在此不作赘述。Where (x, y) ∈ S, (i, j) ∈ M, S is a search window, and M is a circular rotation template (ie, an image mask). The SAD is a main operation form in the operation estimation, and the specific operation manner is well known to those skilled in the art, and will not be described herein.
然后、计算所述参考块10到宏块20当前位置的运动向量30(如图4所示)。“宏块”是视频编码中的一个基本概念。即在视频编码中,一个图像帧通常由若干个宏块构成。其中,对应的搜索窗口中绝对差和最小的运动向量可通过如下算式表示:Then, the motion vector 30 of the reference block 10 to the current position of the macroblock 20 is calculated (as shown in FIG. 4). "Macroblock" is a basic concept in video coding. That is, in video coding, an image frame is usually composed of several macroblocks. Wherein, the absolute difference and the smallest motion vector in the corresponding search window can be expressed by the following formula:
Figure PCTCN2015088947-appb-000008
Figure PCTCN2015088947-appb-000008
基于所述参考块(其为圆形旋转模板)的最小绝对差和计算过程则可以由如下伪代码表示:The minimum absolute difference and calculation process based on the reference block, which is a circular rotation template, can be represented by the following pseudo code:
1.for(x,y)in search window S1.for(x,y)in search window S
2.{for(θ=0to 2π)2.{for(θ=0to 2π)
3.{calculate SAD(x,y,θ)3.{calculate SAD(x,y,θ)
4.incrementθby a stepΔ4.incrementθby a stepΔ
5.}5.}
6.increment x,y by 16.increment x,y by 1
上述“通过基于块匹配的自定义块算法”的步骤使用了圆形旋转模板进行匹配从而跟踪目标细胞的平动,有效的提升了块匹配算法对于旋转运动物体的追踪准确度,同时又能兼顾计算效率,具有良好的 应用前景。The above step of "blocking-based custom block algorithm" uses a circular rotation template to match to track the translation of the target cell, effectively improving the tracking accuracy of the block matching algorithm for rotating objects, while at the same time Computational efficiency, with good Application prospects.
在完成平动补偿后,可以使用像素相关分析进行细胞旋转圈数的估算。具体的,所述像素相关分析可以包括如下步骤:After the translation compensation is completed, pixel correlation analysis can be used to estimate the number of cell revolutions. Specifically, the pixel correlation analysis may include the following steps:
对于两个灰度等级图像块,通过算式1计算两者之间的相关系数。For two grayscale image blocks, the correlation coefficient between the two is calculated by Equation 1.
寻找所述相关系数的局部最大值以追踪峰点。A local maximum of the correlation coefficient is sought to track the peak point.
依据峰点的索引计算获得模板细胞的旋转圈数。The number of rotations of the template cells is obtained based on the index of the peak points.
其中,所述算式1为:
Figure PCTCN2015088947-appb-000009
其中,t(·)为选中的模板块(亦即上述使用的匹配模板),f(·)为顺序图像块,
Figure PCTCN2015088947-appb-000010
Figure PCTCN2015088947-appb-000011
分别是t(·)和f(·)的平均数。
Wherein the formula 1 is:
Figure PCTCN2015088947-appb-000009
Where t(·) is the selected template block (that is, the matching template used above), and f(·) is the sequential image block.
Figure PCTCN2015088947-appb-000010
with
Figure PCTCN2015088947-appb-000011
They are the average of t(·) and f(·), respectively.
本发明还提供了一种细胞运动动力学特性分析方法。所述分析方法应用如上所述的运动估计方法对处于介电泳力场的细胞进行旋转速度分析。亦即通过获得的目标细胞旋转圈数,估算其旋转运动速度从而进行进一步分析。The invention also provides a method for analyzing cell dynamics characteristics. The analysis method applies a motion estimation method as described above to perform rotational velocity analysis on cells in the dielectrophoretic force field. That is, by obtaining the number of rotations of the target cells, the rotational speed of the target is estimated for further analysis.
本发明还进一步提供了一种基于块匹配的运动估计系统。如图x所示,所述系统具体包括:图像获取模块100,用于获取微小物体的旋转运动图像序列;平动补偿模块200,用于通过基于块匹配的自定义块算法对目标微小物体进行平动补偿;以及相关系数计算模块300,用于对平动补偿后所述目标微小物体进行像素块相关分析,以计算所述目标微小物体的旋转圈数。如上所述,所述图像获取模块可以依据实际情况,采用合适的系统实现图像序列的获取,例如图1所示的系统获取细胞的运动图像序列。所述平动补偿模块200以及相关系数计 算模块300则可以在任何合适的电子计算平台上执行,或者作为一个功能模块整合到某系统中作为实现运动估计功能的组件。The present invention still further provides a motion estimation system based on block matching. As shown in FIG. 3, the system specifically includes: an image acquisition module 100, configured to acquire a sequence of rotational motion images of a small object; and a translation compensation module 200 configured to perform target microscopic objects through a block-based custom block algorithm. The translation compensation module 300 is configured to perform pixel block correlation analysis on the target micro object after the translational compensation to calculate the number of rotations of the target micro object. As described above, the image acquisition module can implement image sequence acquisition using a suitable system according to actual conditions, for example, the system shown in FIG. 1 acquires a moving image sequence of cells. The translation compensation module 200 and the correlation coefficient meter The calculation module 300 can be executed on any suitable electronic computing platform or integrated into a system as a component of the motion estimation function.
当然,也可以将需要分析的图像序列直接输入到平动补偿模块200及相关系数计算模块300进行分析计算,而无需通过图像获取模块100。Of course, the image sequence to be analyzed can also be directly input to the translation compensation module 200 and the correlation coefficient calculation module 300 for analysis and calculation without passing through the image acquisition module 100.
可以理解的是,对本领域普通技术人员来说,可以根据本发明的技术方案及本发明构思加以等同替换或改变,而所有这些改变或替换都应属于本发明所附的权利要求的保护范围。 It is to be understood that those skilled in the art can make equivalent substitutions or changes to the present invention and the present invention. All such changes and substitutions are intended to fall within the scope of the appended claims.

Claims (10)

  1. 一种基于块匹配的运动估计方法,其特征在于,所述方法包括如下步骤:获取微小物体的旋转运动图像序列;A motion estimation method based on block matching, characterized in that the method comprises the steps of: acquiring a sequence of rotational motion images of a small object;
    通过基于块匹配的自定义块算法对目标微小物体进行平动补偿;Performing translation compensation of the target small object by a block matching based custom block algorithm;
    对平动补偿后所述目标微小物体进行像素块相关分析,以计算所述目标微小物体的旋转圈数;Performing a pixel block correlation analysis on the target minute object after the translation compensation to calculate the number of rotations of the target minute object;
    所述基于块匹配的自定义算法使用圆形旋转模板。The block matching based custom algorithm uses a circular rotation template.
  2. 根据权利要求1所述的运动估计方法,其特征在于,所述方法还包括:对所述微小物体的旋转运动图像序列通过使用高斯低通滤波器进行降噪The motion estimation method according to claim 1, wherein the method further comprises: performing noise reduction on the rotational motion image sequence of the minute object by using a Gaussian low-pass filter
    以及as well as
    通过直方图均衡化增强目标微小物体与背景的对比度。Enhance the contrast of the target tiny object and the background by histogram equalization.
  3. 根据权利要求1所述的运动估计方法,其特征在于,所述通过基于块匹配的自定义块算法对目标微小物体进行平动补偿的步骤具体包括:The motion estimation method according to claim 1, wherein the step of performing translation compensation on the target small object by using a block matching-based custom block algorithm specifically includes:
    生成圆形旋转模板;Generating a circular rotation template;
    利用所述圆形旋转模板进行块匹配,估计所述目标微小物体的运动轨迹。Block matching is performed using the circular rotation template to estimate a motion trajectory of the target minute object.
  4. 根据权利要求3所述的运动估计方法,其特征在于,所述生成圆形旋转模板的步骤具体包括:The motion estimation method according to claim 3, wherein the step of generating a circular rotation template specifically comprises:
    将目标图像转换为灰度等级图像;Converting the target image to a grayscale image;
    通过自适应阈值算法将所述灰度等级图像转换为二值图像; Converting the grayscale image into a binary image by an adaptive threshold algorithm;
    计算所述圆形旋转模板的圆心及半径,形成所述圆形旋转模板。A center and a radius of the circular rotating template are calculated to form the circular rotating template.
  5. 根据权利要求3所述的运动估计方法,其特征在于,所述块匹配步骤具体包括:The motion estimation method according to claim 3, wherein the block matching step specifically comprises:
    在搜索窗口依据预设的匹配标准计算获得最佳匹配块作为参考块;Calculating the best matching block as a reference block according to a preset matching criterion in the search window;
    计算所述参考块到宏块当前位置的运动向量。A motion vector of the reference block to the current position of the macroblock is calculated.
  6. 根据权利要求5所述的运动估计方法,其特征在于,所述匹配标准具体由如下算式表示:The motion estimation method according to claim 5, wherein the matching criterion is specifically expressed by the following formula:
    Figure PCTCN2015088947-appb-100001
    Figure PCTCN2015088947-appb-100001
    其中,(x,y)∈S,(i,j)∈M,S为搜索窗口,M为圆形旋转模板。Where (x, y) ∈ S, (i, j) ∈ M, S is a search window, and M is a circular rotation template.
  7. 根据权利要求5所述的运动估计方法,其特征在于,与所述运动向量相对应的搜索窗口中绝对差和最小的运动向量具体由如下算式计算:The motion estimation method according to claim 5, wherein the absolute difference and the minimum motion vector in the search window corresponding to the motion vector are specifically calculated by the following equation:
    Figure PCTCN2015088947-appb-100002
    Figure PCTCN2015088947-appb-100002
  8. 根据权利要求1所述的运动估计方法,其特征在于,所述像素相关分析具体包括:The motion estimation method according to claim 1, wherein the pixel correlation analysis specifically comprises:
    通过算式1计算模板与顺序图像块之间的相关系数;Calculating the correlation coefficient between the template and the sequential image block by Equation 1;
    寻找所述相关系数的局部最大值以追踪峰点;Finding a local maximum of the correlation coefficient to track the peak point;
    依据峰点的索引计算获得所述微小物体的旋转圈数;Obtaining a number of rotations of the minute object according to an index of the peak point;
    所述算式1为:The formula 1 is:
    Figure PCTCN2015088947-appb-100003
    Figure PCTCN2015088947-appb-100003
    其中,t(·)为模板,f(·)为顺序图像块,
    Figure PCTCN2015088947-appb-100004
    Figure PCTCN2015088947-appb-100005
    分别是t(·)和f(·)的平均数。
    Where t(·) is a template and f(·) is a sequential image block.
    Figure PCTCN2015088947-appb-100004
    with
    Figure PCTCN2015088947-appb-100005
    They are the average of t(·) and f(·), respectively.
  9. 一种细胞运动动力学特性分析方法,其特征在于,应用如权利要求1-8任一所述的运动估计方法对处于介电泳力场的细胞进行旋转速度分析。A method for analyzing cell dynamics characteristics, characterized in that the motion estimation method according to any one of claims 1-8 is used to perform rotational velocity analysis on cells in a dielectrophoretic force field.
  10. 一种基于块匹配的运动估计系统,其特征在于,所述系统包括:图像获取模块,用于获取微小物体的旋转运动图像序列;A motion estimation system based on block matching, characterized in that: the system comprises: an image acquisition module, configured to acquire a sequence of rotational motion images of a small object;
    平动补偿模块,用于通过基于块匹配的自定义块算法对目标微小物体进行平动补偿;以及相关系数计算模块,用于对平动补偿后所述目标微小物体进行像素块相关分析,以计算所述目标微小物体的旋转圈数;所述基于块匹配的自定义算法使用圆形旋转模板。 a translation compensation module for performing translation compensation on a target small object by a block matching-based custom block algorithm; and a correlation coefficient calculation module for performing pixel block correlation analysis on the target small object after translation compensation, Calculating a number of revolutions of the target micro object; the block matching based custom algorithm uses a circular rotation template.
PCT/CN2015/088947 2015-08-05 2015-09-06 Motion estimation method and motion estimation system based on block matching, and application thereof WO2017020393A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510477048.6A CN105243673B (en) 2015-08-05 2015-08-05 A kind of method for estimating, movement estimation system and its application based on Block- matching
CN2015104770486 2015-08-05

Publications (1)

Publication Number Publication Date
WO2017020393A1 true WO2017020393A1 (en) 2017-02-09

Family

ID=55041305

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088947 WO2017020393A1 (en) 2015-08-05 2015-09-06 Motion estimation method and motion estimation system based on block matching, and application thereof

Country Status (2)

Country Link
CN (1) CN105243673B (en)
WO (1) WO2017020393A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105092679B (en) * 2015-08-14 2018-07-03 深圳大学 A kind of unicellular control method based on light-induction dielectrophoresis technology
CN106529465B (en) * 2016-11-07 2019-10-11 燕山大学 Causality recognition methods between a kind of pedestrian based on momentum kinetic model
CN108898615B (en) * 2018-06-15 2021-09-24 阿依瓦(北京)技术有限公司 Block matching method for high frequency information image
CN115588121B (en) * 2022-11-03 2023-07-04 腾晖科技建筑智能(深圳)有限公司 Tower crane object type detection method and system based on sensing data and image sequence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232509A1 (en) * 2006-03-31 2010-09-16 Sony Deutschland Gmbh Method and apparatus to improve the convergence speed of a recursive motion estimator
CN103024247A (en) * 2011-09-28 2013-04-03 中国航天科工集团第二研究院二〇七所 Electronic image stabilization method based on improved block matching
CN103237156A (en) * 2013-04-02 2013-08-07 哈尔滨工业大学 Modified block matching algorithm applied to electronic image stabilization
CN103841296A (en) * 2013-12-24 2014-06-04 哈尔滨工业大学 Real-time electronic image stabilizing method with wide-range rotation and horizontal movement estimating function

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323368C (en) * 2004-06-25 2007-06-27 东软飞利浦医疗设备系统有限责任公司 Recursion denoising method based on motion detecting image
CN101281650B (en) * 2008-05-05 2010-05-12 北京航空航天大学 Quick global motion estimating method for steadying video
CN101272450B (en) * 2008-05-13 2010-11-10 浙江大学 Global motion estimation exterior point removing and kinematic parameter thinning method in Sprite code
CN103065326B (en) * 2012-12-26 2015-06-24 西安理工大学 Target detection method based on time-space multiscale motion attention analysis
CN103514608B (en) * 2013-06-24 2016-12-28 西安理工大学 Moving object detection based on movement attention fusion model and extracting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232509A1 (en) * 2006-03-31 2010-09-16 Sony Deutschland Gmbh Method and apparatus to improve the convergence speed of a recursive motion estimator
CN103024247A (en) * 2011-09-28 2013-04-03 中国航天科工集团第二研究院二〇七所 Electronic image stabilization method based on improved block matching
CN103237156A (en) * 2013-04-02 2013-08-07 哈尔滨工业大学 Modified block matching algorithm applied to electronic image stabilization
CN103841296A (en) * 2013-12-24 2014-06-04 哈尔滨工业大学 Real-time electronic image stabilizing method with wide-range rotation and horizontal movement estimating function

Also Published As

Publication number Publication date
CN105243673A (en) 2016-01-13
CN105243673B (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN103325112B (en) Moving target method for quick in dynamic scene
WO2017020393A1 (en) Motion estimation method and motion estimation system based on block matching, and application thereof
Chen et al. Using FTOC to track shuttlecock for the badminton robot
Chen et al. Multiframe-to-multiframe network for video denoising
TWI394097B (en) Detecting method and system for moving object
CN113643330B (en) Target tracking method and system based on dynamic semantic features
Roy et al. A comprehensive survey on computer vision based approaches for moving object detection
Angelo A novel approach on object detection and tracking using adaptive background subtraction method
CN108320301B (en) Target tracking optimization method based on tracking learning detection
Guo et al. DeblurSLAM: A novel visual SLAM system robust in blurring scene
Cheng et al. Feature-based optical flow computation
CN114964206A (en) Monocular vision odometer target pose detection method
Walha et al. Moving object detection system in aerial video surveillance
Gu et al. Drms: Dim-light robust monocular simultaneous localization and mapping
CN109785282B (en) Multi-focus image fusion method
CN110189356B (en) Fusion Lasso target tracking method under reverse low-rank sparse constraint
Yin et al. Real-time head pose estimation for driver assistance system using low-cost on-board computer
CN112465863A (en) Unmanned aerial vehicle video target tracking method based on deep learning
Peng et al. Extended target tracking using projection curves and matching pel count
Jain et al. Discriminability limits in spatio-temporal stereo block matching
CN104751448A (en) Online video tracking method based on PCA (Principal Component Analysis) and noise separation
Chen et al. Edge-based meta-ICP algorithm for reliable camera pose estimation
Zhang et al. Motion compensation based fast moving object detection in dynamic background
ÇİMTAY Refining the Transmission Map and Air Light in the Atmospheric Light Scattering Model for An Efficient Single Image Dehazing Method
Balure Guidance-based improved depth upsampling with better initial estimate

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15900167

Country of ref document: EP

Kind code of ref document: A1

DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/07/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15900167

Country of ref document: EP

Kind code of ref document: A1