[go: up one dir, main page]

CN115345862A - Method and device for simulating X-ray machine scanning imaging based on column data and display - Google Patents

Method and device for simulating X-ray machine scanning imaging based on column data and display Download PDF

Info

Publication number
CN115345862A
CN115345862A CN202211010269.9A CN202211010269A CN115345862A CN 115345862 A CN115345862 A CN 115345862A CN 202211010269 A CN202211010269 A CN 202211010269A CN 115345862 A CN115345862 A CN 115345862A
Authority
CN
China
Prior art keywords
picture
pictures
column
current
drawing board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211010269.9A
Other languages
Chinese (zh)
Other versions
CN115345862B (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.)
Chengdu Zhiyuanhui Information Technology Co Ltd
Original Assignee
Chengdu Zhiyuanhui Information 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 Chengdu Zhiyuanhui Information Technology Co Ltd filed Critical Chengdu Zhiyuanhui Information Technology Co Ltd
Priority to CN202211010269.9A priority Critical patent/CN115345862B/en
Publication of CN115345862A publication Critical patent/CN115345862A/en
Application granted granted Critical
Publication of CN115345862B publication Critical patent/CN115345862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/02Non-photorealistic rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10116X-ray image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Generation (AREA)

Abstract

The invention discloses a method and a device for scanning and imaging of an imitated X-ray machine based on column data and a display, and the method comprises the following steps: acquiring a current column data byte group; converting into a current column picture; judging whether a first list of pictures exists or not, and creating a first drawing board g in a hidden state; drawing the pixel values into a drawing board g; rendering and displaying after traversing a width of a column of pictures, wherein the current column of pictures are rendered and displayed along the edge of the screen S; judging whether the picture is a tail picture or not; rendering and displaying after integrally traversing a row of pictures for one width, and rendering and displaying the current row of pictures along the edge of the screen S; and converting the drawing board g into a current drawing board picture g, deleting all the column pictures, performing rendering display after the whole body transversely moves by the width of one column picture, and performing rendering display on the current drawing board picture g along the edge of the screen S.

Description

