CN107563371A - The method of News Search area-of-interest based on line laser striation - Google Patents
The method of News Search area-of-interest based on line laser striation Download PDFInfo
- Publication number
- CN107563371A CN107563371A CN201710573668.9A CN201710573668A CN107563371A CN 107563371 A CN107563371 A CN 107563371A CN 201710573668 A CN201710573668 A CN 201710573668A CN 107563371 A CN107563371 A CN 107563371A
- Authority
- CN
- China
- Prior art keywords
- mrow
- striation
- image
- msub
- interest
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000000605 extraction Methods 0.000 claims abstract description 18
- 238000005259 measurement Methods 0.000 claims abstract description 8
- 230000003287 optical effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 239000002131 composite material Substances 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000012806 monitoring device Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 235000005811 Viola adunca Nutrition 0.000 description 1
- 240000009038 Viola odorata Species 0.000 description 1
- 235000013487 Viola odorata Nutrition 0.000 description 1
- 235000002254 Viola papilionacea Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000003064 k means clustering Methods 0.000 description 1
- 238000013186 photoplethysmography Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本发明属于计算机视觉测量技术领域,涉及一种基于线激光光条的动态搜索感兴趣区域的方法。The invention belongs to the technical field of computer vision measurement and relates to a method for dynamically searching interest regions based on line laser light bars.
背景技术Background technique
通常一个计算机视觉测量系统中图像特征提取可分解为三个部分:目标检测,搜索系统感兴趣区域(ROI);图像分割,从背景中分离目标;目标特征提取。目标检测作为图像特征提取的前提,其搜索质量直接影响后续图像处理。针对大量时间次序图像中的连续运动目标,快速准确ROI是提高图像特征提取质量和效率的关键。Usually, image feature extraction in a computer vision measurement system can be decomposed into three parts: target detection, searching for the region of interest (ROI) of the system; image segmentation, separating the target from the background; target feature extraction. Object detection is the premise of image feature extraction, and its search quality directly affects subsequent image processing. For continuous moving objects in a large number of time-sequential images, fast and accurate ROI is the key to improving the quality and efficiency of image feature extraction.
现有的目标检测方法主要有背景分割法、相邻帧间差分法、光流法和小波法等。背景分割法通过建立背景模型,用图像序列的特征参数与背景模型比较,分割出背景和目标,从而得到运动目标,但由于没有高性能的规则定义目标,此方法仅适用于运动场景固定且比较简单的场合。相邻帧间差分法是将相邻的两帧图像进行求差运算,通过差的绝对值来判断是否有运动,此方法适用于存在多个运动目标的图像,但是易受噪声干扰,鲁棒性较差。光流法通过检测图像像素点的灰度值随时间变化情况来推断物体的移动速度及方向,不适用于低帧率摄像机或高速运动物体。小波法是对图像进行小波变换,然后采用带通滤波等方法处理小波图像,得到目标区域,其优势是可以检测复杂场景下的微弱目标,但是效率和可靠性较差。Feng L,Po L M,X u X,et al.Dynamic ROI based on K-means forremote photoplethy smography[C].ICASSP,2015:1310-1314中提出一种基于K-means聚类算法的动态ROI方法,首先对图像特征区域进行固定ROI并分块,计算分块图像的互相关系数和信噪比等两个特征参数,然后基于这两个特征参数采用K-means算法聚类,最后根据聚类结果每两秒一次动态ROI,测量实验结果表明,该动态ROI方法可以有效提取目标,改善目标信号质量。赵志远等人发明专利号为CN201710156308.9的“一种车流信息监测设备的设置方法及系统”基于各个初始感兴趣区域之间的邻近关系进行逐次合并,得到新的感兴趣单元,计算车辆信息监测所需监测设备的数量,该方法通过降低感兴趣区域的精细程度,以减少监测设备的需求量,使得对感兴趣区域之间的车辆信息覆盖的能力最大。The existing object detection methods mainly include background segmentation method, difference method between adjacent frames, optical flow method and wavelet method. The background segmentation method establishes a background model, and compares the feature parameters of the image sequence with the background model to segment the background and the target, thereby obtaining the moving target. However, since there is no high-performance rule to define the target, this method is only suitable for fixed and comparative moving scenes. simple occasions. Adjacent frame difference method is to calculate the difference between two adjacent frames of images, and judge whether there is motion by the absolute value of the difference. This method is suitable for images with multiple moving objects, but it is susceptible to noise interference and is robust. Sex is poor. The optical flow method infers the moving speed and direction of the object by detecting the change of the gray value of the image pixel over time, which is not suitable for low frame rate cameras or high-speed moving objects. The wavelet method is to perform wavelet transformation on the image, and then use band-pass filtering and other methods to process the wavelet image to obtain the target area. Its advantage is that it can detect weak targets in complex scenes, but its efficiency and reliability are poor. Feng L, Po L M, X u X, et al. Dynamic ROI based on K-means for remote photoplethy smography [C]. ICASSP, 2015: 1310-1314 proposed a dynamic ROI method based on K-means clustering algorithm, First, fix the ROI and block the feature area of the image, calculate the two characteristic parameters such as the cross-correlation coefficient and signal-to-noise ratio of the block image, and then use the K-means algorithm to cluster based on these two characteristic parameters, and finally according to the clustering results A dynamic ROI is performed every two seconds. Measurement experiments show that the dynamic ROI method can effectively extract targets and improve target signal quality. The invention patent number of Zhao Zhiyuan et al. is CN201710156308.9 "A method and system for setting up vehicle flow information monitoring equipment". Based on the adjacent relationship between each initial interest area, a new unit of interest is obtained, and the vehicle information monitoring is calculated. The number of monitoring devices required, this method reduces the demand for monitoring devices by reducing the fineness of the region of interest, and maximizes the ability to cover vehicle information between regions of interest.
发明内容Contents of the invention
本发明要解决的技术难题是针对噪声多且复杂、目标区域小的大量线激光光条图像,传统感兴趣区域提取方法存在提取效率低、容错率低、鲁棒性差等问题,发明了一种基于线激光光条的动态搜索感兴趣区域的方法。该方法针对拍摄的一组竖向线激光光条进行横向运动的时间序列图像,首先基于多边形ROI方法提取被测物体区域,基于矩形ROI方法提取初始图像的光条,然后对图像均匀分组确保同组图像光条帧间速度恒定,对混合差分图像横向边缘卷积,快速计算各组光条运动速度,最后在被测物体区域内基于光条运动参数预测光条位置,进行动态感兴趣区域提取。该方法通过对序列图像分组,可以适应线激光变速扫描的情况,提高了光条区域提取的正确性和鲁棒性;采用快速分析横向边缘卷积后的差分图像,极大地提高了光条运动参数的计算效率和可靠性,从而确保了方法的效率。The technical problem to be solved by the present invention is to solve the problems of low extraction efficiency, low error tolerance rate and poor robustness in the traditional region of interest extraction method for a large number of line laser light strip images with high noise and complexity and small target area. A method for dynamically searching regions of interest based on line laser light stripes. This method is aimed at the time series images of a group of vertical laser light strips moving laterally. First, the area of the measured object is extracted based on the polygonal ROI method, and the light strips of the initial image are extracted based on the rectangular ROI method, and then the images are evenly grouped to ensure the same The frame-to-frame speed of the light strips in the group images is constant, and the horizontal edge convolution of the mixed difference image is quickly calculated to calculate the movement speed of each group of light strips. Finally, the position of the light strips is predicted based on the movement parameters of the light strips in the measured object area, and the dynamic region of interest is calculated. extract. By grouping sequence images, this method can adapt to the situation of linear laser variable-speed scanning, and improves the accuracy and robustness of light strip area extraction; by quickly analyzing the differential image after lateral edge convolution, it greatly improves the light strip motion. The calculation efficiency and reliability of the parameters, thus ensuring the efficiency of the method.
本发明采用的技术方案是一种基于线激光光条的动态搜索感兴趣区域的方法,其特征是,该方法采用分组快速计算光条运动参数的方法预测光条的感兴趣区域;首先拍摄一组时间序列激光光条扫描图像,使用多边形提取被测物体的感兴趣区域,使用矩形提取首个光条的感兴趣区域;然后基于激光器转角对所有图像分组,对混合差分图像采用横向边缘检测,快速计算每组图像中光条的帧间像素速度;最后根据帧间像素速度动态提取图像中光条感兴趣区域;方法具体步骤如下:The technical scheme adopted in the present invention is a method for dynamically searching for an area of interest based on a line laser light strip, which is characterized in that the method uses a grouping method to quickly calculate the movement parameters of the light strip to predict the interest area of the light strip; Group time-series laser light strip scanning images, use polygons to extract the region of interest of the measured object, and use rectangles to extract the region of interest of the first light strip; then group all images based on the laser rotation angle, and use horizontal edge detection for mixed difference images, Quickly calculate the inter-frame pixel velocity of the light stripe in each group of images; finally, dynamically extract the region of interest of the light stripe in the image according to the inter-frame pixel velocity; the specific steps of the method are as follows:
第一步全局多边形ROI及光条的初始ROIThe first step is the global polygon ROI and the initial ROI of the light bar
搭建基于线激光光条的视觉测量系统,安装在转台上的线激光器2通过旋转运动横向扫描被测物体1,将线激光条竖向投射到被测物体1上,激光器随着转台以ω的角速度转动,被测物体上的激光光条从首个光条3的位置移动到最后一个光条4的位置,光条运动速度为v,相应过程中激光器的转角为θ,并由摄像机拍摄一组时间序列图像;Build a visual measurement system based on the line laser light bar. The line laser 2 installed on the turntable scans the object 1 horizontally through the rotating motion, and projects the line laser bar onto the object 1 vertically. The laser follows the turntable at ω Angular speed rotation, the laser light bar on the measured object moves from the position of the first light bar 3 to the last position of the light bar 4, the moving speed of the light bar is v, the rotation angle of the laser in the corresponding process is θ, and a camera takes a picture group time series images;
对于该时间序列图像,图像的数量为N,每张图像大小为U×V,记该组图像中第i张图像为G(i),i=1,2,…,N;对首尾两张图像做算术平均,按公式(1)计算,获得包含背景和首尾光条的图像Gr;For this time series image, the number of images is N, and the size of each image is U×V, and the i-th image in this group of images is recorded as G(i), i=1,2,...,N; for the first and last two The arithmetic average of the images is calculated according to the formula (1) to obtain the image G r including the background and the first and last light bars;
确定Gr中被测物体的边缘,使用多边形粗提取该边缘,获得多边形感兴趣区域,记为ROI_poly;粗提取Gr中被测物体上的首、尾光条的矩形边界,忽略矩形在图像中的竖向长度和横坐标,得到两个矩形左上角点的横向坐标u1和u2、矩形在图像中的横向长度width1和width2;根据公式(2)计算光条的初始ROI区域RECV,即第一个光条的左边界为u1,宽度为w=max(width1,width2);Determine the edge of the measured object in G r , use the polygon to roughly extract the edge, obtain the polygonal region of interest, and record it as ROI_poly; roughly extract the rectangular boundary of the first and last light strips on the measured object in G r , and ignore the rectangle in the image The vertical length and abscissa of the two rectangles, the horizontal coordinates u 1 and u 2 of the upper left corner points of the two rectangles, the horizontal length width 1 and width 2 of the rectangle in the image are obtained; the initial ROI area of the light bar is calculated according to formula (2) RECV, that is, the left boundary of the first light strip is u 1 , and the width is w=max(width 1 ,width 2 );
RECV={u1,max(width1,width2)} (2)RECV={u 1 ,max(width 1 ,width 2 )} (2)
第二步基于分组图像计算线激光光条运动参数The second step is to calculate the motion parameters of the line laser light bar based on the grouped images
假设小转角范围内光条匀速运动,将N幅时间序列图像平均分为θ组,第j组中包括图像为G(j,1),G(j,2),…,G(j,nj),j=1,2,…,θ。其中,nj为第j组中的图像数量且θ°为线激光器总转角且θ取正整数;Assuming that the light bar moves at a uniform speed within a small rotation angle, the N time series images are divided into θ groups on average, and the images included in the jth group are G(j,1),G(j,2),...,G(j,n j ), j=1,2,...,θ. where n j is the number of images in group j and θ° is the total rotation angle of the line laser and θ takes a positive integer;
对于第j组图像,根据公式(3)对第1幅和第nj幅图像求差,得到只包含两个光条的混合差分图像Gj;For the jth group of images, according to the formula (3), calculate the difference between the 1st and njth images, and obtain the mixed difference image G j containing only two light bars;
Gj=abs(G(j,nj)-G(j,1)) (3)G j =abs(G(j,n j )-G(j,1)) (3)
根据公式(4)对图像Gj卷积,计算Gj的横向梯度图像Gjx;Convolute the image G j according to formula (4), and calculate the transverse gradient image G jx of G j ;
获取Gjx中第0.4V、0.45V、0.5V、0.55V、0.6V行的像素灰度值,记为Gjx(k,l),其中,l=1,2,…,U,k∈K,K={0.4V,0.45V,0.5V,0.55V,0.6V};k取K中的五个不同值,以l为横坐标、Gjx(k,l)为纵坐标绘制五个直方图,根据k的取值,记为第k行直方图;查找第k行直方图中两个波峰簇对应的平均横坐标和根据公式(5)计算第j组图像光条相邻帧间的像素速度vj;Obtain the pixel gray value of rows 0.4V, 0.45V, 0.5V, 0.55V, and 0.6V in G jx , denoted as G jx (k,l), where l=1,2,...,U, k∈ K, K={0.4V, 0.45V, 0.5V, 0.55V, 0.6V}; k takes five different values in K, draws five with l as the abscissa and G jx (k,l) as the ordinate The histogram, according to the value of k, is recorded as the k-th row histogram; find the average abscissa corresponding to the two peak clusters in the k-th row histogram with According to formula (5), calculate the pixel velocity v j between the adjacent frames of the jth group of image light bars;
第三步光条动态ROIThe third step is the dynamic ROI of the light bar
根据第一步的结果,已知第一组中第一幅图像光条的ROI左边界为u11=u1,宽度w,右边界u11+w;根据公式(6)计算第j组中第p幅光条的ROI左边界ujp,则右边界为ujp+w;According to the results of the first step, it is known that the left boundary of the ROI of the light strip in the first image in the first group is u 11 =u 1 , width w, and the right boundary u 11 +w; The left boundary u jp of the ROI of the pth light strip, then the right boundary is u jp +w;
根据ROI_poly提取第j组中第p幅图像的多边形感兴趣区域,令其他区域的所有像素的灰度值为0;计算光条图像动态ROI参数,感兴趣区域选为矩形,四个角点为(ujp,0)、(ujp+w,0)、(ujp+w,V)和(ujp,V);以这四个角点构成的矩形作为第j组第p幅图像的感兴趣区域。由此可以得到所有N幅图像中光条的感兴趣区域。According to ROI_poly, extract the polygonal region of interest of the p-th image in the j-th group, and make the gray value of all pixels in other regions 0; calculate the dynamic ROI parameters of the light strip image, select the region of interest as a rectangle, and the four corners are (u jp ,0), (u jp +w,0), (u jp +w,V) and (u jp ,V); the rectangle formed by these four corner points is used as the p-th image of the j-th group area of interest. In this way, the regions of interest of the light bars in all N images can be obtained.
本发明的有益效果是该方法通过对序列图像分组,可以准确界定线激光光条的匀速运动范围,适应光条变速运动的情况,提高了光条提取方法的容错率和可靠性;在传统差分法思想的基础上,增加运动预测信息,采用快速分析横向边缘卷积后的差分图像,提高了光条运动参数的计算效率和可靠性,提高了感兴趣区域提取的效率,提高了光条区域提取的正确性和鲁棒性。The beneficial effect of the present invention is that the method can accurately define the uniform motion range of the line laser light stripe by grouping the sequence images, adapt to the situation of the light stripe moving at a variable speed, and improve the error tolerance and reliability of the light stripe extraction method; Based on the idea of the method, the motion prediction information is added, and the difference image after the lateral edge convolution is quickly analyzed, which improves the calculation efficiency and reliability of the motion parameters of the light strip, improves the efficiency of the region of interest extraction, and improves the area of the light strip. Extraction correctness and robustness.
附图说明Description of drawings
图1为基于竖向线激光光条的视觉测量系统示意图。图中,1是被测物体,2是线激光器,3是首个光条,4是最后一个光条,ω是激光器转动角速度,θ是激光器转角,v是被测物体上光条的运动速度。Figure 1 is a schematic diagram of a visual measurement system based on a vertical line laser light strip. In the figure, 1 is the measured object, 2 is the line laser, 3 is the first light bar, 4 is the last light bar, ω is the rotational angular velocity of the laser, θ is the laser rotational angle, and v is the moving speed of the light bar on the measured object .
图2为基于线激光光条的动态ROI方法的流程图。Fig. 2 is a flowchart of a dynamic ROI method based on line laser light strips.
具体实施方式detailed description
以下结合技术方案和附图详细叙述本发明的具体实施方式。The specific embodiments of the present invention will be described in detail below in conjunction with the technical solutions and accompanying drawings.
本实施例中,被测物体1表面为2.5m×3.0m的t800复合材料板,将波长460nm蓝紫线激光器安装在转台上,激光竖向投射到被测物体1上,激光器通过旋转运动横向进行扫描。激光器2随着转台以ω的角速度转动,被测物体1上的激光光条从首个光条3的位置移动到最后一个光条4的位置,光条运动速度为v,相应过程中激光器的转角为θ,并由摄像机拍摄一组时间序列图像,如图1所示。In this embodiment, the surface of the measured object 1 is a 2.5m×3.0m t800 composite material plate, and a blue-violet laser with a wavelength of 460nm is installed on the turntable, and the laser is vertically projected onto the measured object 1, and the laser rotates horizontally to scan. The laser 2 rotates with the turntable at an angular velocity of ω, and the laser light bar on the measured object 1 moves from the position of the first light bar 3 to the last position of the light bar 4. The moving speed of the light bar is v, and the laser light bar in the corresponding process The rotation angle is θ, and a set of time-series images are taken by the camera, as shown in Figure 1.
本发明采用配置广角镜头的摄像机拍摄光条图像。摄像机型号为view works VC-12MC-M/C 65摄像机,分辨率:4096×3072,图像传感器:CMOS,帧率:全画幅,最高64.3fps,重量:420g。广角镜头型号为EF 16-35mm f/2.8L II USM,参数如下所示,镜头焦距:f=16-35mm,APS焦距:25.5-52.5,光圈:F2.8,镜头尺寸:82×106。拍摄条件如下:图片像素为4096×3072,镜头焦距为25mm,物距为750mm,视场约为850mm×450mm。The invention adopts a camera equipped with a wide-angle lens to shoot light strip images. The camera model is view works VC-12MC-M/C 65 camera, resolution: 4096×3072, image sensor: CMOS, frame rate: full frame, maximum 64.3fps, weight: 420g. The wide-angle lens model is EF 16-35mm f/2.8L II USM, the parameters are as follows, lens focal length: f=16-35mm, APS focal length: 25.5-52.5, aperture: F2.8, lens size: 82×106. The shooting conditions are as follows: the picture pixel is 4096×3072, the focal length of the lens is 25mm, the object distance is 750mm, and the field of view is about 850mm×450mm.
附图2为基于线激光光条的动态ROI方法的流程图。根据该操作流程,整个目标检测过程分为全局多边形ROI及光条的初始ROI、基于分组图像计算线激光光条运动参数、光条动态ROI等三个步骤。Accompanying drawing 2 is the flowchart of the dynamic ROI method based on the line laser light strip. According to the operation process, the entire target detection process is divided into three steps: the global polygon ROI and the initial ROI of the light strip, the calculation of the motion parameters of the line laser light strip based on the grouped image, and the dynamic ROI of the light strip.
第一步全局多边形ROI及光条的初始ROIThe first step is the global polygon ROI and the initial ROI of the light bar
首先搭建基于线激光光条的视觉测量系统,如图1所示,由摄像机拍摄一组时间序列图像。其中,所有图像的背景不变,每张图像中的激光光条越过被测物的上下边界,任意相邻两幅图像的拍摄时间差为恒定值。First, build a visual measurement system based on line laser light strips, as shown in Figure 1, a set of time-series images are captured by a camera. Among them, the background of all images remains unchanged, the laser light bar in each image crosses the upper and lower boundaries of the measured object, and the shooting time difference between any two adjacent images is a constant value.
对于上述拍摄得到的一组复合材料激光光条图像,图像数量为200,每张图像大小4096×3072。记该组图像中第i张图像为G(i),其中i=1,2,…,200。根据公式(1)计算包含背景和首尾光条的图像Gr。使用多边形ROI手动提取Gr中复材板的被测区域,保存为ROI_poly。使用矩形ROI手动提取Gr中首尾两个光条的矩形区域,得到光条的左上角点u11=u1,得到两个矩形区域在图像的横向长度width1和width2,取较大值作为动态ROI的横向宽度w=max(width1,width2)。For a set of composite material laser light strip images captured above, the number of images is 200, and the size of each image is 4096×3072. Denote the i-th image in this group of images as G(i), where i=1, 2, . . . , 200. The image G r including the background and the first and last light bars is calculated according to the formula (1). Use the polygonal ROI to manually extract the measured area of the composite plate in G r and save it as ROI_poly. Use the rectangular ROI to manually extract the rectangular area of the first and last two light bars in G r , get the upper left corner point u 11 =u 1 of the light bar, and get the horizontal length width 1 and width 2 of the two rectangular areas in the image, whichever is larger As the horizontal width w=max(width 1 , width 2 ) of the dynamic ROI.
第二步基于分组图像计算线激光光条运动参数The second step is to calculate the motion parameters of the line laser light bar based on the grouped images
已知在拍摄上述200张时间序列图像时,线激光器转角为20°。将这些图像分为20组,记第j组中包括图像为G(j,1),G(j,2),…,G(j,10),j=1,2,…,20。It is known that when the above 200 time series images are taken, the line laser has a rotation angle of 20°. These images are divided into 20 groups, and the jth group includes images as G(j,1), G(j,2),...,G(j,10), j=1,2,...,20.
对于第j组图像,根据公式(3)和(4)计算组内首尾差分图像的横向梯度图像Gjx。以Gjx第1536行中4096个像素的灰度值为纵坐标、每个像素在Gjx中横向坐标l的数值作为横坐标(l=1,2,…,4096),绘制直方图。其中,如图1所示,直方图包括四个波峰,代表第j组首尾两个光条在第1536行左右两边界的位置,以距离接近的两个波峰作为波峰簇,计算各波峰簇中两波峰横坐标的平均值和根据上述方法绘制第k行的直方图,查找第k行直方图中两个波峰簇对应的平均横坐标和其中k∈K,K={1229,1382,1536,1690,1843}。根据公式(5)计算第j组图像光条相邻帧间的像素速度vj。根据上述方法计算得到v1,v2,…,v10。For the jth group of images, calculate the transverse gradient image G jx of the head-to-tail difference images in the group according to formulas (3) and (4). Take the gray value of 4096 pixels in the 1536th line of G jx as the vertical coordinate, and the horizontal coordinate l value of each pixel in G jx as the horizontal coordinate (l=1,2,...,4096), draw a histogram. Among them, as shown in Figure 1, the histogram includes four peaks, which represent the positions of the two light bars at the beginning and end of the j-th group on the left and right borders of line 1536. The two peaks with the closest distance are used as the peak clusters, and the peak clusters in each peak cluster are calculated The average value of the abscissa of the two peaks with Draw the histogram of row k according to the above method, and find the average abscissa corresponding to the two peak clusters in the histogram of row k with where k∈K, K={1229, 1382, 1536, 1690, 1843}. Calculate the pixel velocity v j between adjacent frames of the jth group of image light bars according to the formula (5). Calculate v 1 , v 2 , . . . , v 10 according to the above method.
第三步光条动态ROIThe third step is the dynamic ROI of the light bar
已知第一组中第一幅图像光条的ROI左边界为u11=u1,宽度为w。根据公式(6)计算第j组中第p幅光条的ROI左边界为ujp,则右边界为ujp+w。It is known that the left border of the ROI of the light strip of the first image in the first group is u 11 =u 1 , and the width is w. According to the formula (6), the left boundary of the ROI of the p-th light strip in the j-th group is u jp , and the right boundary is u jp +w.
根据ROI_poly提取第j组中第p幅图像的多边形感兴趣区域,令其他区域的所有像素的灰度值为0。计算光条图像动态ROI参数,感兴趣区域选为矩形,四个角点为(ujp,0)、(ujp+w,0)、(ujp+w,3072)和(ujp,3072);以这四个角点构成的矩形作为第j组第p幅图像的感兴趣区域。由此可以得到所有图像中光条的感兴趣区域。Extract the polygonal ROI of the p-th image in the j-th group according to ROI_poly, and make the gray value of all pixels in other areas be 0. Calculate the dynamic ROI parameters of the light strip image, the region of interest is selected as a rectangle, and the four corner points are (u jp ,0), (u jp +w,0), (u jp +w,3072) and (u jp ,3072 ); The rectangle formed by these four corner points is used as the region of interest of the pth image of the jth group. From this, the regions of interest of the light bars in all images can be obtained.
本发明针对噪声多且复杂、目标区域小的大量线激光光条图像,传统感兴趣区域提取方法无法快速、高正确率地找出目标所在区域。基于拍摄竖向线激光光条进行横向扫描被测物体的一组图像,采用多边形ROI和矩形ROI方法提取被测物体区域和初始图像的光条,然后对图像分组并快速计算各组光条运动速度,最后在被测物体区域内基于光条运动参数预测光条位置,进行动态感兴趣区域提取。本发明可以适应线激光变速扫描的情况,提高了光条运动参数的计算效率,具有高容错率、高效率、高可靠性等特点。The present invention is aimed at a large number of line laser light strip images with high noise and complexity and small target areas, and the traditional region of interest extraction method cannot find the target area quickly and with high accuracy. Based on shooting a group of images of the vertical line laser light strips and scanning the measured object horizontally, the polygon ROI and rectangular ROI methods are used to extract the light strips of the measured object area and the initial image, and then group the images and quickly calculate each group of light strips Motion speed, and finally predict the position of the light strip based on the movement parameters of the light strip in the area of the measured object, and extract the dynamic region of interest. The invention can adapt to the situation of variable-speed scanning of line laser, improves the calculation efficiency of light strip motion parameters, and has the characteristics of high fault tolerance rate, high efficiency, high reliability and the like.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710573668.9A CN107563371B (en) | 2017-07-17 | 2017-07-17 | Method for dynamically searching interesting region based on line laser light strip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710573668.9A CN107563371B (en) | 2017-07-17 | 2017-07-17 | Method for dynamically searching interesting region based on line laser light strip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107563371A true CN107563371A (en) | 2018-01-09 |
CN107563371B CN107563371B (en) | 2020-04-07 |
Family
ID=60973611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710573668.9A Expired - Fee Related CN107563371B (en) | 2017-07-17 | 2017-07-17 | Method for dynamically searching interesting region based on line laser light strip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107563371B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108550160A (en) * | 2018-04-03 | 2018-09-18 | 大连理工大学 | Non-homogeneous striation characteristic area extracting method based on light intensity template |
CN110044292A (en) * | 2018-01-16 | 2019-07-23 | 郑州宇通客车股份有限公司 | A kind of method for three-dimensional measurement and system based on line-structured light |
CN113487749A (en) * | 2021-07-22 | 2021-10-08 | 梅卡曼德(北京)机器人科技有限公司 | 3D point cloud processing method and device based on dynamic picture |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130129205A1 (en) * | 2010-11-24 | 2013-05-23 | Jue Wang | Methods and Apparatus for Dynamic Color Flow Modeling |
CN103618900A (en) * | 2013-11-21 | 2014-03-05 | 北京工业大学 | Video region-of-interest extraction method based on encoding information |
CN104930985A (en) * | 2015-06-16 | 2015-09-23 | 大连理工大学 | Binocular vision three-dimensional morphology measurement method based on time and space constraints |
US20170191932A1 (en) * | 2016-01-06 | 2017-07-06 | Arizona Board Of Regents On Behalf Of Arizona State University | Sub-doppler intermodulated laser-induced-fluorescence spectrometer |
-
2017
- 2017-07-17 CN CN201710573668.9A patent/CN107563371B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130129205A1 (en) * | 2010-11-24 | 2013-05-23 | Jue Wang | Methods and Apparatus for Dynamic Color Flow Modeling |
CN103618900A (en) * | 2013-11-21 | 2014-03-05 | 北京工业大学 | Video region-of-interest extraction method based on encoding information |
CN104930985A (en) * | 2015-06-16 | 2015-09-23 | 大连理工大学 | Binocular vision three-dimensional morphology measurement method based on time and space constraints |
US20170191932A1 (en) * | 2016-01-06 | 2017-07-06 | Arizona Board Of Regents On Behalf Of Arizona State University | Sub-doppler intermodulated laser-induced-fluorescence spectrometer |
Non-Patent Citations (3)
Title |
---|
CHRISTOPHER WARREN等: "Comparison of FRF measurements and mode shapes determined using optically image based, laser, and accelerometer measurements", 《MECHANICAL SYSTEMS AND SIGNAL PROCESSING》 * |
YANG LIU等: "An improved image acquisition method for measuring hot forgings using machine vision", 《SENSORS AND ACTUATORS A: PHYSICAL》 * |
江勇等: "基于LabVIEW的激光加工路径识别算法", 《电子测量技术》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110044292A (en) * | 2018-01-16 | 2019-07-23 | 郑州宇通客车股份有限公司 | A kind of method for three-dimensional measurement and system based on line-structured light |
CN108550160A (en) * | 2018-04-03 | 2018-09-18 | 大连理工大学 | Non-homogeneous striation characteristic area extracting method based on light intensity template |
CN108550160B (en) * | 2018-04-03 | 2020-04-07 | 大连理工大学 | Non-uniform light bar characteristic region extraction method based on light intensity template |
CN113487749A (en) * | 2021-07-22 | 2021-10-08 | 梅卡曼德(北京)机器人科技有限公司 | 3D point cloud processing method and device based on dynamic picture |
Also Published As
Publication number | Publication date |
---|---|
CN107563371B (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022252698A1 (en) | Defect detection method and apparatus based on structured light field video stream | |
TWI448977B (en) | Method and apparatus for video analytics based object counting | |
CN107133969B (en) | A kind of mobile platform moving target detecting method based on background back projection | |
CN107688764B (en) | Method and device for detecting vehicle violation | |
CN102254149B (en) | Method for detecting and identifying raindrops in video image | |
CN104809433B (en) | A kind of zebra line detecting method based on maximum stable region and stochastical sampling | |
CN107687819A (en) | A fast and high-precision method for extracting sub-pixels in the center of light bars | |
CN108416798B (en) | A method for vehicle distance estimation based on optical flow | |
CN115761563A (en) | A Calculation Method and System for River Surface Velocity Based on Optical Flow Calculation | |
CN104408725A (en) | A target reacquisition system and method based on TLD optimization algorithm | |
CN104835147A (en) | Method for detecting crowded people flow in real time based on three-dimensional depth map data | |
CN102842037A (en) | Method for removing vehicle shadow based on multi-feature fusion | |
CN109145708A (en) | A kind of people flow rate statistical method based on the fusion of RGB and D information | |
CN108009494A (en) | A kind of intersection wireless vehicle tracking based on unmanned plane | |
CN103425764A (en) | Vehicle matching method based on videos | |
CN114283167B (en) | Vision-based cleaning area detection method | |
CN117576168A (en) | Water flow speed estimation method and system based on traditional optical flow calculation | |
CN113114938B (en) | Target accurate monitoring system based on electronic information | |
CN107563371A (en) | The method of News Search area-of-interest based on line laser striation | |
CN117636268A (en) | Unmanned aerial vehicle aerial natural driving data set construction method oriented to ice and snow environment | |
CN108510544B (en) | A method of light strip location based on feature clustering | |
CN1921560A (en) | Method for extraction method of video object external boundary | |
Revaud et al. | Robust automatic monocular vehicle speed estimation for traffic surveillance | |
CN110430400B (en) | Ground plane area detection method of binocular movable camera | |
CN103578112A (en) | Aerator working state detection method based on video image features |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200407 Termination date: 20210717 |