CN109377453A - The removing method of moire fringes, system, storage medium and device in radioscopic image - Google Patents
The removing method of moire fringes, system, storage medium and device in radioscopic image Download PDFInfo
- Publication number
- CN109377453A CN109377453A CN201811092089.3A CN201811092089A CN109377453A CN 109377453 A CN109377453 A CN 109377453A CN 201811092089 A CN201811092089 A CN 201811092089A CN 109377453 A CN109377453 A CN 109377453A
- Authority
- CN
- China
- Prior art keywords
- moire fringes
- radioscopic image
- frequency
- image
- filter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000001228 spectrum Methods 0.000 claims description 18
- 230000015654 memory Effects 0.000 claims description 14
- 238000001914 filtration Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 230000008030 elimination Effects 0.000 claims description 9
- 238000003379 elimination reaction Methods 0.000 claims description 9
- 230000005055 memory storage Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000010183 spectrum analysis Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000000053 physical method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/10—Image enhancement or restoration using non-spatial domain filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10116—X-ray image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20024—Filtering details
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
- G06T2207/20056—Discrete and fast Fourier transform, [DFT, FFT]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Apparatus For Radiation Diagnosis (AREA)
- Image Analysis (AREA)
Abstract
The present invention provides removing method, system, storage medium and the device of moire fringes in a kind of radioscopic image, comprising the following steps: radioscopic image is adjusted to target sizes;It whether there is moire fringes in the radioscopic image after judgement adjusting;When there are the moire fringes, the frequency range where the moire fringes is obtained;Filter corresponding with the frequency range is constructed based on the frequency range where the moire fringes;The radioscopic image is filtered based on the filter, with the radioscopic image for the moire fringes that are eliminated;The radioscopic image for eliminating moire fringes is cut to original size.Removing method, system, storage medium and the device of moire fringes in a kind of radioscopic image of the invention achieve the effect that preferably to eliminate moire fringes for constructing filter corresponding with the frequency range for frequency range.
Description
Technical field
The present invention relates to medical image processing field, more particularly to the removing method of moire fringes in a kind of radioscopic image,
System, storage medium and device.
Background technique
X-ray has very strong penetration capacity, can penetrate the impenetrable substance of many visible lights.It is penetrated using this
Ability, this ray are used to assist in people and carry out medical diagnosis and treatment.It is taking pictures to obtain the process of image using X-ray
In, especially when ray touches photographed object, not only there is primary radiation generation, but also there are also scattering radiation to generate, be called scattered
Ray.These scattered rays can be superimposed on the image, so that the contrast and clarity of X-ray shooting image are reduced, while
Reduce signal-to-noise ratio.In order to effectively eliminate scattered rays, need using medical grid, and the use of medical grid can schemed
New problem, i.e. moire fringes are brought as in, is expressed as a kind of regular striped on the image.This can seriously affect examining for doctor
Quality that is disconnected and reducing image.
In the especially radioscopic image of medical image processing field, in order to eliminate the moire fringes in image, many companies and
Many eliminations/inhibition moire fringes method has been invented by enterprise, such as without using fixed grid, but with motive grid,
The moire fringes in image are eliminated from physical method.The method that other company has then used some Digital Image Processing, such as
It goes to eliminate filter in the frequency domain of image by way of Fourier transformation.But these digital image processing techniques exist very much
Defect, some technologies need to inform whether user needs to load the image for inhibiting moire fringes, i.e., can not judge whether there is mole
Line.Filter selection is improper when some technologies eliminate moire fringes, causes image fuzzy.Some technologies often only filter a frequency range
Wave can not find the moire fringes frequency range positioned at low frequency region and mid-frequency region.Some technologies are after eliminating moire fringes, MTF decline
Seriously.And some technologies judge incorrectly to frequency point, position mistake, the part that originally should not be filtered have been done the inhibition of mistake.
Accordingly, it is desirable to be able to solve how to identify whether radioscopic image there are moire fringes, the frequency where moire fringes how is judged
The problem of section.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide moire fringes in a kind of radioscopic image
Removing method, system, storage medium and device, how to identify whether radioscopic image has mole in the prior art for solving
Line, the problem of how judging the frequency range where moire fringes.
In order to achieve the above objects and other related objects, the present invention provides a kind of elimination side of moire fringes in radioscopic image
Method, comprising the following steps: radioscopic image is adjusted to target sizes;It whether there is in the radioscopic image after judgement adjusting
Moire fringes;When there are the moire fringes, the frequency range where the moire fringes is obtained;Based on the frequency range structure where the moire fringes
Build filter corresponding with the frequency range;The radioscopic image is filtered based on the filter, to be eliminated
The radioscopic image of moire fringes;The radioscopic image for eliminating moire fringes is cut to original size.
In one embodiment of the invention, when radioscopic image is adjusted to target sizes, the radioscopic image is carried out
Filling obtains the image of 2 integral number power size.
In one embodiment of the invention, judge include with the presence or absence of moire fringes in the pretreated radioscopic image
Following steps: judge the high-frequency region of the radioscopic image with the presence or absence of moire fringes;When there are moire fringes for the high-frequency region
When, judge the mid-frequency region of the radioscopic image with the presence or absence of moire fringes.
In one embodiment of the invention, judging that the high-frequency region of the radioscopic image whether there is moire fringes includes: to take out
The one dimensional line data of the vertical and horizontal both direction of the radioscopic image are taken, adding window is carried out to described two one dimensional line data respectively, if plus
Data after window are greater than preset threshold and then judge radioscopic image high-frequency region there are moire fringes.
In one embodiment of the invention, when there are the moire fringes, the frequency range where obtaining the moire fringes includes:
When only there are the high bands where obtaining moire fringes when moire fringes for high-frequency region in radioscopic image;When the high frequency region of radioscopic image
Domain and mid-frequency region obtain the high band and Mid Frequency where moire fringes when all there are moire fringes.
In one embodiment of the invention, filtering corresponding with the frequency range is constructed based on the frequency range where the moire fringes
Device includes: to construct Gauss rectangular filter for the moire fringes in high band;For the moire fringes in Mid Frequency, Gauss is constructed
Circular filter.
In one embodiment of the invention, the radioscopic image is filtered based on the filter, to obtain
The radioscopic image for eliminating moire fringes includes: to carry out two-dimensional Fourier transform to the radioscopic image to obtain frequency spectrum data;It is based on
The high-frequency data in the frequency spectrum data is filtered in the Gauss rectangular filter;Based on the Gauss circular filter pair
Intermediate frequency data in the frequency spectrum data is filtered;Inverse Fourier transform is carried out to the data after the filtering processing to obtain
Image to after elimination moire fringes.
To achieve the above object, the present invention also provides a kind of elimination systems of moire fringes in radioscopic image, comprising: adjusts
Module, judgment module obtain module, building module, filter module and cut module;The adjustment module is used for X ray picture
As being adjusted to target sizes;The judgment module is used to judge in the radioscopic image after adjusting with the presence or absence of moire fringes;Institute
It states and obtains module for obtaining the frequency range where the moire fringes when there are the moire fringes;The building module is used for base
Filter corresponding with the frequency range is constructed in the frequency range where the moire fringes;The filter module is used to be based on the filtering
Device is filtered the radioscopic image, with the radioscopic image for the moire fringes that are eliminated;The cutting module is used for will
The radioscopic image for eliminating moire fringes is cut to original size.
To achieve the above object, the present invention also provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence, the program realize the removing method of moire fringes in any above-mentioned radioscopic image when being executed by processor.
Finally, the present invention also provides a kind of cancellation elements of moire fringes in radioscopic image, comprising: processor and memory;
The memory is for storing computer program;The processor is connected with the memory, deposits for executing the memory
The computer program of storage, so that the cancellation element of moire fringes is executed and rubbed in any above-mentioned radioscopic image in the radioscopic image
The removing method of your line.
As described above, in a kind of radioscopic image of the invention moire fringes removing method, system, storage medium and device,
Having the advantages that can prejudge with the presence or absence of moire fringes in radioscopic image, for the frequency range structure where moire fringes
Filter corresponding with the frequency range is built to eliminate moire fringes, reasonably selects and filters for the moire fringes of high band and Mid Frequency
Device achievees the effect that preferably eliminating moire fringes prevents mistake from eliminating moire fringes.
Detailed description of the invention
Fig. 1 is shown as flow chart of the removing method of moire fringes in radioscopic image of the invention in an embodiment;
Fig. 2 is shown as structural schematic diagram of the elimination system of moire fringes in radioscopic image of the invention in an embodiment;
Fig. 3 is shown as structural representation of the cancellation element of moire fringes in radioscopic image of the invention in an embodiment
Figure;.
Component label instructions
21 adjustment modules
22 judgment modules
23 obtain module
24 building modules
25 filter modules
26 cut module
31 processors
32 memories
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
The removing method of moire fringes, system, storage medium and device in radioscopic image of the invention, can prejudge X
It whether there is moire fringes in ray image, construct filter corresponding with the frequency range for the frequency range where moire fringes to disappear
Except moire fringes.
As shown in Figure 1, in an embodiment, the removing method of moire fringes in radioscopic image of the invention, including following step
It is rapid:
Step S11, radioscopic image is adjusted to target sizes.
It is described when radioscopic image is adjusted to target sizes in one embodiment of the invention, to the radioscopic image into
Row filling obtains the image of 2 integral number power size.Specifically, firstly, the initial data of original X-rays image is converted to double
The data of precision.Then the data after conversion accuracy are based on formulaIt carries out that filled X-ray is calculated
Image size.Wherein b is original X-rays image size, and a 2 is rounded up to a nearest integer to the value after calculating
Value, the integral number power as 2 obtain new radioscopic image size.There is not the extra part of data with 0 filling in image.Institute
Stating treated, radioscopic image is square.
Step S12, it whether there is moire fringes in the radioscopic image after judgement is adjusted.
In one embodiment of the invention, judge in the pretreated radioscopic image with the presence or absence of moire fringes include with
Lower step: judge the high-frequency region of the radioscopic image with the presence or absence of moire fringes;When the high-frequency region is there are when moire fringes,
Judge the mid-frequency region of the radioscopic image with the presence or absence of moire fringes.Specifically, it is vertical and horizontal that the radioscopic image central axes are extracted
The one dimensional line data of both direction carry out adding window to described two one dimensional line data respectively, and the adding window is Hanning window, adding window
Purpose is the interference in order to eliminate other factors to frequency spectrum, allows frequency spectrum to be more clear clear.Image after adding window is carried out one-dimensional
Spectrum analysis, the data after adding window judge radioscopic image high-frequency region if being greater than preset threshold, and there are moire fringes.If after adding window
Data be less than and then judge radioscopic image high-frequency region there is no moire fringes in preset threshold.Then illustrate the radioscopic image not
There are moire fringes, no longer carry out any operation.
Step S13, when there are the moire fringes, the frequency range where the moire fringes is obtained.
In one embodiment of the invention, when there are the moire fringes, the frequency range where obtaining the moire fringes includes: tool
Body, the data after adding window judge radioscopic image high-frequency region if being greater than preset threshold, and there are moire fringes.Then further judgement
The mid-frequency region of radioscopic image whether there is moire fringes.When only there are acquisitions mole when moire fringes for high-frequency region in radioscopic image
High band where line;When all there are moire fringes in the high-frequency region of radioscopic image and mid-frequency region where acquisition moire fringes
High band and Mid Frequency.
Step S14, filter corresponding with the frequency range is constructed based on the frequency range where the moire fringes.
In one embodiment of the invention, filter corresponding with the frequency range is constructed based on the frequency range where the moire fringes
It include: that Gauss rectangular filter is constructed for the moire fringes in high band;For the moire fringes in Mid Frequency, Gauss circle is constructed
Mode filter.Specifically, when only there are construct Gauss rectangular filter when moire fringes for high-frequency region in radioscopic image.Work as X-ray
Building Gauss rectangular filter and Gauss circular filter when the high-frequency region of image and mid-frequency region all have moire fringes.
Step S15, the radioscopic image is filtered based on the filter, with the X for the moire fringes that are eliminated
Ray image
In one embodiment of the invention, the radioscopic image is filtered based on the filter, to be disappeared
Except the radioscopic image of moire fringes includes: to carry out two-dimensional Fourier transform to the radioscopic image to obtain frequency spectrum data;Based on institute
Gauss rectangular filter is stated the high-frequency data in the frequency spectrum data is filtered;Based on the Gauss circular filter to institute
The intermediate frequency data stated in frequency spectrum data is filtered;Inverse Fourier transform is carried out to the data after the filtering processing to obtain
Image after eliminating moire fringes.Specifically, two dimensional discrete Fourier transform formula is as follows:F (x, y) represents a width size as the matrix of M x N in formula, wherein x=0, and 1,
2 ..., M-1 and y=0,1,2 ..., N-1, F (u, v) indicate the Fourier transformation of f (x, y).Two dimensional discrete Fourier transform be by
Image is from transform of spatial domain to frequency domain, in image enhancement, image denoising, Image Edge-Detection, image characteristics extraction, compression of images etc.
Deng application in all play an important role.Coordinate system where F (u, v) is referred to as frequency domain, and coordinate system where f (x, y) is claimed
For spatial domain.Then it is filtered again, i.e., image is obtained frequency spectrum data and filter by two-dimensional Fourier transform
It is multiplied, wherein learn that only there are high-frequency datas when moire fringes and the Gauss rectangle to filter for high-frequency region in radioscopic image in judgement
Wave device is multiplied, and learns high-frequency data and institute when the high-frequency region of radioscopic image and mid-frequency region all have moire fringes in judgement
It states the multiplication of Gauss rectangular filter and intermediate frequency data is multiplied with the Gauss circular filter.Then to the frequency by filtering processing
Modal data carries out inverse Fourier transform again and is eliminated the radioscopic image after moire fringes.
Step S16, the radioscopic image for eliminating moire fringes is cut to original size.
In one embodiment of the invention, the radioscopic image for eliminating moire fringes is cut to original size, then again processing
The data type of radioscopic image afterwards rotates back into the data type as the initial data of original X-rays image.
As shown in Fig. 2, in an embodiment, the elimination system of moire fringes in radioscopic image of the invention, comprising: adjust
Module 21, judgment module 22 obtain module 23, building module 24, filter module 25 and cut module 26.
The adjustment module 21 is used to radioscopic image being adjusted to target sizes.
It is described when radioscopic image is adjusted to target sizes in one embodiment of the invention, to the radioscopic image into
Row filling obtains the image of 2 integral number power size.Specifically, firstly, the initial data of original X-rays image is converted to double
The data of precision.Then the data after conversion accuracy are based on formulaIt carries out that filled X-ray is calculated
Image size.Wherein b is original X-rays image size, and a 2 is rounded up to a nearest integer to the value after calculating
Value, the integral number power as 2 obtain new radioscopic image size.There is not the extra part of data with 0 filling in image.Institute
Stating treated, radioscopic image is square.
The judgment module 22 is used to judge in the radioscopic image after adjusting with the presence or absence of moire fringes.
In one embodiment of the invention, judge in the pretreated radioscopic image with the presence or absence of moire fringes include with
Lower step: judge the high-frequency region of the radioscopic image with the presence or absence of moire fringes;When the high-frequency region is there are when moire fringes,
Judge the mid-frequency region of the radioscopic image with the presence or absence of moire fringes.Specifically, it is vertical and horizontal that the radioscopic image central axes are extracted
The one dimensional line data of both direction carry out adding window to described two one dimensional line data respectively, and the adding window is Hanning window, adding window
Purpose is the interference in order to eliminate other factors to frequency spectrum, allows frequency spectrum to be more clear clear.Image after adding window is carried out one-dimensional
Spectrum analysis, the data after adding window judge radioscopic image high-frequency region if being greater than preset threshold, and there are moire fringes.If after adding window
Data be less than and then judge radioscopic image high-frequency region there is no moire fringes in preset threshold.Then illustrate the radioscopic image not
There are moire fringes, no longer carry out any operation.
The acquisition module 23 is used for when there are the moire fringes, obtains the frequency range where the moire fringes.
In one embodiment of the invention, when there are the moire fringes, the frequency range where obtaining the moire fringes includes: tool
Body, the data after adding window judge radioscopic image high-frequency region if being greater than preset threshold, and there are moire fringes.Then further judgement
The mid-frequency region of radioscopic image whether there is moire fringes.When only there are acquisitions mole when moire fringes for high-frequency region in radioscopic image
High band where line;When all there are moire fringes in the high-frequency region of radioscopic image and mid-frequency region where acquisition moire fringes
High band and Mid Frequency.
The building module 24 is used to construct filter corresponding with the frequency range based on the frequency range where the moire fringes.
In one embodiment of the invention, filter corresponding with the frequency range is constructed based on the frequency range where the moire fringes
It include: that Gauss rectangular filter is constructed for the moire fringes in high band;For the moire fringes in Mid Frequency, Gauss circle is constructed
Mode filter.Specifically, when only there are construct Gauss rectangular filter when moire fringes for high-frequency region in radioscopic image.Work as X-ray
Building Gauss rectangular filter and Gauss circular filter when the high-frequency region of image and mid-frequency region all have moire fringes.
The filter module 25 is used to be filtered the radioscopic image based on the filter, to be disappeared
Except the radioscopic image of moire fringes.
In one embodiment of the invention, the radioscopic image is filtered based on the filter, to be disappeared
Except the radioscopic image of moire fringes includes: to carry out two-dimensional Fourier transform to the radioscopic image to obtain frequency spectrum data;Based on institute
Gauss rectangular filter is stated the high-frequency data in the frequency spectrum data is filtered;Based on the Gauss circular filter to institute
The intermediate frequency data stated in frequency spectrum data is filtered;Inverse Fourier transform is carried out to the data after the filtering processing to obtain
Image after eliminating moire fringes.Specifically, two dimensional discrete Fourier transform formula is as follows:F (x, y) represents a width size as the matrix of M x N in formula, wherein x=0, and 1,
2 ..., M-1 and y=0,1,2 ..., N-1, F (u, v) indicate the Fourier transformation of f (x, y).Two dimensional discrete Fourier transform be by
Image is from transform of spatial domain to frequency domain, in image enhancement, image denoising, Image Edge-Detection, image characteristics extraction, compression of images etc.
Deng application in all play an important role.Coordinate system where F (u, v) is referred to as frequency domain, and coordinate system where f (x, y) is claimed
For spatial domain.Then it is filtered again, i.e., image is obtained frequency spectrum data and filter by two-dimensional Fourier transform
It is multiplied, wherein learn that only there are high-frequency datas when moire fringes and the Gauss rectangle to filter for high-frequency region in radioscopic image in judgement
Wave device is multiplied, and learns high-frequency data and institute when the high-frequency region of radioscopic image and mid-frequency region all have moire fringes in judgement
It states the multiplication of Gauss rectangular filter and intermediate frequency data is multiplied with the Gauss circular filter.Then to the frequency by filtering processing
Modal data carries out inverse Fourier transform again and is eliminated the radioscopic image after moire fringes.
The cutting module 26 is used to the radioscopic image for eliminating moire fringes being cut to original size.
In one embodiment of the invention, the radioscopic image for eliminating moire fringes is cut to original size, then again processing
The data type of radioscopic image afterwards rotates back into the data type as the initial data of original X-rays image.
It should be noted that it should be understood that the modules of system above division be only a kind of logic function division,
It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with
All realized by way of processing element calls with software;It can also all realize in the form of hardware;It can also part mould
Block realizes that part of module passes through formal implementation of hardware by way of processing element calls software.For example, x module can be
The processing element individually set up also can integrate and realize in some chip of above-mentioned apparatus, in addition it is also possible to program generation
The form of code is stored in the memory of above-mentioned apparatus, is called by some processing element of above-mentioned apparatus and is executed the above x mould
The function of block.The realization of other modules is similar therewith.Furthermore these modules completely or partially can integrate together, can also be only
It is vertical to realize.Processing element described here can be a kind of integrated circuit, the processing capacity with signal.During realization,
Each step of the above method or the above modules can be by the integrated logic circuits of the hardware in processor elements or soft
The instruction of part form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as:
One or more specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or,
One or more microprocessors (Digital Singnal Processor, abbreviation DSP), or, one or more scene can compile
Journey gate array (Field Programmable Gate Array, abbreviation reception device) etc..For another example, when some above module is logical
When crossing the form realization of processing element scheduler program code, which can be general processor, such as central processing unit
(Central Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules
It can integrate together, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
In one embodiment of the invention, the invention also includes a kind of computer readable storage mediums, are stored thereon with calculating
Machine program, the program realize the removing method of moire fringes in any of the above-described radioscopic image when being executed by processor.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of computer program is crossed to complete.Computer program above-mentioned can store in a computer readable storage medium
In.When being executed, execution includes the steps that above-mentioned each method embodiment to the program;And storage medium above-mentioned include: ROM,
The various media that can store program code such as RAM, magnetic or disk.
As shown in figure 3, the cancellation element of moire fringes includes: processor in radioscopic image of the invention in an embodiment
31 and memory 32;The memory 32 is for storing computer program;The processor 31 is connected with the memory 32, uses
In the computer program for executing the storage of memory 32, so that the cancellation element execution of moire fringes is appointed in the radioscopic image
The removing method of moire fringes in radioscopic image described in one.
Specifically, the memory 32, which includes: that ROM, RAM, magnetic disk, USB flash disk, storage card or CD etc. are various, can store
The medium of program code.
Preferably, the processor 31 can be general processor, including central processing unit (Central Processing
Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processor, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field Programmable Gate Array,
Abbreviation reception device) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In conclusion the removing method of moire fringes, system, storage medium and device in radioscopic image of the present invention, it can be pre-
First judge to construct filtering corresponding with the frequency range for the frequency range where moire fringes with the presence or absence of moire fringes in radioscopic image
Device reasonably selects filter for the moire fringes of high band and Mid Frequency and reaches preferably elimination moire fringes to eliminate moire fringes
Effect prevent mistake eliminate moire fringes.So the present invention effectively overcomes various shortcoming in the prior art and has height and produce
Industry utility value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (10)
1. the removing method of moire fringes in a kind of radioscopic image, which comprises the following steps:
Radioscopic image is adjusted to target sizes;
It whether there is moire fringes in the radioscopic image after judgement adjusting;
When there are the moire fringes, the frequency range where the moire fringes is obtained;
Filter corresponding with the frequency range is constructed based on the frequency range where the moire fringes;
The radioscopic image is filtered based on the filter, with the radioscopic image for the moire fringes that are eliminated;
The radioscopic image for eliminating moire fringes is cut to original size.
2. the removing method of moire fringes in radioscopic image according to claim 1, which is characterized in that by radioscopic image tune
When section is target sizes, the radioscopic image is filled to obtain the image of 2 integral number power size.
3. the removing method of moire fringes in radioscopic image according to claim 1, which is characterized in that after judgement pretreatment
The radioscopic image in whether there is moire fringes the following steps are included:
Judge the high-frequency region of the radioscopic image with the presence or absence of moire fringes;
When there are when moire fringes, judge the mid-frequency region of the radioscopic image with the presence or absence of moire fringes for the high-frequency region.
4. the removing method of moire fringes in radioscopic image according to claim 3, which is characterized in that judge the X-ray
The high-frequency region of image includes: the one dimensional line data for extracting the vertical and horizontal both direction of radioscopic image with the presence or absence of moire fringes, point
Other to carry out adding window to described two one dimensional line data, the data after adding window judge radioscopic image high frequency if being greater than preset threshold
There are moire fringes in region.
5. the removing method of moire fringes in radioscopic image according to claim 3, which is characterized in that rub described in the presence
When your line, the frequency range where obtaining the moire fringes includes: when only there are obtain to rub when moire fringes for high-frequency region in radioscopic image
High band where your line;Moire fringes place is obtained when the high-frequency region of radioscopic image and mid-frequency region all have moire fringes
High band and Mid Frequency.
6. the removing method of moire fringes in radioscopic image according to claim 5, which is characterized in that based on described mole
It includes: to construct Gauss rectangle for the moire fringes in high band that frequency range where line, which constructs filter corresponding with the frequency range,
Filter;For the moire fringes in Mid Frequency, Gauss circular filter is constructed.
7. the removing method of moire fringes in radioscopic image according to claim 6, which is characterized in that be based on the filtering
Device is filtered the radioscopic image, and the radioscopic image with the moire fringes that are eliminated includes: to the radioscopic image
It carries out two-dimensional Fourier transform and obtains frequency spectrum data;Based on the Gauss rectangular filter to the high frequency in the frequency spectrum data
According to filtering processing;The intermediate frequency data in the frequency spectrum data is filtered based on the Gauss circular filter;To institute
Data after stating filtering processing carry out inverse Fourier transform and are eliminated the image after moire fringes.
8. the elimination system of moire fringes in a kind of radioscopic image characterized by comprising adjustment module, judgement are calculated module, obtained
Modulus block, building module, filter module and cutting module;
The adjustment module is used to radioscopic image being adjusted to target sizes;
The judgment module is used to judge in the radioscopic image after adjusting with the presence or absence of moire fringes;
The acquisition module is used for when there are the moire fringes, obtains the frequency range where the moire fringes;
The building calculates module and is used to construct filter corresponding with the frequency range based on the frequency range where the moire fringes;
The filter module is used to be filtered the radioscopic image based on the filter, to be eliminated mole
The radioscopic image of line;
The cutting module is used to the radioscopic image for eliminating moire fringes being cut to original size.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The removing method of moire fringes in radioscopic image described in any one of claims 1 to 7 is realized when row.
10. the cancellation element of moire fringes in a kind of radioscopic image characterized by comprising processor and memory;
The memory is for storing computer program;
The processor is connected with the memory, for executing the computer program of the memory storage, so that the X is penetrated
In line image the cancellation element perform claim of moire fringes require any one of 1 to 7 described in radioscopic image moire fringes elimination
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811092089.3A CN109377453B (en) | 2018-09-19 | 2018-09-19 | Method, system, storage medium and device for eliminating moire in X-ray image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811092089.3A CN109377453B (en) | 2018-09-19 | 2018-09-19 | Method, system, storage medium and device for eliminating moire in X-ray image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109377453A true CN109377453A (en) | 2019-02-22 |
CN109377453B CN109377453B (en) | 2022-01-18 |
Family
ID=65405006
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811092089.3A Active CN109377453B (en) | 2018-09-19 | 2018-09-19 | Method, system, storage medium and device for eliminating moire in X-ray image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109377453B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110059700A (en) * | 2019-03-18 | 2019-07-26 | 深圳神目信息技术有限公司 | The recognition methods of image moire fringes, device, computer equipment and storage medium |
CN110310237A (en) * | 2019-06-06 | 2019-10-08 | 武汉精立电子技术有限公司 | Remove the method and system of image moire fringes, the brightness measurement of display panel sub-pixel point, Mura defects reparation |
CN112581904A (en) * | 2019-09-30 | 2021-03-30 | 华中科技大学 | Moire compensation method for brightness gray scale image of OLED (organic light emitting diode) screen |
CN112967182A (en) * | 2019-12-12 | 2021-06-15 | 杭州海康威视数字技术股份有限公司 | Image processing method, device and equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010240259A (en) * | 2009-04-08 | 2010-10-28 | Shimadzu Corp | Radiation image pickup device |
US20130051514A1 (en) * | 2011-08-31 | 2013-02-28 | Shimadzu Corporation | Radiographic device |
CN106664359A (en) * | 2014-07-15 | 2017-05-10 | 宜客斯股份有限公司 | Image processing method and image processing apparatus executing that image processing method |
CN107424123A (en) * | 2017-03-29 | 2017-12-01 | 北京粉笔未来科技有限公司 | A kind of moire fringes minimizing technology and device |
-
2018
- 2018-09-19 CN CN201811092089.3A patent/CN109377453B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010240259A (en) * | 2009-04-08 | 2010-10-28 | Shimadzu Corp | Radiation image pickup device |
US20130051514A1 (en) * | 2011-08-31 | 2013-02-28 | Shimadzu Corporation | Radiographic device |
CN106664359A (en) * | 2014-07-15 | 2017-05-10 | 宜客斯股份有限公司 | Image processing method and image processing apparatus executing that image processing method |
CN107424123A (en) * | 2017-03-29 | 2017-12-01 | 北京粉笔未来科技有限公司 | A kind of moire fringes minimizing technology and device |
Non-Patent Citations (1)
Title |
---|
李威 等: "《仿射高斯尺度空间下的完全仿射不变特征提取》", 《光电工程》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110059700A (en) * | 2019-03-18 | 2019-07-26 | 深圳神目信息技术有限公司 | The recognition methods of image moire fringes, device, computer equipment and storage medium |
CN110310237A (en) * | 2019-06-06 | 2019-10-08 | 武汉精立电子技术有限公司 | Remove the method and system of image moire fringes, the brightness measurement of display panel sub-pixel point, Mura defects reparation |
CN110310237B (en) * | 2019-06-06 | 2020-08-18 | 武汉精立电子技术有限公司 | Method and system for removing image moire, measuring brightness of display panel sub-pixel point and repairing Mura defect |
WO2020244021A1 (en) * | 2019-06-06 | 2020-12-10 | 武汉精立电子技术有限公司 | Methods and systems for removing image moire, measuring brightness of sub-pixel points of display panel, and repairing mura defects |
CN112581904A (en) * | 2019-09-30 | 2021-03-30 | 华中科技大学 | Moire compensation method for brightness gray scale image of OLED (organic light emitting diode) screen |
CN112967182A (en) * | 2019-12-12 | 2021-06-15 | 杭州海康威视数字技术股份有限公司 | Image processing method, device and equipment and storage medium |
CN112967182B (en) * | 2019-12-12 | 2022-07-29 | 杭州海康威视数字技术股份有限公司 | Image processing method, device and equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109377453B (en) | 2022-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109377453A (en) | The removing method of moire fringes, system, storage medium and device in radioscopic image | |
US8401265B2 (en) | Processing of medical image data | |
JP5851301B2 (en) | Image processing apparatus, image processing method, and magnetic resonance imaging apparatus | |
US20210049743A1 (en) | Systems and methods for deblurring medical images using deep neural network | |
US11049230B2 (en) | Feature-based image processing using feature images extracted from different iterations | |
US10627469B2 (en) | Method of removing ghost artifacts from magnetic resonance image, and magnetic resonance apparatus therefor | |
US7903850B2 (en) | Method and apparatus for pre-processing scans by combining enhancement and denoising as a preparation for segmenting the same | |
CN104181486A (en) | Magnetic resonance image reconstruction method and apparatus | |
Eklund et al. | True 4D image denoising on the GPU | |
Sharif et al. | Fuzzy-based hybrid filter for Rician noise removal | |
Cuomo et al. | A GPU algorithm in a distributed computing system for 3D MRI denoising | |
CN107845120B (en) | PET image reconstruction method, system, terminal and readable storage medium | |
CN104036472A (en) | Method and device for enhancing quality of 3D image | |
Raj et al. | Denoising of medical images using total variational method | |
Howison | Comparing GPU implementations of bilateral and anisotropic diffusion filters for 3D biomedical datasets | |
CN102890817A (en) | Method and system for processing medical images | |
JP2015104668A (en) | Method and apparatus for removing artifact from image | |
Arnal et al. | A parallel fuzzy algorithm for real-time medical image enhancement | |
Pagliari et al. | Acceleration of microwave imaging algorithms for breast cancer detection via high-level synthesis | |
CN116091529A (en) | Amblyopia real-time image processing method and device suitable for portable equipment | |
Hashimoto et al. | An fpga-based fully pipelined bilateral grid for real-time image denoising | |
Howison et al. | GPU-accelerated denoising of 3D magnetic resonance images | |
Yang et al. | A skull segmentation method for brain MR images based on multiscale bilateral filtering scheme | |
Hansen | Digital image processing for clinicians, part II: Filtering | |
Raj et al. | Denoising of Poisson and Rician Noise from Medical Images using Variance Stabilization and Multiscale Transforms |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |