CN101596114A - A kind of digital scan converter - Google Patents

A kind of digital scan converter Download PDF

Info

Publication number
CN101596114A
CN101596114A CNA2009101084179A CN200910108417A CN101596114A CN 101596114 A CN101596114 A CN 101596114A CN A2009101084179 A CNA2009101084179 A CN A2009101084179A CN 200910108417 A CN200910108417 A CN 200910108417A CN 101596114 A CN101596114 A CN 101596114A
Authority
CN
China
Prior art keywords
interpolation
selector
field picture
links
digital scan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2009101084179A
Other languages
Chinese (zh)
Inventor
张钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Landwind Industry Co Ltd
Original Assignee
Shenzhen Landwind Industry 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 Shenzhen Landwind Industry Co Ltd filed Critical Shenzhen Landwind Industry Co Ltd
Priority to CNA2009101084179A priority Critical patent/CN101596114A/en
Publication of CN101596114A publication Critical patent/CN101596114A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a kind of digital scan converter, a kind of digital scan converter, comprise the line data buffer, the two field picture memorizer, scan conversion input controller, the scan conversion o controller, coordinate converter, described line data buffer links to each other with described two field picture memorizer, described coordinate converter links to each other with described two field picture memorizer with described scan conversion o controller respectively, described scan conversion input controller links to each other with described two field picture memorizer, also comprise selector and at least two interpolation submodules, the input of described selector links to each other with described two field picture memorizer with described coordinate converter respectively, the outfan of described selector links to each other with each interpolation submodule respectively, controls described selector by selector control signal the dateout of described coordinate converter and the dateout of described two field picture memorizer are sent to one of them interpolation submodule.

Description

