[go: up one dir, main page]

CN104181176B - The method that liquid article automatic identification is carried out in X-ray wraps up image - Google Patents

The method that liquid article automatic identification is carried out in X-ray wraps up image Download PDF

Info

Publication number
CN104181176B
CN104181176B CN201410399685.1A CN201410399685A CN104181176B CN 104181176 B CN104181176 B CN 104181176B CN 201410399685 A CN201410399685 A CN 201410399685A CN 104181176 B CN104181176 B CN 104181176B
Authority
CN
China
Prior art keywords
container
image
point
liquid
ray
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410399685.1A
Other languages
Chinese (zh)
Other versions
CN104181176A (en
Inventor
王宇石
杨立瑞
李保磊
孔威武
查艳丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
First Research Institute of Ministry of Public Security
Beijing Zhongdun Anmin Analysis Technology Co Ltd
Original Assignee
First Research Institute of Ministry of Public Security
Beijing Zhongdun Anmin Analysis Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by First Research Institute of Ministry of Public Security, Beijing Zhongdun Anmin Analysis Technology Co Ltd filed Critical First Research Institute of Ministry of Public Security
Priority to CN201410399685.1A priority Critical patent/CN104181176B/en
Publication of CN104181176A publication Critical patent/CN104181176A/en
Application granted granted Critical
Publication of CN104181176B publication Critical patent/CN104181176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

本发明公开了在X射线包裹图像中进行液体物品自动识别的方法,采用了一种基于容器对称性、且边缘可以松散组合的方法来识别图像中是否存在液体物品的形态,本发明以图像中的边缘点为基础,逐级向上,获得边缘点的点对,进而通过点对组成容器段,即容器的主体或一部分片段,最后由容器段组合形成容器的整体;如果以上各个步骤的结果,均符合容器的特点,则认为找到1个液体物品;本发明的优点是能够自动识别包裹中规定体积的液体物品,具有较好的探测率与误报率的平衡,在保证将包裹中大部分液体物品检测到的同时,能够显著地降低误报率。

The invention discloses a method for automatic identification of liquid items in an X-ray package image. A method based on container symmetry and loosely combined edges is used to identify whether there is a shape of liquid items in the image. Based on the edge points of the container, the point pairs of edge points are obtained step by step, and then the container segment is formed by the point pair, that is, the main body or a part of the container, and finally the container is combined to form the whole container; if the results of the above steps, If all meet the characteristics of the container, it is considered that a liquid item has been found; the advantage of the present invention is that it can automatically identify the liquid item with a specified volume in the package, has a good balance between the detection rate and the false alarm rate, and ensures that most of the package will be While liquid items are detected, the false alarm rate can be significantly reduced.

Description

在X射线包裹图像中进行液体物品自动识别的方法Method for Automatic Recognition of Liquid Items in X-ray Parcel Images

技术领域technical field

本发明涉及在X射线包裹图像中进行液体物品自动识别的方法,属于X射线安全检查技术领域。The invention relates to a method for automatic identification of liquid articles in X-ray package images, and belongs to the technical field of X-ray safety inspection.

背景技术Background technique

目前,在民航安全检查操作规范中,100毫升以上的液体是禁止携带的。未来,随着液体探测技术的发展,预计会实行液体取出检查的模式,即旅客需将行李包裹中携带的液体物品取出,液体物品单独通过安检设备的扫描判读。最终,市场所期待的模式是可以允许液体放在包裹中自动进行探测,从而判断其危险性。这上述3种模式下,都需要一种能够将包裹中的液体物品自动识别出来的技术,前两种模式下需要防止液体物品被藏在包裹里混过安检,最后一种模式则需要通过锁定液体物品的位置再进行有针对性的探测。At present, in the civil aviation security inspection operation specification, liquids of more than 100 milliliters are prohibited from being carried. In the future, with the development of liquid detection technology, it is expected that the mode of liquid take-out inspection will be implemented, that is, passengers need to take out the liquid items carried in the luggage package, and the liquid items will be scanned and interpreted by the security inspection equipment alone. Ultimately, the model that the market expects is to allow liquids to be automatically detected in packages to determine their danger. In the above three modes, a technology that can automatically identify the liquid items in the package is needed. In the first two modes, it is necessary to prevent the liquid items from being hidden in the package and pass through the security check. The last mode needs to be locked. The position of the liquid object is then detected in a targeted manner.

目前,在X射线安检技术领域中图像识别工作做得最突出的,是加拿大的OptoSecurity公司其已经申请了一系列关于包裹图像中目标识别的专利,并与海曼这样的业内领军公司建立了战略合作关系。在其美国专利20120275646A1中,提到了一种在X射线包裹图像中液体物品的自动识别方法。该方法首先在图像中分割具有液体材料特性的区域,提取相关区域的材料、灰度、形状特征,通过融合所分割的区域,识别是否存在液体物品。此外在其他个别文献中见到的有关X射线图像自动检测液体物品的论文,则都属于探索阶段的尝试。At present, the most prominent image recognition work in the field of X-ray security inspection technology is Canada's OptoSecurity, which has applied for a series of patents on object recognition in package images, and has established strategic partnerships with leading companies such as Heyman. partnership. In its US patent 20120275646A1, a method for automatic identification of liquid items in X-ray package images is mentioned. This method firstly segments the area with liquid material characteristics in the image, extracts the material, grayscale, and shape features of the relevant area, and identifies whether there is a liquid object by fusing the segmented areas. In addition, the papers on the automatic detection of liquid objects in X-ray images seen in other individual documents are all attempts in the exploratory stage.

基于分割区域的识别,可以识别背景较为简单的液体物品。但是,当液体物品与较为复杂的背景物体重叠成像时,上述分割区域的识别和融合,将变得非常困难;如果降低对于分割区域突出性的要求,将会造成可搜索的分割区域过多,从而造成误报警变多。Based on the identification of segmented regions, liquid items with relatively simple backgrounds can be identified. However, when liquid objects overlap with more complex background objects, the identification and fusion of the above-mentioned segmented regions will become very difficult; if the requirements for the prominence of the segmented regions are lowered, there will be too many searchable segmented regions, This results in more false alarms.

目前在安全检查领域,液体物品是被禁止带上飞机的,通常靠旅客的自觉和安检员肉眼观察安检图像来防止旅客将液体放在行李箱中。如果能有效地自动识别包裹中的液体物品,可降低安检员的工作强度、并提高安全系数。同时,自动识别液体物品的技术也为将来包裹内自动探测液体的技术打下坚实的基础,即在前述第三种液体不需取出的检查模式下首先确定液体的位置。At present, in the field of security inspection, liquid items are prohibited from being carried on the plane. Usually, passengers are prevented from putting liquids in the luggage by relying on the self-consciousness of passengers and the visual inspection of security images by security inspectors. If the liquid items in the package can be effectively and automatically identified, the work intensity of the security inspector can be reduced and the safety factor can be improved. At the same time, the technology of automatic identification of liquid items also lays a solid foundation for the technology of automatic detection of liquids in the package in the future, that is, in the aforementioned third inspection mode where the liquid does not need to be taken out, the location of the liquid is first determined.

发明内容Contents of the invention

本发明的目的在于提供一种能够克服上述技术问题的在X射线包裹图像中进行液体物品自动识别的方法,本发明采用了一种基于容器对称性、且边缘可以松散组合的方法来识别图像中是否存在液体物品的形态,从而可以增强识别算法的稳定性。The purpose of the present invention is to provide a method for automatic identification of liquid items in X-ray package images that can overcome the above technical problems. The present invention uses a method based on container symmetry and loosely combined edges to identify Whether there is a form of liquid items, which can enhance the stability of the recognition algorithm.

本发明以图像中的边缘点为基础,逐级向上,首先获得边缘点的点对,进而通过点对组成容器段,即容器的主体或一部分片段,最后由容器段组合形成容器的整体;如果以上各个步骤的结果,均符合容器的特点,则认为找到1个液体物品。The present invention is based on the edge points in the image, step by step upwards, first obtain the point pairs of the edge points, and then form the container segment through the point pairs, that is, the main body of the container or a part of the segment, and finally form the whole container by combining the container segments; if If the results of the above steps all conform to the characteristics of the container, it is considered that a liquid item has been found.

本发明所述方法在获取包裹的安检图像之后,具体包括以下步骤:After obtaining the security inspection image of the package, the method of the present invention specifically includes the following steps:

1)图像降分辨率;1) Image resolution reduction;

