CN109146883A - A kind of image processing method and screening machine - Google Patents

A kind of image processing method and screening machine Download PDF

Info

Publication number
CN109146883A
CN109146883A CN201811289367.4A CN201811289367A CN109146883A CN 109146883 A CN109146883 A CN 109146883A CN 201811289367 A CN201811289367 A CN 201811289367A CN 109146883 A CN109146883 A CN 109146883A
Authority
CN
China
Prior art keywords
article
detected
perspective
view
pictorial diagram
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.)
Pending
Application number
CN201811289367.4A
Other languages
Chinese (zh)
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.)
ZKTeco Co Ltd
Original Assignee
ZKTeco 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 ZKTeco Co Ltd filed Critical ZKTeco Co Ltd
Priority to CN201811289367.4A priority Critical patent/CN109146883A/en
Publication of CN109146883A publication Critical patent/CN109146883A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/97Determining parameters from multiple pictures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

This application discloses a kind of image processing methods, applied on screening machine, the screening machine is different from conventional screening machine, internal camera in kind is additionally provided in the inside of X-ray safety check case, the pictorial diagram into the article to be detected of the X-ray safety check case is obtained for shooting, and finally merge the pictorial diagram of identical article to be detected and perspective view, obtain the perspective combination chart in kind comprising feature in kind and see-through feature simultaneously.So, staff can be in the case where describing the mechanism of each article to be detected using material object perspective combination chart, and quickly, accurately there are the luggages of doubtful prohibited items for positioning, and accurately inform the testing staff that unpacks, it can effectively avoid the congestion of security check passage, promote safety check efficiency.The application further simultaneously discloses the screening machine that a kind of application has the image processing method, has above-mentioned beneficial effect.

Description

A kind of image processing method and screening machine
Technical field
This application involves technical field of image processing, in particular to a kind of image processing method and apply the image processing method The screening machine of method.
Background technique
The screening machine that large-scale public place is arranged in is effectively to monitor whether to carry the sharp weapon for endangering public personal safety, peace The X-ray emitter that inspection owner will be set in opaque box-shaped body is irradiated the article to be detected for entering box-shaped body, benefit With the see-through capabilities of X-ray, the outsourcings such as luggage can be penetrated and see the saturating of the construction and material properties for showing internal belongings View can quickly determine whether there is the dangerous goods that may threaten public personal safety in this manner.For letter Just it calls, the opaque box-shaped body for being provided with X-ray emitter will be referred to herein as X-ray safety check case.
But the improvement direction of screening machine now is all in the ability for emphasizing penetration power, linear resolution, i.e., to the saturating of object Depending on the promotion of ability, clarity ability, in the bigger environment of flow of the people (such as subway, as station, logistics company Side), while the package quantity for entering opaque X-ray safety check case is more, and disposing way is different, or even exists and stack phenomenon, When the perspective graph discovery provided according to X-ray safety check case is there are when doubtful prohibited items, due to greatly weakening phase in perspective view The feature in kind of article to be detected is answered, therefore how to inform and waits for the staff in X-ray safety check case exit accurately to depositing Carry out detection of unpacking in the luggage of doubtful prohibited items, be it is relatively difficult, especially have multiple similar luggages while entering X-ray The case where safety check case, can only be by all doubtful casees to prevent from omitting due to that accurately only can not determine target luggage by perspective view Packet all carries out detection of unpacking.So, it will cause security check passage congestion unavoidably, so that safety check efficiency reduces, cause passenger's It is discontented.
Therefore, how to overcome existing screening machine technological deficiency present in above-mentioned scene, providing a kind of not only can detect With the presence or absence of doubtful prohibited items, feature in kind can be combined with the article to be detected there are doubtful prohibited items is accurately positioned Image processing method, be art technology urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of image processing method, is applied on screening machine, which is different from routine Screening machine is additionally provided with internal camera in kind in the inside of X-ray safety check case, obtains for shooting into the X-ray safety check case The pictorial diagram of article to be detected, and finally merge the pictorial diagram of identical article to be detected and perspective view, it obtains simultaneously comprising real The perspective combination chart in kind of object feature and see-through feature.So, staff can use perspective combination chart in kind Under the mechanism for describing each article to be detected, quickly, accurately there are the luggages of doubtful prohibited items for positioning, and accurately inform Unpack testing staff, can effectively avoid the congestion of security check passage, promotes safety check efficiency.
The another object of the application is the provision of a kind of screening machine for applying the image processing method.
To achieve the above object, the application provides a kind of image processing method, is applied to screening machine, the image processing method Include:
The perspective view of article to be detected is obtained using X-ray safety check case;
The material object of the article to be detected is obtained using the inside material object camera being set to inside the X-ray safety check case Figure;
The perspective view and pictorial diagram for merging the identical article to be detected, the perspective in kind for obtaining the article to be detected are mixed Close figure.
Optionally, before the perspective view and pictorial diagram for merging the identical article to be detected, further includes:
The marginal information of the article to be detected in the perspective view and the pictorial diagram is extracted respectively, and correspondence obtains the first side Edge information and second edge information;
It is homonym by the article marking to be detected for possessing the identical first edge information and the second edge information Product;
It is corresponding, the perspective view and pictorial diagram of the identical article to be detected are merged, the reality of the article to be detected is obtained Object has an X-rayed combination chart, comprising:
The perspective view and pictorial diagram for merging the article of the same name obtain the perspective combination chart in kind of the article of the same name.
Optionally, the marginal information for extracting the article to be detected in the perspective view and the pictorial diagram respectively, to deserved To first edge information and second edge information, comprising:
The marginal information for extracting to obtain the article to be detected in the perspective view using edge enhancing technique obtains described One marginal information;
The marginal information for extracting to obtain the article to be detected in the pictorial diagram using erosion operation obtains second side Edge information.
Optionally, it is by the article marking to be detected for possessing the identical first edge information and the second edge information Article of the same name, comprising:
Similarity comparison is carried out to the edge feature of the first edge information and the second edge information;
It is more than the first edge information and the corresponding article marking to be detected of second edge information of preset threshold by similarity For the article of the same name.
Optionally, before the perspective view and pictorial diagram for merging the identical article to be detected, further includes:
The resolution ratio of the perspective view and the pictorial diagram is adjusted to identical target resolution.
Optionally, the resolution ratio of the perspective view and the pictorial diagram is adjusted to identical target resolution, comprising:
Compare the resolution sizes of the perspective view and the pictorial diagram, and using lesser resolution ratio as the target point Resolution;
The resolution ratio that will be greater than the image of the target resolution is contracted to using the method for interval sampling or local mean value The target resolution.
Optionally, the perspective view and pictorial diagram of the identical article to be detected are merged, comprising:
By the perspective view of the identical article to be detected and pictorial diagram respectively with preset weight according to weighted calculation method into Row fusion.
To achieve the above object, present invention also provides a kind of screening machine, which includes:
X-ray safety check case, for obtaining the article to be detected using the article to be detected in X-ray irradiation own range Perspective view;
Internal material object camera, is set to the inside of the X-ray safety check case, obtains being located at the X-ray safety check for shooting The pictorial diagram of article to be detected inside case;
Image fusion device obtains described to be checked for merging the perspective view and pictorial diagram of the identical article to be detected Survey the perspective combination chart in kind of article.
Optionally, the screening machine further include:
Edge extraction device, for extracting the side of the article to be detected in the perspective view and the pictorial diagram respectively Edge information, correspondence obtain first edge information and second edge information;
Article labelling apparatus of the same name, for will possess the identical first edge information and the second edge information to It detects article and is labeled as article of the same name;
Corresponding, described image fusing device is specially the perspective view and pictorial diagram for merging the article of the same name, obtains institute State the perspective view of article of the same name and the device of pictorial diagram.
Optionally, the screening machine further include:
Size unitizes device, and resolution ratio to the identical target for adjusting the perspective view and the pictorial diagram is differentiated Rate.
Optionally, the edge extraction device includes:
First edge information extraction modules, it is to be detected in the perspective view for extracting to obtain using edge enhancing technique The marginal information of article obtains the first edge information;
Second edge information extraction modules, for extracting to obtain the article to be detected in the pictorial diagram using erosion operation Marginal information, obtain the second edge information.
Optionally, the article labelling apparatus of the same name includes:
Similarity comparison module is carried out for the edge tendency to the first edge information and the second edge information Similarity compares;
Article judgement of the same name and mark module, for being more than first edge information and the second side of preset threshold by similarity The corresponding article marking to be detected of edge information is the article of the same name.
Optionally, the unitized device of the size includes:
Resolution ratio comparison module, for the resolution sizes of the perspective view and the pictorial diagram, and will be lesser Resolution ratio is as the target resolution;
Resolution adjustment module utilizes interval sampling or office for will be greater than the resolution ratio of image of the target resolution The method of portion's mean value is contracted to the target resolution.
Optionally, described image fusing device is specially to distinguish the perspective view of the identical article to be detected and pictorial diagram The device merged with preset weight according to weighted calculation method.
Obviously, a kind of image processing method provided herein is applied on screening machine, which is different from routine Screening machine is additionally provided with internal camera in kind in the inside of X-ray safety check case, obtains for shooting into the X-ray safety check case The pictorial diagram of article to be detected, and finally merge the pictorial diagram of identical article to be detected and perspective view, it obtains simultaneously comprising real The perspective combination chart in kind of object feature and see-through feature.So, staff can use perspective combination chart in kind Under the mechanism for describing each article to be detected, quickly, accurately there are the luggages of doubtful prohibited items for positioning, and accurately inform Unpack testing staff, can effectively avoid the congestion of security check passage, promotes safety check efficiency.The application additionally provides a kind of application simultaneously The screening machine of the image processing method has above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of image processing method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another image processing method provided by the embodiments of the present application;
Fig. 3 is a kind of extraction marginal information and determining article of the same name in image processing method provided by the embodiments of the present application The flow chart of method;
Fig. 4 is a kind of resolution ratio of adjustment pictorial diagram and perspective view in image processing method provided by the embodiments of the present application The flow chart of method;
Fig. 5 is a kind of structural schematic diagram of screening machine provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of another screening machine provided by the embodiments of the present application;
Fig. 7 is the functional block diagram of the safe examination system of screening machine shown in fig. 6;
Fig. 8 is distribution schematic diagram of all kinds of images of screening machine shown in fig. 6 on different displays;
In figure, 20. inside 30. image fusion device of camera in kind of 10.X light safety check case.
Specific embodiment
The core of the application is to provide a kind of image processing method applied on screening machine and applies the image procossing The screening machine of method, the screening machine are different from conventional screening machine, are additionally provided with internal camera shooting in kind in the inside of X-ray safety check case Head obtains the pictorial diagram into the article to be detected of the X-ray safety check case for shooting, and finally by the reality of identical article to be detected Object figure and perspective view fusion obtain the perspective combination chart in kind comprising feature in kind and see-through feature simultaneously.So, it works Personnel can be in the case where describing the mechanism of each article to be detected using material object perspective combination chart, and quick, accurate positioning exists The luggage of doubtful prohibited items, and accurately inform the testing staff that unpacks, it can effectively avoid the congestion of security check passage, promote safety check Efficiency.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Embodiment one
Referring to Figure 1, Fig. 1 is a kind of flow chart of image processing method provided by the embodiments of the present application, is specifically included Following steps:
S101: the perspective view of article to be detected is obtained using X-ray safety check case;
This step is intended to using the X-ray emitter in X-ray safety check case into (by the transmission for passing through the X-ray safety check case With carrying) article to be detected in the X-ray safety check case carries out perspective detection, the article to be detected is obtained using the characteristic of X-ray Perspective view.
The penetrability of X-ray is mainly utilized herein, for X-ray because its wavelength is short, energy is big, when impinging upon on substance, only one Part is absorbed by substance, most of to penetrate via atom gap, shows very strong penetration capacity.X-ray penetrating material Ability it is related with the energy of x-ray photon, the wavelength of X-ray is shorter, and the energy of photon is bigger, and penetration power is stronger.X-ray Penetration power is also related with material density, the different substance of density can be distinguished using this property of differential absorption, especially It is for distinguishing metal object and organic matter.
And screening machine is that article to be detected is sent into X-ray examination channel (i.e. X-ray safety check case) by means of conveyer belt to carry out The electronic equipment of inspection.After article to be detected enters X-ray safety check case by conveyer belt, the detection device in case send relevant information To control unit, X-ray is emitted by control unit triggering x-ray source.X-ray forms very narrow sector after collimator and penetrates Harness, the luggage and articles penetrated on conveyer belt are fallen on detector, and the X-ray received is become electric signal by detector, these Very weak current signal quantifies after being amplified, and is transmitted to industrial control computer by universal serial bus and is for further processing, The image of high quality is obtained after complicated operation and imaging, finally obtained image is saturating described in this step View.
Under normal conditions, article of different nature will use different color (orange, green, blue etc.) and distinguish: It is organic matter, such as food with the orange article indicated, is safe;It is mixture with the article that green indicates;With blue table The article shown is inorganic matter, and the article of uncertain constituent is indicated with red, as fruit green or black object are relatively more, or is in Dagger, knife shape, usually gun, ammunition, controlled knife and other items.It is to use different colours table by above-mentioned in perspective view Show unlike material.
S102: the pictorial diagram of article to be detected is obtained using the inside material object camera being set to inside X-ray safety check case;
This step is intended to obtain the material object of article to be detected using the inside material object camera being set to inside X-ray safety check case Figure.Wherein, inside camera in kind and X-ray emitter are located on the inside of X-ray safety check case, to can with it is each to be checked The perspective view for surveying article obtains its pictorial diagram together.Specifically, inside material object camera can also be shared with X-ray emitter One control signal, i.e., when detect need to be detected article come when, while controlling X-ray emitter and internal camera in kind Corresponding operation is executed to identical article to be detected.Further, since the image of candid photograph may not be able to include mesh well The feature in kind for marking article to be detected, can also control the material object camera and be in the normal state the state of work, i.e. record is more It the problem of feature in kind, thus bring pictorial diagram and perspective view match, will be solved by subsequent step.
S103: the perspective view and pictorial diagram of the identical article to be detected of fusion obtain the perspective mixing in kind of article to be detected Figure.
On the basis of S101 and S102, this step is intended to merge the perspective view and pictorial diagram of identical article to be detected, obtains To the perspective combination chart in kind of article to be detected.Because the pictorial diagram and perspective view that due to various reasons, may cause are It is obtained from two systems, therefore also needs to merge the perspective view of identical article to be detected and pictorial diagram, obtained same When the perspective combination chart in kind comprising feature in kind and see-through feature.
How the perspective view and pictorial diagram of identical to be detected article to be determined, and by the perspective view and reality of identical article to be detected Object figure carries out the emphasis that fusion is this step, can in several ways during realization, such as can be by two width The marginal information for all including extracts and carries out similitude comparison, by marginal information is identical or extremely similar article to be detected It is determined as article of the same name;Can also be carried out by putting between other articles, positional relationship it is comprehensive determine etc., as long as sharp It can be carried out comparison between the two with the characteristic information being contained in perspective view and pictorial diagram simultaneously, eventually find identical to be checked The perspective view and pictorial diagram for surveying article herein and are not specifically limited, the application also provides in subsequent embodiment for merging It is a kind of specifically how to realize the method for merging the perspective view of identical article to be detected and pictorial diagram, after can be found in detail Continuous embodiment.
In order to enable in the perspective combination chart in kind that final fusion obtains while comprising feature in kind and see-through feature, i.e., not It can be only used for discerning whether there are doubtful prohibited items, corresponding object to be detected can also be accurately positioned by its feature in kind Product can also assign preset power during two images are merged for perspective view and the respective RGB numerical value of pictorial diagram Value, and the material object perspective view is obtained using weighted calculation method, such as can be 0.3 by the weight setting of the RGB numerical value of pictorial diagram, thoroughly The weight setting of the RGB numerical value of view is 0.7, so that feature in kind does not block see-through feature as far as possible.Certainly, the size of weight It can also be flexibly adjusted according to requirement existing under locating actual conditions, herein and be not specifically limited.
Further, when perspective view and pictorial diagram are obtained respectively by two systems, it is more likely that because picture is differentiated The different of rate setting causes perspective view and pictorial diagram to use different resolution ratio, this will lead to the size of two images not One, it will interfered for fusion process, therefore in order to enable syncretizing effect more preferably, it is also necessary to when there are such situation, adjust The resolution ratio of whole two images, so that two images are merged with identical size, so that in subsequent each pixel Point is more accurate when being overlapped.
Specifically, the different two images of resolution ratio will necessarily have relatively large and relatively small, and resolution ratio Adjustment be not that A figure is directly amplified to B figure or B figure is narrowed down into A figure because simple amplification and diminution are not influence point Resolution, and the method that will lead to fogging image, therefore generally use field interpolation when increasing resolution ratio, reduce resolution ratio Shi Ze is using local mean value or the method for equal interval sampling.And due to image it is big mean that data volume is big, brought to computer Load is big, so more preferred mode is to adjust resolution ratio relatively large image using the mode for reducing resolution ratio To another relatively small image of width resolution ratio, the load of computer is reduced with this.
Based on the above-mentioned technical proposal, a kind of image processing method applied on screening machine provided by the embodiments of the present application, The screening machine is different from conventional screening machine, is additionally provided with internal camera in kind in the inside of X-ray safety check case, obtains for shooting The pictorial diagram of identical article to be detected and perspective view are melted into the pictorial diagram of the article to be detected of the X-ray safety check case, and finally It closes, obtains the perspective combination chart in kind comprising feature in kind and see-through feature simultaneously.So, staff can make Under the mechanism for describing each article to be detected with perspective combination chart in kind, quickly, accurately there are doubtful prohibited items for positioning Luggage, and accurately inform the testing staff that unpacks, it can effectively avoid the congestion of security check passage, promote safety check efficiency.
Embodiment two
Fig. 2 is referred to, Fig. 2 is the flow chart of another image processing method provided by the embodiments of the present application, the present embodiment On the basis of being embodiment one, one kind being provided by S203, S204 and determines article of the same name by marginal information, and will be same The mode that the perspective view and pictorial diagram of name article are merged, S201 and S202 are identical as S101 and S102, do not make any change, For S205 on the basis of S203 and S204, opposite S103 has done adaptive change, including in the range of S103, specific implementation is walked It is rapid as follows:
S201: the perspective view of article to be detected is obtained using X-ray safety check case;
S202: the pictorial diagram of article to be detected is obtained using the inside material object camera being set to inside X-ray safety check case;
S203: extracting the marginal information of perspective view and the article to be detected in pictorial diagram respectively, and correspondence obtains first edge Information and second edge information;
This step is intended to extract the marginal information for the article to be detected for both including from perspective view and pictorial diagram respectively, It finally obtains from the first edge information extracted in perspective view and the second edge information extracted from pictorial diagram.
Although specifically, including that marginal information is being mentioned due to the special characteristics of perspective view in perspective view and pictorial diagram It takes and corresponding edge enhancing is also needed to handle when marginal information, to restore the marginal information being weakened as far as possible.Compared to perspective Figure, extracting marginal information from pictorial diagram can be more easier.
S204: being article of the same name by the article marking to be detected for possessing identical first edge information and second edge information;
On the basis of S203, this step is intended to possess the to be detected of identical first edge information and second edge information Article marking is article of the same name, it can the corresponding perspective view of article of the same name and pictorial diagram is determined, to be merged in S205. It should be noted that possessing identical marginal information not says that the two is identical, at two edges of within a certain error range Information also will be considered identical.
S205: merging the perspective view and pictorial diagram of article of the same name, obtains the perspective combination chart in kind of article of the same name.
In another embodiment of the application, a kind of more specific realization process is provided also directed to S203 and S204, is asked Referring to Fig. 3, the specific steps are as follows:
S301: it extracts to obtain the marginal information of the article to be detected in perspective view using edge enhancing technique, obtains first Marginal information;
S302: it extracts to obtain the marginal information of the article to be detected in pictorial diagram using erosion operation, obtains second edge Information;
Erosion operation refers to the certain pixels deleted in object images, the edge of image, boundary corrosion is fallen, and acts on Exactly " burr " at the edge of target is kicked and is removed.Finally obtained treated that image will be lost some details, becomes mould Paste, especially interior details information.Therefore, can be subtracted by the original image for shooting internal in kind camera by The mode of erosion operation obtains image after the processing of projecting edge information, and passes therethrough conventional edge extracting method and obtain Second edge information.
S303: similarity comparison is carried out to the edge feature of first edge information and second edge information;
This step is compared respectively from first edge on the basis of S301 and S302 by the method for some feature extractions Similarity between the edge feature that information and second edge information extraction go out, specifically, edge feature can be according to composition edge The mathematics information of the lines of information obtains, specifically, can be sat using such as pixel polar coordinate representation method, pixel right angle Representation or skeletal extraction method etc. are marked, herein and is not specifically limited, it can flexible choice according to the actual situation.
For example, three vertex of triangle be pixel, 3 points composition triangular angles it is constant, no matter triangle how Rotation, triangle or the same.So, it is assured that according to three angles of the triangle of these three point compositions postrotational Triangle and the triangle not rotated before.
S304: being more than the first edge information and the corresponding article to be detected of second edge information of preset threshold by similarity Labeled as article of the same name.
Wherein, the size of preset threshold can flexibly be set, such as 70%.
Embodiment three
Fig. 4 is referred to, Fig. 4 is adjustment pictorial diagram a kind of in image processing method provided by the embodiments of the present application and perspective view Resolution ratio method flow chart, the present embodiment is intended to the scene different for the resolution ratio of perspective view and pictorial diagram, and adopts The resolution ratio of two images carried out with the mode for the diminution resolution ratio that can reduce computational load as far as possible it is unified, specifically Implementation steps are as follows:
S401: compare the resolution sizes of perspective view and pictorial diagram, and using lesser resolution ratio as target resolution;
S402: the resolution ratio that will be greater than the image of target resolution is contracted to using the method for interval sampling or local mean value Target resolution.
This step is intended to select lesser resolution ratio as target resolution in the resolution ratio of perspective view and pictorial diagram, false The resolution ratio for determining pictorial diagram is 720 × 1280, and the resolution ratio of perspective view is 1024 × 1280, then 720 × 1280 resolution ratio It will be chosen as target resolution, pictorial diagram does not have to be adjusted, and needs the resolution ratio of perspective view from original 1024 × 1280 It is contracted to 720 × 1280.The method that specific diminution mode can choose interval sampling or local mean value.
Example IV
Refer to Fig. 5, Fig. 5 is a kind of structural schematic diagram of screening machine provided by the embodiments of the present application, which can be with Include:
X-ray safety check case 10, for obtaining the saturating of article to be detected using the article to be detected in X-ray irradiation own range View;
Internal material object camera 20, is set to the inside of X-ray safety check case 10, obtains being located at X-ray safety check case 10 for shooting The pictorial diagram of internal article to be detected;
Image fusion device 30 obtains article to be detected for merging the perspective view and pictorial diagram of identical article to be detected Perspective combination chart in kind.
Further, which can also include:
Edge extraction device, for extracting the marginal information of the article to be detected in perspective view and pictorial diagram respectively, Correspondence obtains first edge information and second edge information;
Article labelling apparatus of the same name, for the article to be detected of identical first edge information and second edge information will to be possessed Labeled as article of the same name;
Corresponding, image fusion device 30 is specially the perspective view and pictorial diagram for merging article of the same name, obtains article of the same name Perspective view and pictorial diagram device.
Further, which can also include:
Size unitizes device, for adjusting the resolution ratio of perspective view and pictorial diagram to identical target resolution.
Wherein, edge extraction device may include:
First edge information extraction modules, for extracting to obtain the article to be detected in perspective view using edge enhancing technique Marginal information, obtain first edge information;
Second edge information extraction modules, for extracting to obtain the side of the article to be detected in pictorial diagram using erosion operation Edge information obtains second edge information.
Optionally, article labelling apparatus of the same name may include:
Similarity comparison module carries out similarity ratio for the edge feature to first edge information and second edge information It is right;
Article judgement of the same name and mark module, for being more than first edge information and the second side of preset threshold by similarity The corresponding article marking to be detected of edge information is article of the same name.
Optionally, the unitized device of size may include:
Resolution ratio comparison module is made for comparing the resolution sizes of perspective view and pictorial diagram, and by lesser resolution ratio For target resolution;
Resolution adjustment module, it is equal using interval sampling or part for will be greater than the resolution ratio of image of target resolution The method of value is contracted to target resolution.
Optionally, image fusion device is specially by the perspective view of identical article to be detected and pictorial diagram respectively with preset The device that weight is merged according to weighted calculation method.
Further, internal camera 20 in kind can specifically be set to the top inside X-ray safety check case 10, in order to prevent The pictorial diagram identification that dull thread causes shooting to obtain in X-ray safety check case 10 is lower, can also be arranged inside X-ray safety check case 10 There is the light source of such as flash lamp, not interfere the normal work of X-ray emitter to be advisable.
A kind of novel security inspection machine is illustrated referring also to Fig. 6, Fig. 6 simultaneously, not only being internally provided in X-ray safety check case Internal material object camera, in order to record and trace the article to be detected for entering and leaving screening machine, also respectively in X-ray safety check case Two sides (article approaching side to be detected and leave side) are provided with external camera in kind.
In order to deepen the understanding to the present application point, it will be based on novel security inspection machine shown in fig. 6 below, in conjunction with actually answering A kind of actual implementation is provided with scene, the functional block diagram of the implementation refers to Fig. 7:
Safe examination system industrial personal computer is mainly responsible for the imaging of perspective view, and safe examination system executing agency is that control circuit part includes The control of transmitting device, the control of X-ray emitter, the acquisition of X-ray, electric circuit control, finally will in the first display The perspective view of article to be detected is presented in face of safety inspector;Camera system industrial personal computer is mainly responsible for capturing supervisory function bit, including Two external cameras in kind and an internal camera in kind, external material object camera are respectively intended to monitoring screening machine channel and enter Mouthful and the case where outlet, the case where internal material object camera is used to capture the article to be detected of channel interior.Three cameras are logical Interchanger is crossed to show the image taken in second display.
Novel security inspection machine is (to form the conventional X-ray safe examination system of perspective view and form the reality of pictorial diagram the two systems Object camera system) it is connected by Ethernet and is communicated with ICP/IP protocol, the perspective view of conventional X-ray safe examination system is real When be sent in camera system in kind, when camera system in kind receives the perspective view that conventional X-ray safe examination system is sent, just The pictorial diagram for the article to be detected that internal camera in kind is captured is extracted, and (thoroughly by the two images of identical article to be detected View and pictorial diagram) it is merged, the perspective view of a width comparison image is formed, has not only included surface but also has had see-through feature, more Add the package that any contraband is accurately locked convenient for safety inspector.
In order to enable the perspective view and pictorial diagram of fusion are identical articles to be detected, the present embodiment comes in the following way It realizes:
Firstly, camera system in kind will carry out time synchronization between conventional X-ray safe examination system, it is intended to preliminary to guarantee inside The perspective view that the pictorial diagram and conventional X-ray safe examination system that camera in kind is captured obtain is the same article to be detected. There is a width completely to have an X-rayed secondly, internal material object camera goes the premise captured that will be set to conventional X-ray safe examination system Figure is at and being sent to camera system in kind for the perspective view, camera system in kind will be after receiving a secondary perspective view, at once The internal camera in kind of control, which executes, captures operation.
Be based only upon aforesaid operations can also because capturing time delay, order executes the reasons such as delay not lead to perspective view and pictorial diagram not Match, to solve this problem, extracted also from pictorial diagram and perspective view and obtain marginal information, and carry out similitude comparison, only will Similitude comparison result is more than the pictorial diagram of preset threshold and perspective view are determined as it being obtained in the identical article to be detected. Why can realize in this manner, be because perspective view and pictorial diagram in marginal information be all it is obvious, The extraction of marginal information can be obtained by the way that original image is subtracted the image obtained after erosion operation, particularly, due to perspective Marginal information is weakened in figure, therefore also needs to carry out edge enhancing operation before executing erosion operation, as to restore former as possible The marginal information of beginning.After edge extraction comes out, perspective view and pictorial diagram will be matched according to edge feature, if met Preset similarity mode as a result, then illustrate current perspective view and pictorial diagram it is corresponding be identical article to be detected.
Point for the pictorial diagram that the resolution ratio for the perspective view that conventional X-ray safe examination system obtains may be obtained with camera system in kind Resolution is different, when not for the moment, in order to guarantee the effect of subsequent fusion, it is also necessary to carry out size normalization operation, size normalization It is that the different image of two width sizes (i.e. the different image of resolution ratio) is uniformly obtained into the process that ruler deposits identical picture, with Convenient for subsequent edges information extraction and mixing operation.
To identical article to be detected perspective view and pictorial diagram merge during, will be real using weighted calculation method It is existing: the rgb value of pictorial diagram being overlapped with the rgb value of perspective view multiplied by 0.7 multiplied by 0.3, obtains blending image.Certain RGB Weight can be merged according to safety inspector's demand, if safety inspector thinks that the feature in kind for including in pictorial diagram is more important Can be taken with the weight of the RGB of pictorial diagram it is larger, with the feature in kind in more prominent blending image.
Because situation is complicated, it can not enumerate and be illustrated, those skilled in the art should be able to recognize according to the application The basic skills principle combination actual conditions of offer may exist many examples, in the case where not paying enough creative works, It should within the scope of protection of this application.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and between each embodiment For progressive relationship, each embodiment focuses on the differences from other embodiments, identical between each embodiment Similar portion may refer to each other.For the device disclosed in the embodiment, reference can be made to corresponding method part illustration.The above reality The explanation for applying example is merely used to help understand the present processes and its core concept.For the ordinary skill people of the art Member for, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improve and Modification is also fallen into the protection scope of the claim of this application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also other elements including being not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment for including element.