A kind of digital scan converter
Technical field
The present invention relates to the ultrasonoscopy processing technology field, be specifically related to a kind of digital scan converter.
Background technology
The medical ultrasound image technology is complete owing to having, adaptation is wide, directly perceived, can repeat, the soft tissue resolving ability is reached advantages such as inexpensive by force, flexibly, so occupy very consequence in the modern diagnosis technology.Supersonic imaging apparatus is a kind of scope of application medical imaging devices widely, and its technology is very ripe.
As shown in Figure 1, supersonic imaging apparatus sends the emission excitation through high-voltage switch gear incentive probe emission sound wave, and sound wave is popped one's head in through the tissue reflected back, amplify through receiving, wave beam is synthetic, demodulation, carry out DSC (digital scan conversion) behind the signal processing, then deliver to display and show.
DSC is the very important ingredient of supersonic imaging apparatus, and as shown in Figure 2, shift process comprises input flow process and output flow process two parts.The input controller is received after the line data head, and the output flow process of interrupt scanning conversion immediately also starts the input flow process.In the input flow process, the input controller produces write address that input line data deposit to four fens frames, writes and enable according to wire size line style display mode, and closes the output enable that four fens frames are deposited.After one line data write and finish, the input controller cancelled interrupt requests, activate output enable that four fens frames deposit, switch read/write address.The output flow process is gone round and begun again, and exports the image of a frame 512 * 512 pixels weekly.The scan conversion o controller sequentially provides the rectangular coordinate of display element, reads address and interpolation coefficient through what coordinate transformation unit obtained that four fens frames deposit, reads four data then and draws a video data output through the secondary linear interpolations.
The interpolation method that is commonly used in the DSC device has: it is several to close on interpolation, bilinear interpolation, two cubes of interpolation etc. most, and they have oneself the pluses and minuses and the scope of application separately.Wherein neighbor interpolation method interpolation speed is fast, and mosaic phenomenon is serious behind the image interpolation, is applicable to the better simply image of lines; The bilinear interpolation method interpolation speed is slower, and obscurity boundary behind the image interpolation has crenellated phenomena, is interpolation method the most frequently used among the present DSC; Two cubes of interpolation method interpolation speed are slow, and the border has a little fuzzy behind the image interpolation, and crenellated phenomena has improvement, is applicable to image processing software.Prior art is a kind of interpolation method of fixing use in the DSC interpolating apparatus, can not select different interpolation methods according to the feature of image adjustment.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of digital scan converter, and the DSC interpolating apparatus that overcomes prior art can not be selected the defective of different interpolation methods according to the feature of image adjustment.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
A kind of digital scan converter, comprise the line data buffer, the two field picture memorizer, scan conversion input controller, the scan conversion o controller, coordinate converter, described line data buffer links to each other with described two field picture memorizer, described coordinate converter links to each other with described two field picture memorizer with described scan conversion o controller respectively, described scan conversion input controller links to each other with described two field picture memorizer, also comprise selector and at least two interpolation submodules, the input of described selector links to each other with described two field picture memorizer with described coordinate converter respectively, the outfan of described selector links to each other with each interpolation submodule respectively, controls described selector by selector control signal the dateout of described coordinate converter and the dateout of described two field picture memorizer are sent to one of them interpolation submodule.
Described digital scan converter, wherein said interpolation submodule comprises the bilinear interpolation submodule.
Described digital scan converter, wherein said interpolation submodule comprise neighbor interpolation submodule.
Described digital scan converter, wherein said interpolation submodule comprise expands the linear interpolation submodule.
Described digital scan converter, wherein said selector are made as three and select a selector.
Storage interpolation smoothing factor is selected different interpolation smoothing factors by the selection signal that is input to described expansion linear interpolation submodule in the described digital scan converter, wherein said expansion linear interpolation submodule.
Described digital scan converter, wherein said selector and described interpolation submodule are realized by field programmable gate array FPGA.
Beneficial effect of the present invention: digital scan converter of the present invention improves interpolating module, can select different digital scan conversion interpolation methods according to the characteristics of image, has optimized the effect of digital scan conversion.
Description of drawings
The present invention includes following accompanying drawing:
Fig. 1 is a prior art B ultrasonic system schematic;
Fig. 2 is a prior art digital scan converter sketch map;
Fig. 3 is a digital scan converter sketch map of the present invention;
Fig. 4 is an interpolation submodule embodiment sketch map of the present invention;
Fig. 5 is a sampled data memory module sketch map of the present invention;
Fig. 6 is a sweep parameter sketch map of the present invention;
Fig. 7 is the present invention's four point interpolation sketch maps;
Fig. 8 is the present invention's eight point interpolation sketch maps.
The specific embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
As shown in Figure 3, digital scan converter of the present invention, comprise the line data buffer, the two field picture memorizer, scan conversion input controller, the scan conversion o controller, coordinate converter, described line data buffer links to each other with described two field picture memorizer, described coordinate converter links to each other with described two field picture memorizer with described scan conversion o controller respectively, described scan conversion input controller links to each other with described two field picture memorizer, also comprise selector and at least two interpolation submodules, the input of described selector links to each other with described two field picture memorizer with described coordinate converter respectively, the outfan of described selector links to each other with each interpolation submodule respectively, controls described selector by selector control signal the dateout of described coordinate converter and the dateout of described two field picture memorizer are sent to one of them interpolation submodule.
As shown in Figure 4, in a specific embodiment of the present invention, the interpolation submodule is respectively bilinear interpolation submodule, neighbor interpolation submodule and expands the linear interpolation submodule, selector is three to select a selector, expand storage interpolation smoothing factor in the linear interpolation submodule, select different interpolation smoothing factors by the selection signal that is input to described expansion linear interpolation submodule.
As shown in Figure 5, the total Sr of the memory module of sampled data is capable among the DSC, the Sc row.The scan depths that sampled data on each is gone is all corresponding identical, capable to Sr from first row, corresponding scan depths is successively uniformly-spaced from the zero probe maximum scan degree of depth that is increased to setting.The scanning angle that each sampled data that lists is all corresponding identical is listed as the Sc row from first, and corresponding scanning angle is from-θ 0Be increased to θ 0In general, Sr is 512, and Sc size in diameter pitch scanning is that 80 (80 array elements) are to 128 (128 array elements); Is that 160 (80 array elements) are to 256 (128 array elements) at half-section in scanning.Generally speaking, the size of image area is 512*512, so DSC need carry out interpolation to original sampling data, just can obtain being used for data presented.
Shown each relevant parameter that needs in the DSC calculating among Fig. 6 and the table 1.
Table 1DSC relevant parameter
Parameter name The definition of parameter Symbol Remarks
The scanning angle of convex array probe During the convex array probe scanning, become segmental angle 0 Unit is a radian
The radius of curvature of convex array probe Radius of curvature is the fan-shaped radius of the physics of convex array probe r 0 Unit is physical unit millimeter (mm)
The scan depths that convex array probe is current The scan depths of the convex array probe corresponding with sampled data D 0 Unit is physical unit millimeter (mm)
The minimum scan depths that convex array probe can be set Minima in the scan depths that convex array probe can use D 0 Unit is physical unit millimeter (mm)
The line number of sampled data Sr Dimensionless parameters
The columns of sampled data Sc Dimensionless parameters
Be presented at the image area width on the screen Carry out being presented at after the DSC image area width on the screen W 0 With the pixel is unit
Be presented at the image area height on the screen Carry out being presented at after the DSC image area height on the screen H 0 Same W 0
Vertical distance The probe center of circle is to the vertical dimension of coordinate system x-y coordinate axes x d Unit is physical unit millimeter (mm)
The computing formula of the distance of hanging down:
d=r 0×cosθ 0 (1)
The coordinate translation formula:
u = x + u 0 v = y + v 0 - - - ( 2 )
And
u 0 = - W 0 / 2 v 0 = d r 0 + D 0 - d × H 0 - - - ( 3 )
Can get by formula (2) and formula (3)
u = x - W 0 / 2 v = y + d r 0 + D 0 - d × H 0 - - - ( 4 )
Formula (4) is the coordinate translation formula that finally is used for DSC.
With reference to Fig. 6, under the situation that each parameter is all determined, if the coordinate (x under the x-y coordinate system, y) through the coordinate under the u-v coordinate system corresponding after the coordinate translation be (u, v), and coordinate (u, be (R v) through corresponding coordinate under R-θ coordinate system after the coordinate transform, θ), can get coordinate (u, the transformation for mula that v) arrives coordinate R-θ as the formula (5):
R = v 2 + u 2 θ = arctan ( u v ) - - - ( 5 )
It is q that the utmost point directly quantizes the factor r, the polar angle quantizing factor is q θ, the polar coordinate after then quantizing are (R q, θ q):
R q = R × q r θ q = θ × q θ - - - ( 8 )
As shown in Figure 7, for the polar coordinate after quantizing and the numbering of sampled data can be unified, need to give utmost point footpath and polar angle go partially, it is (R that the polar coordinate after inclined to one side are removed in quantification Qf, θ Qf).Wherein utmost point footpath and polar angle can be made up of integer part and fractional part.If R QfInteger part be i, fractional part is α, establishes θ QfInteger part be j, fractional part is β.Neighbor interpolation and bilinear interpolation all are based on four some P around the interpolated point I, j, P I, j+1, P I+1, j, P I+1, j+1Carry out interpolation.
The value of P is P in the neighbor interpolation method I, j, P I, j+1, P I+1, j, P I+1, j+1In 4 with the value of the nearest point of P point.
The computing formula of bilinear interpolation is:
P=(1-α)×(1-β)×P i,j+(1-α)×β×P i,j+1+α×(1-β)×P i+1,j+α×β×P i+1,j+1 (9)
The amount of calculation of bilinear interpolation is moderate, and effect is also good, just can cause the fuzzy of image, and sawtooth can occur in some cases.In general, Sr is 512, and the Sc minimum is 80; And the size of image area is 512*512.So image vertically, do not need to optimize again interpolation method, and image laterally, because the deficiency of sound ray number needs to optimize interpolation method, in the present invention, used a kind of expansion linear interpolation method based on 8, this is the linear interpolation method after a kind of improvement.According to the less characteristics of ultrasonic sound ray number, laterally adopting four point interpolations, and vertically adopting two point interpolations, as shown in Figure 8.
In computational process, elder generation's basis two points longitudinally obtains a point by linear interpolation, and eight points can obtain four points, are respectively P J-1, P j, P J+1, P J+2, its computing formula as the formula (10).Interpolation by horizontal four points obtains the value that P is ordered again, and its computing formula as the formula (11).
P j-1=(1-α)×P i,j-1+α×P i+1,j-1
P j=(1-α)×P i,j+α×P i+1,j (10)
P j+1=(1-α)×P i,j+1+α×P i+1,j+1
P j+2=(1-α)×P i,j+2+α×P i+1,j+2
P=k j-1×P j-1+k j×P j+k j+1×P j+1+k j+2×P j+2 (11)
The computing formula of horizontal four point interpolation coefficients is:
Figure A20091010841700091
Wherein d is the lateral separation that each point is ordered apart from P, and η is the interpolation smoothing factor, and η is between 0-1, and η is big more, and interpolation is sharp keen more, and the more little interpolation of η is level and smooth more.P J-1The lateral separation of ordering to P is 1+ β, P jThe lateral separation of ordering to P is β, P J+1The lateral separation of ordering to P is 1-β, P J+2The lateral separation of ordering to P is 2-β.
Expand the linear interpolation submodule and expand linear interpolation as follows:
1) according to interpolation smoothing factor η, and formula (12), calculate two interpolation coefficient look-up tables;
2) because P j, P J+1The distance of ordering apart from P is between 0 and 1, and P J-1, P J+2The distance of ordering apart from P is between 1 and 2, and the computing formula of Shi Yonging is identical between any two;
3) according to displaing coordinate x, y tries to achieve i, j, α, β;
4) from data storage, read needed 8 points;
5) there are 8 points and α to try to achieve P J-1, P j, P J+1, P J+2
6), obtain interpolation coefficient k by look-up table according to β J-1, k j, k J+1, k J+2
7) by P J-1, P j, P J+1, P J+2And k J-1, k j, k J+1, k J+2Try to achieve the P point.
The embodiment of digital scan converter of the present invention can be realized by field programmable gate array FPGA: data are read address and α, and β is obtained by displaing coordinate.Interpolation method can be selected by the user, and control signal DSCSEL is responsible for three of interpolation method and selects one, and wherein " 00 " represents bilinear interpolation, and " 01 " represents neighbor interpolation, and linear interpolation is expanded in " 10 " representative.The default value of interpolation smoothing factor η is 0.2; The user can select totally five grades of 0.1-0.5, is selected the value of η in hardware by control signal SMSEL.Every kind of interpolation method is realized by different interpolation submodules that all behind a selected interpolation method, data and α, β are imported in this interpolation submodule, obtain video data through after the corresponding interpolation calculation, finally output to display module.
Those skilled in the art do not break away from essence of the present invention and spirit, can there be the various deformation scheme to realize the present invention, the above only is the preferable feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalent structure that all utilizations description of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.

Claims (7)

1, a kind of digital scan converter, comprise the line data buffer, the two field picture memorizer, scan conversion input controller, the scan conversion o controller, coordinate converter, described line data buffer links to each other with described two field picture memorizer, described coordinate converter links to each other with described two field picture memorizer with described scan conversion o controller respectively, described scan conversion input controller links to each other with described two field picture memorizer, it is characterized in that: also comprise selector and at least two interpolation submodules, the input of described selector links to each other with described two field picture memorizer with described coordinate converter respectively, the outfan of described selector links to each other with each interpolation submodule respectively, controls described selector by selector control signal the dateout of described coordinate converter and the dateout of described two field picture memorizer are sent to one of them interpolation submodule.
2, digital scan converter according to claim 1 is characterized in that: described interpolation submodule comprises the bilinear interpolation submodule.
3, digital scan converter according to claim 2 is characterized in that: described interpolation submodule comprises neighbor interpolation submodule.
4, digital scan converter according to claim 3 is characterized in that: described interpolation submodule comprises expands the linear interpolation submodule.
5, digital scan converter according to claim 4 is characterized in that: described selector is made as three and selects a selector.
6, digital scan converter according to claim 5 is characterized in that: storage interpolation smoothing factor in the described expansion linear interpolation submodule, select different interpolation smoothing factors by the selection signal that is input to described expansion linear interpolation submodule.
7, digital scan converter according to claim 6 is characterized in that: described selector and described interpolation submodule are realized by field programmable gate array FPGA.
CNA2009101084179A 2009-06-30 2009-06-30 A kind of digital scan converter Pending CN101596114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009101084179A CN101596114A (en) 2009-06-30 2009-06-30 A kind of digital scan converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101084179A CN101596114A (en) 2009-06-30 2009-06-30 A kind of digital scan converter