Method and device for simulating scanning imaging of X-ray machine based on column data and display
Technical Field
The invention relates to the technical field of security check judgment drawings, in particular to a column data-based method and device for scanning and imaging of an imitated X-ray machine and a display.
Background
Under the centralized image judgment scene of security inspection, the whole system comprises: the system comprises an X-ray machine for scanning packages to form package X-ray pictures, an intelligent picture recognition box for obtaining the recognition result of contraband in the package X-ray pictures, and a client of a centralized picture judgment workstation.
At present, a client of a centralized image judging workstation displays a package X-ray image scanned and cut by an X-ray machine on a screen, so that a diagraph can further judge and mark contraband in the package X-ray image of the package. The picture information acquired by the screen each time is a parcel X-ray picture corresponding to a complete parcel. Such a method causes the following problems: 1. in order to save network bandwidth, the pictures are pulled by using URL transmission, and network loading consumption is caused during pulling, so that delay is caused; 2. the picture display mode is a static tiling mode, and a diagraph is easy to fatigue when performing long-time diagraph judgment, and risks of untimely diagraph judgment, missed judgment, erroneous judgment and the like are caused; 3. the image judging person is basically a security check operator, and since the scanning imaging video (from left to right or from right to left) of the X-ray machine is frequently observed before, the image judging person can adapt to a new image judging mode again after post adjustment and has training cost.
Disclosure of Invention
The invention aims to provide a method and a device for scanning and imaging of an X-ray simulator based on column data and a display. In order to solve the problems, the invention adopts a dynamic imitation scanning imaging technology by using column data. The technology is applied to the client side of the centralized judging graph workstation.
On one hand, the method for scanning and imaging of the simulated X-ray machine based on column data comprises the following steps:
s1, sequentially obtaining 1 current column data byte group corresponding to one parcel picture;
s2, converting 1 current column data byte group into 1 current column picture;
s3, judging whether the current column picture is the first column picture of a wrapping picture, if so, turning to S4, S5 and S6, and if not, turning to S5 and S7;
s4, creating a drawing board g in a hidden state;
s5, drawing the pixel values of the current column of pictures into a drawing board g;
s6, rendering and displaying all the drawing board pictures in front of the current row of pictures after integrally moving across the width of one row of pictures, and rendering and displaying the current row of pictures along the edge of the screen S;
s7, judging whether the current column picture is a tail column picture of a wrapped picture, if so, turning to S9, and if not, turning to S8;
s8, rendering and displaying all the drawing board pictures and all the column pictures in front of the current column picture after moving across the width of one column picture, and rendering and displaying the current column picture along the edge of the screen S;
s9, converting the drawing board g into a current drawing board picture g, deleting all column pictures, and converting to S10;
and S10, rendering and displaying all the drawing board pictures in front of the current row of pictures after moving across the width of the row of pictures, and rendering and displaying the current drawing board picture g along the edge of the screen S.
Further, when the drawing board g is converted into the current drawing board picture g, the widths of the current column pictures and all the column pictures are read and summed to obtain a cutting width, a new drawing board g is obtained according to the cutting width, and the new drawing board g is converted into the current drawing board picture g.
Further, the method for scan imaging of an imitative X-ray machine based on column data according to claim 1, wherein the current drawing board picture comprises a first column of pictures, column pictures between the first column of pictures and a last column of pictures, and pixel values of the last column of pictures; each drawing board picture before the current list of pictures corresponds to a parcel picture, and the parcel picture is a parcel X-ray picture with a complete outline.
Further, before the drawing board g is converted into a drawing board picture, the method further comprises the following steps:
s01, acquiring coordinate information of a contraband identification frame corresponding to a package picture;
s02, drawing a corresponding contraband identification frame in a drawing board g according to the coordinate information of the contraband identification frame.
Furthermore, the current column of pictures is pictures with fixed height, h and aspect ratio; the drawing board g is a drawing board with a fixed height and a width of h and a width of a screen S; the h is the same height as the screen S.
Further, the edge of the screen S refers to a side away from which the overall traversing movement direction deviates.
Furthermore, the 1 current column data byte group corresponding to one parcel picture and the contraband identification frame coordinate information corresponding to one parcel picture are both from the intelligent picture recognition box.
On the other hand, the device for simulating X-ray machine scanning imaging based on column data comprises:
a screen S;
a memory;
one or more processors; and
one or more modules stored in a memory and configured to be executed by the one or more processors, the one or more modules comprising:
a module for sequentially acquiring 1 current column data byte group corresponding to a parcel picture;
a module for converting 1 current column data byte group into 1 current column picture;
a module for judging whether the current list of pictures is the first list of pictures of a wrapped picture;
when the current picture column is the first picture column, a module of a drawing board g in a hidden state is created;
when the current column of pictures is the first column of pictures, the pixel values of the current column of pictures are drawn into a module of a drawing board g;
when the current column of pictures is a first column of pictures, rendering and displaying all the drawing board pictures in front of the current column of pictures after the pictures integrally move across the width of one column of pictures, and rendering and displaying the current column of pictures along the edge of the screen S;
when the current column of pictures is not the first column of pictures, drawing the pixel values of the current column of pictures into a module of a drawing board g;
a module for judging whether the current column picture is a tail column picture of a wrapped picture;
a module for rendering and displaying all drawing board pictures and all column pictures before the current column picture after moving across a column picture width when the current column picture is not the first column picture and not the last column picture, and rendering and displaying the current column picture along the edge of the screen S;
when the current picture is the tail picture, the drawing board g is converted into the current drawing board picture g, all the modules of the picture columns are deleted,
and when the current picture is a tail picture, rendering and displaying all the drawing board pictures before the current picture after moving across a width of one picture, and rendering and displaying the current drawing board picture g along the edge of the screen S.
Preferably, the one or more modules further comprise:
a module for acquiring coordinate information of a contraband identification frame corresponding to a parcel picture;
when the current list picture is the tail list picture, according to contraband identification frame coordinate information, drawing out the module of corresponding contraband identification frame in drawing board g.
On the other hand, the display comprises at least the following picture states;
the first picture state: rendering and displaying all the drawing board pictures in front of the current row of pictures after integrally traversing one row of picture width, and rendering and displaying the current row of pictures along the edge of the screen S;
the second picture state: rendering and displaying all the drawing board pictures and all the column pictures in front of the current column of pictures after integrally moving across the width of one column of pictures, and rendering and displaying the current column of pictures along the edge of the screen S;
the third picture state: rendering and displaying all the drawing board pictures in front of the current row of pictures after the drawing board pictures integrally move across the width of one row of pictures, and rendering and displaying the current drawing board pictures along the edge of the screen S;
each drawing board picture before the current list of pictures corresponds to a wrapping picture, and the wrapping picture is a wrapping X-ray picture with a complete outline; the current drawing board picture comprises the first column of pictures, the column pictures between the first column of pictures and the tail column of pictures, and the pixel values of the tail column of pictures.
The invention has the following beneficial effects:
1. the invention is an imaging technology, in popular terms, a picture display technology, after the invention is adopted, the screen S is transversely translated by the width of a column picture corresponding to one column data each time, and the latest image content is always kept at one side of the edge of the screen S, thereby achieving the scanning effect of the simulated X-ray machine.
2. Because the invention creates a drawing board when the first picture of the current wrapped picture is used for synchronously duplicating the pixel value of the current picture, when the last picture of the current wrapped picture is used, the drawing board is converted into the current drawing board picture which already contains the first picture, the pictures between the first picture and the last picture and the pixel value of the last picture, and all the pictures are deleted; when the picture is rendered, only the picture of the drawing board before the current picture, or the picture of the drawing board before the current picture, the picture before the current picture (at most, all the pictures belonging to the current wrapped picture), or the picture of the drawing board before the current picture, or the picture of the current drawing board. The method comprises the steps that 1 drawing board picture corresponding to one wrapped X-ray picture and at most all column pictures corresponding to the current wrapped X-ray picture are included in a picture through head-to-tail judgment, and particularly all the column pictures of the current wrapped X-ray picture are finally replaced by one drawing board picture, so that the number of rendering objects imaged in each displacement is greatly reduced, and the overhead requirement of a client is greatly reduced.
3. Because the intelligent image recognizing box can provide coordinate information of contraband, when imaging, a contraband identification frame generally needs to be formed in a picture, if a column picture corresponding to each parcel picture (the parcel picture is also generally called as a luggage image) is independently arranged in the picture, a marking frame needs to be built in the corresponding column picture, when rendering is carried out each time, reloading is needed and calculation is carried out again according to the displacement, and the operation burden is greatly increased.
Drawings
Fig. 1 is a prior art technique in which all parcel pictures are imaged column by column using column pictures.
Fig. 2 is a schematic view of a processing flow of the present invention in which a current parcel picture is imaged column by column using a column picture and a previous parcel picture is imaged by a drawing board picture.
Fig. 3 is a schematic diagram of imaging when the invention receives the first column of pictures.
FIG. 4 is a schematic diagram of the imaging of the invention when receiving the tail picture.
FIG. 5 is a schematic diagram of the present invention in a top view of the screen.
Fig. 6 is a schematic diagram of a parcel picture.
Fig. 7 is a schematic diagram of a parcel picture with a contraband identification frame superimposed on a drawing board.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but the present invention is not limited to these examples.
Example 1
As shown in fig. 1-7, the method for scanning and imaging by an X-ray simulator based on column data comprises the following steps:
s1, sequentially obtaining 1 current column data byte group corresponding to one package picture;
s2, converting 1 current column data byte group into 1 current column picture;
s3, judging whether the current column picture is the first column picture of a wrapping picture, if so, turning to S4, S5 and S6, and if not, turning to S5 and S7;
s4, creating a drawing board g in a hidden state;
s5, drawing the pixel values of the current column of pictures into a drawing board g;
s6, rendering and displaying all the drawing board pictures in front of the current row of pictures after integrally moving across the width of one row of pictures, and rendering and displaying the current row of pictures along the edge of the screen S;
s7, judging whether the current column picture is a tail column picture of a wrapping picture, if so, turning to S9, and if not, turning to S8;
s8, rendering and displaying all the drawing board pictures and all the column pictures in front of the current column picture after moving across the width of one column picture, and rendering and displaying the current column picture along the edge of the screen S;
s9, converting the drawing board g into a current drawing board picture g, deleting all column pictures, and converting to S10;
and S10, rendering and displaying all the drawing board pictures in front of the current row of pictures after moving across the width of the row of pictures, and rendering and displaying the current drawing board picture g along the edge of the screen S.
As shown in fig. 6, the package image is 1 package image (a row package image or a row package image), a package image does not have a contraband identification frame, the package image is obtained by processing and dividing by an intelligent image recognition box, and only contraband identification information (including a contraband name and identification frame coordinate information) is obtained after identification, the intelligent image recognition box cuts the package image into a plurality of column data byte groups, the column data byte groups are binary, and the column data byte groups are simply referred to as column data and are generally used for facilitating transmission.
As shown in fig. 1, if a plurality of column data corresponding to each parcel picture are transmitted to the imaging terminal, and the imaging terminal performs imaging display column by column, in one screen, in addition to displaying the column picture corresponding to the current parcel picture, the column picture corresponding to the previous parcel picture is also shifted and rendered for display. That is, when the client receives the column data of the package, the column data is usually directly converted into a picture and directly rendered in the package picture display area of the client, and how many columns of data pictures are rendered for how many columns of data. This practice causes the following problems:
1. when the number of the packages in the picture is too large, the number of the displayed pictures is too large, for example: assuming that there are 10 packets, 20 columns of each packet, and a top view angle and a side view angle, respectively, there are 10 × 20 × 2=400 pictures rendered in total, so that 400 pictures are rendered for each step of display at the client, and when there are more columns of data to be received, 400 pictures are moved at the same time, which is very costly to the client.
2. When the contraband identification frame coordinate of the intelligent identification picture is received, the position of the contraband identification frame coordinate needs to be calculated according to the pixel points of the picture, if the contraband identification frame coordinate needs to be calculated according to the column data, the process is very complex, and the relative position of the contraband frame and the column data picture needs to be recalculated every time the package moves.
Aiming at the problems, the invention provides a concept of canvas synchronization, a received column picture is taken, the RGB value of each pixel point is taken, the RGB value (pixel value) is drawn on the drawing board according to the same position, for 1 parcel, after the complete parcel is received, the column picture is not displayed, and the data of the drawing board is converted into the drawing board picture to be rendered and imaged on a client. This saves a lot of performance in picture rendering.
As shown in fig. 3 and 4, or the above example, in the present invention, the first 9 packages all form the corresponding sketchpad pictures g1 and g2 \8230, for the current package, if the current column of pictures is the first column of pictures, the current column of pictures and the first 9 sketchpad pictures are rendered and imaged, i.e., (9 + 1) = 2=20 pictures, if the current column of pictures is not the first column of pictures nor the last column of pictures, i.e., the middle column of pictures, the previous column of pictures, the current column of pictures and the first 9 sketchpad pictures are rendered and imaged, i.e., (9 +1 or 2 or \8230; 18))) 2, if the current column of pictures is the last column of pictures, all the columns of pictures are deleted, the first 9 sketchpad pictures and the current picture are rendered and imaged, i.e., (9 + 1) =2 pictures, and 20 pictures are displayed on the client side and moved. And when the frame is drawn, the coordinates of the contraband identification are calculated according to the width and the height of the drawing board, and the drawing is directly carried out on the drawing board.
The manner of determining the first-column pictures and the last-column pictures is conventional technology, and is not described herein again.
As shown in fig. 3, the picture in the screen S is moved from right to left, after the column data corresponding to the current parcel enters, the column picture 1 is formed, and after the column data is judged to be the first column picture, the picture of the drawing board corresponding to the previous parcel is rendered, the column picture 1 is rendered and displayed on the rightmost side of the screen S, and the pixel value of the column picture 1 is drawn into the drawing board g in the hidden state, and before no column picture is judged to be the last column picture, the drawing board g is used as 1 drawing board container corresponding to the current parcel, and is initialized on the right side of the screen similarly, and is also synchronously traversed.
As shown in fig. 4, after the column data corresponding to the current parcel enters, a column picture 3 is formed, since the column picture 3 is determined not to be the first column picture, the pixel value is written into the drawing board g, and meanwhile, after the column picture 3 is determined to be the last column, the column pictures 1, 2, and 3 corresponding to the current parcel are all deleted, at this time, the drawing board g is converted into the drawing board picture g and rendered together with the previous drawing board picture. In the invention, the drawing board has three states, wherein the drawing board is created to be in a state of filling the first column of picture pixels but being hidden, is filled with a plurality of column picture pixels but being hidden, and is in a state of being rendered and displayed after the pixels of all the column pictures of the current package are filled to form a new picture.
Further, when the drawing board g is converted into the current drawing board picture g, the widths of the current column of pictures and all the column of pictures are read and summed to obtain a cutting width, a new drawing board g is obtained according to the cutting width, and the new drawing board g is converted into the current drawing board picture g. The process further defines the boundaries of the final sketchpad picture g, the width of one sketchpad picture g is the same as the width of 1 parcel picture, but it is determined based on the sum of the widths of all column pictures corresponding to one parcel. The merged re-imaging of all columns of a parcel on the display terminal side is achieved, but the dynamic nature of the imaging is preserved.
Further, the method for scan imaging of an imitative X-ray machine based on column data according to claim 1, wherein the current drawing board picture comprises a first column of pictures, column pictures between the first column of pictures and a last column of pictures, and pixel values of the last column of pictures; each drawing board picture before the current list of pictures corresponds to a parcel picture, and the parcel picture is a parcel X-ray picture with a complete outline.
Further, before the drawing board g is converted into a drawing board picture, the method further comprises the following steps:
s01, acquiring coordinate information of a contraband identification frame corresponding to a package picture;
s02, drawing a corresponding contraband identification frame in a drawing board g according to coordinate information of the contraband identification frame, generally finding angular points according to the corresponding relation between coordinates and pixel coordinates in the drawing board g, wherein the angular points generally comprise 2 angular points including an upper left angular point and a lower right angular point, forming a frame line based on the 2 angular points, and converting pixel points passed by the frame line into line frame pixels.
Furthermore, the current column of pictures is pictures with fixed height, h and aspect ratio; the drawing board g is a drawing board with a fixed height, h and a width, S, of the screen; the h is the same height as the screen S. Because one parcel picture may come from different X-ray machines, in order to unify the picture size, h is taken according to the height fixation, the aspect ratio is kept to form the current list of pictures, and the proportional relation is used for subsequent calculation after being kept.
Further, the edge of the screen S refers to a side away from which the overall traversing direction deviates, for example, if the overall traversing direction is to the left, the edge of the screen S refers to the rightmost side, and if the overall traversing direction is to the right, the edge of the screen S refers to the leftmost side.
Furthermore, the 1 current column data byte group corresponding to one parcel picture and the contraband identification frame coordinate information corresponding to one parcel picture are both from the intelligent picture recognition box.
Example 2
As shown in fig. 1-7, the apparatus for scanning and imaging by an X-ray simulator based on column data comprises:
a screen S;
a memory;
one or more processors; and
one or more modules stored in a memory and configured to be executed by the one or more processors, the one or more modules comprising:
a module for sequentially obtaining 1 current column data byte group corresponding to a parcel picture;
a module for converting 1 current column data byte group into 1 current column picture;
a module for judging whether the current list of pictures is the first list of pictures of a wrapped picture;
when the current picture is the first picture, a module of a drawing board g in a hidden state is created;
when the current column of pictures is the first column of pictures, the pixel values of the current column of pictures are drawn into a module of a drawing board g;
when the current column of pictures is a first column of pictures, rendering and displaying all the drawing board pictures in front of the current column of pictures after the pictures integrally move across the width of one column of pictures, and rendering and displaying the current column of pictures along the edge of the screen S;
when the current column of pictures is not the first column of pictures, the pixel values of the current column of pictures are drawn into a module of a drawing board g;
a module for judging whether the current column of pictures is a tail column of pictures of a wrapped picture;
a module for rendering and displaying all drawing board pictures and all column pictures before the current column picture after moving across a column picture width when the current column picture is not the first column picture and not the last column picture, and rendering and displaying the current column picture along the edge of the screen S;
when the current picture is the tail picture, the drawing board g is converted into the current drawing board picture g, all the modules of the picture columns are deleted,
and when the current picture is a tail picture, rendering and displaying all the drawing board pictures in front of the current picture after moving across a width of one picture, and rendering and displaying the current drawing board picture g along the edge of the screen S.
Preferably, the one or more modules further comprise:
a module for acquiring coordinate information of a contraband identification frame corresponding to a parcel picture;
when the current list of pictures is the tail list of pictures, drawing a module of a corresponding contraband identification frame in the drawing board g according to the coordinate information of the contraband identification frame.
Example 3
As shown in fig. 1-7, a display, the display comprising at least the following screen states;
the first picture state: rendering and displaying all the drawing board pictures in front of the current row of pictures after moving across the width of one row of pictures, and rendering and displaying the current row of pictures along the edge of the screen S;
the second picture state: rendering and displaying all the drawing board pictures and all the column pictures in front of the current column of pictures after integrally moving across the width of one column of pictures, and rendering and displaying the current column of pictures along the edge of the screen S;
the third picture state: rendering and displaying all the drawing board pictures in front of the current row of pictures after the drawing board pictures integrally move across the width of one row of pictures, and rendering and displaying the current drawing board pictures along the edge of the screen S;
each drawing board picture before the current list of pictures corresponds to a wrapping picture, and the wrapping picture is a wrapping X-ray picture with a complete outline; the current drawing board picture comprises the first column of pictures, the column pictures between the first column of pictures and the tail column of pictures, and the pixel values of the tail column of pictures.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the invention/inventions, which are not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. The method for simulating X-ray machine scanning imaging based on column data is characterized by comprising the following steps:
s1, sequentially obtaining 1 current column data byte group corresponding to one parcel picture;
s2, converting 1 current column data byte group into 1 current column picture;
s3, judging whether the current column picture is the first column picture of a wrapped picture, if so, turning to S4, S5 and S6, and if not, turning to S5 and S7;
s4, creating a drawing board g in a hidden state;
s5, drawing the pixel values of the current column of pictures into a drawing board g;
s6, rendering and displaying all the drawing board pictures in front of the current row of pictures after integrally moving across the width of one row of pictures, and rendering and displaying the current row of pictures along the edge of the screen S;
s7, judging whether the current column picture is a tail column picture of a wrapped picture, if so, turning to S9, and if not, turning to S8;
s8, rendering and displaying all the drawing board pictures and all the column pictures in front of the current column picture after moving across the width of one column picture, and rendering and displaying the current column picture along the edge of the screen S;
s9, converting the drawing board g into a current drawing board picture g, deleting all column pictures, and converting to S10;
and S10, rendering and displaying all the drawing board pictures in front of the current row of pictures after moving across the width of the row of pictures, and rendering and displaying the current drawing board picture g along the edge of the screen S.
2. The method of claim 1, wherein when converting a drawing board g into a current drawing board picture g, reading the current column of pictures and summing the widths of all the column of pictures to obtain a cutting width, obtaining a new drawing board g according to the cutting width, and converting the new drawing board g into the current drawing board picture g.
3. The method for scan imaging of an imitative X-ray machine based on column data as claimed in claim 1, wherein the current drawing board picture comprises the pixel values of the first column of pictures, the column pictures between the first column of pictures and the last column of pictures, and the last column of pictures; each drawing board picture before the current list of pictures corresponds to a parcel picture, and the parcel picture is a parcel X-ray picture with a complete outline.
4. The method for scan imaging of an imitated X-ray machine based on column data as claimed in claim 1, wherein before converting the drawing board g into a drawing board picture, the method further comprises the following steps:
s01, acquiring coordinate information of a contraband identification frame corresponding to a package picture;
s02, drawing a corresponding contraband identification frame in a drawing board g according to the coordinate information of the contraband identification frame.
5. The method of claim 1, wherein the current column of pictures is a picture with a fixed height, h, and an aspect ratio; the drawing board g is a drawing board with a fixed height and a width of h and a width of a screen S; the h is the same height as the screen S.
6. The method for scan imaging of an imitation X-ray machine based on column data according to claim 1, wherein the edge of the screen S is a side away from which the overall traversing movement direction deviates.
7. The method of claim 3, wherein the 1 current column data byte group corresponding to a parcel picture and the coordinate information of the contraband identifier corresponding to a parcel picture are both from an intelligent image recognition box.
8. Device of imitative X-ray machine scanning formation of image based on column data includes:
a screen S;
a memory;
one or more processors; and
one or more modules stored in a memory and configured to be executed by the one or more processors, the one or more modules comprising:
a module for sequentially obtaining 1 current column data byte group corresponding to a parcel picture;
a module for converting 1 current column data byte group into 1 current column picture;
a module for judging whether the current list of pictures is the first list of pictures of a wrapped picture;
when the current picture is the first picture, a module of a drawing board g in a hidden state is created;
when the current column of pictures is a first column of pictures, drawing the pixel values of the current column of pictures into a module of a drawing board g;
when the current picture is the first picture, rendering and displaying all the drawing board pictures in front of the current picture after moving across a width of the first picture, and rendering and displaying the current picture along the edge of the screen S;
when the current column of pictures is not the first column of pictures, the pixel values of the current column of pictures are drawn into a module of a drawing board g;
a module for judging whether the current column picture is a tail column picture of a wrapped picture;
a module for rendering and displaying all drawing board pictures and all column pictures before the current column picture after moving across a column picture width when the current column picture is not the first column picture and not the last column picture, and rendering and displaying the current column picture along the edge of the screen S;
when the current picture is the tail picture, the drawing board g is converted into the current drawing board picture g, all the modules of the picture columns are deleted,
and when the current picture is a tail picture, rendering and displaying all the drawing board pictures in front of the current picture after moving across a width of one picture, and rendering and displaying the current drawing board picture g along the edge of the screen S.
9. The apparatus for X-ray machine simulated scanning imaging based on column data of claim 8, the one or more modules further comprising:
a module for acquiring coordinate information of a contraband identification frame corresponding to a parcel picture;
when the current list picture is the tail list picture, according to contraband identification frame coordinate information, drawing out the module of corresponding contraband identification frame in drawing board g.
10. A display, characterized in that the display comprises at least the following screen states;
the first picture state: rendering and displaying all the drawing board pictures in front of the current row of pictures after integrally traversing one row of picture width, and rendering and displaying the current row of pictures along the edge of the screen S;
the second picture state: rendering and displaying all the drawing board pictures and all the column pictures in front of the current column of pictures after integrally moving across the width of one column of pictures, and rendering and displaying the current column of pictures along the edge of the screen S;
the third picture state: rendering and displaying all the drawing board pictures in front of the current row of pictures after the drawing board pictures integrally move across the width of one row of pictures, and rendering and displaying the current drawing board pictures along the edge of the screen S;
each drawing board picture before the current list of pictures corresponds to a wrapping picture, and the wrapping picture is a wrapping X-ray picture with a complete outline; the current drawing board picture comprises a first column of pictures, columns of pictures between the first column of pictures and a last column of pictures, and pixel values of the last column of pictures.
CN202211010269.9A 2022-08-23 2022-08-23 Method and device for simulating X-ray machine scanning imaging based on column data and display Active CN115345862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211010269.9A CN115345862B (en) 2022-08-23 2022-08-23 Method and device for simulating X-ray machine scanning imaging based on column data and display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211010269.9A CN115345862B (en) 2022-08-23 2022-08-23 Method and device for simulating X-ray machine scanning imaging based on column data and display

