CN105321154A - Image correction method capable of automatically detecting and removing grid lines - Google Patents

Image correction method capable of automatically detecting and removing grid lines Download PDF

Info

Publication number
CN105321154A
CN105321154A CN201410337815.9A CN201410337815A CN105321154A CN 105321154 A CN105321154 A CN 105321154A CN 201410337815 A CN201410337815 A CN 201410337815A CN 105321154 A CN105321154 A CN 105321154A
Authority
CN
China
Prior art keywords
grid
image
grid line
grid lines
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410337815.9A
Other languages
Chinese (zh)
Inventor
刘金虎
方先成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Perlove Radial Video Equipment Co Ltd
Original Assignee
Nanjing Perlove Radial Video Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Perlove Radial Video Equipment Co Ltd filed Critical Nanjing Perlove Radial Video Equipment Co Ltd
Priority to CN201410337815.9A priority Critical patent/CN105321154A/en
Publication of CN105321154A publication Critical patent/CN105321154A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to an image correction method capable of automatically detecting and removing grid lines, and belongs to the technical field of medical instruments. The image correction method is characterized by comprising the steps of firstly carrying out detection on a region possibly containing grid lines in a Fourier image, and judging whether the region contains grid lines or not; determining horizontal starting and ending positions and vertical starting and ending positions of the grid line frequency if the region contains the grid lines; replacing values in a grid line frequency region with an average value of other high-frequency regions; and carrying out Fourier inverse transform, and returning an image with the grid lines being removed. The advantages are that whether a grid is utilized or not is not required to be specified in advance; no operation is carried out on the image under a grid-free condition, and image information is protected; an operation of grid line moving is carried out when the grid lines exist, and useful information of the image can be protected.

Description