Publications (1)

Publication Number Publication Date
CN101596114A true CN101596114A (en) 2009-12-09

Family

ID=41417842

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101084179A Pending CN101596114A (en) 2009-06-30 2009-06-30 A kind of digital scan converter

Country Status (1)

Country Link
CN (1) CN101596114A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109975814A (en) * 2017-12-28 2019-07-05 深圳先进技术研究院 Ultrasonic imaging method, system and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109975814A (en) * 2017-12-28 2019-07-05 深圳先进技术研究院 Ultrasonic imaging method, system and equipment
CN109975814B (en) * 2017-12-28 2020-09-22 深圳先进技术研究院 Ultrasound imaging method, system and device

Similar Documents

Publication Publication Date Title
US5528302A (en) Real-time ultrasound scan conversion
US5546807A (en) High speed volumetric ultrasound imaging system
US6723050B2 (en) Volume rendered three dimensional ultrasonic images with polar coordinates
EP0859242A1 (en) High resolution ultrasonic imaging through interpolation of received scanline data
CN101950523B (en) Adjustable rectangular window image scaling method and device
CN1812552A (en) Image second band interpolation apparatus and method for up regulation display equipment
CN101380237A (en) Scanning transform method and device for ultrasonic image-forming
US4567897A (en) Ultrasonic diagnostic apparatus
CN201453295U (en) Digital scanning conversion device
CN102599936B (en) Ultrasound image processing method and device
CN103637817A (en) Ultrasonic imaging processing method and device
CN101596114A (en) A kind of digital scan converter
Fritsch et al. A multirate scan conversion method
JPH09131342A (en) Ultrasonic diagnosis device
JPH08251400A (en) Digital image interpolation circuit provided with plurality of interpolation kernels
JP3337618B2 (en) Ultrasound diagnostic equipment
JP3996425B2 (en) Digital scan converter
KR100350025B1 (en) Apparatus and method for expanding ultrasound images using synthetic write zoom technique
JPH0143276B2 (en)
CN107147624A (en) Panoramic picture processing method, display device and playback equipment
JPH0975350A (en) Ultrasonic diagnostic system
JPH0131902B2 (en)
JPS6279040A (en) Ultrasonic image diagnostic apparatus
KR0178096B1 (en) Digital scan method using extended univorm ladder algrithm in ultrasonic system and apparatus thereof
JP2000292523A (en) Displaying and processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20091209