Publications (2)

Publication Number Publication Date
CN115345862A true CN115345862A (en) 2022-11-15
CN115345862B CN115345862B (en) 2023-03-10

Family

ID=83953192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211010269.9A Active CN115345862B (en) 2022-08-23 2022-08-23 Method and device for simulating X-ray machine scanning imaging based on column data and display

Country Status (1)

Country Link
CN (1) CN115345862B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115546493A (en) * 2022-12-06 2022-12-30 成都智元汇信息技术股份有限公司 Method, device and medium for filtering and de-duplicating package identification information based on column data

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488373A (en) * 2012-06-12 2014-01-01 腾讯科技(深圳)有限公司 Picture showing method and device and mobile terminal
WO2016194770A1 (en) * 2015-05-29 2016-12-08 株式会社日立製作所 Image processing device for recognition of end of queue
CN109471201A (en) * 2018-11-16 2019-03-15 银河水滴科技(北京)有限公司 Security inspection method and device
CN111190238A (en) * 2020-01-10 2020-05-22 欧必翼太赫兹科技(北京)有限公司 Security inspection method and device
CN111369655A (en) * 2020-03-02 2020-07-03 网易(杭州)网络有限公司 Rendering method and device and terminal equipment
US20210166467A1 (en) * 2018-11-15 2021-06-03 Tencent Technology (Shenzhen) Company Limited Picture rendering method and apparatus, storage medium, and electronic apparatus
CN113286099A (en) * 2021-04-30 2021-08-20 杭州星犀科技有限公司 Display screen picture control system and method
CN113647085A (en) * 2019-02-01 2021-11-12 奇跃公司 Display system with one-dimensional pixel array and scanning mirror
CN114113164A (en) * 2021-12-08 2022-03-01 北京航星机器制造有限公司 A kind of image centralized interpretation method for security inspection equipment
CN114138999A (en) * 2021-12-08 2022-03-04 北京航星机器制造有限公司 An image processing method for security inspection equipment
CN114140461A (en) * 2021-12-09 2022-03-04 成都智元汇信息技术股份有限公司 Picture cutting method based on edge picture recognition box, electronic equipment and medium
CN114255436A (en) * 2020-09-11 2022-03-29 同方威视技术股份有限公司 Security image recognition system and method based on artificial intelligence
CN114697747A (en) * 2022-03-23 2022-07-01 成都智元汇信息技术股份有限公司 Video signal transmission method and system based on column data and graph judging terminal
CN114693700A (en) * 2022-03-23 2022-07-01 成都智元汇信息技术股份有限公司 Scheduling distribution method based on multi-source column data and intelligent image recognition box

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488373A (en) * 2012-06-12 2014-01-01 腾讯科技(深圳)有限公司 Picture showing method and device and mobile terminal
WO2016194770A1 (en) * 2015-05-29 2016-12-08 株式会社日立製作所 Image processing device for recognition of end of queue
US20210166467A1 (en) * 2018-11-15 2021-06-03 Tencent Technology (Shenzhen) Company Limited Picture rendering method and apparatus, storage medium, and electronic apparatus
CN109471201A (en) * 2018-11-16 2019-03-15 银河水滴科技(北京)有限公司 Security inspection method and device
CN113647085A (en) * 2019-02-01 2021-11-12 奇跃公司 Display system with one-dimensional pixel array and scanning mirror
CN111190238A (en) * 2020-01-10 2020-05-22 欧必翼太赫兹科技(北京)有限公司 Security inspection method and device
CN111369655A (en) * 2020-03-02 2020-07-03 网易(杭州)网络有限公司 Rendering method and device and terminal equipment
CN114255436A (en) * 2020-09-11 2022-03-29 同方威视技术股份有限公司 Security image recognition system and method based on artificial intelligence
CN113286099A (en) * 2021-04-30 2021-08-20 杭州星犀科技有限公司 Display screen picture control system and method
CN114138999A (en) * 2021-12-08 2022-03-04 北京航星机器制造有限公司 An image processing method for security inspection equipment
CN114113164A (en) * 2021-12-08 2022-03-01 北京航星机器制造有限公司 A kind of image centralized interpretation method for security inspection equipment
CN114140461A (en) * 2021-12-09 2022-03-04 成都智元汇信息技术股份有限公司 Picture cutting method based on edge picture recognition box, electronic equipment and medium
CN114697747A (en) * 2022-03-23 2022-07-01 成都智元汇信息技术股份有限公司 Video signal transmission method and system based on column data and graph judging terminal
CN114693700A (en) * 2022-03-23 2022-07-01 成都智元汇信息技术股份有限公司 Scheduling distribution method based on multi-source column data and intelligent image recognition box

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
T.F. JOHNSON等: "X-ray computed tomography of packed bed chromatography columnsfor three dimensional imaging and analysis" *
YANIK STERCHI等: "Detection measures for visual inspection of X-ray images of passenger baggage" *
幸小欄: "基于SoC的新型安检机数据处理系统" *
幸小欄等: "灰度投影算法的安检图像判读及FPGA实现方法" *
赵腾飞: "基于深度学习的安检X光图像合成方法研究" *
陈士维等: "基于人工智能技术的轨道交通智慧安检系统研究" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115546493A (en) * 2022-12-06 2022-12-30 成都智元汇信息技术股份有限公司 Method, device and medium for filtering and de-duplicating package identification information based on column data