A kind of automatic detection also removes the method for correcting image of grid line
Technical field
The invention belongs to technical field of medical instruments.
Background technology
X-ray production apparatus in use, always there is scattered ray in the ray that bulb is launched, at the thick position of shooting, such as during lumbar vertebrae, the existence of scattered ray can make picture quality significantly decline, so grid need be inserted when taking these positions, filter out the impact of scattered ray on film quality.
Grid plate outward appearance is the flat board of a thick 4-8mm, inner structure is that many eight-to-pica leads intersect arrangement and form, location is filled with easy radiotransparent material between two leads, and be bonded together, filling material can be wood, paper or aluminium flake etc., last up and down with thin aluminum sheet encapsulation, form grid plate, the parameter of grid has:
1, focal length: the vertical range of line to screen surface assembled by leads;
2, grid ratio: the ratio in leads height and leads gap;
3, grid density: the quantity of leads within the scope of unit distance.
For parallel gate, generally under equivalent material, grid density is less, and in unit distance, leads is fewer, and on image, grid line is more obvious; Grid density is larger, and on image, grid line is more not obvious; But the increase of grid density, grid price is more expensive, the cost of whole X-ray machine will increase, major part removed the method for grid line is in the past after known placement grid, zero-setting operation is carried out to fixed frequency region, but the method must limit and use grid method, otherwise very large to image contributions.
Summary of the invention
The object of the invention is to provide a kind of automatic detection and the method for correcting image removing grid line, and the image information loss removed after grid line is very little, and without the need to limiting the use of grid, facilitates medical diagnosis.
The technical solution adopted in the present invention is: it is characterized in that: first detect according to comprising grid line region in Fourier's image, judges whether to contain grid line; If there is grid line, determine the horizontal start-stop position of grid line frequency and vertical start-stop position;
Other high-frequency region mean value of value in grid line frequency field is replaced; Do Fourier inversion, return to image after grid.
Concrete bearing calibration is:
1, carry out Fourier transform to the band grid print image collected, obtain the distribution plan of image gradient, the brightness of gradient greatly then this point is strong, otherwise this brightness is weak, first we observe the energy distribution of image, if in spectrogram dark count more, so real image be smoother (because each point and neighborhood difference all little, gradient is relatively little), otherwise, if in spectrogram bright count many, so real image must be sharp-pointed, border is clearly demarcated and both sides, border pixel difference is larger, after frequency spectrum shift frequency to initial point, the frequency distribution of image take initial point as the center of circle, symmetrical, because image energy concentrates low frequency region, so spectrum energy integrated distribution is at initial point immediate vicinity, and be high-frequency information away from the part of initial point, grid line is similar to a series of border, belong to image high-frequency region, and brightness is very large, so in gradient map, can away from the gradient region significantly told in the high-frequency region of initial point corresponding to grid line.
2, set a threshold value, distinguish high-frequency region and low frequency region, according to above analysis, grid line only appears in high-frequency region, so in high-frequency region, marking this region of rectangular area T(comprising grid line frequency can be whole high-frequency region, but should get little as far as possible, optimal selection is the minimum rectangle that can comprise grid line frequency), and the brightness value in other high-frequency regions is asked an arithmetic mean, if being designated as M(T is whole high-frequency region, M is 0), simultaneously because the gradient map after Fourier transform is centrosymmetric, so only need consider high-frequency region on one side, the high-frequency region of another side only need do a centra-symmetric transformation.
3, in T, two-value is done by M, and filtering abnormity point, by this process after region be again labeled as T ~, then row statistical pixel values is pressed, by finding an obvious trough-crest-trough in row statistic curve, namely illustrating to there is grid line, orienting the position of two troughs, be designated as x1, x2 respectively, x1, x2 determine the level orientation of grid line frequency.
4, determined grid line and oriented x1, x2 (x2>x1), then in the statistical pixel values by row of T ~ inside, find an obvious trough-crest-trough, orient position y1, y2 of two troughs, y1, y2 determine the vertical orientations of grid line frequency.
5, when x1, x2, y1, y2 all determine, and value is all reasonably (such as x2>x1, y2>y1), so the value in this region is all set to M, and the region with this regional center symmetry is also all set to M.
6, Fourier inversion is done to amended gradient map, finally removed the correcting image after grid line.
Accompanying drawing explanation
Fig. 1: band 40 line grid original graph sectional drawing of the present invention;
Fig. 2: Fourier's image of the former figure of the present invention.
Fig. 3: the rectangular area T selected by the present invention.
Fig. 4: press row statistical pixel values curve in selected areas of the present invention.
Fig. 5: statistical pixel values curve by row in selected areas of the present invention.
Fig. 6: the present invention removes Fourier's image of grid line frequency.
Fig. 7: the present invention removes image sectional drawing after grid line.
Embodiment
1, gather a bright-field image (image taken during without the need to knowing whether and being and using grid), enter into grid line and detect removal module.
2, Fourier transform is done to image, obtain gradient map, determine in high-frequency region the rectangular area T that may comprise grid line information, pixels statistics is done by row after filtering in T, if by an obvious crest can be found in row statistic histogram, namely illustrate it is have grid line, continue following steps; If can not find, then illustrate that this figure is interior without grid line, directly jump out grid line and detect removal module, any operation is not done to collection figure.
3, after having determined grid line, first orient by the trough of two in row curve corresponding to crest, determine the horizontal reference position corresponding to grid line frequency field and final position, pixels statistics is done by row after filtering again in T, find out the position of two troughs, determine the vertical starting position corresponding to grid line frequency field and final position.
4, check that whether the value of four positions is reasonable, if rationally the value in grid line frequency field to be set to the mean value of other high-frequency region, and by gradient map with it centrosymmetric region be also set to the mean value of other high-frequency region, do Fourier inversion, obtain removing the image of grid lines and return.
Its advantage is: be the use of grid without the need to knowing whether in advance, can not go grid process in without grid situation, protection image information; Having in grid situation, removing grid line, improving picture quality.

Claims (1)

1. automatically detect and remove the method for correcting image of grid line, it is characterized in that: first detect according to grid line region may be comprised in Fourier's image judge whether contain grid line; If there is grid line, determine the horizontal start-stop position of grid line frequency and vertical start-stop position; Other high-frequency region mean value of value in grid line frequency field is replaced; Do Fourier inversion, return to image after grid.
CN201410337815.9A 2014-07-16 2014-07-16 Image correction method capable of automatically detecting and removing grid lines Pending CN105321154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410337815.9A CN105321154A (en) 2014-07-16 2014-07-16 Image correction method capable of automatically detecting and removing grid lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410337815.9A CN105321154A (en) 2014-07-16 2014-07-16 Image correction method capable of automatically detecting and removing grid lines