Claims (10)

1. a kind of image processing method, which is characterized in that be applied to screening machine, described image processing method includes:
The perspective view of article to be detected is obtained using X-ray safety check case;
The pictorial diagram of the article to be detected is obtained using the inside material object camera being set to inside the X-ray safety check case;
The perspective view and pictorial diagram for merging the identical article to be detected obtain the perspective mixing in kind of the article to be detected Figure.
2. image processing method according to claim 1, which is characterized in that merging the saturating of the identical article to be detected Before view and pictorial diagram, further includes:
The marginal information of the article to be detected in the perspective view and the pictorial diagram is extracted respectively, it is corresponding to obtain first edge letter Breath and second edge information;
It is article of the same name by the article marking to be detected for possessing the identical first edge information and the second edge information;
It is corresponding, the perspective view and pictorial diagram of the identical article to be detected are merged, obtains the material object of the article to be detected thoroughly Depending on combination chart, comprising:
The perspective view and pictorial diagram for merging the article of the same name obtain the perspective combination chart in kind of the article of the same name.
3. image processing method according to claim 2, which is characterized in that extract the perspective view and the material object respectively The marginal information of article to be detected in figure, correspondence obtain first edge information and second edge information, comprising:
The marginal information for extracting to obtain the article to be detected in the perspective view using edge enhancing technique obtains first side Edge information;
The marginal information for extracting to obtain the article to be detected in the pictorial diagram using erosion operation obtains the second edge letter Breath.
4. image processing method according to claim 2, which is characterized in that will possess the identical first edge information and The article marking to be detected of the second edge information is article of the same name, comprising:
Similarity comparison is carried out to the edge feature of the first edge information and the second edge information;
By similarity be more than the first edge information of preset threshold and the corresponding article marking to be detected of second edge information is institute State article of the same name.
5. image processing method according to claim 1, which is characterized in that merging the saturating of the identical article to be detected Before view and pictorial diagram, further includes:
The resolution ratio of the perspective view and the pictorial diagram is adjusted to identical target resolution.
6. image processing method according to claim 5, which is characterized in that adjust the perspective view and the pictorial diagram Resolution ratio is to identical target resolution, comprising:
Compare the resolution sizes of the perspective view and the pictorial diagram, and is differentiated lesser resolution ratio as the target Rate;
Will be greater than the resolution ratio of the image of the target resolution be contracted to using the method for interval sampling or local mean value it is described Target resolution.
7. image processing method according to any one of claims 1 to 6, which is characterized in that fusion is identical described to be detected The perspective view and pictorial diagram of article, comprising:
The perspective view of the identical article to be detected and pictorial diagram are melted with preset weight according to weighted calculation method respectively It closes.
8. a kind of screening machine characterized by comprising
X-ray safety check case (10), for obtaining the article to be detected using the article to be detected in X-ray irradiation own range Perspective view;
Internal material object camera (20), is set to the inside of the X-ray safety check case (10), obtains being located at the X-ray for shooting The pictorial diagram of the internal article to be detected of safety check case (10);
Image fusion device (30) obtains described to be checked for merging the perspective view and pictorial diagram of the identical article to be detected Survey the perspective combination chart in kind of article.
9. screening machine according to claim 8, which is characterized in that further include:
Edge extraction device, the edge for extracting the article to be detected in the perspective view and the pictorial diagram respectively are believed Breath, correspondence obtain first edge information and second edge information;
Article labelling apparatus of the same name, for the to be detected of the identical first edge information and the second edge information will to be possessed Article marking is article of the same name;
Corresponding, described image fusing device (30) is specially the perspective view and pictorial diagram for merging the article of the same name, obtains institute State the perspective view of article of the same name and the device of pictorial diagram.
10. screening machine according to claim 8, which is characterized in that further include:
Size unitizes device, for adjusting the resolution ratio of the perspective view and the pictorial diagram to identical target resolution.
CN201811289367.4A 2018-10-31 2018-10-31 A kind of image processing method and screening machine Pending CN109146883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811289367.4A CN109146883A (en) 2018-10-31 2018-10-31 A kind of image processing method and screening machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811289367.4A CN109146883A (en) 2018-10-31 2018-10-31 A kind of image processing method and screening machine

