CN103761705B - Ultrasonic image magnifying method and device - Google Patents
Ultrasonic image magnifying method and device Download PDFInfo
- Publication number
- CN103761705B CN103761705B CN201410013256.6A CN201410013256A CN103761705B CN 103761705 B CN103761705 B CN 103761705B CN 201410013256 A CN201410013256 A CN 201410013256A CN 103761705 B CN103761705 B CN 103761705B
- Authority
- CN
- China
- Prior art keywords
- image data
- black white
- data
- white image
- color
- 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
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention discloses a kind of ultrasonic image magnifying method and device.Wherein, the method includes: obtain the first black white image data and the first color image data according to discarded the counting that image magnification parameter is removed in initial black white image data and initial color image data respectively;First black white image data and the first color image data are carried out down-sampled computing according to respective down-sampled rate respectively, obtains the second black white image data and the second color image data;Second black white image data and the second color image data are carried out data scanning Coordinate Conversion respectively and obtains target black white image data and targeted color view data;Use MAP table that target black white image data and targeted color view data are converted to target black white image and targeted color image.By the present invention, solve the problem that image effect in prior art is poor, resolution is low, it is achieved that black white image is consistent with the method multiple of coloured image, the effect that amplification effect is consistent.
Description
Technical field
The present invention relates to image processing field, in particular to a kind of ultrasonic image magnifying method and device.
Background technology
Ultrasound imaging procedure is a real-time process, and data produce, all in real time one by one for realtime imaging
Image, we can accomplish that local is amplified in real time, facilitate doctor preferably to see axis information, facilitate diagnosis;Pass
The amplification of system meaning, is according to the multiple amplified, determines effective range, then adjust dot spacing and the distance between centers of tracks of a two field picture,
Reach amplification effect.This traditional amplification mode, in a pocket, effective information does not change, and therefore, works as amplification
Time the biggest, dot spacing and distance between centers of tracks are the biggest, and image information is not enriched, and after interpolation, distortion is bigger.
Prior art can also utilize the characteristic of ultrasonic realtime imaging, in the case of ultrasonic realtime imaging, by changing
The method of down-sampled interpolation multiple, the information making amplification following is released some relative to Same Physical scope more, is done slotting the most again
Value is amplified, but for the B image of color ultrasound and C image, is all independent control, amplifies and controls do not have substantive contact below.
Before the defect of prior art is by amplifying, entering after amplifying, the down-sampled rate of B, C changes independent, before amplifying and
After amplification, the actually active information scaling multiple of B and C image does not has necessary connection, reflection some difference to image effect;This
Plant independent regulation mode, also can complicate processing and amplifying flow process.
Amplification for the black white image in ultrasonoscopy in prior art and coloured image is inconsistent, thus causes
The problem that image effect is poor, resolution is low, the most not yet proposes effective solution.
Summary of the invention
Amplification for the black white image in correlation technique ultrasonoscopy and coloured image is inconsistent, thus causes figure
Picture weak effect, the problem that resolution is low, the most not yet propose effective solution, to this end, present invention is primarily targeted at
There is provided a kind of ultrasonic image magnifying method and device, to solve the problems referred to above.
To achieve these goals, according to an aspect of the invention, it is provided a kind of ultrasonic image magnifying method, the party
Method includes: discarded count according to what image magnification parameter was removed in initial black white image data and initial color image data respectively
Obtain the first black white image data and the first color image data;First black white image data and the first color image data are divided
Do not carry out down-sampled computing according to respective down-sampled rate, obtain the second black white image data and the second color image data;Right
Second black white image data and the second color image data carry out data scanning Coordinate Conversion respectively and obtain target black white image number
According to targeted color view data;Use MAP table that target black white image data and targeted color view data are converted to target
Black white image and targeted color image.
Further, remove respectively in initial black white image data and initial color image data according to image magnification parameter
Discarded counting obtain the step of the first black white image data and the first color image data and include: obtain image magnification parameter
Initial depth parameter;Discarded counting is calculated according to initial depth parameter;Respectively at initial black white image data and starting color figure
The first black white image data and the first color image data is obtained as data are removed the discarded data counted.
Further, calculate the discarded step counted according to initial depth parameter to include: use the first formula to calculate discarded
Count CutPointNum, and wherein, the first formula is:
ZoomUpDepth is initial depth parameter, and Rate is AD sample frequency, and V is sound spread speed in the tissue,
MaxUploadNum1 is that the first of initial black white image data are uploaded and counted.
Further, the first black white image data and the first color image data are entered according to respective down-sampled rate respectively
The down-sampled computing of row, the step obtaining the second black white image data and the second color image data includes: obtain the first artwork master
The first down-sampled rate and the second down-sampled rate of the first color image data as data;By the first black white image data according to
One down-sampled rate carries out down-sampled computing, obtains the second black white image data;And by the first color image data according to second
Down-sampled rate carries out down-sampled computing, obtains the second color image data.
Further, the first down-sampled rate of the first black white image data and the second fall of the first color image data are obtained
The step of sample rate includes: read depth parameter from raw image data;Obtain the first of initial black white image data to upload
Count and second the uploading and count of initial color image data;The second formula is used to calculate the first down-sampled rate Sr1, the second formula
For:ZoomHeight is that the amplification in image magnification parameter is high
Degree, Rate is AD sample frequency, and V is sound spread speed in the tissue, and MaxUploadNum1 is first to upload and count;Make
Calculating the second down-sampled rate Sr2 with the 3rd formula, the 3rd formula is:
ZoomHeight is for amplifying height, and Rate is AD sample frequency, and V is sound spread speed in the tissue, MaxUploadNum1
Being first to upload and count, MaxUploadNum2 is second to upload and count.
Further, the second black white image data and the second color image data are carried out data scanning Coordinate Conversion respectively
The step obtaining target black white image data and targeted color view data includes: redefine DSC according to image magnification parameter
Interpolation coefficient table;Use the coordinate data in DSC interpolation coefficient table that the second black white image data are carried out data scanning coordinate to turn
Get target black white image data in return;And use the coordinate data in DSC interpolation coefficient table that the second color image data is entered
Row data scanning coordinate is converted to targeted color view data.
Further, use the coordinate data in DSC interpolation coefficient table that the second color image data is carried out data scanning
Coordinate Conversion obtains the step of targeted color view data and includes: obtain sampling scope;Remove position in the second color image data
In sampling extraneous data, the second color image data after being processed;Use the coordinate data in DSC interpolation coefficient table
The second color image data after processing is carried out data scanning Coordinate Conversion and obtains targeted color view data.
To achieve these goals, according to a further aspect in the invention, it is provided that a kind of ultrasonoscopy amplifying device, this dress
Put and include: remove module, for removing initial black white image data and initial color image number respectively according to image magnification parameter
Discarded counting according to obtains the first black white image data and the first color image data;Computing module, for by the first black and white
View data and the first color image data carry out down-sampled computing according to respective down-sampled rate respectively, obtain the second artwork master
As data and the second color image data;Coordinate transferring, for the second black white image data and the second coloured image number
Target black white image data and targeted color view data is obtained according to carrying out data scanning Coordinate Conversion respectively;Image modulus of conversion
Block, is used for using MAP table that target black white image data and targeted color view data are converted to target black white image and target
Coloured image.
Further, remove module and include: the first acquisition module, for obtaining the initial depth ginseng of image magnification parameter
Number;First calculating sub module, for calculating discarded counting according to initial depth parameter;First removes submodule, for existing respectively
Initial black white image data and initial color image data are removed the discarded data counted obtain the first black white image data and
First color image data.
Further, computing module includes: the second acquisition module, adopts for obtaining the first fall of the first black white image data
Sample rate and the second down-sampled rate of the first color image data;Second calculating sub module, for pressing the first black white image data
Carry out down-sampled computing according to the first down-sampled rate, obtain the second black white image data;And the 3rd calculating sub module, for by the
One color image data carries out down-sampled computing according to the second down-sampled rate, obtains the second color image data.
Further, coordinate transferring includes: processing module, inserts for redefining DSC according to image magnification parameter
Value coefficient table;First Coordinate Conversion submodule, for using the coordinate data in DSC interpolation coefficient table to the second black white image number
Target black white image data are obtained according to carrying out data scanning Coordinate Conversion;And the second Coordinate Conversion submodule, it is used for using DSC
Coordinate data in interpolation coefficient table carries out data scanning Coordinate Conversion to the second color image data and obtains targeted color image
Data.
Further, the second Coordinate Conversion submodule includes: the 3rd acquisition module, is used for obtaining sampling scope;Second goes
Except submodule, being positioned at the extraneous data of sampling for removing in the second color image data, second after being processed is colored
View data;3rd Coordinate Conversion submodule, for using the coordinate data in DSC interpolation coefficient table color to second after processing
Color image data carry out data scanning Coordinate Conversion and obtain targeted color view data.
By the present invention, before the black white image in ultrasonoscopy and coloured image are amplified, use and remove module root
Discarded the counting removed respectively in initial black white image data and initial color image data according to image magnification parameter obtains first
Black white image data and the first color image data, then use computing module by the first black white image data and the first cromogram
As data carry out down-sampled computing according to respective down-sampled rate respectively, obtain the second black white image data and the second coloured image
Data, and by coordinate transferring, the second black white image data and the second color image data are carried out data scanning seat respectively
Mark is converted to target black white image data and targeted color view data, then will by image conversion module use MAP table
Target black white image data and targeted color view data are converted to target black white image and targeted color image, such that it is able to will
Coloured image and black white image in ultrasonoscopy are amplified, and in the above embodiment of the present invention, amplify ginseng according to image
What number eliminated in black white image data and initial color image data discarded counts, and respectively according to according to each (first
Black white image data and the first color image data) down-sampled rate carry out down-sampled computing, with the artwork master to ultrasonoscopy
Picture and coloured image are amplified, so that before the reusability of black white image and coloured image is high, and black white image amplifies
Down-sampled change multiple before and after amplifying with coloured image afterwards is basically identical, amplification effect also tends to consistent, thus solves
In prior art, the amplification of the black white image in ultrasonoscopy and coloured image is inconsistent, thus cause image effect poor,
The method multiple of the problem that resolution is low, it is achieved that when being amplified ultrasonoscopy, black white image and coloured image is consistent, puts
Big effect is consistent, so that the effect that the variation tendency after ultrasonoscopy amplification synchronizes.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of ultrasonoscopy amplifying device according to embodiments of the present invention;
Fig. 2 is the flow chart of ultrasonic image magnifying method according to embodiments of the present invention;And
Fig. 3 is the flow chart of the ultrasonic image magnifying method according to embodiment illustrated in fig. 2.
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases
Combination mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 is the structural representation of ultrasonoscopy amplifying device according to embodiments of the present invention.As it is shown in figure 1, this device
May include that removal module 10, for removing initial black white image data and starting color figure respectively according to image magnification parameter
As discarded the counting in data obtains the first black white image data and the first color image data;Computing module 30, for by the
One black white image data and the first color image data carry out down-sampled computing according to respective down-sampled rate respectively, obtain second
Black white image data and the second color image data;Coordinate transferring 50, for color to the second black white image data and second
Color image data carry out data scanning Coordinate Conversion respectively and obtain target black white image data and targeted color view data;Image
Modular converter 70, is used for using MAP table that target black white image data and targeted color view data are converted to target artwork master
Picture and targeted color image.
Use the present invention, before the black white image in ultrasonoscopy and coloured image are amplified, use and remove module root
Discarded the counting removed respectively in initial black white image data and initial color image data according to image magnification parameter obtains first
Black white image data and the first color image data, then use computing module by the first black white image data and the first cromogram
As data carry out down-sampled computing according to respective down-sampled rate respectively, obtain the second black white image data and the second coloured image
Data, and by coordinate transferring, the second black white image data and the second color image data are carried out data scanning seat respectively
Mark is converted to target black white image data and targeted color view data, then will by image conversion module use MAP table
Target black white image data and targeted color view data are converted to target black white image and targeted color image, such that it is able to will
Coloured image and black white image in ultrasonoscopy are amplified, and in the above embodiment of the present invention, amplify ginseng according to image
What number eliminated in black white image data and initial color image data discarded counts, and respectively according to according to each (first
Black white image data and the first color image data) down-sampled rate carry out down-sampled computing, with the artwork master to ultrasonoscopy
Picture and coloured image are amplified, so that before the reusability of black white image and coloured image is high, and black white image amplifies
Down-sampled change multiple before and after amplifying with coloured image afterwards is basically identical, amplification effect also tends to consistent, thus solves
In prior art, the amplification of the black white image in ultrasonoscopy and coloured image is inconsistent, thus cause image effect poor,
The method multiple of the problem that resolution is low, it is achieved that when being amplified ultrasonoscopy, black white image and coloured image is consistent, puts
Big effect is consistent, so that the effect that the variation tendency after ultrasonoscopy amplification synchronizes.
Wherein, the MAP table in above-described embodiment is RGB data concordance list (RGB MAP), is one and pre-defines
The length of RGB table, such as this table can be 256, the data of in store different gray scales and RGB data in this RGB data concordance list
Between corresponding relation, after the pixel obtaining target image, it is possible to obtained each picture in target image by this table
The RGB data of element, then directly displays RGB data by display thus target image.
The DSC difference coefficient table design of black white image and coloured image is basically identical, and simply parameter is different, in above-mentioned enforcement
In example in the above-described embodiments, when black white image and coloured image are processed, due to black white image and coloured image
The design of DSC difference coefficient table is basically identical, therefore can be with multiplexing DSC difference coefficient table, so that black white image and cromogram
The reusability of picture is high.In the above embodiment of the present invention, after getting initial ultrasound image, from initial ultrasound image
Extract black white image and coloured image, respectively black white image and coloured image are carried out orthogonal data and be converted to initial artwork master
As data and initial color image data, then to black on the basis of initial black white image data and initial color image data
White image and coloured image are amplified.
According to the abovementioned embodiments of the present invention, remove module 10 and may include that the first acquisition module, be used for obtaining image and put
The initial depth parameter of big parameter;First calculating sub module, for calculating discarded counting according to initial depth parameter;First removes
Submodule, obtains for removing the discarded data counted respectively in initial black white image data and initial color image data
One black white image data and the first color image data.
In the above embodiment of the present invention, computing module 30 may include that the second acquisition module, black for obtaining first
First down-sampled rate of white view data and the second down-sampled rate of the first color image data;Second calculating sub module, is used for
First black white image data are carried out down-sampled computing according to the first down-sampled rate, obtains the second black white image data;And the
Three calculating sub module, for the first color image data is carried out down-sampled computing according to the second down-sampled rate, obtain second color
Color image data.
According to the abovementioned embodiments of the present invention, coordinate transferring 50 may include that processing module, for putting according to image
Big parameter redefines DSC interpolation coefficient table;First Coordinate Conversion submodule, for using the coordinate in DSC interpolation coefficient table
Data carry out data scanning Coordinate Conversion to the second black white image data and obtain target black white image data;And second coordinate turn
Change submodule, for using the coordinate data in DSC interpolation coefficient table that the second color image data is carried out data scanning coordinate
It is converted to targeted color view data.
Specifically, the second Coordinate Conversion submodule may include that the 3rd acquisition module, is used for obtaining sampling scope;Second
Removing submodule, be positioned at the extraneous data of sampling for removing in the second color image data, second after being processed is color
Color image data;3rd Coordinate Conversion submodule, for using the coordinate data in DSC interpolation coefficient table to second after processing
Color image data carries out data scanning Coordinate Conversion and obtains targeted color view data.
Specifically, the first down-sampled rate of the first black white image data, by the amplification height and first of image magnification parameter
Upload decision of counting (the such as first maximum upload count 1000), when the first down-sampled rate calculated is less than 1, be arranged to 1, this
Sample amplifies uploading of calculating below, and to count be close to 1000;Second down-sampled rate of the first color image data, is amplified by image
(such as second upload count be 800) is uploaded and counted and determine to the amplification height of parameter and second, when the second down-sampled rate calculated
During less than 1, it is arranged to 1, when amplification range (this amplification range is determined by image magnification parameter) does not changes, the second down-sampled rate
Will not change, and C uploading in the range of whole B is counted close to 800.
Amplifying more specifically, initial black white image data can be cut down before black white image is carried out down-sampled computing
Extraneous discarding is counted, and wherein, cuts the amplification coboundary depth parameter that point range is the amplification range to black white image corresponding
Count, the coloured image in ultrasonoscopy can be done twice in the present embodiment and cut down point of rejection, for the first time can be right
Before it carries out down-sampled computing, it cuts point range is the point corresponding to the amplification range coboundary depth parameter of black white image
Number, discarded the counting therefore cut down for the first time is not moved according to the sampling frame of coloured image and is changed, only with whole black white image
Amplification range relevant;Second time can go to take number of effective points by sampling scope before coloured image is carried out DSC computing, goes
Except determine because of sampling scope discarded counts, then the DSC interpolation coefficient table of the second color image data can be put above-mentioned
Interior do, effectively maintain B, C signal processes concordance.
In the above embodiment of the present invention, after the first down-sampled rate of acquisition and the second down-sampled rate, according to black and white
The effective range (this effective range is above-mentioned amplification range) of image completes modulation /demodulation and processes, and then looks into DSC interpolation coefficient
Table, completes DSC and image shows;Two for coloured image, then the effective range at coloured image completes modulation /demodulation process,
Then look into DSC interpolation coefficient table, complete DSC and image shows.Wherein, the effective range of coloured image is: sampling frame determines
Sampling scope, can be completed according to the coboundary degree of depth of the coboundary of sampling frame to black white image and sampling frame height
Abandoning of secondary waste point is modulated demodulation process afterwards, and looks into DSC interpolation coefficient table, completes DSC and image shows.
In the above embodiment of the present invention, the amplification to ultrasonoscopy takes into full account down-sampled characteristic, is dropped by change
Sample rate, obtains more rich point information, and, under ultrasonoscopy magnifying state, utilize coloured image and black white image
Upload by fixing maximum in same effective range and count, can effectively simplify design, and beneficially coloured image and black and white
Image effective information synchronizes so that the coloured image of amplification is front with the effective information multiple proportion of black white image and amplification consistent,
Variation effect synchronizes so that the ultrasonoscopy resolution after amplification is high.
Fig. 2 is the flow chart of ultrasonic image magnifying method according to embodiments of the present invention, and Fig. 3 is to implement according to shown in Fig. 2
The flow chart of the ultrasonic image magnifying method of example.
The method comprises the steps: as shown in Figures 2 and 3
Step S102, removes in initial black white image data and initial color image data respectively according to image magnification parameter
Discarded counting obtain the first black white image data and the first color image data.
First black white image data and the first color image data are entered by step S104 respectively according to respective down-sampled rate
The down-sampled computing of row, obtains the second black white image data and the second color image data.
Second black white image data and the second color image data are carried out data scanning Coordinate Conversion by step S106 respectively
Obtain target black white image data and targeted color view data.
Step S108, uses MAP table that target black white image data and targeted color view data are converted to target black and white
Image and targeted color image.
Use the present invention, before the black white image in ultrasonoscopy and coloured image are amplified, amplify ginseng according to image
Discarded the counting that number is removed in initial black white image data and initial color image data respectively obtains the first black white image data
With the first color image data, then the first black white image data and the first color image data are adopted according to respective fall respectively
Sample rate carries out down-sampled computing, obtains the second black white image data and the second color image data, and to the second black white image number
Target black white image data and targeted color figure is obtained according to carrying out data scanning Coordinate Conversion respectively with the second color image data
As data, then use MAP table target black white image data and targeted color view data are converted to target black white image and
Targeted color image, such that it is able to the coloured image in ultrasonoscopy and black white image are amplified, above-mentioned in the present invention
In embodiment, discarded count according to what image magnification parameter eliminated in black white image data and initial color image data, and
And carry out down-sampled fortune according to according to the down-sampled rate of each (the first black white image data and the first color image data) respectively
Calculate, so that the black white image of ultrasonoscopy and coloured image are amplified, so that black white image and the multiplexing of coloured image
Down-sampled change multiple before and after rate is high, and black white image amplifies and before and after coloured image amplification is basically identical, amplification effect
On also tend to consistent, thus the amplification of the black white image solved in prior art in ultrasonoscopy and coloured image differs
Cause, thus cause the problem that image effect is poor, discrimination is low, it is achieved that when ultrasonoscopy is amplified, black white image and coloured silk
The method multiple of color image is consistent, and amplification effect is consistent, thus improves the resolution of image so that the change after ultrasonoscopy amplification
The effect that change trend synchronizes.
Wherein, the MAP table in above-described embodiment is RGB data concordance list (RGB MAP), is one and pre-defines
The length of RGB table, such as this table can be 256, the data of in store different gray scales and RGB data in this RGB data concordance list
Between corresponding relation, after the pixel obtaining target image, it is possible to obtained each picture in target image by this table
The RGB data of element, then directly displays RGB data by display thus target image.
The DSC difference coefficient table design of black white image and coloured image is basically identical, and simply parameter is different, in above-mentioned enforcement
In example in the above-described embodiments, when black white image and coloured image are processed, due to black white image and coloured image
The design of DSC difference coefficient table is basically identical, therefore can be with multiplexing DSC difference coefficient table, so that black white image and cromogram
The reusability of picture is high.
According to the abovementioned embodiments of the present invention, initial black white image data are removed respectively according to image magnification parameter with initial
Discarded in color image data is counted and obtains the step of the first black white image data and the first color image data and may include that
Obtain the initial depth parameter of image magnification parameter;Discarded counting is calculated according to initial depth parameter;Respectively at initial artwork master
The first black white image data and the first cromogram is obtained as data and initial color image data are removed the discarded data counted
As data.
Specifically, calculate the discarded step counted according to initial depth parameter and may include that use the first formula calculating is useless
Abandoning the CutPointNum that counts, wherein, the first formula is:
ZoomUpDepth is initial depth parameter, and Rate is AD sample frequency, and V is sound spread speed in the tissue,
MaxUploadNum1 is that the first of initial black white image data are uploaded and counted.
According to the abovementioned embodiments of the present invention, by the first black white image data and the first color image data respectively according to respectively
From down-sampled rate carry out down-sampled computing, the step obtaining the second black white image data and the second color image data can be wrapped
Include: obtain the first down-sampled rate of the first black white image data and the second down-sampled rate of the first color image data;By first
Black white image data carry out down-sampled computing according to the first down-sampled rate, obtain the second black white image data;And it is color by first
Color image data carry out down-sampled computing according to the second down-sampled rate, obtain the second color image data.
In the above embodiment of the present invention, obtain the first down-sampled rate and first cromogram of the first black white image data
As the step of the second down-sampled rate of data may include that reading depth parameter from raw image data;Obtain initial black and white
The first of view data is uploaded and counts and second the uploading and count of initial color image data;The second formula is used to calculate the first fall
Sample rate Sr1, the second formula is:ZoomHeight is in image magnification parameter
Amplifying height, Rate is AD sample frequency, and V is sound spread speed in the tissue, and MaxUploadNum1 is first to upload a little
Number;Using the 3rd formula to calculate the second down-sampled rate Sr2, the 3rd formula is:
ZoomHeight is for amplifying height, and Rate is AD sample frequency, and V is sound spread speed in the tissue, and MaxUploadNum1 is
First uploads and counts, and MaxUploadNum2 is second to upload and count.
According to the abovementioned embodiments of the present invention, the second black white image data and the second color image data are counted respectively
It is converted to the step of target black white image data and targeted color view data according to scanning coordinate may include that and put according to image
Big parameter redefines DSC interpolation coefficient table;Use the coordinate data in DSC interpolation coefficient table that the second black white image data are entered
Row data scanning coordinate is converted to target black white image data;And use coordinate data in DSC interpolation coefficient table to the
Two color image datas carry out data scanning Coordinate Conversion and obtain targeted color view data.
In the above embodiment of the present invention, use the coordinate data in DSC interpolation coefficient table to the second coloured image number
Acquisition sampling scope is may include that according to the step carrying out data scanning Coordinate Conversion and obtaining targeted color view data;Remove the
Two color image datas are positioned at the extraneous data of sampling, the second color image data after being processed;Use DSC interpolation
Coordinate data in coefficient table carries out data scanning Coordinate Conversion to the second color image data after processing and obtains targeted color
View data.
As it is shown on figure 3, the amplification method of the ultrasonoscopy of present invention offer specifically can be achieved by the steps of:
In this embodiment, the maximum of coloured image being uploaded and counted (first upload count) and is set to 1000, AD samples
Frequency is 50000000Hz, and the amplification in image magnification parameter is highly 100mm, and initial depth parameter (i.e. amplifies starting point thing
The reason degree of depth) it is 50mm.Wherein, maximum is uploaded and counted is to determine that effectively uploads counts after coloured image amplifies, and this is counted and refers to
Counting of each line of image, is counting of vertical line.
Step S202: calculate discarded counting.
Specifically, before down-sampled computing, calculate coloured image number by the initial depth parameter of initial color image data
According to upper edge (i.e. initial depth parameter) amplification range outside point of rejection.C also strikes off outside the amplification range of B upper edge discarded
Point,
Discarding the computing formula counted is:
Wherein, ZoomUpDepth is for amplifying starting point physical depth, unit mm;Rate is AD sample frequency, unit Hz;V
For sound spread speed in the tissue.
Step S204: remove discarded correspondence of counting respectively in initial black white image data and initial color image data
Data obtain the first black white image data and the first color image data.
Specifically, in this is cut and to process, the cutting of black white image and coloured image is counted out equal (namely in step
S202 is calculated discarded counting).When color sampling frame changes, due to black white image amplification range (black white image
Amplification range is determined by image magnification parameter, and this image magnification parameter is just to choose before ultrasonoscopy amplifies
, after entering image amplification, with the sampling frame of coloured image, black white image can be entered in the amplification range of black white image
Row sampling) change time, before the first black white image data and the first color image data are carried out down-sampled process, artwork master
Picture discarded is counted constant, reaches the synchronization amplification effect of black white image and coloured image with this.
Step S206: calculate the first down-sampled rate of the first black white image data and the second fall of the first color image data
Sample rate.
By above-described embodiment, ultrasonoscopy is amplified it is, it is possible to use the characteristic of real-time sampling, when amplifying model
Enclose when (namely image magnification parameter) changes and adjust down-sampled rate, to obtain more rich point information, reach more preferably to put
Big effect.
The first down-sampled rate Sr1 is calculated by equation below:
Wherein Sr1 is down-sampled rate;ZoomHeight is for amplifying height, unit mm;Rate is AD sample frequency, unit
Hz;V is sound spread speed in the tissue, and MaxUploadNum1 is first to upload and count.
After calculating the first down-sampled rate of acquisition, actual the uploading that can calculate the first black white image data is counted
UploadNum1:
Similarly, in this amplification range, the identical with initial black white image data of initial color image data is set
(i.e. second upload count) is uploaded and counted to the fixing maximum of amplification range is 800, calculates the second down-sampled rate Sr2
Then the actual UploadNum2 that counts that uploads of the first color image data is:
Step S208: respectively the first black white image data and the first color image data are carried out down-sampled computing and obtains
Two black white image data and the second color image data.
Specifically, calculate after obtaining the first down-sampled rate and the second down-sampled rate, by the first black white image data according to
First down-sampled rate carries out down-sampled computing, obtains the second black white image data;And by the first color image data according to
Two down-sampled rates carry out down-sampled computing, obtain the second color image data.Specifically, having of the first black white image data is calculated
Effect uploads that to count be 927 points, and calculate the first color image data effectively uploads that to count be 721 point (now the first color datas
Position, PRF sampling frame to be designed to lower edge effective depth, outside sampling frame border, cake is invalid, and we can be to coloured silk
The second time of color image abandons in point of rejection and processes), in the above embodiment of the present invention, regardless of the amplification range of black white image
Or how the sampling frame scope of coloured image changes, the first black white image data and the down-sampled rate of the first color image data
Effectively uploading counts is all a relatively-stationary relation, thus before amplification after image on performance variation effect and change
Change trend also has certain concordance, and can also unify when the algorithm capacity of above-described embodiment and memory space, thus can
So that the effect synchronicity that the coloured image of ultrasonoscopy and black white image rear line before amplification is shown is the highest.
Wherein, PRF is Pulse repetition frequency, pulse recurrence frequency.
Step S210: redefine a DSC interpolation coefficient table of the second black white image data according to image magnification parameter.
Step S212: redefine the 2nd DSC interpolation coefficient table of the second color image data according to image magnification parameter.
Specifically, physical depth and physical width according to original data do two difference coefficient tables.
In the above embodiment of the present invention, can be according to the dot spacing of initial black white image data, distance between centers of tracks, the most inclined
Turn the effective informations such as image display type, in the effective range of initial black white image data, be interpolation coefficient table (master of the present invention
Will in order to realize black white image in ultrasonoscopy, coloured image synchronizes enlarging function);Point according to initial color image data
Spacing, distance between centers of tracks, whether deflect, the effective information such as image display type, count in the effective range of initial color image data
Calculating interpolation coefficient table, the calculating of two interpolation coefficient tables is all in the effective range of black white image, when the sampling of coloured image
Frame (i.e. sampling scope) is mobile, and the when of the amplification invariant position of black white image, the interpolation coefficient table of coloured image will not weigh
New calculating, thus ensure that the sensitivity of regulation sampling frame.
Step S214: use a DSC interpolation coefficient table that the second black white image data are done DSC computing and obtain target black and white
View data.
Step S216: search MAP table to show target black white image.
Step S218: intercept second after the valid data in the range of the sampling of the second color image data are processed color
Color image data.
Specifically, according to sampling frame movement in the effective range of the second black white image data, the second cromogram is intercepted
As the valid data of data can greatly avoid repetitive operation to associate too by force with system mode, strengthen the robustness of system.
Step S220: use the 2nd DSC interpolation coefficient table that the second color image data after processing is done DSC computing and obtain
Targeted color view data.
Step S222: search MAP table to show targeted color image.
Specifically, the second black white image data and the second color image data are being made DSC computing and is looking into Map table display figure
As before, it is also possible to the second black white image data and the second color image data are done modulation /demodulation and processes, then by modulatedemodulate
The second black white image data and the second color image data after tune are made DSC computing and look into Map table display image.Specifically,
When the second black white image data are modulated demodulation process, can upload according to first and count and initial depth parameter is to the
In two black white image data, all available points are modulated demodulation process, such that it is able to the guarantee of maximum is to the second black white image number
According to the effectiveness of signal processing so that the black white image resolution after Fang great ing is higher.And to the second coloured image number
Before being modulated demodulation process, can again cut down extraneous the discarding of sampling and count, to the cromogram in ultrasonoscopy
Cut a little as doing second time, thereby may be ensured that the modulation /demodulation to coloured image processes according to the computing of counting in the range of sampling,
In the above-described embodiments, simply expand the effective range of DSC interpolation coefficient, do not increase extra real-time operation expense,
The coloured image after the amplification of resolution such that it is able to secure satisfactory grades quickly and efficiently.
In the above embodiment of the present invention, to black white image and the amplification of coloured image on real-time ultrasonoscopy,
It not the same multiple amplification of simple dot spacing and distance between centers of tracks, when the effective range change that image amplifies, black and white can be adjusted
Image and the down-sampled rate of coloured image (i.e. the first black white image data in above-described embodiment and the first color image data),
Adjust down-sampled rate and can obtain more point information, thus improve the resolution of image.
Specifically, the first down-sampled rate of the first black white image data and the second down-sampled rate of the first color image data
Be all upload according to maximum and count (i.e. first upload count and second upload count) determine, and second uploads that to count be phase
Uploading of amplification range for the first black white image data is counted, i.e. maximum when the sampling scope of the first color image data
Situation.Before and after black white image in ultrasonoscopy and the amplification of coloured image, the variable quantity of effective information is approximation, therefore puts
Before and after big, variation effect and variation tendency are also to synchronize.
In the above embodiment of the present invention, remove module and remove initial black white image data and initial color image data
In discarded count be all image magnification parameter amplify corresponding the counting in coboundary, and the second black white image data and second
Color image data all makees the interpolation coefficient table of DSC in the amplification range of whole black white image, the sampling frame (tool of coloured image
Body ground, determines sampling scope with sampling frame) movement do not recalculate the interpolation coefficient of DSC (i.e. digital scanning coordinate transformation)
Table, such that it is able to effectively improve the operation efficiency during colored box regulation, enhances product performance.
It should be noted that can be at such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing
Computer system performs, and, although show logical order in flow charts, but in some cases, can be with not
It is same as the step shown or described by order execution herein.
As can be seen from the above description, present invention achieves following technique effect: the ultrasonoscopy that the present invention provides
Amplification method, coloured image in ultrasonoscopy and black white image are (specifically to colour during processing image
View data and black white image data carry out processing, such as: initial color image data and initial black white image data, first color
Color image data, the first black white image data, the second color image data and the second black white image data) image after amplification
Effectively upload and count (namely first upload count and second upload count) can be according to presetting, effectively uploading determining
After counting, then determine the first down-sampled rate and the second down-sampled rate, on the second of initial color image in the above-described embodiments
It is the amplification range (this scope has image magnification parameter to determine) at whole black white image that biography is counted, not along with coloured image
Sampling frame change and change, use above-described embodiment, the abundantest of the coloured image after amplification and black white image can be obtained
Point information, and constant in the amplification range of black white image, and when the sampling frame of coloured image changes, coloured image is (real at this
Execute in example be in particular the first color image data) the second down-sampled rate will not change, such that it is able to reaching amplification message
The sampling frame regulation avoiding coloured image while abundant effect brings the process of complexity, greatly simplifies design and raising property
Can, and the coloured image of ultrasonoscopy and black white image rear image change trend before amplification can be made to reach to synchronize.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Calculating device realize, they can concentrate on single calculating device, or be distributed in multiple calculating device and formed
Network on, alternatively, they can with calculate the executable program code of device realize, it is thus possible to by they store
Performed by calculating device in the storage device, or they are fabricated to respectively each integrated circuit modules, or by them
In multiple modules or step be fabricated to single integrated circuit module and realize.So, the present invention be not restricted to any specifically
Hardware and software combines.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (12)
1. a ultrasonic image magnifying method, it is characterised in that including:
Discarded count according to what image magnification parameter was removed in initial black white image data and initial color image data respectively
To the first black white image data and the first color image data;
Described first black white image data and described first color image data are dropped according to respective down-sampled rate respectively
Sampled operational, obtains the second black white image data and the second color image data;
Described second black white image data and described second color image data are carried out data scanning Coordinate Conversion respectively obtain
Target black white image data and targeted color view data;
Use MAP table described target black white image data and described targeted color view data are converted to target black white image and
Targeted color image, wherein, described MAP table is a RGB table pre-defined.
Ultrasonic image magnifying method the most according to claim 1, it is characterised in that remove respectively according to image magnification parameter
Discarded counting in initial black white image data and initial color image data obtains the first black white image data and the first colour
The step of view data includes:
Obtain the initial depth parameter of described image magnification parameter;
Calculate described discarding according to described initial depth parameter to count;
The described discarded data counted are removed respectively in described initial black white image data and described initial color image data
Obtain described first black white image data and described first color image data.
Ultrasonic image magnifying method the most according to claim 2, it is characterised in that calculate according to described initial depth parameter
The described discarded step counted includes:
Using the first formula to calculate the described discarded CutPointNum that counts, wherein, described first formula is:
Described ZoomUpDepth is initial depth parameter, and Rate is AD sample frequency, and V is sound spread speed in the tissue,
MaxUploadNum1 is that the first of described initial black white image data are uploaded and counted.
Ultrasonic image magnifying method the most according to claim 1, it is characterised in that by described first black white image data and
Described first color image data carries out down-sampled computing according to respective down-sampled rate respectively, obtains the second black white image data
Include with the step of the second color image data:
Obtain the second down-sampled of the first down-sampled rate of described first black white image data and described first color image data
Rate;
Described first black white image data are carried out down-sampled computing according to described first down-sampled rate, obtains described second black and white
View data;And
Described first color image data is carried out down-sampled computing according to described second down-sampled rate, obtains described second colored
View data.
Ultrasonic image magnifying method the most according to claim 4, it is characterised in that obtain described first black white image data
The first down-sampled rate and the step of the second down-sampled rate of described first color image data include:
Depth parameter is read from raw image data;
Obtain the first of described initial black white image data to upload and count and second the uploading a little of described initial color image data
Number;
Using the second formula to calculate described first down-sampled rate Sr1, described second formula is:
Described ZoomHeight is the amplification height in described image magnification parameter, and Rate is AD sample frequency, and V is that sound is in group
Spread speed in knitting, MaxUploadNum1 is described first to upload and count;
Using the 3rd formula to calculate described second down-sampled rate Sr2, described 3rd formula is:
Described ZoomHeight is described amplification highly, and Rate is described AD sample frequency, and V is sound propagation speed in the tissue
Degree, MaxUploadNum1 is described first to upload and count, and MaxUploadNum2 is described second to upload and count.
Ultrasonic image magnifying method the most according to claim 1, it is characterised in that to described second black white image data and
Described second color image data carries out data scanning Coordinate Conversion respectively and obtains target black white image data and targeted color figure
As the step of data includes:
DSC interpolation coefficient table is redefined according to described image magnification parameter;
Use the coordinate data in described DSC interpolation coefficient table that described second black white image data are carried out data scanning coordinate to turn
Get described target black white image data in return;And
Use the coordinate data in described DSC interpolation coefficient table that described second color image data is carried out data scanning coordinate to turn
Get described targeted color view data in return.
Ultrasonic image magnifying method the most according to claim 6, it is characterised in that use in described DSC interpolation coefficient table
Coordinate data described second color image data carried out data scanning Coordinate Conversion obtain described targeted color view data
Step include:
Obtain sampling scope;
Removing and be positioned at the extraneous data of described sampling in described second color image data, described second after being processed is color
Color image data;
Use the coordinate data in described DSC interpolation coefficient table to the described second color image data number after described process
It is converted to described targeted color view data according to scanning coordinate.
8. a ultrasonoscopy amplifying device, it is characterised in that including:
Remove module, for removing respectively in initial black white image data and initial color image data according to image magnification parameter
Discarded counting obtain the first black white image data and the first color image data;
Computing module, for by described first black white image data and described first color image data respectively according to respective fall
Sample rate carries out down-sampled computing, obtains the second black white image data and the second color image data;
Coordinate transferring, for carrying out data respectively to described second black white image data and described second color image data
Scanning coordinate is converted to target black white image data and targeted color view data;
Image conversion module, is used for using MAP table described target black white image data and described targeted color view data to be turned
Being changed to target black white image and targeted color image, wherein, described MAP table is a RGB table pre-defined.
Ultrasonoscopy amplifying device the most according to claim 8, it is characterised in that described removal module includes:
First acquisition module, for obtaining the initial depth parameter of described image magnification parameter;
First calculating sub module, counts for calculating described discarding according to described initial depth parameter;
First removes submodule, for removing in described initial black white image data and described initial color image data respectively
The described discarded data counted obtain described first black white image data and described first color image data.
Ultrasonoscopy amplifying device the most according to claim 8, it is characterised in that described computing module includes:
Second acquisition module, for obtaining the first down-sampled rate of described first black white image data and described first coloured image
Second down-sampled rate of data;
Second calculating sub module, for carrying out down-sampled fortune by described first black white image data according to described first down-sampled rate
Calculate, obtain described second black white image data;And
3rd calculating sub module, for carrying out down-sampled fortune by described first color image data according to described second down-sampled rate
Calculate, obtain described second color image data.
11. ultrasonoscopy amplifying devices according to claim 8, it is characterised in that described coordinate transferring includes:
Processing module, for redefining DSC interpolation coefficient table according to described image magnification parameter;
First Coordinate Conversion submodule, for using the coordinate data in described DSC interpolation coefficient table to described second artwork master
Described target black white image data are obtained as data carry out data scanning Coordinate Conversion;And
Second Coordinate Conversion submodule, for using the coordinate data in described DSC interpolation coefficient table to described second cromogram
Described targeted color view data is obtained as data carry out data scanning Coordinate Conversion.
12. ultrasonoscopy amplifying devices according to claim 11, it is characterised in that described second Coordinate Conversion submodule
Including:
3rd acquisition module, is used for obtaining sampling scope;
Second removes submodule, is used for removing in described second color image data and is positioned at the extraneous data of described sampling,
Described second color image data after process;
3rd Coordinate Conversion submodule, for using the coordinate data in described DSC interpolation coefficient table to the institute after described process
State the second color image data to carry out data scanning Coordinate Conversion and obtain described targeted color view data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410013256.6A CN103761705B (en) | 2014-01-10 | 2014-01-10 | Ultrasonic image magnifying method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410013256.6A CN103761705B (en) | 2014-01-10 | 2014-01-10 | Ultrasonic image magnifying method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103761705A CN103761705A (en) | 2014-04-30 |
CN103761705B true CN103761705B (en) | 2017-01-04 |
Family
ID=50528938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410013256.6A Active CN103761705B (en) | 2014-01-10 | 2014-01-10 | Ultrasonic image magnifying method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103761705B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6689656B2 (en) * | 2016-04-18 | 2020-04-28 | ルネサスエレクトロニクス株式会社 | Image processing system, image processing method, and image transmitting apparatus |
CN107967484B (en) * | 2017-11-14 | 2021-03-16 | 中国计量大学 | Image classification method based on multi-resolution |
US10685439B2 (en) * | 2018-06-27 | 2020-06-16 | General Electric Company | Imaging system and method providing scalable resolution in multi-dimensional image data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101375800A (en) * | 2007-08-31 | 2009-03-04 | 深圳市蓝韵实业有限公司 | Method for amplifying and displaying ultrasonoscopy |
CN101477683A (en) * | 2009-01-20 | 2009-07-08 | 深圳市蓝韵实业有限公司 | Adaptive grey level mapping method for ultrasonic image |
CN101854537A (en) * | 2009-03-31 | 2010-10-06 | 深圳迈瑞生物医疗电子股份有限公司 | Ultrasound image data optimization and radiography quantitative analysis method and system |
CN101980281A (en) * | 2010-09-30 | 2011-02-23 | 深圳市理邦精密仪器股份有限公司 | Ultrasonic image amplification method and amplification system |
CN102038520A (en) * | 2011-01-10 | 2011-05-04 | 飞依诺科技(苏州)有限公司 | Ultrasonic image magnifying method |
CN102793565A (en) * | 2012-08-16 | 2012-11-28 | 无锡祥生医学影像有限责任公司 | Image local amplification method and device for touch screen ultrasonic diagnostic apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8684933B2 (en) * | 2010-08-17 | 2014-04-01 | Imsonic Medical, Inc. | Handheld ultrasound color flow imaging system with mechanically scanned, mechanically focused multi-element transducers |
-
2014
- 2014-01-10 CN CN201410013256.6A patent/CN103761705B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101375800A (en) * | 2007-08-31 | 2009-03-04 | 深圳市蓝韵实业有限公司 | Method for amplifying and displaying ultrasonoscopy |
CN101477683A (en) * | 2009-01-20 | 2009-07-08 | 深圳市蓝韵实业有限公司 | Adaptive grey level mapping method for ultrasonic image |
CN101854537A (en) * | 2009-03-31 | 2010-10-06 | 深圳迈瑞生物医疗电子股份有限公司 | Ultrasound image data optimization and radiography quantitative analysis method and system |
CN101980281A (en) * | 2010-09-30 | 2011-02-23 | 深圳市理邦精密仪器股份有限公司 | Ultrasonic image amplification method and amplification system |
CN102038520A (en) * | 2011-01-10 | 2011-05-04 | 飞依诺科技(苏州)有限公司 | Ultrasonic image magnifying method |
CN102793565A (en) * | 2012-08-16 | 2012-11-28 | 无锡祥生医学影像有限责任公司 | Image local amplification method and device for touch screen ultrasonic diagnostic apparatus |
Non-Patent Citations (1)
Title |
---|
基于多尺度边缘的血管内超声图像增强算法;陶玲等;《四川大学学报(自然科学版)》;20121130;第49卷(第6期);第1228-1234页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103761705A (en) | 2014-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103761705B (en) | Ultrasonic image magnifying method and device | |
CN103927016B (en) | Real-time three-dimensional double-hand gesture recognition method and system based on binocular vision | |
CN103796001B (en) | A kind of method of synchronous acquisition degree of depth and color information and device | |
CN103955583B (en) | Method for determining threshold value of urban built-up area extracted through nighttime light data | |
EP1975873A2 (en) | Three-dimensional object imaging device | |
CN102704215B (en) | Automatic cutting method of embroidery cloth based on combination of DST file parsing and machine vision | |
CN102750538B (en) | A kind of weiqi game interpretation of result method based on image processing techniques | |
CN103181156B (en) | Fuzzy Processing device and method | |
EP0874331A3 (en) | Vehicle monitoring apparatus | |
CN106951905A (en) | Apple identification and localization method on a kind of tree based on TOF camera | |
CN104299231B (en) | Method and system for registering images of multiple sensors in real time | |
CN102113897A (en) | Method and device for extracting target-of-interest from image and method and device for measuring target-of-interest in image | |
CN102855485B (en) | The automatic testing method of one grow wheat heading | |
CN107392849A (en) | Target identification and localization method based on image subdivision | |
CN116208586B (en) | Low-delay medical image data transmission method and system | |
CN113115208A (en) | UWB-based target tracking and target image reconstruction technology | |
CN106327447B (en) | Airspace and pixel domain based on FPGA platform mix noise-reduction method | |
CN106603172A (en) | Time stamp data time sharing reading-writing method applied to radio monitoring receiver | |
CN102760293B (en) | Image quality evaluation method based on distance matrix | |
WO2017201942A1 (en) | Control processing system and imaging method for subcutaneous vein developing device | |
CN106709432A (en) | Binocular stereoscopic vision based head detecting and counting method | |
CN113989336A (en) | Visible light image and infrared image registration method and device | |
CN107977962A (en) | A kind of gear wear degree detecting system and method based on image outline analysis | |
CN113284111A (en) | Hair follicle region positioning method and system based on binocular stereo vision | |
CN105430297B (en) | The automatic control system that more video formats are changed to IIDC protocol videos form |
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 | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210730 Granted publication date: 20170104 |
|
PP01 | Preservation of patent right |