2)图像边缘点检测;2) Image edge point detection;

3)搜索并组成彼此具有对称性的边缘点对;3) Search and form edge point pairs that are symmetrical to each other;

4)点对的霍夫变换,从而找到点对集中、容器可能出现的位置参数;4) Hough transform of point pairs, so as to find the location parameters where point pairs are concentrated and containers may appear;

5)根据步骤4)找到的位置参数,寻找容器段;5) According to the position parameter found in step 4), look for the container segment;

6)寻找各容器段的容器特征,包括灰度分布、容器壁材质、瓶颈或瓶盖的形状;6) Find the container characteristics of each container segment, including grayscale distribution, container wall material, bottleneck or cap shape;

7)将合适的容器段组合在一起,形成容器的主体,从而找到图像中的液体物品。7) Find the liquid item in the image by combining suitable container segments together to form the body of the container.

本发明所述方法是一种基于边缘信息、从微观边缘点最终组合形成容器主体的策略,本发明利用了容器特有的形状、灰度、材料特性的约束。The method of the present invention is a strategy based on edge information to form the container body from microscopic edge points, and the present invention utilizes the constraints of the container's unique shape, gray scale, and material properties.

本发明的优点是能够自动识别包裹中规定体积的液体物品,具有较好的探测率与误报率的平衡,在保证将包裹中大部分液体物品检测到的同时,能够显著地降低误报率。The invention has the advantage of being able to automatically identify liquid items of a specified volume in a package, having a good balance between detection rate and false alarm rate, and can significantly reduce the false alarm rate while ensuring that most of the liquid items in the package are detected .