Publications (1)

Publication Number Publication Date
CN105321154A true CN105321154A (en) 2016-02-10

Family

ID=55248475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410337815.9A Pending CN105321154A (en) 2014-07-16 2014-07-16 Image correction method capable of automatically detecting and removing grid lines

Country Status (1)

Country Link
CN (1) CN105321154A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111110259A (en) * 2018-10-30 2020-05-08 辽宁开普医疗系统有限公司 Method for identifying installation state of grid and inhibiting grid shadow

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046822A1 (en) * 2006-11-14 2010-02-25 Li Yunxiang Virtual, grid imaging method and system for eliminating scattered radiation effect
CN102222318A (en) * 2010-04-16 2011-10-19 深圳迈瑞生物医疗电子股份有限公司 Grid artifact detection and suppression method and device
CN103886552A (en) * 2014-02-24 2014-06-25 深圳市安健科技有限公司 Method and a system for removing X ray image filter line grating stripes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046822A1 (en) * 2006-11-14 2010-02-25 Li Yunxiang Virtual, grid imaging method and system for eliminating scattered radiation effect
CN102222318A (en) * 2010-04-16 2011-10-19 深圳迈瑞生物医疗电子股份有限公司 Grid artifact detection and suppression method and device
CN103886552A (en) * 2014-02-24 2014-06-25 深圳市安健科技有限公司 Method and a system for removing X ray image filter line grating stripes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张帆 等: "医学CR影像中滤线栅伪影的数字化去噪方法探讨", 《电脑开发与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111110259A (en) * 2018-10-30 2020-05-08 辽宁开普医疗系统有限公司 Method for identifying installation state of grid and inhibiting grid shadow
CN111110259B (en) * 2018-10-30 2023-06-30 辽宁开普医疗系统有限公司 Method for identifying installation state of grid and performing grid shadow inhibition

Similar Documents

Publication Publication Date Title
CN109447945B (en) Quick counting method for basic wheat seedlings based on machine vision and graphic processing
CN104749184B (en) Automatic optical detection method and system
JP5275668B2 (en) Image processing apparatus and image processing method
CN106897994A (en) A kind of pcb board defect detecting system and method based on layered image
CN103390277B (en) image analysis method
US20180068460A1 (en) Liquid Level Detecting System and Method thereof
CN106157286A (en) Image processing method and screen light leak test method
CN103996191A (en) Detection method for black and white checkerboard image corners based on least square optimization
EP1927951A3 (en) Image adjustment amount determination device, method and program
CN102637262B (en) A kind of self-adaptation bacterial counting
CN106651849A (en) Area-array camera-based PCB bare board defect detection method
CN103489187A (en) Quality test based segmenting method of cell nucleuses in cervical LCT image
CN102393902A (en) Vehicle color detection method based on H_S two-dimensional histogram and regional color matching
CN110007493A (en) Broken bright spot detection method in liquid crystal display
JP2007141222A5 (en)
CN112927247A (en) Graph cutting method based on target detection, graph cutting device and storage medium
EP1855468A3 (en) Image detection device, image processing apparatus, image detection method, method of reducing burn-in of display device, and image detection program
TW201516397A (en) Bubble inspection system for glass
CN105321154A (en) Image correction method capable of automatically detecting and removing grid lines
CN102811363A (en) Method for measuring 3D (Three-Dimensional) crosstalk value of liquid crystal display
CN106023223A (en) Orange fruit size describing method and organic fruit size grading method
CN105229665A (en) To the enhancing analysis of the snakelike belt wear assessment based on image
CN106204889B (en) A kind of localization method and device of bank note fluorescence area
CN103500439B (en) Drawing method is beaten based on image processing techniques
CN109990742A (en) Chinese chestnut detection method based on image processing techniques

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 211112 Jiangning, Jiangsu Province, open source road, No. 168, No.

Applicant after: NANJING PERLOVE MEDICAL EQUIPMENT CO., LTD.

Address before: 211112 Jiangning, Jiangsu Province, open source road, No. 168, No.

Applicant before: Nanjing Perlove Radial-video Equipment Co., Ltd.

COR Change of bibliographic data
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160210

WD01 Invention patent application deemed withdrawn after publication