Publications (1)

Publication Number Publication Date
CN109146883A true CN109146883A (en) 2019-01-04

Family

ID=64807269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811289367.4A Pending CN109146883A (en) 2018-10-31 2018-10-31 A kind of image processing method and screening machine

Country Status (1)

Country Link
CN (1) CN109146883A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612020A (en) * 2019-02-22 2020-09-01 杭州海康威视数字技术股份有限公司 Abnormal detected object positioning method and security check analysis equipment and system
CN112371540A (en) * 2020-09-14 2021-02-19 海深智能科技(上海)有限公司 Security inspection system capable of automatically sorting contraband
CN113267828A (en) * 2021-06-09 2021-08-17 杭州海康威视数字技术股份有限公司 Information association method and device, security check equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110071389A1 (en) * 2009-05-13 2011-03-24 Medtronic Navigation, Inc. System and Method for Automatic Registration Between an Image and a Subject
CN102629315A (en) * 2012-02-29 2012-08-08 北京无线电计量测试研究所 Automatic detection and identification apparatus of concealed object
CN103926199A (en) * 2014-04-16 2014-07-16 黄晓鹏 Hazardous article detecting device and method
US20150108330A1 (en) * 2009-10-01 2015-04-23 Sony Corporation Image taking device and camera system
CN207166668U (en) * 2017-09-22 2018-03-30 厦门硅谷动能信息技术有限公司 A kind of checked baggage people bag corresponding device
CN108549898A (en) * 2018-03-20 2018-09-18 特斯联(北京)科技有限公司 A kind of method and system of specific objective identification and enhancing for safety check perspective

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110071389A1 (en) * 2009-05-13 2011-03-24 Medtronic Navigation, Inc. System and Method for Automatic Registration Between an Image and a Subject
US20150108330A1 (en) * 2009-10-01 2015-04-23 Sony Corporation Image taking device and camera system
CN102629315A (en) * 2012-02-29 2012-08-08 北京无线电计量测试研究所 Automatic detection and identification apparatus of concealed object
CN103926199A (en) * 2014-04-16 2014-07-16 黄晓鹏 Hazardous article detecting device and method
CN207166668U (en) * 2017-09-22 2018-03-30 厦门硅谷动能信息技术有限公司 A kind of checked baggage people bag corresponding device
CN108549898A (en) * 2018-03-20 2018-09-18 特斯联(北京)科技有限公司 A kind of method and system of specific objective identification and enhancing for safety check perspective

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612020A (en) * 2019-02-22 2020-09-01 杭州海康威视数字技术股份有限公司 Abnormal detected object positioning method and security check analysis equipment and system
CN111612020B (en) * 2019-02-22 2024-04-26 杭州海康威视数字技术股份有限公司 Positioning method for abnormal object to be detected, security inspection analysis equipment and security inspection analysis system
CN112371540A (en) * 2020-09-14 2021-02-19 海深智能科技(上海)有限公司 Security inspection system capable of automatically sorting contraband
CN113267828A (en) * 2021-06-09 2021-08-17 杭州海康威视数字技术股份有限公司 Information association method and device, security check equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111145177B (en) Image sample generation method, specific scene target detection method and system thereof
CN109146883A (en) A kind of image processing method and screening machine
CN103745226B (en) Dressing safety detection method for worker on working site of electric power facility
DE112016000909T5 (en) Monitoring device and monitoring method
CN106203264A (en) Dangerous goods detection method and device
KR102168724B1 (en) Method And Apparatus for Discriminating Normal and Abnormal by using Vision Inspection
CN109785446B (en) Image recognition system and method thereof
CN104865281B (en) Human body back scattering inspection method and system
CN110850493A (en) Linear array high-speed security inspection machine for visual image judgment of scanning imaging machine
CN114019572A (en) X-ray security inspection method and security inspection device based on multi-camera fusion
CN112184773A (en) Helmet wearing detection method and system based on deep learning
CN209895386U (en) Image recognition system
CN107999413A (en) A kind of high speed X light express delivery method for sorting
CN111539251B (en) Security check article identification method and system based on deep learning
WO2015028294A1 (en) Monitoring installation and method for presenting a monitored area
CN110569776A (en) method for screening faults of power transmission and distribution line after typhoon disaster
CN114160447A (en) Advanced machine inspection system and method
EP3021256A1 (en) Method for image processing, presence detector and lighting system
CN112396649B (en) Image processing method, device, computer system and readable storage medium
CN116563628A (en) Security check judgment chart identification method, device, equipment and storage medium
WO2020038984A1 (en) Method and assembly for detecting corona discharges of a system comprising equipment
CN111103629A (en) Target detection method and device, NVR (network video recorder) equipment and security check system
CN115166843A (en) Method for real-time reexamination of carry-on luggage of passengers on security check passage
CN114167508A (en) Security inspection device and method
CN107991322A (en) The method and device of intelligent recognition power equipment internal part defect

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523710, 26, 188 Industrial Road, Pingshan Town, Guangdong, Dongguan, Tangxia

Applicant after: Entropy Technology Co., Ltd

Address before: 523710, 26, 188 Industrial Road, Pingshan Town, Guangdong, Dongguan, Tangxia

Applicant before: Zhongkong Smart Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104