附图说明Description of drawings

图1为本发明的原理示意图;Fig. 1 is a schematic diagram of the principle of the present invention;

图2为本发明的边缘点的点对的对称关系示意图,带箭头的线段表示边缘点的梯度方向;Fig. 2 is a schematic diagram of the symmetric relation of the point pairs of the edge points of the present invention, and the line segment with the arrow represents the gradient direction of the edge points;

图3为本发明的一个点对的连线上各像素点的X射线衰减量曲线的示意图;Fig. 3 is the schematic diagram of the X-ray attenuation curve of each pixel point on the connection line of a point pair of the present invention;

图4为本发明在容器段的一端搜索组成瓶颈及瓶盖轮廓的点对的示意图;Fig. 4 is the schematic diagram that the present invention searches the point pair that forms bottleneck and bottle cap contour at one end of container segment;

图5为本发明的容器段组合成容器的示意图。Fig. 5 is a schematic diagram of combining the container sections of the present invention into a container.

具体实施方式detailed description

下面结合附图和实施例对本发明进行详细描述。图1给出了本发明所述方法的原理示意图,表示从边缘点,到点对,到容器段,最后形成容器的识别过程,这种原理有助于克服液体因与其它物体重叠成像使瓶子轮廓被截成多段的问题。The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments. Fig. 1 has provided the schematic diagram of the principle of the method of the present invention, represents from edge point, to point pair, to container segment, finally forms the recognition process of container, and this principle helps to overcome liquid because of overlapping imaging with other objects and make bottle Issue with contours being truncated into multiple segments.

具体处理步骤如下:The specific processing steps are as follows:

1.通过图像下采样技术把X射线包裹图像的长、宽下降到原来的1/4,并利用中值滤波去噪,以免后续步骤对微小边缘产生过度的反应;1. Reduce the length and width of the X-ray wrapped image to 1/4 of the original through image down-sampling technology, and use median filtering to denoise, so as to avoid excessive reaction to tiny edges in subsequent steps;

2.边缘点的检测并分组;2. Detection and grouping of edge points;

边缘点的检测用Canny算法,接下来根据检测到的各边缘点的材料值M,将所有边缘点分组为:1)金属点,2)玻璃或陶瓷点,3)近似塑料点;根据边缘点的梯度方向的角度,将所有边缘点分成9组,平分0~180度的角度空间;上述两方面结合,总共将图像的边缘点分成27组其中上脚标m代表金属、g代表玻璃、p代表塑料。The detection of edge points uses the Canny algorithm, and then according to the material value M of each edge point detected, all edge points are grouped into: 1) metal points, 2) glass or ceramic points, 3) approximate plastic points; according to the edge point Divide all edge points into 9 groups, equally divide the angle space from 0 to 180 degrees; combine the above two aspects, divide the edge points of the image into 27 groups in total The superscript m stands for metal, g stands for glass, and p stands for plastic.

