CN103309974B - The querying method of a kind of energy coding and device - Google Patents
The querying method of a kind of energy coding and device Download PDFInfo
- Publication number
- CN103309974B CN103309974B CN201310228798.0A CN201310228798A CN103309974B CN 103309974 B CN103309974 B CN 103309974B CN 201310228798 A CN201310228798 A CN 201310228798A CN 103309974 B CN103309974 B CN 103309974B
- Authority
- CN
- China
- Prior art keywords
- crystal
- cut
- line
- coding
- plot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses the querying method of a kind of energy coding, including: utilize the line of cut transverse cut positions hum pattern setting quantity, to obtain every line of cut and the marginal intersection point of crystal in described positional information figure;On described line of cut, a crystal coding is demarcated in the position between each two intersection point, to obtain all crystal coding on described positional information figure;Compression data are generated according to each intersection point lateral coordinates on described positional information figure and described all crystal coding, and by described compression data down transmission to coded query module, so that described coded query module is according to described compression data genaration look-up table;Utilize look-up table described in described coded query module polls, the crystal coding needed for obtaining.The invention discloses the inquiry unit of a kind of energy coding.
Description
Technical field
The present invention relates to control technical field, particularly relate to querying method and the device of a kind of energy coding.
Background technology
Positron emission tomography device (Positron emission tomography, PET), is core
The clinical examination image documentation equipment that medical domain is more advanced.First-selected needs are same with positron to people's internal injection
The compound of position element labelling, is injected into the positron discharged by the labelling positron radionuclide in inspection human body and is transporting
After a dynamic segment distance, bury in oblivion with the electronics with negative charge in surrounding, now, in vitro
By detecting module, (detector module schematic diagram as shown in Figure 1, this detector module uses PET system
11*11 crystal array) detect a pair γ light in opposite direction, that energy is equal that positron-electron annihilation produces
Son, to obtain annihilation event positional information figure as shown in Figure 2, wherein, x, y are to obtain according to center of gravity calculation
The location coordinate information arrived, is expressed as follows:
X ∈ (0, con), y ∈ (0, con) (1)
In formula (1), the value of con according to depending on practical situation (purpose be can produce the best
Crystal encodes, such as numeral numbering 0-120 shown in Fig. 3), in actual application, the value of con is 255.
Crystal coding in Fig. 3 is one to one with the crystal block in Fig. 1.
Obtaining the process of crystal coding: first, first the annihilation event information obtained generated such as by host computer
Positional information figure shown in Fig. 3, obtains the relation of position coordinates and crystal coding, then will comprise position and sit
The information table of mark and crystal coding descends into bottom S RAM (SRAM);Then, according to collection
To γ photon energy position carry out tabling look-up at the position coordinates of described positional information figure and obtain crystal coding, figure
The crystal coding that energy diagram is carried out by the method searching crystal coding that 3 is exactly traditional, in figure, numeral is exactly right
The coding of crystal.
Using the mode tabled look-up to obtain crystal coding in existing PET, formula is as follows:
Table [x, y]=CristalNum, x ∈ [0,255], y ∈ [0,255]
Wherein, wherein x, y are the x-axis of positional information figure shown in Fig. 2, the position coordinates in y-axis direction,
Table [X, Y] represents a certain position coordinates in positional information figure, and CristalNum represents that described a certain position is sat
The crystal coding that mark is corresponding.
Need so that (x, y) is address, encodes with CristalNum for crystal before searching crystal coding
Data down transmission is to underlying device SRAM (SRAM), the biography down being stored in SRAM with utilization
Data carry out coded query.But, a positional information figure needs the storage of 256*256=65536 byte altogether
Device store each crystal coding CristalNum corresponding (x, y) position coordinates i.e. need by 64K data not
Time descend into underlying device SRAM, but a PET device typically has 144 positional information figures, then
The data volume that need to pass down is about 9216K, and such data transfers time is about 5 minutes, causes data
Under pass overlong time, and make the down-transmitting data amount of storage in underlying device SRAM bigger.
Summary of the invention
In view of this, the main purpose of the embodiment of the present invention be to provide the querying method of a kind of energy coding and
Device, to realize improving data down transmission speed, the purpose of minimizing data space.
Embodiments provide the querying method of a kind of energy coding, including:
Utilize the line of cut transverse cut positions hum pattern setting quantity, to obtain every line of cut and institute's rheme
Put the marginal intersection point of the crystal in hum pattern;
On described line of cut, a crystal coding, the rheme to obtain are demarcated in the position between each two intersection point
Put all crystal coding on hum pattern;
Generate according to each intersection point lateral coordinates on described positional information figure and described all crystal coding
Compression data, and by described compression data down transmission to coded query module, so that described coded query module root
According to described compression data genaration look-up table;
Utilize look-up table described in described coded query module polls, the crystal coding needed for obtaining.
The embodiment of the present invention additionally provides the querying method of a kind of energy coding, including:
Utilize the line of cut transverse cut positions hum pattern setting quantity, to obtain every line of cut and institute's rheme
Put the marginal intersection point of the crystal in hum pattern;
On described line of cut, the side-play amount that a crystal encodes is demarcated, to obtain in the position between each two intersection point
Take the side-play amount that all crystal on described positional information figure encode;
According to each intersection point lateral coordinates on described positional information figure and described all crystal coding
Side-play amount and the plot corresponding with described side-play amount generate compression data, and by described compression data down transmission to compiling
Code enquiry module, so that described coded query module is according to described compression data genaration look-up table;
Utilize look-up table described in described coded query module polls, the crystal coding needed for obtaining.
Embodiments provide the inquiry unit of a kind of energy coding, including:
First intersection point acquiring unit, for utilizing the line of cut transverse cut positions hum pattern setting quantity, with
Obtain every line of cut and the marginal intersection point of crystal in described positional information figure;
First coding demarcates unit, is used for the position demarcation one between each two intersection point on described line of cut
Crystal encodes, to obtain all crystal coding on described positional information figure;
First data generating unit, for according to each intersection point lateral coordinates on described positional information figure and
Described all crystal coding generates compression data;
First data down transmission unit, is used for described compression data down transmission to coded query module, so that described
Coded query module is according to described compression data genaration look-up table;
First coded query unit, is used for utilizing look-up table described in described coded query module polls, to obtain
Required crystal coding.
The embodiment of the present invention additionally provides the inquiry unit of a kind of energy coding, including:
Second intersection point acquiring unit, for utilizing the line of cut transverse cut positions hum pattern setting quantity, with
Obtain every line of cut and the marginal intersection point of crystal in described positional information figure;
Second coding demarcates unit, is used for the position demarcation one between each two intersection point on described line of cut
The side-play amount of crystal coding, to obtain the side-play amount of all crystal coding on described positional information figure;
Second data generating unit, for according to each intersection point lateral coordinates on described positional information figure,
And the side-play amount of described all crystal coding and the plot corresponding with described side-play amount generate compression data;
Second data down transmission unit, is used for described compression data down transmission to coded query module, so that described
Coded query module is according to described compression data genaration look-up table;
Second coded query unit, is used for utilizing look-up table described in described coded query module polls, to obtain
Required crystal coding.
The querying method of embodiment of the present invention energy coding and device, by obtaining every line of cut and institute's rheme
Put the marginal intersection point of the crystal in hum pattern, and obtain the crystal coding between each two intersection point, according to each
Intersection point lateral coordinates on positional information figure and all crystal coding generate compression data, by described compression number
According to descending into coded query module, compared with prior art, the data volume passed down can be greatly reduced, thus subtract
Lack data transmission period, accelerate data down transmission speed.Additionally, minimizing based on down-transmitting data so that
Described coded query module can store and process the compression data of multiple positional information figure, greatly reduces and is
The cost of system.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be some embodiments of the present invention, for those of ordinary skill in the art, do not paying wound
On the premise of the property made work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is detector module schematic diagram in prior art;
Fig. 2 is annihilation event positional information figure in prior art;
Fig. 3 is crystal coding schematic diagram in prior art;
Fig. 4 is the schematic diagram of an embodiment of the querying method of embodiment of the present invention energy coding;
Fig. 5 is the schematic flow sheet of the querying method of embodiment of the present invention energy coding;
Fig. 6 is the schematic diagram of another embodiment of the querying method of embodiment of the present invention energy coding;
Fig. 7 is embodiment of the present invention coded query the first circuit diagram;
Fig. 8 is the schematic diagram of another embodiment of the querying method of embodiment of the present invention energy coding;
Fig. 9 is the first schematic diagram that embodiment of the present invention plot adds skew coded system;
Figure 10 is the second schematic diagram that embodiment of the present invention plot adds skew coded system;
Figure 11 is that embodiment of the present invention short in size crystal encodes schematic diagram;
Figure 12 is the schematic diagram of another embodiment of the querying method of embodiment of the present invention energy coding;
Figure 13 is the second circuit figure of embodiment of the present invention coded query;
Figure 14 is the schematic diagram of another embodiment of the querying method of embodiment of the present invention energy coding;
Figure 15 is the schematic diagram of an embodiment of the inquiry unit of embodiment of the present invention energy coding;
Figure 16 is the schematic diagram of another embodiment of the inquiry unit of embodiment of the present invention energy coding.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its
His embodiment, broadly falls into the scope of protection of the invention.
Embodiment one
Shown in Figure 4, the stream of the querying method of a kind of energy coding that Fig. 4 provides for the embodiment of the present invention
Journey schematic diagram, it is achieved the step of the method includes:
Step 101: utilize the line of cut setting quantity to be spaced transverse cut positions hum pattern, to obtain to set
Take every line of cut and the marginal intersection point of crystal in described positional information figure.
Assume that detector module uses the 11*11 crystal array shown in Fig. 1, then crystal block is 121, phase
Answering, the crystal block number on positional information figure is also 121, and each crystal block is to encode one by one with crystal
Corresponding.The cutting schematic diagram of positional information figure shown in Figure 5, it is assumed that the coordinate on positional information figure
Scope is: x ∈ (0,255), y ∈ (0,255), it is possible to use 256 lines of cut are with coordinate difference 1 between setting
Every along X-direction cutting position hum pattern, in most cases, line of cut as Cut a, only with
There are 12 intersection points crystal demarcation line, additionally, there is also the situation of Cut b, line of cut is positioned at two row's crystal
The intersection of block, but the line of cut number of hits marginal with crystal of Cut b type is uncertain, Fig. 5
Middle Cut b is positioned at the 1st row's crystal block and the boundary of the 2nd row's crystal block, between Cut b and crystal demarcation line
There are x0 to xf totally 16 intersection points.
Step 102: a crystal coding is demarcated in the position between each two intersection point on described line of cut, with
Obtain all crystal coding on described positional information figure.
Seeing Fig. 5, line of cut cuts the 5th row's crystal block, line of cut Cuta and crystal demarcation line as Cuta
All intersection points in, to having a crystal block, at the crystal block between each two intersection point between each two intersection point
Demarcate a crystal to encode.
Seeing Fig. 5, line of cut cuts the boundary between the 1st row and the 2nd row's crystal block, line of cut as Cutb
There is x0 to xf totally 16 intersection points between Cutb and crystal demarcation line, between x0 and x1, demarcate crystal coding 0,
Between x1 and x2, demarcate crystal coding 1, between x2 and x3, demarcate crystal coding 2, at x3 and x4
Between demarcated crystal coding 13, demarcated between x4 and x5 crystal coding 3, between x5 and x6 demarcate
Crystal coding 14...... the like, mark crystal corresponding to Cutb two rows crystal block respectively and compile
Code.Owing to the bar number of cut-off rule is typically larger than crystal row, so, utilize these lines of cut and and crystal thereof
Marginal intersection point can demarcate all of crystal block substantially.
Step 103: according to each intersection point lateral coordinates on described positional information figure and described all crystal
Coding generates compression data, and by described compression data down transmission to coded query module, so that described coding is looked into
Ask module according to described compression data genaration look-up table.
Step 104: utilize look-up table described in described coded query module polls, the crystal needed for obtaining is compiled
Code.
It should be noted that the embodiment of the present invention is transverse cut positions hum pattern, certain longitudinally cutting position
Hum pattern and correlation method are the content of embodiment of the present invention protection equally.
Embodiment two
Shown in Figure 6, the flow process of the querying method of a kind of energy coding that Fig. 6 provides for the embodiment of the present invention
Schematic diagram, it is achieved the step of the method includes:
Step 201: utilize the line of cut setting quantity to be spaced transverse cut positions hum pattern, to obtain to set
Take every line of cut and the marginal intersection point of crystal in described positional information figure.
Step 202: a crystal coding is demarcated in the position between each two intersection point on described line of cut, with
Obtain all crystal coding on described positional information figure.
Step 203: generate compression data, and by described compression data down transmission to coded query module, so that
Described coded query module is according to described compression data genaration look-up table.
The method generating described compression data is:
Obtain the respectively the most corresponding lateral coordinates of every line of cut all intersection points marginal with crystal and described
All crystal coding on positional information figure, and the lateral coordinates obtained and crystal are encoded as compression number
According to;Or, obtain every line of cut and crystal marginal first and all intersection points pair beyond last
All crystal coding in the lateral coordinates answered and described positional information figure, and the lateral coordinates that will obtain
With crystal coding as compression data;Wherein, the code value of each crystal coding is different;
See Fig. 5, as a example by the line of cut of Cutb type illustrate, x0 to the xf shown in certain Fig. 5 totally 16 cut
Cut number of hits and be not necessarily most, at most in the case of, intersection point number is 2*11+1=23, each intersection point
Lateral coordinates (X-axis) be designated as X0, X1 ... X22, corresponding crystal is encoded to p0, p1 ... p21
(crystal that the crystal between X0 and X1 is encoded between p0, X2 and X3 is encoded to p1......, by that analogy).Institute
With the maximum compression data that every line of cut is corresponding it is: X0, X1 ... X22, p0, p1 ... p21
23+22=45 byte data altogether, if using 256 line of cut cutting position hum patterns, descends into coding
The size of data of enquiry module is 45*256 byte, compared with the down-transmitting data amount of prior art, the two
Compression data ratio is: 45*256/256*256=17.6%, it is seen then that the data volume that the present embodiment passes down is existing
Have in technology the 17.6% of down-transmitting data amount so that the data volume passed down greatly reduces, so that during transmission
Between greatly reduce.
In order to reduce the space of look-up table further, and also to reduce the time of down-transmitting data, one can be entered
Down-transmitting data is compressed by step, and owing to the coordinate figure of X0 (horizontal origin coordinates) is fixed as 0, X22 is (horizontal
To terminal point coordinate) coordinate figure be fixed as 255, now by X1, X2......X21, p0, p1 ... p21
As compression data, 21+22=43 byte data altogether.Compared with the down-transmitting data of prior art, the two
Compression data ratio be: 43*256/256*256=16.8%, it is seen then that further reduce data down transmission amount.
Certainly, for the crystal array of specification in addition to 11*11, described horizontal origin coordinates and described horizontal terminal
Coordinate is also fixed coordinates value, it may not be necessary to descend into described coded query module.
Additionally, each crystal coding can be compiled with 1 for difference successively according to (0,1,2 ...) shown in Fig. 5
Code.
It addition, described look-up table includes: every line of cut and crystal marginal intersection point coordinate on X
Value, and the crystal coding that each crystal block is corresponding.
Step 204: gather the photon energy of detector module detection, and determine that described photon energy is described
The first lateral coordinates corresponding on positional information figure and the first longitudinal coordinate.
The detector module of P ET system can detect the γ photon received, and detects by gathering detector module
Photon energy, determine the described photon energy coordinate figure at positional information figure.
Step 205: input described first longitudinal coordinate to described coded query module, and at described look-up table
Intersection point between line of cut that described first longitudinal coordinate of middle lookup is corresponding and crystal demarcation line, finds to obtain
The lateral coordinates of all intersection points.
Step 206: determine adjacent with described first lateral coordinates in the described lateral coordinates found
Two lateral coordinates and the 3rd lateral coordinates, and export between described second lateral coordinates and described 3rd lateral coordinates
The crystal coding demarcated.
Step 205 and step 206 are the query scripts of crystal coding, coded query first shown in Figure 7
Circuit diagram, when determining described photon energy coordinate figure (the first lateral coordinates x and at positional information figure
After one longitudinal coordinate y), first, the first longitudinal coordinate y is input to described coded query module, is searching
Table is searched all intersection points between line of cut corresponding to this y value and crystal demarcation line, to obtain the X of these intersection points
Crystal coding P0, P1......Pn-1 between axial coordinate X0, X1......Xn, and each two intersection point;Then,
By the first lateral coordinates x and X0, X1......Xn compares, and finds adjacent for x two coordinate figure, such as x
It is a coordinate figure in [X0, X1] interval range, then the crystal demarcated between X0 and X1 is encoded P0 defeated
Go out, P0 is encoded as this crystal inquired.
Embodiment three
Shown in Figure 8, the flow process of the querying method of a kind of energy coding that Fig. 8 provides for the embodiment of the present invention
Schematic diagram, it is achieved the step of the method includes:
Step 301: utilize the line of cut setting quantity to be spaced transverse cut positions hum pattern, to obtain to set
Take every line of cut and the marginal intersection point of crystal in described positional information figure.
Step 302: the inclined of a crystal coding is demarcated in the position between each two intersection point on described line of cut
Shifting amount, to obtain the side-play amount of all crystal coding on described positional information figure.
Plot shown in Figure 9 adds the plot biasing shown in skew the first schematic diagram of coded system and Figure 10
Moving the second schematic diagram of coded system, often arranging crystal block in figure has 11, and the crystal block of each row is from side-play amount
0 starts to demarcate, i.e. the crystal code offset amount of each crystal block often arranged correspondence respectively is 0,1,2......10.
Step 303: according to each intersection point lateral coordinates on described positional information figure and described all
The side-play amount of crystal coding and the plot corresponding with described side-play amount generate compression data, and by described compression number
Coded query module is reached, so that described coded query module is searched according to described compression data genaration under according to
Table.
The coded system of described crystal coding can be continuous programming code mode, sees Fig. 9, respectively with 0,11,
22 ... 110 as the plot that often row's crystal encodes, when adding side-play amount as each crystal block using plot
During real crystal coding, 0 to 120 different crystal coding on positional information figure, and each crystal can be obtained
Coding difference between coding is 1.
The coded system of described crystal coding can also be interrupted coded system, when using described interrupted coding staff
During formula, use the Gao Siwei of 16 system numbers as the plot often arranging crystal coding.See Figure 10, extract 16
The Gao Siwei of system number 0x00,0x10......0xa0 as often arrange crystal coding plot, i.e. respectively with
0x0,0x1......0xa are as often arranging the plot that crystal encodes, and the decimal scale of 0x0 is 0, the decimal scale of 0x1 is
16......0xa decimal scale is 160, when adding the side-play amount real crystal as each crystal block using plot
During coding, the crystal of first row is encoded to 0,1......10, and the crystal of second row is encoded to 16,17......26,
The like, obtain the short in size crystal coding schematic diagram shown in Figure 11.
Step 304: utilize look-up table described in described coded query module polls, the crystal needed for obtaining is compiled
Code.
Embodiment four
Shown in Figure 12, the stream of the querying method of a kind of energy coding that Figure 12 provides for the embodiment of the present invention
Journey schematic diagram, it is achieved the step of the method includes:
Step 401: utilize the line of cut setting quantity to be spaced transverse cut positions hum pattern, to obtain to set
Take every line of cut and the marginal intersection point of crystal in described positional information figure.
Step 402: the inclined of a crystal coding is demarcated in the position between each two intersection point on described line of cut
Shifting amount, to obtain the side-play amount of all crystal coding on described positional information figure.
Step 403: determine that the combination plot corresponding with every line of cut, described combination plot include the first base
Location and the second plot.
Step 404: judge every line of cut intersection whether transverse cuts crystal encodes, if it is,
Set the first plot as the plot arranging crystal coding under this line of cut, and set the second plot as on this line of cut
The plot of row's crystal coding;If it is not, then setting the first plot and the second plot are this row crystal coding
Plot.
Seeing Fig. 9, as a example by line of cut cutb, cutb transverse cuts first row and second row crystal encode
Intersection, now, sets the first corresponding for cutb plot b0 as 0, and the second corresponding for cutb plot b1 is 11;
As a example by line of cut cuta, cuta does not has an intersection that transverse cuts two row's crystal encodes, but transverse cuts
Crystal block at 5th row's crystal coding, now, sets the first corresponding for cuta plot b0 and the second plot b1
It is 44.
Seeing Figure 10, as a example by line of cut cutb, cutb transverse cuts first row and second row crystal encode
Intersection, now, sets the first corresponding for cutb plot b0 as 0, and the second corresponding for cutb plot b1 is 0x1.
As a example by line of cut cuta, cuta does not has an intersection that transverse cuts two row's crystal encodes, but transverse cuts
Crystal block at 5th row's crystal coding, now, sets the first corresponding for cuta plot b0 and the second plot b1
It is 0x4.
Step 405: obtain compression data, and by described compression data down transmission to coded query module, so that
Described coded query module is according to described compression data genaration look-up table.
The method obtaining described compression data is:
Obtain the respectively the most corresponding lateral coordinates of every line of cut all intersection points marginal with crystal and described
On positional information figure, the side-play amount of all crystal coding and the combination plot corresponding with every line of cut, and will obtain
The combination plot of the lateral coordinates taken and the side-play amount of crystal coding and acquisition is as compression data;Or,
Obtain every line of cut first and horizontal stroke corresponding to all intersection points last beyond marginal with crystal
The side-play amount and corresponding with every line of cut of all crystal coding on coordinate and described positional information figure
Combination plot, and the combination plot of the lateral coordinates obtained and the side-play amount of crystal coding and acquisition is made
For compression data.
In the present embodiment, it is also possible to compress the byte number shared by side-play amount of each crystal coding, to enter
One step side-play amount is compressed after as the parts of described compression data.
Seeing Fig. 9, the such as line of cut of cutb class and the marginal number of hits of crystal are up to 22, X
Coordinate on axle is: X1, X2......X21, and corresponding crystal is encoded to p0, p1 ... p21.P0,
P1 ... in p21 each crystal coding can by the memory space boil down to 5bits of a byte, totally 14
Individual byte, in X1, X2......X21, each coordinate takies a byte, adds the combination of two bytes
Plot b0, b1, altogether 22+14+2=37 byte.Compared with the down-transmitting data of prior art, therebetween
Data compression ratio: 37*256/256*256=14.5%.
See Figure 10, when using short in size coded system to encode, the first plot b0 and the of combination plot
Two plot b1 respectively take nybble, p0, p1 ... p21 is each takies 5bits, totally 14 bytes,
Add X1, the X2......X21 respectively taking a byte, altogether 1+14+21=36 byte.With prior art
Down-transmitting data is compared, data compression ratio therebetween: 36*256/256*256=14.06%.It is visible,
By extracting the Gao Siwei of 16 systems as often arranging the plot of crystal coding, further reduce combination plot institute
The byte number accounted for, thus further reduce the data volume descending into described coded query module.
Step 406: gather the photon energy of detector module detection, and determine that described photon energy is described
The 4th lateral coordinates corresponding on positional information figure and the second longitudinal coordinate.
Step 407: input described second longitudinal coordinate to described coded query module, and at described look-up table
Intersection point between line of cut that described second longitudinal coordinate of middle lookup is corresponding and crystal demarcation line, finds to obtain
The lateral coordinates of all intersection points.
Step 408: determine adjacent with described 4th lateral coordinates in the described lateral coordinates found
Five lateral coordinates and the 6th lateral coordinates, and obtain between described 5th lateral coordinates and described 6th lateral coordinates
The side-play amount of the crystal coding demarcated, and obtain the combination base corresponding to side-play amount of the crystal coding of described acquisition
Location.
Step 409: the side-play amount encoded according to the crystal of described acquisition and the combination plot of described acquisition determine
The crystal coding of required inquiry.
Step 407, step 408 and step 409 are the query scripts of crystal coding, can be found in shown in Figure 13
The second circuit figure of coded query, when determining the described photon energy coordinate figure the (the 4th at positional information figure
After lateral coordinates x and the second longitudinal coordinate y), first, the second longitudinal coordinate y is input to described coding and looks into
Ask module, search the intersection point between line of cut corresponding to this y value and crystal demarcation line in a lookup table, to obtain
Coordinate X0, the X1......Xn of these intersection points, and the side-play amount of the crystal coding between each two intersection point
P0, P1......Pn-1, and the combination plot (b0 and b1) corresponding with every line of cut;Then, by the 4th
Lateral coordinates x and X0, X1......Xn compares, and finds x to two adjacent coordinate figures, and such as x is
A coordinate figure in [X0, X1] interval range, then the skew crystal of the demarcation between X0 and X1 encoded
Amount P0 output, and obtain the first corresponding for P0 plot and the second plot.
For example, with reference to Fig. 9, if the side-play amount of the crystal coding of output is P0=0, and P0 is the 1st row's crystal
The side-play amount of coding, because the line of cut at P0=0 is cutb, then the first corresponding for P0 plot b0 is 0, the
Two plots are 11, finally, are encoded as this crystal inquired about by P0+b0=0;Same, if output
The side-play amount of crystal coding be P2=2, and the side-play amount that P2 is the 5th row's crystal coding, because cutting at P2
Secant is cuta, then the first corresponding for P2 plot b0 be the 44, second plot be 44, using P2+b0=46 as this
The crystal coding of secondary inquiry.
Embodiment five
Shown in Figure 14, the stream of the querying method of a kind of energy coding that Figure 14 provides for the embodiment of the present invention
Journey schematic diagram, it is achieved the step of the method includes:
Step 501: utilize the line of cut setting quantity to be spaced transverse cut positions hum pattern, to obtain to set
Take every line of cut and the marginal intersection point of crystal in described positional information figure.
Step 502: the inclined of a crystal coding is demarcated in the position between each two intersection point on described line of cut
Shifting amount, to obtain the side-play amount of all crystal coding on described positional information figure.
Step 503: determine that the combination plot corresponding with every line of cut, described combination plot include the first base
Location and the second plot.
Step 504: judge every line of cut intersection whether transverse cuts crystal encodes, if it is,
Set the first plot as the plot arranging crystal coding under this line of cut, and set the second plot as on this line of cut
The plot of row's crystal coding, if it is not, then setting the first plot and the second plot are this row crystal coding
Plot.
Step 505: determine the line of cut of the first kind and the line of cut of Second Type, the described first kind
First plot of line of cut is equal to the second plot, and the first plot of the line of cut of described Second Type is not equal to the
Two plots.
See Fig. 9 or Figure 10, by judging whether b0 is equal to b1 and determines the type of every line of cut,
I.e. judge that line of cut is type or the type of cutb of cuta.
In the case of b0 is equal to b1, the type of corresponding line of cut such as cuta, cuta demarcates with crystal
Number of hits between line only has 12, now on cuta the lateral coordinates of intersection point be X0, X1 ... X11,
Corresponding crystal code offset amount is p0, p1 ... p10, the crystal code offset between each two intersection point
Amount is fixed as the Geometric Sequence that tolerance is 1, it is assumed that the crystal code offset amount between X0 and X1 is 0, then X1
And the crystal code offset amount between X2 is 1, by that analogy.Owing to X0, X1 ... X11 are
With this row crystal code offset amount p0, p1 ... p10 becomes fixed correspondence, so, remove solid
Position fixing X0=0 and X11=255, only need to transmit 10 byte datas of X1 to X10.
The line of cut of Cuta type at least to occupy 50%.Calculate with 50%, with the down-transmitting data of prior art
Comparing, data compression ratio therebetween is (4.69%+14.06%)/2=9.38%, if used so
Method down-transmitting data, its data volume is up to the 1/10 of prior art, further reduces data down transmission
Amount.
Step 506: determine that the crystal between the line of cut of the first kind and crystal marginal each two intersection point is compiled
The side-play amount of code, and the side-play amount of the crystal coding beyond first and last is defined as the first compression
Information, and by marginal to the line of cut of Second Type and crystal first and all friendships beyond last
The side-play amount of the crystal coding in lateral coordinates that point is corresponding and the line of cut of described Second Type and with institute
The combination plot stating the line of cut of Second Type corresponding is defined as the second compression information.
Step 507: information of described first compression information and described second being compressed is as compression data, and incites somebody to action
Described compression data down transmission is to coded query module, so that described coded query module is according to described compression data
Generate look-up table.
Step 508: gather the photon energy of detector module detection, and determine that described photon energy is described
The 4th lateral coordinates corresponding on positional information figure and the second longitudinal coordinate.
Step 509: input described second longitudinal coordinate to described coded query module, and at described look-up table
Intersection point between line of cut that described second longitudinal coordinate of middle lookup is corresponding and crystal demarcation line, finds to obtain
The lateral coordinates of all intersection points.
Step 510: determine adjacent with described 4th lateral coordinates in the described lateral coordinates found
Five lateral coordinates and the 6th lateral coordinates, and obtain between described 5th lateral coordinates and described 6th lateral coordinates
The side-play amount of the crystal coding demarcated, and obtain the combination base corresponding to side-play amount of the crystal coding of described acquisition
Location.
Step 511: the side-play amount encoded according to the crystal of described acquisition and the combination plot of described acquisition determine
The crystal coding of required inquiry.
Additionally, the coded query module in the embodiment of the present invention is FPGA memorizer.Common by using
FPGA completes to search the function of crystal coding, reduces the complexity of system, and the most a piece of FPGA is permissible
Built-in multiple look-up table completes the function of multiple detector module crystal coded query.And prior art uses
Multi-disc sram chip, considerably increases cost and the complexity of system, adds many lookup bus pin,
PCB layout difficulty is increased and the raising of PCB cost.The FPGA wiring of the present embodiment sampling is simple,
Reduce the wiring difficulty of PCB, also reduce the cost of system simultaneously.The crystal coding that the present invention provides
Lookup mode, realizes inside FPGA, improves the EMC performance of PET.
It addition, the output time of crystal of the prior art coding is: search time+pipeline time delay;This
The output time of bright crystal coding is: lookup time+compare the time+gating time.When using existing side
During method inquiry crystal coding, pipeline delay time is generally at least 10ns, inquires about crystal when using the present invention
During coding, compare the time+gating time is generally less than 10ns;The embodiment of the present invention is in FPGA internal searching
Crystal encodes, due to the least in FPGA internal pipeline time delay, negligible, and pipeline time delay is less than existing
Technology.So, the output time of crystal of the present invention coding is less than the output time of prior art crystal coding.
Additionally, described coded query module can also be FPGA memorizer or CPLD memorizer or SRAM storage
Device.
The querying method of embodiment of the present invention energy coding, by obtaining every line of cut and described positional information
The marginal intersection point of crystal in figure, and obtain the crystal coding between each two intersection point, exist according to each intersection point
Lateral coordinates and all crystal coding on positional information figure generate compression data, by described compression data down transmission
To coded query module, compared with prior art, the data volume passed down can be greatly reduced, thus decrease number
According to the transmission time, accelerate data down transmission speed.Additionally, minimizing based on down-transmitting data so that described volume
Code enquiry module can store and process the compression data of multiple positional information figure, greatly reduces the one-tenth of system
This.
Embodiment six
Shown in Figure 15, the knot of the inquiry unit of a kind of energy coding that Figure 15 provides for the embodiment of the present invention
Structure schematic diagram, this device includes:
First intersection point acquiring unit 11, for utilizing the line of cut transverse cut positions hum pattern setting quantity,
To obtain every line of cut and the marginal intersection point of crystal in described positional information figure;
First coding demarcates unit 12, is used for the position demarcation one between each two intersection point on described line of cut
Individual crystal encodes, to obtain all crystal coding on described positional information figure;
First data generating unit 13, for according to each intersection point lateral coordinates on described positional information figure
Compression data are generated with described all crystal coding;
First data down transmission unit 14, is used for described compression data down transmission to coded query module, so that institute
State coded query module according to described compression data genaration look-up table;
First coded query unit 15, is used for utilizing look-up table described in described coded query module polls, to obtain
Take required crystal coding.
Wherein, described first data generating unit 13, specifically for obtaining every line of cut and crystal demarcation line
The respectively corresponding lateral coordinates of all intersection points and described positional information figure on all crystal coding, and
The lateral coordinates obtained and crystal are encoded as compression data;Or, specifically for obtain every line of cut with
Marginal first lateral coordinates corresponding with all intersection points beyond last of crystal and institute's rheme
Put all crystal coding on hum pattern, and the lateral coordinates obtained and crystal are encoded as compression data.
Wherein, described first coded query unit 15 includes:
First coordinate gathers subelement 151, for gathering the photon energy of detector module detection, and determines
First lateral coordinates of described photon energy correspondence on described positional information figure and the first longitudinal coordinate;
First intersection point obtains subelement 152, for longitudinally sitting to described coded query module input described first
Mark, and search in described look-up table between line of cut corresponding to described first longitudinal coordinate and crystal demarcation line
Intersection point, to obtain the lateral coordinates of all intersection points found;
Coding output subelement 153, horizontal with described first for determining in the described lateral coordinates found
Second lateral coordinates adjacent to coordinate and the 3rd lateral coordinates, and export described second lateral coordinates and described
The crystal coding demarcated between the 3rd lateral coordinates.
Wherein, described coded query module is FPGA memorizer or CPLD memorizer or SRAM memory.
Embodiment seven
Shown in Figure 16, the knot of the inquiry unit of a kind of energy coding that Figure 16 provides for the embodiment of the present invention
Structure schematic diagram, this device includes:
Second intersection point acquiring unit 21, for utilizing the line of cut transverse cut positions hum pattern setting quantity,
To obtain every line of cut and the marginal intersection point of crystal in described positional information figure;
Second coding demarcates unit 22, is used for the position demarcation one between each two intersection point on described line of cut
The side-play amount of individual crystal coding, to obtain the side-play amount of all crystal coding on described positional information figure;
Second data generating unit 23, for according to each intersection point laterally sitting on described positional information figure
Mark and the side-play amount of described all crystal coding and the plot corresponding with described side-play amount generate compression number
According to;
Second data down transmission unit 24, is used for described compression data down transmission to coded query module, so that institute
State coded query module according to described compression data genaration look-up table;
Second coded query unit 25, is used for utilizing look-up table described in described coded query module polls, to obtain
Take required crystal coding.
Wherein, this device also includes:
26 plots determine unit, for determining the combination plot corresponding with every line of cut, described combination plot
Including the first plot and the second plot;
27 judge setup unit, for judging every line of cut intersection whether transverse cuts crystal encodes,
If it is, set the first plot as the plot arranging crystal coding under this line of cut, and set the second plot as
The plot of crystal coding is arranged on this line of cut;If it is not, then setting the first plot and the second plot are this row
The plot of crystal coding.
Wherein, described second data generating unit 23, specifically for obtaining every line of cut and crystal demarcation line
The respectively corresponding lateral coordinates of all intersection points and described positional information figure on the skew of all crystal coding
Amount and the combination plot corresponding with every line of cut, and by the lateral coordinates obtained and the skew of crystal coding
The combination plot of amount and acquisition is as compression data;Or, specifically for obtaining every line of cut and crystal
Marginal first lateral coordinates corresponding with all intersection points beyond last and described position letter
The side-play amount of breath figure upper all crystal coding and the combination plot corresponding with every line of cut, and the horizontal stroke that will obtain
The side-play amount encoded to coordinate and crystal and the combination plot obtained are as compression data.
Wherein, described second data generating unit 23 includes:
Type determination unit 231, for determining the line of cut of the first kind and the line of cut of Second Type,
First plot of the line of cut of the described first kind is equal to the second plot, the of the line of cut of described Second Type
One plot is not equal to the second plot;
First compression subelement 232, for determining line of cut and the marginal each two of crystal of the first kind
The side-play amount of the crystal coding between intersection point, and by the side-play amount of the crystal coding beyond first and last
It is defined as the first compression information;
Second compression subelement 233, for by marginal to the line of cut of Second Type and crystal first and
Crystal in lateral coordinates that all intersection points beyond last are corresponding and the line of cut of described Second Type
Side-play amount and the combination plot corresponding with the line of cut of described Second Type of coding are defined as the second compression
Information;
Compression data genaration subelement 234, for by described first compression information and described second compression information
As compression data.
Wherein, described second coded query unit 25 includes:
Second coordinate gathers subelement 251, for gathering the photon energy of detector module detection, and determines
4th lateral coordinates of described photon energy correspondence on described positional information figure and the second longitudinal coordinate;
Second intersection point obtains subelement 252, for longitudinally sitting to described coded query module input described second
Mark, and search in described look-up table between line of cut corresponding to described second longitudinal coordinate and crystal demarcation line
Intersection point, to obtain the lateral coordinates of all intersection points found;
Skew plot obtains subelement 253, for determining in the described lateral coordinates found and described the
The 5th lateral coordinates that four lateral coordinates are adjacent and the 6th lateral coordinates, and obtain described 5th lateral coordinates and
The side-play amount of the crystal coding demarcated between described 6th lateral coordinates, and obtain the crystal coding of described acquisition
The combination plot that side-play amount is corresponding;
Coding determines subelement 254, the side-play amount encoded for the crystal according to described acquisition and described acquisition
Combination plot determine the crystal coding of required inquiry.
Wherein, this device also includes: compression unit 28, for compressing shared by the side-play amount that each crystal encodes
Byte number.
Additionally, the coded system of described crystal coding is continuous programming code mode or short in size coded system;Work as employing
During described interrupted coded system, use the Gao Siwei of 16 system numbers as the plot often arranging crystal coding.
It addition, described coded query module is FPGA memorizer or CPLD memorizer or SRAM memory.
The inquiry unit of embodiment of the present invention energy coding, by obtaining every line of cut and described positional information
The marginal intersection point of crystal in figure, and obtain the crystal coding between each two intersection point, exist according to each intersection point
Lateral coordinates and all crystal coding on positional information figure generate compression data, by described compression data down transmission
To coded query module, compared with prior art, the data volume passed down can be greatly reduced, thus decrease number
According to the transmission time, accelerate data down transmission speed.Additionally, minimizing based on down-transmitting data so that described volume
Code enquiry module can store and process the compression data of multiple positional information figure, greatly reduces the one-tenth of system
This.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that to upper
State all or part of step in embodiment method and can add the mode of required general hardware platform by software
Realize.Based on such understanding, prior art is made tribute by technical scheme the most in other words
The part offered can embody with the form of software product, and this computer software product can be stored in storage
In medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment
(can be personal computer, server, or the network communication equipment such as such as WMG, etc.) hold
Each embodiment of the row present invention or the method described in some part of embodiment.
It should be noted that each embodiment uses the mode gone forward one by one to describe in this specification, each enforcement
What example stressed is all the difference with other embodiments, and between each embodiment, identical similar portion is mutual
See mutually.For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example,
So describe is fairly simple, relevant part sees method part and illustrates.
Also, it should be noted in this article, the relational terms of such as first and second or the like is used merely to
One entity or operation are separated with another entity or operating space, and not necessarily requires or imply this
Relation or the order of any this reality is there is between a little entities or operation.And, term " includes ",
" comprise " or its any other variant is intended to comprising of nonexcludability, so that include a series of
The process of key element, method, article or equipment not only include those key elements, but also include the most clearly arranging
Other key elements gone out, or also include the key element intrinsic for this process, method, article or equipment.
In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Including process, method, article or the equipment of described key element there is also other identical element.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses this
Invention.Multiple amendment to these embodiments will be apparent for those skilled in the art
, generic principles defined herein can without departing from the spirit or scope of the present invention,
Other embodiments realizes.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and
It is to fit to the widest scope consistent with principles disclosed herein and features of novelty.
Claims (19)
1. the querying method of an energy coding, it is characterised in that including:
Utilize the line of cut transverse cut positions hum pattern setting quantity, to obtain every line of cut with described
The marginal intersection point of crystal in positional information figure;
On described line of cut, a crystal coding is demarcated in the position between each two intersection point, described to obtain
All crystal coding on positional information figure;
Generate according to each intersection point lateral coordinates on described positional information figure and described all crystal coding
Compression data, and by described compression data down transmission to coded query module, so that described coded query module
According to described compression data genaration look-up table;
Gather the photon energy of detector module detection, and determine that described photon energy is at described positional information
The first lateral coordinates corresponding on figure and the first longitudinal coordinate;
Input described first longitudinal coordinate to described coded query module, and in described look-up table, search institute
State the intersection point between line of cut corresponding to the first longitudinal coordinate and crystal demarcation line, with owning that acquisition finds
The lateral coordinates of intersection point;
In the described lateral coordinates found, determine that second adjacent with described first lateral coordinates laterally sits
Mark and the 3rd lateral coordinates, and export demarcation between described second lateral coordinates and described 3rd lateral coordinates
Crystal encodes.
Method the most according to claim 1, it is characterised in that described according to each intersection point described
Lateral coordinates and described all crystal coding on positional information figure generate compressed data packets and include:
Obtain lateral coordinates corresponding to every line of cut all intersection points marginal with crystal, Yi Jisuo
State all crystal coding on positional information figure, and the lateral coordinates obtained and crystal are encoded as compression
Data;
Or, obtain every line of cut and crystal marginal first and all intersection points beyond last
All crystal coding in corresponding lateral coordinates and described positional information figure, and horizontal by obtain
Coordinate and crystal coding are as compression data.
Method the most according to claim 1 and 2, it is characterised in that described coded query module is FPGA
Memorizer or CPLD memorizer or SRAM memory.
4. the querying method of an energy coding, it is characterised in that including:
Utilize the line of cut transverse cut positions hum pattern setting quantity, to obtain every line of cut with described
The marginal intersection point of crystal in positional information figure;
On described line of cut, the side-play amount that a crystal encodes is demarcated in the position between each two intersection point, with
Obtain the side-play amount that all crystal on described positional information figure encode;
According to each intersection point lateral coordinates on described positional information figure and described all crystal coding
Side-play amount and the plot corresponding with described side-play amount generate compression data, and by described compression data down transmission
To coded query module, so that described coded query module is according to described compression data genaration look-up table;
Gather the photon energy of detector module detection, and determine that described photon energy is at described positional information
The 4th lateral coordinates corresponding on figure and the second longitudinal coordinate;
Input described second longitudinal coordinate to described coded query module, and in described look-up table, search institute
State the intersection point between line of cut corresponding to the second longitudinal coordinate and crystal demarcation line, with owning that acquisition finds
The lateral coordinates of intersection point;
In the described lateral coordinates found, determine that fiveth adjacent with described 4th lateral coordinates laterally sits
Mark and the 6th lateral coordinates, and obtain demarcation between described 5th lateral coordinates and described 6th lateral coordinates
The side-play amount of crystal coding, and obtain the combination plot corresponding to side-play amount of the crystal coding of described acquisition;
The side-play amount of crystal coding and the combination plot of described acquisition according to described acquisition determine required inquiry
Crystal coding.
Method the most according to claim 4, it is characterised in that described method also includes:
Determine that the combination plot corresponding with every line of cut, described combination plot include the first plot and second
Plot;
Judge every line of cut intersection whether transverse cuts crystal encodes, if it is, set first
Plot is the plot arranging crystal coding under this line of cut, and sets the second plot as row's crystal on this line of cut
The plot of coding;If it is not, then setting the first plot and the second plot are the plot of this row crystal coding.
Method the most according to claim 5, it is characterised in that described according to each intersection point described
Lateral coordinates on positional information figure and the side-play amount of described all crystal coding and with described side-play amount
Corresponding plot generates compressed data packets and includes:
Obtain lateral coordinates corresponding to every line of cut all intersection points marginal with crystal, Yi Jisuo
State the side-play amount of all crystal coding on positional information figure and the combination plot corresponding with every line of cut, and
Using the combination plot of the lateral coordinates obtained and the side-play amount of crystal coding and acquisition as compression data;
Or, obtain every line of cut and crystal marginal first and all intersection points beyond last
The side-play amount of all crystal coding and cutting with every in corresponding lateral coordinates and described positional information figure
The combination plot that secant is corresponding, and by obtain lateral coordinates and crystal coding side-play amount and obtain
Combination plot as compression data.
Method the most according to claim 5, it is characterised in that described according to each intersection point described
Lateral coordinates on positional information figure and the side-play amount of described all crystal coding and with described side-play amount
Corresponding plot generates compressed data packets and includes:
Determine the line of cut of the first kind and the line of cut of Second Type, the line of cut of the described first kind
First plot is equal to the second plot, and the first plot of the line of cut of described Second Type is not equal to the second plot;
Determine the skew that the crystal between the line of cut of the first kind and crystal marginal each two intersection point encodes
Amount, and the side-play amount of the crystal coding beyond first and last is defined as the first compression information;
By marginal to the line of cut of Second Type and crystal first and all intersection points beyond last
The side-play amount of the crystal coding in corresponding lateral coordinates and the line of cut of described Second Type and with institute
The combination plot stating the line of cut of Second Type corresponding is defined as the second compression information;
Described first compression information and described second are compressed information as compression data.
Method the most according to claim 4, it is characterised in that the coded system of described crystal coding
For continuous programming code mode or short in size coded system;
When using interrupted coded system, use the Gao Siwei of 16 system numbers as the base often arranging crystal coding
Location.
9. according to the method described in any one of claim 4 to 8, it is characterised in that described method also includes:
Compress the byte number shared by side-play amount of each crystal coding.
10. according to the method described in any one of claim 4 to 8, it is characterised in that described coded query
Module is FPGA memorizer or CPLD memorizer or SRAM memory.
The inquiry unit of 11. 1 kinds of energy codings, it is characterised in that including:
First intersection point acquiring unit, for utilizing the line of cut transverse cut positions hum pattern setting quantity,
To obtain every line of cut and the marginal intersection point of crystal in described positional information figure;
First coding demarcates unit, is used for the position demarcation one between each two intersection point on described line of cut
Individual crystal encodes, to obtain all crystal coding on described positional information figure;
First data generating unit, for according to each intersection point lateral coordinates on described positional information figure
Compression data are generated with described all crystal coding;
First data down transmission unit, is used for described compression data down transmission to coded query module, so that institute
State coded query module according to described compression data genaration look-up table;
First coded query unit, is used for utilizing look-up table described in described coded query module polls, to obtain
Take required crystal coding;
Wherein, described first coded query unit includes:
First coordinate gathers subelement, for gathering the photon energy of detector module detection, and determines institute
State the first corresponding on described positional information figure lateral coordinates of photon energy and the first longitudinal coordinate;
First intersection point obtains subelement, for inputting described first longitudinal coordinate to described coded query module,
And in described look-up table, search the friendship between line of cut corresponding to described first longitudinal coordinate and crystal demarcation line
Point, to obtain the lateral coordinates of all intersection points found;
Coding output subelement, first horizontal with described for determining in the described lateral coordinates found
The second lateral coordinates that coordinate is adjacent and the 3rd lateral coordinates, and export described second lateral coordinates and described
The crystal coding demarcated between the 3rd lateral coordinates.
12. devices according to claim 11, it is characterised in that described first data generating unit,
The horizontal seat the most corresponding specifically for obtaining every line of cut all intersection points marginal with crystal
All crystal coding on mark and described positional information figure, and the lateral coordinates obtained and crystal are compiled
Code is as compression data;
Or, specifically for obtain every line of cut and crystal marginal first and last beyond
All crystal coding in lateral coordinates that all intersection points are corresponding and described positional information figure, and will obtain
The lateral coordinates taken and crystal coding are as compression data.
13. according to the device described in claim 11 or 12, it is characterised in that described coded query module
For FPGA memorizer or CPLD memorizer or SRAM memory.
The inquiry unit of 14. 1 kinds of energy codings, it is characterised in that including:
Second intersection point acquiring unit, for utilizing the line of cut transverse cut positions hum pattern setting quantity,
To obtain every line of cut and the marginal intersection point of crystal in described positional information figure;
Second coding demarcates unit, is used for the position demarcation one between each two intersection point on described line of cut
The side-play amount of individual crystal coding, to obtain the side-play amount of all crystal coding on described positional information figure;
Second data generating unit, for according to each intersection point lateral coordinates on described positional information figure,
And the side-play amount of described all crystal coding and the plot corresponding with described side-play amount generate compression data;
Second data down transmission unit, is used for described compression data down transmission to coded query module, so that institute
State coded query module according to described compression data genaration look-up table;
Second coded query unit, is used for utilizing look-up table described in described coded query module polls, to obtain
Take required crystal coding;
Wherein, described second coded query unit includes:
Second coordinate gathers subelement, for gathering the photon energy of detector module detection, and determines institute
State the 4th corresponding on described positional information figure lateral coordinates of photon energy and the second longitudinal coordinate;
Second intersection point obtains subelement, for inputting described second longitudinal coordinate to described coded query module,
And in described look-up table, search the friendship between line of cut corresponding to described second longitudinal coordinate and crystal demarcation line
Point, to obtain the lateral coordinates of all intersection points found;
Skew plot obtains subelement, for determining and the described 4th in the described lateral coordinates found
The 5th lateral coordinates that lateral coordinates is adjacent and the 6th lateral coordinates, and obtain described 5th lateral coordinates and
The side-play amount of the crystal coding demarcated between described 6th lateral coordinates, and obtain the crystal coding of described acquisition
Combination plot corresponding to side-play amount;
Coding determines subelement, for the side-play amount encoded according to the crystal of described acquisition and described acquisition
Combination plot determines the crystal coding of required inquiry.
15. devices according to claim 14, it is characterised in that described device also includes:
Plot determines unit, for determining the combination plot corresponding with every line of cut, described combination plot
Including the first plot and the second plot;
Judge setup unit, for judging every line of cut intersection whether transverse cuts crystal encodes,
If it is, set the first plot to arrange, under this line of cut, the plot that crystal encodes, and set the second plot
For arranging the plot of crystal coding on this line of cut;If it is not, then setting the first plot and the second plot are
The plot of this row crystal coding.
16. devices according to claim 15, it is characterised in that described second data generating unit,
The horizontal seat the most corresponding specifically for obtaining every line of cut all intersection points marginal with crystal
Mark and described positional information figure on all crystal coding side-play amount and the group corresponding with every line of cut
Close plot, and the combination plot of the lateral coordinates obtained and the side-play amount of crystal coding and acquisition is made
For compression data;
Or, specifically for obtain every line of cut and crystal marginal first and last beyond
In lateral coordinates that all intersection points are corresponding and described positional information figure all crystal coding side-play amount and
The combination plot corresponding with every line of cut, and by obtain lateral coordinates and crystal coding side-play amount,
And the combination plot obtained is as compression data.
17. devices according to claim 15, it is characterised in that described second data generating unit
Including:
Type determination unit, for determining the line of cut of the first kind and the line of cut of Second Type, institute
State first plot of line of cut of the first kind equal to the second plot, the of the line of cut of described Second Type
One plot is not equal to the second plot;
First compression subelement, for determining that the line of cut of the first kind is handed over the marginal each two of crystal
The side-play amount of the crystal coding between point, and by the side-play amount of the crystal coding beyond first and last
It is defined as the first compression information;
Second compression subelement, for by marginal to the line of cut of Second Type and crystal first and
Crystal in lateral coordinates that all intersection points beyond later are corresponding and the line of cut of described Second Type is compiled
Side-play amount and the combination plot corresponding with the line of cut of described Second Type of code are defined as the second compression
Information;
Compression data genaration subelement, for making described first compression information and described second compression information
For compression data.
18. according to the device described in any one of claim 14 to 17, it is characterised in that described device is also
Including: compression unit, for compressing the byte number shared by side-play amount of each crystal coding.
19. according to the device described in any one of claim 14 to 17, it is characterised in that described coding is looked into
Asking module is FPGA memorizer or CPLD memorizer or SRAM memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310228798.0A CN103309974B (en) | 2013-06-08 | 2013-06-08 | The querying method of a kind of energy coding and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310228798.0A CN103309974B (en) | 2013-06-08 | 2013-06-08 | The querying method of a kind of energy coding and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103309974A CN103309974A (en) | 2013-09-18 |
CN103309974B true CN103309974B (en) | 2016-08-10 |
Family
ID=49135192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310228798.0A Active CN103309974B (en) | 2013-06-08 | 2013-06-08 | The querying method of a kind of energy coding and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103309974B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182266B (en) * | 2018-01-10 | 2020-05-12 | 中国科学技术大学 | Method for determining crystal number by using lookup table based on FPGA |
CN110680369B (en) * | 2019-09-18 | 2023-03-31 | 东软医疗系统股份有限公司 | Energy coding table compression method, query method, device and PET system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101268949A (en) * | 2007-03-21 | 2008-09-24 | 中国科学院高能物理研究所 | Coincidence system and method in positive electron dislocation scan |
CN101606846A (en) * | 2009-07-10 | 2009-12-23 | 中国科学技术大学 | PET detector signal treatment facility based on neural network localizer |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7164136B2 (en) * | 2003-10-07 | 2007-01-16 | Siemens Medical Solutions Usa, Inc. | Detector array using a continuous light guide |
-
2013
- 2013-06-08 CN CN201310228798.0A patent/CN103309974B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101268949A (en) * | 2007-03-21 | 2008-09-24 | 中国科学院高能物理研究所 | Coincidence system and method in positive electron dislocation scan |
CN101606846A (en) * | 2009-07-10 | 2009-12-23 | 中国科学技术大学 | PET detector signal treatment facility based on neural network localizer |
Non-Patent Citations (1)
Title |
---|
正电子发射断层扫描仪Block探测器晶体位置表的建立;柴培;《中国科学》;20090131;第39卷(第1期);第103-108页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103309974A (en) | 2013-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103440238A (en) | Fully parallel in-place construction of 3D acceleration structures in a graphics processing unit | |
CN109919925A (en) | Printed circuit board intelligent detecting method, system, electronic device and storage medium | |
CN103150631B (en) | Automatic article management method and system thereof based on images match | |
CN105095910B (en) | A kind of sorting technique of DICOM image | |
CN104035954B (en) | Hadoop-based recognition method for fake-licensed car | |
CN107077474A (en) | Rapid color is searched for | |
CN103324857B (en) | One meets event determination method and device | |
CN107480425A (en) | A kind of medicine information processing method based on medicine coding | |
CN105426530A (en) | Trademark retrieving method, device and system | |
CN103309974B (en) | The querying method of a kind of energy coding and device | |
CN108629233A (en) | A kind of pedestrian retrieval method and device | |
CN106375133A (en) | Network access speed information processing and displaying methods and devices | |
CN108830933A (en) | A kind of electric force pole tower tower body method for reconstructing, system, medium and equipment | |
CN106227850A (en) | A kind of medical test monitoring control system based on mobile terminal and control method | |
CN108074123A (en) | The distribution method and system of outgoing call list | |
CN106073812A (en) | A kind of method and apparatus determining gate-control signal | |
CN104932000A (en) | Method and device for acquiring location information of gamma photons in PET equipment | |
CN206788862U (en) | Skin disease collection of illustrative plates assistant diagnosis system based on cloud database | |
CN109346146A (en) | Checking prescription distribution method, device, electronic equipment and storage medium | |
CN104331596A (en) | Hardware-based multi-coincidence event screening method and hardware-based multi-coincidence event screening system | |
CN106971361A (en) | A kind of professional ability remote test system and professional ability remote test method | |
CN112907664B (en) | Image pixel position searching method, system and computer readable storage medium | |
CN106127602A (en) | A kind of stealing discrimination method based on yojan outlier algorithm and device | |
CN109492140A (en) | A kind of comparison method and system of national and foreign standards document | |
CN103533101A (en) | Processing method and device of IP (Internet Protocol) data sources |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |