Summary of the invention
The embodiment of the present invention creatively provides a kind of calcification to effectively overcome drawbacks described above present in the prior art
Artifact eliminating method, equipment and computer storage medium.
One aspect of the present invention provides a kind of calcification artifact eliminating method, comprising: primitive vessel image data is obtained and handles,
Obtain original calcification image data;Processing is fitted to the original calcification image data, obtains grey scale change curved surface;According to
The grey scale change curved surface extracts the original calcification image data, obtains calcification centre area image;According to described
Calcification centre area image is adjusted, and obtains artifact amendment calcification image.
In an embodiment, the processing primitive vessel image data, obtaining original calcification image data includes: pair
The primitive vessel image data carries out initial partitioning, obtains original calcified regions;To the original calcified regions and corresponding institute
It states primitive vessel image data and does dot product, obtain original calcification image data, wherein the primitive vessel image data is at least wrapped
Include one of following: image or blood vessel short axle CT image is straightened in blood vessel.
It is described that processing is fitted to the original calcification image data in an embodiment, obtain grey scale change
Curved surface includes: to carry out dimensional Gaussian surface fitting to the original calcification image data for mark variance with gray scale, obtains two dimension
Grey scale change curved surface.
It is described that the original calcification image data is mentioned according to the grey scale change curved surface in an embodiment
It takes, obtaining calcification centre area image includes: to change curved surface according to the two dimensional gray to determine gray-scale pixels quantity;According to described
Gray-scale pixels quantity determines the gray threshold for corresponding to the original calcification image data;According to the gray threshold to the original
Beginning calcification image data extracts, and obtains calcification centre area image.
It is described to determine that gray-scale pixels quantity includes: to seek according to two dimensional gray variation curved surface in an embodiment
Look for the change rate maximum point and central point of the two dimensional gray variation curved surface;With the change rate maximum point to the central point
Distance is that radius calculates the area of a circle;The area of a circle is determined as gray-scale pixels quantity.
In an embodiment, described determined according to the gray-scale pixels quantity corresponds to the original calcification picture number
According to gray threshold include: obtain the original calcification image data gray scale sequence;By the gray-scale pixels quantity in correspondence
Gray scale ranking value in the original calcification image data is determined as gray threshold.
It is described to be adjusted according to the calcification centre area image in an embodiment, obtain artifact amendment calcium
Changing image includes: continuum and the discontinuity zone searched in the calcification centre area image;Judge the locus of discontinuity
Whether the ratio of the area in domain and the area of the continuum is more than given threshold;If being no more than, locus of discontinuity will be given up
The calcification centre area image behind domain is determined as artifact amendment calcification image;If being more than, by the continuum to not
The image that continuum direction is expanded after setting pixel is determined as artifact amendment calcification image.
Another aspect of the present invention provides a kind of calcification artifact elimination equipment, comprising: original image processing module, for obtaining
And primitive vessel image data is handled, obtain original calcification image data;Image fitting module, for the original calcification figure
As data are fitted processing, grey scale change curved surface is obtained;Calcification centre extraction module, for according to the grey scale change curved surface
The original calcification image data is extracted, calcification centre area image is obtained.Calcification adjusts module, for according to
Calcification centre area image is adjusted, and obtains artifact amendment calcification image.
In an embodiment, the original image processing module includes: image segmentation unit, for described original
Blood-vessel image data carry out initial partitioning, obtain original calcified regions;Image dot product unit, for the original calcified regions
Dot product is done with the corresponding primitive vessel image data, obtains original calcification image data, wherein the primitive vessel picture number
One of following according to including at least: image or blood vessel short axle CT image is straightened in blood vessel.
In an embodiment, described image fitting module includes: Gauss curve fitting unit, is used for gray scale as mark side
Difference carries out dimensional Gaussian surface fitting to the original calcification image data, obtains two dimensional gray variation curved surface.
Another aspect of the present invention provides a kind of computer readable storage medium, and the storage medium includes one group of computer can
It executes instruction, when executed for executing calcification artifact eliminating method described in any of the above embodiments.
The present invention is to overcome to eliminate calcification artifact effects in conventional method by being reduced, and causes to calculate practical calcification degree
When the larger problem of error, provide a kind of calcification artifact eliminating method.Firstly, by obtaining and handling primitive vessel picture number
According to obtaining original calcification image data, just tentatively extracted the rough region image data of calcification image in this way, then to mentioning
The original calcification image data taken out is fitted processing, obtains grey scale change curved surface, wherein grey scale change curved surface can be intuitive
The grey scale change gradient shown in original calcification image between each pixel, convenient for further according to grey scale change curved surface to original
Beginning calcification image data extracts, to obtain calcification centre area image, wherein calcification centre area image is according to ash
Setting range on degree variation curved surface extracts and goes out, therefore can be according to the gray scale feature of calcification and artifact sections by original calcification
Artifact sections in image data are isolated, so that accurate calcified regions are obtained, finally according to calcification centre administrative division map
As being adjusted, analysis optimization is carried out to the data obtained again, obtains artifact amendment calcification image.The embodiment of the present invention by pair
After original image carries out first calcified regions extraction, then by carrying out gray scale fitting for original calcified regions image data, obtain
Artifact effects are eliminated again to grey scale change curved surface, and using grey scale change curved surface, obtain more accurate artifact amendment calcification
The method of image preferably eliminates the impact effect of calcification artifact, is conducive to obtain more accurate calcification calculated result.
Specific embodiment
To keep the purpose of the present invention, feature, advantage more obvious and understandable, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of implementation process schematic diagram of calcification artifact eliminating method of the embodiment of the present invention;Fig. 2 is that the present invention is implemented
A kind of a kind of idiographic flow schematic diagram of calcification artifact eliminating method of example;Please refer to Fig. 1 and Fig. 2.
One aspect of the present invention provides a kind of calcification artifact eliminating method, comprising:
Step 101, primitive vessel image data is obtained and handled, original calcification image data is obtained;
Step 102, processing is fitted to original calcification image data, obtains grey scale change curved surface;
Step 103, original calcification image data is extracted according to grey scale change curved surface, obtains calcification centre administrative division map
Picture;
Step 104, it is adjusted according to calcification centre area image, obtains artifact amendment calcification image.
The present invention is to overcome to eliminate calcification artifact effects in conventional method by being reduced, and causes to calculate practical calcification degree
When the larger problem of error, provide a kind of calcification artifact eliminating method.Firstly, obtaining by step 101 and handling original blood
Pipe image data obtains original calcification image data, has just tentatively extracted the rough region image data of calcification image in this way,
Then processing is fitted to the original calcification image data extracted by step 102, obtains grey scale change curved surface, wherein
Grey scale change curved surface can intuitively show the grey scale change gradient in original calcification image between each pixel, convenient for again
Original calcification image data is extracted according to grey scale change curved surface by step 103, to obtain calcification centre administrative division map
Picture, wherein calcification centre area image to be extracted according to the setting range on grey scale change curved surface, therefore can be according to calcium
Change and the gray scale feature of artifact sections isolates the artifact sections in original calcification image data, to obtain accurately
Calcified regions are adjusted finally by step 104 according to calcification centre area image, analyze to the data obtained again excellent
Change, obtains artifact amendment calcification image.After the embodiment of the present invention is by carrying out first calcified regions extraction to original image, then lead to
It crosses and carries out gray scale fitting for original calcified regions image data, obtain grey scale change curved surface, and again using grey scale change curved surface
Secondary elimination artifact effects, the method for obtaining more accurate artifact amendment calcification image, preferably eliminate the shadow of calcification artifact
Effect is rung, is conducive to obtain more accurate calcification calculated result.
In an embodiment, primitive vessel image data is handled, obtaining original calcification image data includes:
Initial partitioning is carried out to primitive vessel image data, obtains original calcified regions;
Dot product is done with corresponding primitive vessel image data to original calcified regions, obtains original calcification image data, wherein
Primitive vessel image data includes at least one of following: image or blood vessel short axle CT image is straightened in blood vessel.
The embodiment of the present invention is obtained by carrying out initial partitioning to primitive vessel image data with part calcification puppet shadow zone
Then original calcified regions are done dot product with corresponding primitive vessel image data by the original calcified regions in domain, obtaining can be in original
Beginning calcified regions show the original calcification image data of calcification artifacts data.Be conducive in this way to calcification artifact portion
The original calcification image data divided carries out advanced treating, and the calcification for obtaining more accurately eliminating calcification artifact effects effect calculates
As a result.
In an embodiment, processing is fitted to original calcification image data, obtaining grey scale change curved surface includes:
It is that mark variance carries out dimensional Gaussian surface fitting to original calcification image data with gray scale, obtains two dimensional gray change
Change curved surface.
Such as Fig. 2, the embodiment of the present invention is that mark variance is high to original calcification image data progress two dimension by setting gray scale
This function surface fitting, wherein the most value difference of original calcification image data is the height of Gaussian function, obtained two dimensional gray
Variation curved surface can show that the grey scale change gradient in original calcification image between pixel, to be conducive to according to two-dimentional ash
Degree variation curved surface searches out calcification artifact, further eliminates calcification artifact effects, improves the accuracy of calcification calculated result.Its
In, before the embodiment of the present invention is fitted processing, a morphological image operation first can be done to original calcification image data: swollen
It is swollen, two-dimensional Gaussian function fitting then is carried out for the original calcification image data after expansion again, in this way, making two after fitting
Dimension grey scale change curved surface can give expression to more obvious shade of gray variation, be conducive to improve to practical calcified regions data
Extraction accuracy.
In an embodiment, original calcification image data is extracted according to grey scale change curved surface, obtains calcification
Central area image includes:
Change curved surface according to two dimensional gray and determines gray-scale pixels quantity;
The gray threshold for corresponding to original calcification image data is determined according to gray-scale pixels quantity;
Original calcification image data is extracted according to gray threshold, obtains calcification centre area image.
The embodiment of the present invention determines gray-scale pixels quantity by changing curved surface according to two dimensional gray, wherein gray-scale pixels number
Amount, specifically can be according to gray-scale pixels number for determining the practical calcification pixel quantity for needing to retain in original calcification image data
Amount determines the gray threshold for corresponding to practical calcification pixel quantity in original calcification image data, is then extracted according to gray threshold
Original calcification image data obtains the calcification centre area image corresponding to practical calcification pixel quantity.In this way, passing through two dimension ash
Degree changes curved surface to determine gray-scale pixels quantity and gray threshold, to accurately extract practical calcification pixel, obtains calcification centre
The method of area image can be improved the accuracy of the extraction accuracy and calcification checkout result to practical calcified regions.
In an embodiment, curved surface is changed according to two dimensional gray and determines that gray-scale pixels quantity includes:
Find the change rate maximum point and central point of two dimensional gray variation curved surface;
The area of a circle is calculated by radius of the distance of change rate maximum point to central point;
The area of a circle is determined as gray-scale pixels quantity.
Such as Fig. 2, the embodiment of the present invention on dimensional Gaussian curved surface by finding gradient change rate maximum point, due to calcification picture
Shade of gray variation between vegetarian refreshments and Image artifacts point is theoretically maximum point, therefore change rate maximum point is practical calcium
Change the separation in region and artifact region.Then the centre distance of this point to Gauss curved is calculated as radius, gained
The area of a circle be include therefore the area of a circle is determined as gray-scale pixels quantity by all pixels point for representing practical calcified regions,
Just all pixels quantity that corresponding practical calcified regions can be extracted, substantially increase calculate the accuracy of practical calcified regions with
Reliability.
In an embodiment, the gray threshold for corresponding to original calcification image data is determined according to gray-scale pixels quantity
Include:
Obtain the gray scale sequence of original calcification image data;
Gray scale ranking value of the gray-scale pixels quantity in the original calcification image data of correspondence is determined as gray threshold.
Such as Fig. 2, after obtaining gray-scale pixels quantity, obtains and inquire gray-scale pixels quantity in the original calcification image data of correspondence
In gray scale ranking value, this gray scale ranking value be in original calcification image data practical calcification pixel and Image artifacts point it
Between boundary gray scale ranking value, this gray scale ranking value is determined as gray threshold, can this gray threshold to original calcification figure
It is extracted as data progress is more accurate, obtains more accurate calcification centre area image.
It in an embodiment, is adjusted according to calcification centre area image, obtains artifact amendment calcification image packet
It includes:
Search the continuum in calcification centre area image and discontinuity zone;
Whether the ratio for judging the area of discontinuity zone and the area of continuum is more than given threshold;
If being no more than, the calcification centre area image after discontinuity zone will be given up and be determined as artifact amendment calcification figure
Picture;
If being more than, the image after setting pixel is expanded to discontinuity zone direction in continuum is determined as artifact amendment
Calcification image.
In embodiments of the present invention, since calcified regions center image is from primitive vessel image data according to gray scale threshold
Value extraction is got, and this gray threshold does not connect in primitive vessel image data it is very likely that there is some areas are relatively small
Continuous region, and practical calcified regions are theoretically the relatively large continuum of area, therefore for the calcium that extraction obtains
Changing regional center image may also need to be adjusted again.It, specifically can be by first searching calcification centre area image such as Fig. 2
In continuum and discontinuity zone, judge whether the ratio of the area of discontinuity zone and the area of continuum is more than to set
Determine threshold value, if being no more than given threshold, illustrate the influence very little for ignoring this discontinuity zone, therefore can will give up discontinuous
Calcification centre area image behind region is determined as artifact amendment calcification image.If being more than given threshold, need to consider that this does not connect
The influence in continuous region, then then based on the biggish continuum of area, after expanding setting pixel to discontinuity zone direction
Image be determined as artifact amendment calcification image, wherein setting pixel quantity can be discontinuity zone pixel quantity.It is logical
The step of secondary adjustment is carried out to calcified regions center image is spent to expand or discard portion pixel, is conducive to further increase pair
The extraction accuracy of practical calcification pixel obtains more accurate calcification meter to preferably eliminate the impact effect of calcification artifact
Calculate result.
Fig. 3 is the composed structure schematic diagram that a kind of calcification artifact of the embodiment of the present invention eliminates equipment, please refers to Fig. 3.
Another aspect of the present invention provides a kind of calcification artifact elimination equipment, comprising:
Original image processing module 201 obtains original calcification picture number for obtaining and handling primitive vessel image data
According to;
Image fitting module 202 obtains grey scale change curved surface for being fitted processing to original calcification image data;
Calcification centre extraction module 203 is obtained for being extracted according to grey scale change curved surface to original calcification image data
To calcification centre area image.
Calcification adjusts module 204, for being adjusted according to calcification centre area image, obtains artifact amendment calcification figure
Picture.
The present invention is to overcome to eliminate calcification artifact effects in conventional method by being reduced, and causes to calculate practical calcification degree
When the larger problem of error, provide a kind of calcification artifact and eliminate equipment.Firstly, being obtained by original image processing module 201
And primitive vessel image data is handled, original calcification image data is obtained, has just tentatively extracted the rough of calcification image in this way
Then region image data is fitted processing to the original calcification image data extracted by image fitting module 202, obtains
To grey scale change curved surface, wherein grey scale change curved surface can intuitively be shown in original calcification image between each pixel
Grey scale change gradient, convenient for again by calcification centre extraction module 203 according to grey scale change curved surface to original calcification picture number
According to extracting, to obtain calcification centre area image, wherein calcification centre area image is according on grey scale change curved surface
Setting range extract and go out, therefore can will be in original calcification image data according to the gray scale feature of calcification and artifact sections
Artifact sections are isolated, so that accurate calcified regions are obtained, finally by calcification adjustment module 204 according to calcification centre
Area image is adjusted, and carries out analysis optimization to the data obtained again, obtains artifact amendment calcification image.The embodiment of the present invention
It is quasi- after carrying out first calcified regions extraction to original image, then by carrying out gray scale for original calcified regions image data
It closes, obtains grey scale change curved surface, and eliminate artifact effects again using grey scale change curved surface, obtain more accurate artifact amendment
The method of calcification image preferably eliminates the impact effect of calcification artifact, is conducive to obtain more accurate calcification calculating knot
Fruit.
In an embodiment, original image processing module 201 includes:
Image segmentation unit obtains original calcified regions for carrying out initial partitioning to primitive vessel image data;
Image dot product unit obtains original for doing dot product with corresponding primitive vessel image data to original calcified regions
Calcification image data, wherein primitive vessel image data includes at least one of following: image or blood vessel short axle CT figure is straightened in blood vessel
Picture.
The embodiment of the present invention carries out initial partitioning to primitive vessel image data by image segmentation unit, obtains with portion
Divide the original calcified regions of calcification artifact region, then passes through image dot product unit for original calcified regions and corresponding primitive vessel
Image data does dot product, obtains to show the original calcification picture numbers of calcification artifacts data in original calcified regions
According to.Be conducive to carry out advanced treating to the original calcification image data with calcification artifact sections in this way, obtain more accurately
Eliminate the calcification calculated result of calcification artifact effects effect.
In an embodiment, image fitting module 202 includes:
Gauss curve fitting unit, for being that mark variance is quasi- to original calcification image data progress dimensional Gaussian curved surface with gray scale
It closes, obtains two dimensional gray variation curved surface.
It is that mark variance carries out original calcification image data that gray scale, which is arranged, by Gauss curve fitting unit in the embodiment of the present invention
Two-dimensional Gaussian function surface fitting, wherein height of the most value difference of original calcification image data for Gaussian function, obtained two
Dimension grey scale change curved surface can show that the grey scale change gradient in original calcification image between pixel, to be conducive to basis
Two dimensional gray variation curved surface searches out calcification artifact, further eliminates calcification artifact effects, improves the accurate of calcification calculated result
Property.Wherein, before the embodiment of the present invention is fitted processing, a morphological image behaviour first can be done to original calcification image data
Make: then expansion carries out two-dimensional Gaussian function fitting for the original calcification image data after expansion again, in this way, to be fitted
Two dimensional gray variation curved surface afterwards can give expression to more obvious shade of gray variation, be conducive to improve to practical calcification area
The extraction accuracy of numeric field data.
Another aspect of the present invention provides a kind of computer readable storage medium, and storage medium includes that one group of computer is executable
Instruction, when executed for executing the calcification artifact eliminating method of any of the above-described.
The present invention is to overcome to eliminate calcification artifact effects in conventional method by being reduced, and causes to calculate practical calcification degree
When the larger problem of error, provide a kind of computer readable storage medium, storage medium, which includes that one group of computer is executable, to be referred to
It enables, when executed for executing following calcification artifact eliminating method: firstly, by obtaining and handling primitive vessel figure
As data, original calcification image data is obtained, has just tentatively extracted the rough region image data of calcification image in this way, then
Processing is fitted to the original calcification image data extracted, obtains grey scale change curved surface, wherein grey scale change curved surface can
Show the grey scale change gradient in original calcification image between each pixel, intuitively convenient for further according to grey scale change curved surface
Original calcification image data is extracted, to obtain calcification centre area image, wherein calcification centre area image is root
It extracts and goes out according to the setting range on grey scale change curved surface, therefore can will be original according to the gray scale feature of calcification and artifact sections
Artifact sections in calcification image data are isolated, so that accurate calcified regions are obtained, finally according to calcification centre area
Area image is adjusted, and carries out analysis optimization to the data obtained again, obtains artifact amendment calcification image.The embodiment of the present invention is logical
It crosses after carrying out first calcified regions extraction to original image, then quasi- by carrying out gray scale for original calcified regions image data
It closes, obtains grey scale change curved surface, and eliminate artifact effects again using grey scale change curved surface, obtain more accurate artifact amendment
The method of calcification image preferably eliminates the impact effect of calcification artifact, is conducive to obtain more accurate calcification calculating knot
Fruit.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden
It include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise
Clear specific restriction.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover
Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.