3.搜索边缘点对,注意下文所述的点都是步骤2中提取的边缘点;3. Search for edge point pairs, note that the points described below are the edge points extracted in step 2;

设1个边缘点q属于塑料点,并属于组,则只需在这3组中搜索与q可匹配的边缘点q',组成点对即可,对于金属点或玻璃点也是类似地在同种材料的组中搜索点对;在搜索中,排除两点梯度方向差别超出阈值、梯度值差别超出阈值的组合。点对的意义如图2所示;对于点对q、q',设L是q与q'的连线,设q、q'各自的梯度方向所在的直线为Lq、Lq',要求L与Lq、Lq'的夹角α(q,L)、α(q',L)是近似相等的,并且q、q'两点的梯度方向是相对的而非相背的或同向的。Suppose an edge point q belongs to the plastic point and belongs to group, then only the In these three groups, search for the edge point q' that can match q, and form a point pair. For metal points or glass points, similarly search for point pairs in groups of the same material; in the search, exclude the gradient direction of two points The combination of the difference exceeding the threshold and the gradient value difference exceeding the threshold. The meaning of the point pair is shown in Figure 2; for the point pair q, q', let L be the connecting line between q and q', and let the straight line where the respective gradient directions of q, q' are located be L q , L q' . The angles α(q,L) and α(q',L) between L and L q , L q' are approximately equal, and the gradient directions of q and q' are relative rather than opposite or the same towards.

4.点对的霍夫(Hough)变换;4. Hough transform of point pairs;