Also Published As

Publication number Publication date
CN115345862B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN110956673B (en) Map drawing method and device
US20190042598A1 (en) Picture dynamic display method, electronic equipment and storage medium
US12051089B2 (en) Media content placement method and related apparatus
DE602004003111T2 (en) Deep-based antialiasing
CN115345862B (en) Method and device for simulating X-ray machine scanning imaging based on column data and display
CN106055295A (en) Picture processing method and device, and picture drawing method and device
US7825928B2 (en) Image processing device and image processing method for rendering three-dimensional objects
CN113469929A (en) Training data generation method and device, electronic equipment and computer readable storage medium
CN111652140A (en) Method, device, equipment and medium for accurately segmenting questions based on deep learning
JP5254250B2 (en) Method and system for generating boundaries in the process of rasterizing vector graphics, and method for manufacturing the system
CN115423683B (en) Method and device for locally amplifying column data package picture by using drawing board and display
HK75495A (en) Method and apparatus for rendering overlapping images on a graphics display device
CN115439609B (en) Three-dimensional model rendering method, system, equipment and medium based on map service
CN115423684B (en) Method and device for locally amplifying column wrapping picture by RGB array
KR890000985A (en) Image processing equipment
EP3992903A1 (en) Image processing method, apparatus, and device
CN108268138A (en) Processing method, device and the electronic equipment of augmented reality
CN115457178B (en) Method and system for issuing virtual contraband information based on column data
US9807302B1 (en) Offset rolling shutter camera model, and applications thereof
CN115496914B (en) Method and device for extracting package of maximum outline based on column data
US4656468A (en) Pattern data processing apparatus
US20040183797A1 (en) Hierarchical sorting of linked objects in virtual three-dimensional space
CN115578681B (en) Method and system for advancing parcel identification based on column data
US7447349B2 (en) Method and a system for processing digital images
CN119418153B (en) Method, device, equipment and medium for enhancing practical data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant