CN105574816B - Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit - Google Patents

Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit Download PDF

Info

Publication number
CN105574816B
CN105574816B CN201410538679.XA CN201410538679A CN105574816B CN 105574816 B CN105574816 B CN 105574816B CN 201410538679 A CN201410538679 A CN 201410538679A CN 105574816 B CN105574816 B CN 105574816B
Authority
CN
China
Prior art keywords
grid
frequency
image
maximum value
ray
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
Application number
CN201410538679.XA
Other languages
Chinese (zh)
Other versions
CN105574816A (en
Inventor
宣晓
王德军
徐治非
钱萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GE Medical Systems Global Technology Co LLC
Original Assignee
GE Medical Systems Global Technology Co LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GE Medical Systems Global Technology Co LLC filed Critical GE Medical Systems Global Technology Co LLC
Priority to CN201410538679.XA priority Critical patent/CN105574816B/en
Publication of CN105574816A publication Critical patent/CN105574816A/en
Application granted granted Critical
Publication of CN105574816B publication Critical patent/CN105574816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analysing Materials By The Use Of Radiation (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The invention relates to a method and a device for eliminating a grid image of an X-ray image and an X-ray machine upgrading kit. The method comprises the following steps: acquiring the frequency of the grid; detecting the direction of the grid; and eliminating grid shadows according to frequency and direction.

Description

Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit
Technical Field
The present invention relates to an image processing method and apparatus, and more particularly, to a method and apparatus for eliminating grid shadows of an X-ray image, and an X-ray machine upgrading kit.
Background
The grid in the X-ray machine can filter out scattered rays, thereby improving the contrast of an X-ray image. The grid itself may however also produce a corresponding image on the X-ray image, which image is referred to as grid shadow or grid artifact.
To eliminate the grid shadow, it is generally necessary to know the frequency and direction of the grid. The existing methods for eliminating the grid shadow are all carried out under the condition that the frequency and the direction of the grid are known and fixed unchangeable. That is, the method for eliminating the grid image on one X-ray machine can only be used for eliminating the grid image of the X-ray machine, and the method for eliminating the grid image in one set of upgrade kit can only be applied to grid images of certain frequencies and directions.
After the analog X-ray machine is upgraded to the digital X-ray machine by the upgrade kit, because the frequency and the trend of the grid in the upgraded analog X-ray machine are not known by the grid image eliminating method included in the upgrade kit, the upgrade kit cannot be applied to various analog X-ray machines with grids with different attributes by using the existing grid image eliminating method.
Therefore, it is desirable to provide a method and an apparatus for eliminating grid images of X-ray images and an X-ray machine upgrade kit, which can eliminate grid images of various frequencies and directions.
Disclosure of Invention
An embodiment of the present invention provides a method of eliminating a grid shadow of an X-ray image, including: acquiring the frequency of the grid; detecting the direction of the grid; and eliminating grid shadows according to frequency and direction. .
Another embodiment of the present invention provides an apparatus for removing a grid shadow of an X-ray image, including: the frequency acquisition module is used for acquiring the frequency of the grid; the direction acquisition module is used for detecting the direction of the grid; and a grid image elimination module for eliminating the grid image according to the frequency and the direction.
Yet another embodiment of the invention provides an X-ray machine upgrade kit comprising a grid shadow elimination apparatus according to the invention for X-ray images.
Drawings
The invention may be better understood by describing embodiments of the invention in conjunction with the following drawings, in which:
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a grid shadow elimination method for X-ray images according to the present invention;
FIG. 2 is a schematic flow chart illustrating one embodiment of detecting the orientation of a grid during elimination of grid shadows of an X-ray image according to the present invention;
fig. 3 is a schematic flow chart illustrating another embodiment of detecting the direction of a grid in the process of eliminating the grid shadow of an X-ray image according to the present invention;
fig. 4 is a schematic block diagram of an embodiment of the apparatus for removing grid shadows of an X-ray image according to the present invention.
Detailed Description
While specific embodiments of the invention will be described below, it should be noted that in the course of the detailed description of these embodiments, in order to provide a concise and concise description, all features of an actual implementation may not be described in detail. It should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions are made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another. Moreover, it should be further appreciated that such a development effort might be complex and tedious, but would nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as a complete understanding of this disclosure.
Unless otherwise defined, technical or scientific terms used in the claims and the specification should have the ordinary meaning as understood by those of ordinary skill in the art to which the invention belongs. The use of "first," "second," and similar terms in the description and claims of the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The terms "a" or "an," and the like, do not denote a limitation of quantity, but rather denote the presence of at least one. The word "comprise" or "comprises", and the like, means that the element or item listed before "comprises" or "comprising" covers the element or item listed after "comprising" or "comprises" and its equivalent, and does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, nor are they restricted to direct or indirect connections.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flow chart illustrating a method 100 for eliminating grid shadows according to an embodiment of the present invention. The method 100 may comprise the following steps 101 to 103.
In step 101, the frequency of the grid is acquired.
In one embodiment of the invention the frequency of the grid set by a configuration person or user via a user interface, command line, etc. can be read.
In one embodiment of the invention, the user can be allowed to set the frequency of at most two grids to support one machine with both grids, or the method can be used alternately on two analog X-ray machines.
In step 102, the orientation of the grid is detected.
In one embodiment of the invention, step 102 may comprise sub-steps 201 to 203 as shown in fig. 2.
In sub-step 201, a fourier transform is performed on the X-ray image to obtain a spectral image.
Specifically, a two-dimensional fourier transform is performed on an X-ray image to obtain a spectrum image corresponding to the X-ray image.
In sub-step 202, the spectral image is searched for a maximum on two axes of the spectral image, respectively, reflecting the grid orientation.
The two axes of the spectral image correspond to two possible orientations of the grid, respectively: transverse or longitudinal. In one embodiment of the present invention, the maximum value of the spectral image may be searched along the two axial directions on the spectral image, respectively, to obtain the maximum value of the spectral image in the first axial direction and the maximum value of the spectral image in the second axial direction.
In sub-step 203 the two maxima are compared and the axis corresponding to the larger maximum is taken as the direction of the grid.
In this sub-step, by comparing the two maximum values obtained in sub-step 202, the larger of the two can be obtained, and the axial direction corresponding to the larger can be determined as the direction of the grid.
In another embodiment of the present invention, step 102 may comprise sub-steps 301 to 304 as shown in fig. 3. The substeps 301 to 302 are similar to the substeps 201 to 202 described above, and are not described herein again.
In sub-step 303, the height of the peak that the maximum exhibits in its axis is calculated.
Specifically, the sub-step 303 is to calculate the height of the Peak (Peak) exhibited by the two maximum values obtained in the sub-step 302 along the axial direction of the maximum values.
In one embodiment of the present invention, the relative magnitude of the maximum and the adjacent, coaxial spectral image values can be used to measure the height of the peak that the maximum exhibits in its axial direction.
In an embodiment of the present invention, the spectral image values of a plurality of points adjacent to the maximum value and in the same axial direction may be selected first, the average value of the spectral image values of the adjacent points is calculated, then the ratio of the maximum value to the average value is calculated, and the ratio is used as the height of the peak exhibited by the maximum value in the axial direction.
In sub-step 304, the two heights are compared and the axis corresponding to the peak with the larger height is taken as the direction of the wire grid.
In this sub-step, by comparing the two height values obtained in sub-step 303, the larger of the two can be obtained, and the axial direction corresponding to the larger can be determined as the direction of the grid.
In step 103, the grid shadows are eliminated according to frequency and direction.
In an embodiment of the invention, the existing method of removing the grid shadows can be used, and the grid shadows are removed according to the frequencies and directions of the grids obtained in steps 101 and 102.
A method of removing a grid shadow according to an embodiment of the present invention has been described so far. The method of the invention can be applied to eliminate the grid shadow under the condition that the frequency and the direction of the grid are unknown, such as: when the analog X-ray machine is upgraded by the upgrading kit, the method of the invention executed by the upgrading kit can eliminate the grid shadow of the grid in any frequency and direction on the upgraded analog X-ray machine.
Similar to the method, the invention also provides a corresponding device. Fig. 4 is a schematic block diagram of an embodiment of the grid shadow removing apparatus according to the present invention.
As shown in fig. 4, the apparatus 400 may include: a frequency obtaining module 401, configured to obtain a frequency of the grid; a direction acquisition module 402 for detecting the direction of the grid; and a grid image elimination module 403 for eliminating grid images according to frequency and direction.
In an embodiment of the present invention, the direction obtaining module 402 may further include: the Fourier transform module is used for carrying out Fourier transform on the X-ray image to obtain a frequency spectrum image; the maximum value searching module is used for searching the maximum value of the spectrum image on two axes of the spectrum image reflecting the direction of the grid; and the first comparison module is used for comparing the two maximum values and taking the axial direction corresponding to the larger maximum value as the direction of the grid.
In another embodiment of the present invention, the direction obtaining module 402 may further include: the Fourier transform module is used for carrying out Fourier transform on the X-ray image to obtain a frequency spectrum image; the maximum value searching module is used for searching the maximum value of the spectrum image on two axes of the spectrum image reflecting the direction of the grid; the height calculation module is used for calculating the height of a peak presented by the maximum value in the axial direction of the maximum value; and the second comparison module is used for comparing the two heights and taking the axial direction corresponding to the peak with the large height as the direction of the grid.
In an embodiment of the present invention, the frequency obtaining module 401 may further include: a reading module for reading the frequency set through a user interface.
Thus far, an apparatus for removing a grid shadow according to an embodiment of the present invention has been described. Similar to the above method, the apparatus of the present invention can be applied to eliminate the grid shadow when the frequency and direction of the grid are unknown, such as: when the analog X-ray machine is upgraded by the upgrading kit, the device provided by the invention in the upgrading kit can eliminate the grid shadow of the grid in any frequency and direction on the upgraded analog X-ray machine.
The embodiment of the invention also provides an X-ray machine upgrading kit which comprises the device for eliminating the grid shadow. The X-ray machine upgrading kit can be used for upgrading an analog X-ray machine into a digital X-ray machine.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (5)

1. A method for eliminating grid shadow of an X-ray image is characterized by comprising the following steps:
acquiring the frequency of the grid;
detecting the direction of the grid; and
the grid shadows are eliminated according to the frequency and direction,
wherein the step of detecting the orientation of the grid further comprises:
carrying out Fourier transform on the X-ray image to obtain a frequency spectrum image;
searching for a maximum value of the spectrum image on two axes of the spectrum image reflecting the grid directions, respectively;
calculating the height of the peak presented by the maximum value in the axial direction; and
and comparing the two heights and taking the axial direction corresponding to the peak with the large height as the direction of the grid, wherein the height is obtained according to the ratio of the maximum value to the spectral image value corresponding to the adjacent point.
2. The method of claim 1, wherein the step of obtaining the frequency of the grid further comprises:
reading the frequency set through a user interface.
3. An apparatus for removing grid images of an X-ray image, comprising:
the frequency acquisition module is used for acquiring the frequency of the grid;
the direction acquisition module is used for detecting the direction of the grid; and
a grid image elimination module for eliminating the grid image according to the frequency and direction,
wherein the direction acquisition module further comprises:
the Fourier transform module is used for carrying out Fourier transform on the X-ray image to obtain a frequency spectrum image;
a maximum value searching module for searching the maximum value of the spectrum image on two axes of the spectrum image reflecting the grid direction respectively;
the height calculation module is used for calculating the height of a peak presented by the maximum value in the axial direction of the maximum value; and
and the second comparison module is used for comparing the two heights and taking the axial direction corresponding to the peak with the large height as the direction of the grid, wherein the height is obtained according to the ratio of the maximum value to the spectral image value corresponding to the adjacent point.
4. The apparatus of claim 3, wherein the frequency acquisition module further comprises:
and the reading module is used for reading the frequency set through the user interface.
5. An X-ray machine upgrade kit, characterized by comprising a device according to any one of claims 3-4.
CN201410538679.XA 2014-10-13 2014-10-13 Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit Active CN105574816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410538679.XA CN105574816B (en) 2014-10-13 2014-10-13 Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410538679.XA CN105574816B (en) 2014-10-13 2014-10-13 Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit

Publications (2)

Publication Number Publication Date
CN105574816A CN105574816A (en) 2016-05-11
CN105574816B true CN105574816B (en) 2021-03-30

Family

ID=55884913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410538679.XA Active CN105574816B (en) 2014-10-13 2014-10-13 Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit

Country Status (1)

Country Link
CN (1) CN105574816B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108065944B (en) * 2016-11-14 2021-10-22 上海西门子医疗器械有限公司 Method and device for adapting flat panel detector and grid and medical imaging system
CN106651814B (en) * 2017-01-12 2020-06-12 东软医疗系统股份有限公司 Image processing method and device
CN108009994B (en) * 2017-10-25 2020-08-04 东软医疗系统股份有限公司 Bad line repairing method, device and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269176B1 (en) * 1998-12-21 2001-07-31 Eastman Kodak Company Method for x-ray antiscatter grid detection and suppression in digital radiography
CN102222318A (en) * 2010-04-16 2011-10-19 深圳迈瑞生物医疗电子股份有限公司 Grid artifact detection and suppression method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7050618B2 (en) * 2002-02-08 2006-05-23 Eastman Kodak Company Method for antiscatter stationary grid artifacts detection and attenuation in digital radiographic images
CN100468459C (en) * 2006-07-10 2009-03-11 西门子(中国)有限公司 Localized anti-aliasing method based on edge detection
CN102999886B (en) * 2012-10-31 2016-01-13 长春光机数显技术有限责任公司 Image Edge Detector and scale grating grid precision detection system
CN104077743A (en) * 2013-03-25 2014-10-01 深圳市蓝韵实业有限公司 Suppression method and device for grid artifact in X-ray image
CN103150744B (en) * 2013-03-30 2015-10-14 重庆大学 A kind of X ray multi-power spectrum CT data for projection process and image rebuilding method
CN103886552B (en) * 2014-02-24 2017-01-11 深圳市安健科技股份有限公司 Method and a system for removing X ray image filter line grating stripes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269176B1 (en) * 1998-12-21 2001-07-31 Eastman Kodak Company Method for x-ray antiscatter grid detection and suppression in digital radiography
CN102222318A (en) * 2010-04-16 2011-10-19 深圳迈瑞生物医疗电子股份有限公司 Grid artifact detection and suppression method and device

Also Published As

Publication number Publication date
CN105574816A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
US9881360B2 (en) Multi-scale active contour segmentation
CN105574816B (en) Method and device for eliminating grid shadow of X-ray image and X-ray machine upgrading kit
KR102277087B1 (en) Method of classifying contents and electronic device
CN105373479A (en) Automatic test method and device of memory leakage and mobile terminal
EP2919164B1 (en) Image processing apparatus and segmentation method
JP2018535470A5 (en)
CN104657979B (en) A kind of features of ultrasound pattern detection method and system
CN108898549A (en) Image processing method, picture processing unit and terminal device
CN108697350A (en) A kind of blood pressure measuring method and equipment
US9342902B2 (en) Method and apparatus for improving image reconstruction speed
CN106683105B (en) Image segmentation method and image segmentation device
CN106844479B (en) Method and device for compressing and decompressing file
CN108268362A (en) A kind of method and device that curve graph is drawn under NVcaffe frames
CN111127475A (en) CT scanning image processing method, system, readable storage medium and device
CN106910196B (en) Image detection method and device
CN108734175A (en) A kind of extracting method of characteristics of image, device and electronic equipment
TWI714321B (en) Method, apparatus and electronic device for database updating and computer storage medium thereof
CN114626118A (en) Building indoor model generation method and device
CN117115009A (en) Three-dimensional point cloud data denoising and smoothing method and device based on unit voxels
CN105631869B (en) A kind of tube dividing method, device and equipment
CN108846664A (en) Mobile phone scan code system based on image procossing
CN107037262B (en) Big data spectrum analysis system and method thereof
CN104036527A (en) Human motion segmentation method based on local linear embedding
IT201800005848A1 (en) Method for automatic segmentation and classification of relevant objects in a digital image of a fabric sample
CN105468514B (en) Test method and device based on data combination

Legal Events

Date Code Title Description
C06 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