首先对搜集到的点对(q,q'),求出此点对的对称轴直线S,S是穿过q、q'连线L的中点且方向与L正交的直线。根据此对称轴直线S的极坐标表达S(θ,r)以及两点距离d,以|α(q,L)-α(q',L)|为权重将当前点对累计到一个Hough(θ,r,d)的3维表格中,其中3维分量各自选择合适的表格跨度;θ表示直线S的斜率角度,r表示S到图像原点的垂直距离。对所有点对执行上述操作后,通过在Hough(θ,r,d)表中寻找累计分数超过阈值且局部最大的参数组合(θ,r,d),作为下一步分析的对象。First, for the collected point pair (q, q'), find the symmetric axis line S of this point pair, S is a straight line passing through the midpoint of the line L connecting q, q' and the direction is orthogonal to L. According to the polar coordinate expression S(θ, r) of the straight line S of the symmetry axis and the distance d between two points, the current point pair is accumulated to a Hough( θ, r, d) in the 3-dimensional table, in which the 3-dimensional components each select an appropriate table span; θ represents the slope angle of the straight line S, and r represents the vertical distance from S to the origin of the image. After performing the above operations on all point pairs, find the parameter combination (θ, r, d) with the cumulative score exceeding the threshold and the local maximum in the Hough (θ, r, d) table as the object of the next analysis.

5.寻找容器段;5. Find the container segment;

容器段表示容器区域中的一段区域,在容器段中容器两边的轮廓对称地出现;由于X射线图像中物体经常叠加成像,所以往往不能立即找到容器的整体,所以先寻找容器段。对于在步骤4中符合要求的(θ,r,d)组合,将属于该参数组合的所有点对的两点垂直投影到直线S(θ,r)上,在S(θ,r)上考察这些投影点的分布,寻找S(θ,r)上连续出现投影点且投影点局部密度足够高的线段。S(θ,r)上连续、高密度地出现这种投影点的线段,组成了1个容器段的对称轴,即以直线S(θ,r)为对称轴直线,在这片区域出现了一个宽度为d的容器段,当然目前只是可能的容器段;每个容器段记录下自己的对称轴直线和对称轴线段两端的位置。此外,还要对所述容器段下辖的点对进行局部优化,在S(θ,r)上投影位置相近的各点对的各点之间,根据步骤3所述的点对对称规则,重新寻找这些点的两两对应关系,从而形成在局部相对于S(θ,r)真正最优的点对组合。The container segment represents a section of the container area, in which the contours of both sides of the container appear symmetrically; since objects in X-ray images are often superimposed and imaged, it is often impossible to find the whole container immediately, so the container segment is first searched. For the (θ,r,d) combination that meets the requirements in step 4, vertically project the two points of all point pairs belonging to the parameter combination onto the straight line S(θ,r), and investigate on S(θ,r) The distribution of these projected points is to find the line segment with continuous projected points on S(θ, r) and the local density of projected points is high enough. On S(θ, r), the line segments of such projected points appear continuously and with high density, forming the symmetry axis of a container segment, that is, taking the straight line S(θ, r) as the symmetry axis line, and appearing in this area A container segment with a width d, of course, is currently only a possible container segment; each container segment records its own symmetry axis line and the positions of the two ends of the symmetry axis segment. In addition, it is also necessary to perform local optimization on the point pairs under the jurisdiction of the container segment, and between the points of the point pairs with similar projected positions on S(θ, r), according to the point pair symmetry rule described in step 3, Find the pairwise correspondence of these points again, so as to form the truly optimal combination of point pairs locally relative to S(θ, r).

6.寻找容器段的容器特征;6. Find the container characteristics of the container segment;

容器特征主要有:(1)容器段中靠近对称轴的中心区域是否出现X射线衰减量的凸起;(2)判断容器的材质;(3)在容器段的一端是否存在瓶颈或瓶盖的形状。前(1)、(2)两点反映了一个液体容器的投影灰度的整体规律,第(3)点则反映了容器的最典型部件。The characteristics of the container mainly include: (1) whether there is a bulge of X-ray attenuation in the central area close to the symmetry axis in the container section; (2) judging the material of the container; (3) whether there is a bottleneck or a bottle cap at one end of the container section shape. The first two points (1) and (2) reflect the overall law of the projected gray scale of a liquid container, and the point (3) reflects the most typical parts of the container.

1)对于容器段中部的凸起或鼓肚,如图3所示,建立此容器段所有点对(q,q')连线上各像素的X射线衰减量的曲线,在每条曲线中,考察两边1/5即A、E区域、靠近中间的1/5即B、D区域、正中间的1/5即C区域这5部分平均衰减量之间的对比。在此直接用区域编号代表该区域的平均灰度,如果C/A、C/B、C/D、C/E、B/A、D/E均大于各自指定的阈值,则认为在此衰减量曲线上存在凸起;如果1个容器段所属的大多数点对之间的衰减量曲线都存在凸起,则认为此容器段存在凸起。1) For the bulge or bulge in the middle of the container segment, as shown in Figure 3, establish the curve of the X-ray attenuation of each pixel on the line connecting all points to (q, q') of this container segment, in each curve , to investigate the comparison between the average attenuation of the 5 parts of the 1/5 on both sides, that is, the A and E regions, the 1/5 near the middle, that is, the B and D regions, and the 1/5 in the middle, that is, the C region. Here, the area number is directly used to represent the average gray level of the area. If C/A, C/B, C/D, C/E, B/A, and D/E are greater than the respective specified thresholds, it is considered to be attenuated here There is a bulge on the volume curve; if there is a bulge in the attenuation curve between most point pairs to which a container segment belongs, it is considered that this container segment has a bulge.

2)容器的玻璃、金属材质的识别,在容器段的各点对的两点的附近,如果普遍呈现的是玻璃容器特有的材料特性或金属容器的材料特性,则认为当前容器段可能对应玻璃容器或金属容器,例如铁罐饮料。X射线图像的材料特性可由材料值M及伪彩色R值的组合来表示,何种材料特性对应玻璃和金属,这个规律在事先准备的训练图像中统计得到,并建立相应的查表机制;其它容器段可以认为对应塑料容器。2) The identification of the glass and metal materials of the container, in the vicinity of the two points of each point pair of the container segment, if the unique material properties of the glass container or the material properties of the metal container are generally present, it is considered that the current container segment may correspond to glass Containers or metal containers, such as tin beverage cans. The material properties of the X-ray image can be represented by the combination of the material value M and the pseudo-color R value. Which material properties correspond to glass and metal, this law is statistically obtained in the training images prepared in advance, and a corresponding look-up table mechanism is established; other The container segment can be considered to correspond to a plastic container.

3)瓶颈或瓶盖形状的搜索,在容器段的两端,向容器段之外延伸搜索瓶颈或瓶盖,这主要是针对的是小口瓶;由于瓶颈或瓶盖轮廓的边缘点检测常不完整、不对称,于是就沿着容器段的对称轴直线S,在容器段的两端向外延伸搜索边缘点并形成点对,这些点对的对称轴直线接近S;具体做法是:从容器段一端的端点出发,沿着S向容器段以外的方向每前进一个单位距离,例如1个像素的长度,在S的当前位置Sp处进行一次如下的搜索:在Sp处沿着与S正交的直线向S的两侧探索边缘点,如果在两侧合适的范围内各找到1个边缘点,就考察此2个边缘点是否能按步骤3所述的原则确定为对称于S的点对,但步骤3中各项阈值的要求相应降低,同时要求两边缘点上的材料特性与容器段的容器材质相似。如图4所示,这些新搜出的边缘点对被认为可能形成容器的瓶颈或瓶盖的轮廓,分析这些点对的间距的变化趋势是否符合容器规则,从而判断是否存在瓶颈或瓶盖:3) The search for the shape of the neck or cap, at the two ends of the container segment, extends the search for the neck or cap outside the container segment, which is mainly for small-mouth bottles; because the edge point detection of the neck or cap contour is often not Complete and asymmetric, so along the straight line S of the symmetry axis of the container segment, extend outwards at both ends of the container segment to search for edge points and form point pairs. The symmetric axis line of these point pairs is close to S; the specific method is: from the container Starting from the endpoint at one end of the segment, and moving along S to the direction outside the container segment by one unit distance, for example, the length of 1 pixel, the following search is performed at the current position S p of S: at S p along the direction of S The orthogonal straight line explores the edge points on both sides of S, and if one edge point is found within the appropriate range on both sides, check whether the two edge points can be determined as symmetric to S according to the principle described in step 3 The point is correct, but the threshold requirements in step 3 are reduced accordingly, and the material properties at the two edge points are required to be similar to the container material of the container segment. As shown in Figure 4, these newly searched edge point pairs are considered to possibly form the outline of the bottle neck or bottle cap of the container, and the variation trend of the spacing of these point pairs is analyzed whether it conforms to the container rules, so as to determine whether there is a bottleneck or a bottle cap:

a)按点对被搜到的先后顺序,要求点对的间距由大到小,并且在各点对的间距组成的曲a) According to the order in which the point pairs are found, the distance between the point pairs is required to be from large to small, and the curve formed by the distance between each point pair

线中,二阶导数过0点不超过2处;In the line, the second order derivative crosses 0 at no more than 2 places;

b)在这组点对的最后部分,点对的间距宽度较为稳定,对应瓶盖的形态;b) In the last part of this group of point pairs, the spacing width of the point pairs is relatively stable, corresponding to the shape of the bottle cap;

c)瓶颈长度与容器段宽度的比值要合理。c) The ratio of bottleneck length to container segment width should be reasonable.

7.组合容器段;7. Combined container segment;

综上所述,容器段主要分如下的几种类型;玻璃容器段,称为T0类型,其余容器段类型在表1中列出,在表1中第一列的值如果为No表示此行的容器段类型对应塑料容器。To sum up, the container segment is mainly divided into the following types; the glass container segment is called the T0 type, and the other container segment types are listed in Table 1. If the value of the first column in Table 1 is No, it means this row The container segment type corresponds to plastic containers.

表1 容器段的类型Table 1 Types of container segments

是否为金属容器Whether it is a metal container 凸起的the protruding 有瓶颈或瓶盖has a neck or cap 类型编号type number YesYes YesYes YesYes T1T1 YesYes YesYes Nono T2T2 YesYes Nono YesYes T3T3 YesYes Nono Nono T4T4 Nono YesYes YesYes T5T5 Nono YesYes Nono T6T6 Nono Nono YesYes T7T7 Nono Nono Nono T8T8

接下来,对容器段开始组合,如图5所示,将那些对称轴的直线参数相近、彼此距离接近、宽度相近的容器段组合起来,形成1个容器;注意:1)单个容器段就有可能对应1个容器;2)在组合容器段时,如果出现了被组合的各容器段的对称轴呈蛇形分布,当前组合取消,原因是在X射线安检图像中,容器投影可能是弯曲的,但只能向1个方向弯曲,不会形成蛇形弯曲。Next, start to combine the container segments, as shown in Figure 5, combine the container segments with similar linear parameters of the symmetry axes, close distances to each other, and similar widths to form a container; Note: 1) A single container segment has It may correspond to 1 container; 2) When combining container segments, if the symmetry axes of the combined container segments are distributed in a serpentine shape, the current combination is canceled because in the X-ray security inspection image, the container projection may be curved , but it can only bend in one direction and will not form a serpentine bend.

同时,在容器段的组合中,根据常识设置规则,例如,若干个T2类型的容器段,可能组合出1个金属易拉罐液体物品;或者1个T3类型容器段和若干个T4类型容器段组成1个有瓶颈的扁金属容器;1个T5容器段和若干个T6容器段组成1个塑料容器,例如典型的瓶装纯净水就属于此种情况;1个T7容器段和若干个T8容器段可以组成类似盛装洗发水的塑料容器;而单独的T8类型容器段,通常不认为存在容器。总之按照生活中常见的液体物品的形态进行容器段的组合。At the same time, in the combination of container segments, set the rules according to common sense, for example, several T2 type container segments may be combined to form a metal soda can liquid item; or a T3 type container segment and several T4 type container segments form a 1 A flat metal container with a bottleneck; 1 T5 container segment and several T6 container segments form a plastic container, such as a typical bottled purified water; this is the case for a T7 container segment and several T8 container segments It is similar to plastic containers for shampoo; and the separate T8 type container segment is generally not considered to have containers. In short, the combination of container segments is carried out according to the form of common liquid items in life.

在找到容器段的1个合理组合之后,还要考察组合形成的容器在尺寸和长宽比上的合理性。例如,对于1个预期为易拉罐的组合,如果其宽度过小或过大,又或者长度过长或过短,都可以排除这个容器的组合。最终,对剩下的容器组合,将其通知上层软件系统,在安全检查设备屏幕上对应容器的位置进行报警。After finding a reasonable combination of container segments, it is necessary to examine the rationality of the size and aspect ratio of the container formed by the combination. For example, for a combination that is expected to be a can, if its width is too small or too large, or its length is too long or too short, this combination of containers can be excluded. Finally, for the remaining combination of containers, the upper layer software system is notified, and an alarm is given on the position of the corresponding container on the screen of the security inspection device.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明公开的范围内,能够轻易想到的变化或替换,都应涵盖在本发明权利要求的保护范围内。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the disclosure of the present invention are all It should be covered within the protection scope of the claims of the present invention.

Claims (1)

1. the method that liquid article automatic identification is carried out in X-ray wraps up image, it is characterised in that:With the marginal point in image Based on, step by step upwards, the point for obtaining marginal point first is right, and then the main body or by point to composition container section, i.e. container Partial Fragment, is finally combined the entirety for forming container by container section;If the result of each step, meets the spy of container above Point, then it is assumed that find 1 liquid article;After the safety check image for obtaining parcel, following steps are specifically included:
1) image resolution decreasing;
2) image border point detection;
3) search for and constitute;
4) point to Hough transformation, so as to find a little to concentration, the location parameter that is likely to occur of container;
5) according to step 4) location parameter that finds, find container section;
6) container characteristics of each container section, including the shape of intensity profile, chamber wall material, bottleneck or bottle cap are found;
7) suitable container section is combined, forms the main body of container, so as to find the liquid article in image;
The method that liquid article automatic identification is carried out in X-ray wraps up image is that one kind make use of the distinctive shape of container Shape, gray scale, the constraint of material behavior based on marginal information, finally combination forms the strategy of container body from microcosmic marginal point Method.
CN201410399685.1A 2014-08-14 2014-08-14 The method that liquid article automatic identification is carried out in X-ray wraps up image Active CN104181176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410399685.1A CN104181176B (en) 2014-08-14 2014-08-14 The method that liquid article automatic identification is carried out in X-ray wraps up image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410399685.1A CN104181176B (en) 2014-08-14 2014-08-14 The method that liquid article automatic identification is carried out in X-ray wraps up image

Publications (2)

Publication Number Publication Date
CN104181176A CN104181176A (en) 2014-12-03
CN104181176B true CN104181176B (en) 2017-04-05

Family

ID=51962399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410399685.1A Active CN104181176B (en) 2014-08-14 2014-08-14 The method that liquid article automatic identification is carried out in X-ray wraps up image

Country Status (1)

Country Link
CN (1) CN104181176B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106560839B (en) * 2015-09-30 2019-08-27 同方威视技术股份有限公司 The detection method and device of bottle
EP3754594B1 (en) * 2018-02-14 2025-10-01 ISHIDA CO., Ltd. Inspection device
CN111735735B (en) * 2020-06-11 2022-05-13 山东滨州烟草有限公司 Intelligent cigarette package nondestructive identification method and identifier

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147376A (en) * 2007-10-05 2011-08-10 清华大学 Liquid article detection method and device
CN102519972A (en) * 2011-12-10 2012-06-27 山东明佳包装检测科技有限公司 Detection method of PET bottle cap and liquid level

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102565107B (en) * 2007-10-05 2014-08-27 清华大学 Liquid article inspection method and equipment
EP2347248A1 (en) * 2008-09-15 2011-07-27 Optosecurity Inc. Method and apparatus for assessing properties of liquids by using x-rays
EP2459990A4 (en) * 2009-07-31 2017-08-09 Optosecurity Inc. Method and system for identifying a liquid product in luggage or other receptacle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147376A (en) * 2007-10-05 2011-08-10 清华大学 Liquid article detection method and device
CN102519972A (en) * 2011-12-10 2012-06-27 山东明佳包装检测科技有限公司 Detection method of PET bottle cap and liquid level

Also Published As

Publication number Publication date
CN104181176A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
McLaughlin Randomized Hough transform: improved ellipse detection with comparison
Yao et al. Curvature aided Hough transform for circle detection
US9194975B2 (en) Method and system for identifying a liquid product in luggage or other receptacle
CN105447528B (en) Train license number and model recognizing method and system and safety detection method and system
CN103632159B (en) Method and system for training classifier and detecting text area in image
CN106370659B (en) A kind of bottle body package quality visible detection method
CN104462380A (en) Trademark retrieval method
CN103308523B (en) Method for detecting multi-scale bottleneck defects, and device for achieving method
CN108389179A (en) A kind of cover detection method of surface flaw based on machine vision
CN104181176B (en) The method that liquid article automatic identification is carried out in X-ray wraps up image
CN103226814A (en) Medicine bottle foreign matter detection method based on medical visual detection robot image correction
CN104517108B (en) A kind of method and system of determination QR code binary image edge lines
US10576974B2 (en) Multiple-parts based vehicle detection integrated with lane detection for improved computational efficiency and robustness
CN108549898A (en) A kind of method and system of specific objective identification and enhancing for safety check perspective
CN104217427A (en) Method for positioning lane lines in traffic surveillance videos
CN101614822B (en) Method for testing road damage based on post-disaster high-resolution remote sensing image
CN102708368B (en) A method for positioning bottles on a production line based on machine vision
US8331678B2 (en) Systems and methods for identifying a discontinuity in the boundary of an object in an image
CN103493097A (en) Eyelid-detection device, eyelid-detection method, and program
CN110569789A (en) Commodity combined sku identification method and device
US20140161349A1 (en) Straight line detection apparatus and straight line detection method
Hu et al. Rail surface spalling detection based on visual saliency
CN104778653A (en) A method for image registration
CN104251865A (en) Method for detecting visible foreign matters in medical medicaments based on affinity propagation clustering
CN108108656A (en) Vehicle window corner detection and multidirectional projection-based vehicle window accurate positioning method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Wang Yushi

Inventor after: Yang Lirui

Inventor after: Cha Yanli

Inventor after: Kong Weiwu

Inventor before: Wang Yushi

Inventor before: Yang Lirui

Inventor before: Li Baolei

Inventor before: Kong Weiwu

Inventor before: Cha Yanli

CB03 Change of inventor or designer information