CN103905747A - Medical image bad pixel point repairing method and system - Google Patents

Medical image bad pixel point repairing method and system Download PDF

Info

Publication number
CN103905747A
CN103905747A CN201210574428.8A CN201210574428A CN103905747A CN 103905747 A CN103905747 A CN 103905747A CN 201210574428 A CN201210574428 A CN 201210574428A CN 103905747 A CN103905747 A CN 103905747A
Authority
CN
China
Prior art keywords
bad pixel
pixel
repairing
bad
pixel point
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
CN201210574428.8A
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.)
Shenzhen Landwind Industry Co Ltd
Original Assignee
Shenzhen Landwind Industry 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 Shenzhen Landwind Industry Co Ltd filed Critical Shenzhen Landwind Industry Co Ltd
Priority to CN201210574428.8A priority Critical patent/CN103905747A/en
Publication of CN103905747A publication Critical patent/CN103905747A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a medical image bad pixel point repairing method and system. The method comprises the following steps: difference absolute values of normal pixel points surrounding a bad pixel point in a medical image in the designated T directions are respectively obtained; and the normal pixel point in the direction with the minimum difference absolute value is selected to perform repairing on the bad pixel point, and the bad pixel point after repairing acts as the normal pixel point to participate in repairing calculation of the adjacent next bad pixel point. Continuity in repairing of a bad pixel point cluster is ensured, the bad pixel point repairing effect is enhanced, and the applied algorithm is simple and low in calculation amount so that the structure of the bad pixel point repairing system can be simplified and repairing efficiency can be enhanced.

Description

The method for repairing and mending of bad pixel and system in medical image
Technical field
The invention belongs to technical field of image processing, especially relate to method for repairing and mending and the system of bad pixel in a kind of medical image.
Background technology
The CCD configuring of digital X ray machine or flat panel detector, in photographic images, there will be the pixel of position fixing abnormal " bright " or " secretly " conventionally, and these pixels are called as bad point.Due to the factor of detector processing technology level, the independent discrete distribution of distribution meeting of bad point, also there will be the bad pixel clusters that concentrates in together continuously bad point, thereby form the wide wire of single pixel, or form continuous several wire and be combined into strip (being called again " bad pixel clusters ") region.
Conventionally detector producer can repair the bad pixel of detector on hardware or software, although but current existing method still can for isolated bad pixel repair efficiency, but it is not good enough for bad pixel clusters repair efficiency, concerning diagnostic medical image, tend to form the significantly artificial vestige of repairing, can read sheet and diagnosis what affect in varying degrees doctor.
Chinese Patent Application No. CN200980153006 proposed a kind of for detection of with correcting image transducer in the method for bad pixel, be a kind of bad pixel method for repairing and mending based on value differences ratio, but the method cannot realize preferably estimation for some marginal informations in mending course.Chinese Patent Application No. CN201110822681 proposes a kind of method and the device that is used for carrying out bad pixel compensation that is used for carrying out bad pixel compensation, it is a kind of method based on bad pixel orientation information in certain area around bad pixel, select the normal pixel on certain orientation to compensate, the method is Retain edge information preferably, but because the normal point that the method need to be got in certain limit is around carried out specific multiple combination, therefore be applicable to isolated bad pixel correction, for continuous distribution, bad pixel clusters in irregular shape cannot be carried out, and amount of calculation is relatively high, need to carry out nearly 100 times plus and minus calculation for each bad pixel compensation.
Summary of the invention
The present invention proposes method for repairing and mending and the system of bad pixel in a kind of medical image, has the technical problem that amount of calculation is large, repair efficiency is poor when solving the repairing of current bad pixel.
The present invention adopts following technical scheme to realize: the method for repairing and mending of bad pixel in a kind of medical image, and it comprises step:
Ask for respectively the absolute difference of the normal pixel point around a bad pixel in a given T direction in medical image;
The normal pixel point of choosing in the direction of absolute difference minimum is repaired described bad pixel, and described bad pixel participates in the repairing calculating of the bad pixel of the next one closing on after repairing as normal pixel point.
Wherein, the step that described bad pixel is repaired comprises: the pixel value after repairing by bad pixel described in formula a* (B-A)+A interpolation calculation, wherein, A, B are respectively and in the direction of described absolute difference minimum, are positioned at described bad pixel both sides and two nearest normal pixel points of the described bad pixel of distance respectively, wherein, a=d1/d, d1 represents the distance of described bad pixel to normal pixel point A, d represents the distance of described normal pixel point A to normal pixel point B.
Wherein, if exist absolute difference in multiple directions equate and for minimum, calculate successively the repairing value of all directions, then ask for the final repairing result of average as described bad pixel.
In addition, the present invention discloses the method for repairing and mending of bad pixel in a kind of medical image, and it comprises:
For the bad pixel Map image copy mark module of location of pixels after bad pixel of mark and repairing;
Absolute difference computing module, for asking for respectively the absolute difference of bad pixel of medical image normal pixel point around in a given T direction;
Bad pixel is repaired module, for the normal pixel point of choosing in the direction of absolute difference minimum, described bad pixel is repaired, described bad pixel is labeled as normal pixel point and participates in the repairing calculating of the bad pixel of the next one closing on after repairing, and the bad pixel coordinate after repairing is fed back to bad pixel Map image copy mark module.
Compared with prior art, the present invention has following beneficial effect:
The present invention proposes the method that the marginal information variation tendency in white space that a kind of bad pixel of prediction by high quality and high efficiency, bad pixel clusters form is carried out bad pixel repairing, and propose bad pixel repair after as normal pixel point participation method, the repairing computational process of the bad pixel of the next one that participation closes on (i.e. the repairing of bad pixel bunch is calculated), guarantee the continuity of the repairing of bad pixel bunch, improved the repair efficiency of bad pixel.And algorithm that the present invention uses is simple, amount of calculation is less, thereby can simplify the structure of bad pixel patch system, and improves repairing efficiency.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of one embodiment of the invention.
Fig. 2 is the schematic diagram of pixel in an embodiment;
Fig. 3 is the system configuration schematic diagram of one embodiment of the invention.
Embodiment
The invention belongs to image processing field, its objective is the repair efficiency and the repairing efficiency that improve bad pixel and bad pixel clusters, make detector can eliminate bad pixel by software processing under certain technological level limited case, the abnormal area that especially larger bad pixel clusters forms, meets medical clinic applications image quality requirements.
The method that the present invention fills by edge prediction and iteration is repaired bad pixel and bad pixel clusters, thereby guaranteeing that marginal information in reasonable prediction medical image is more in the distribution situation in bad pixel and bad pixel clusters region, there is higher processing speed, the continuous information of the relative broad range that particularly bad pixel clusters causes is lost, and makes compensation effect more approach actual conditions.
Wherein, at present existing many Patent Application Publications the technical scheme detecting about bad pixel in medical image.Such as, U.S. Patent application US5657400 proposes a kind of " Automatic identification andcorrection of bad pixels in a large area solid state x-ray detector ", U.S. Patent application 5854655 proposes " Defective pixel detection circuit of a solid state image pick-updevice capable of detecting defective pixel with low power consumption and highprecision, and image pick-up device having such detection circuit ", China Patent Publication No. CN1595957A proposes a kind of " method for determining automatic detection threshold of bad pixel of medical image ", etc..The technical scheme that the application detects bad pixel in medical image there is no innovation, but realizes by existing detection technique.Therefore,, about the detection of bad pixel in medical image, the application is superfluous stating no longer.
In order to repair the bad pixel of a width medical image, can first medical image be saved as to Map image copy in addition, detect the bad pixel sum of medical image by prior art, the coordinate position of the pixel after mark obtains detection on Map image copy the distribution of bad pixel coordinate and follow-up repairing.
As shown in Figure 1, this invention realizes the method that bad pixel and bad pixel clusters repair and comprises the following steps:
Step S1, according to a selected T direction, ask for respectively the absolute difference of normal pixel point around of a bad pixel (or inpainted pixels point) in T direction.
For example, shown in accompanying drawing 2, B yxrepresent bad pixel point value, N kjrepresent normal pixel point value, first value representation of pixel subscript is capable, and as y and k, second value representation row, as x and j.While selecting 4 direction T=4:
1, B 00in region, normal pixel absolute difference is in the horizontal direction calculated as follows recently:
H 00=|N 10-N 14|+|N 00-N 04|+|N 20-N 24|。, H 00for: this bad pixel B 00two nearest normal pixel point N of the left and right sides of (be expert at) in the horizontal direction 10and N 14between absolute difference, pixel N 10and N 14two normal pixel point N of lastrow 00and N 04between absolute difference, pixel N 10and N 14two normal pixel point N of next line 20and N 24between absolute difference, these three absolute difference sums.
2, the absolute difference in vertical direction is calculated:
V 00=|N 01-N 41|+|N 00-N 40|+|N 02-N 42|。
3, the absolute difference in 45 degree directions is calculated:
L 00=|N 01-N 10|+|N 02-N 20|+|N 03-N 30|。
4, the absolute difference in 135 degree directions is calculated:
K 00=|N 00-N 44|+|N 01-N 34|+|N 10-N 43|。
Step S2, according to the absolute difference in T direction, statistics is chosen normal pixel point in the direction of absolute difference minimum (or inpainted pixels point) and is carried out the repairing of bad pixel of target.
Equally with B in accompanying drawing 2 00point is for example, if K in previous step 00for minimum value, the pixel B after repairing ' 00employing interpolation computing method is as follows:
B’ 00=a*(N 44-N 00)+N 00
Wherein a=d1/d, d1 represents B here 00to N 00distance, d represents N 00to N 44distance; If exist absolute difference in multiple directions equate and for minimum, calculate successively the repairing value of each candidate direction with reference to this step method, then ask for average as final repairing result;
S3, for bad pixel clusters, repaired after a point according to above-mentioned steps, this pixel will be served as normal pixel point, participate in the repairing computational process of the bad pixel of the next one that closes on.
For example B ' in previous step 00to serve as normal point, participate in B 01, B 10and B 11set direction and repairing, repeat the process of above-mentioned steps S1-S3.
Shown in Fig. 3, the present invention proposes a kind of system that realizes bad pixel and the repairing of bad pixel clusters, comprising: whether bad pixel in medical image, distinguishing a pixel is the pixel detection module of bad pixel if being detected; The Map image copy that the bad pixel coordinate being obtained by detection module distributes, and then for bad pixel of mark and the repairing bad pixel Map image copy mark module of location of pixels afterwards; Realize the absolute difference computing module of above-mentioned steps S1; Realize the bad pixel of above-mentioned steps S2 and repair module.Wherein, pixel detection module, bad pixel Map image copy mark module, absolute difference computing module and bad pixel are repaired module and are connected successively, and bad pixel is repaired the output of module and is exported the medical image after repairing, the output of the module of bad pixel repairing simultaneously connects bad pixel Map image copy mark module, bad pixel coordinate after repairing is fed back to bad pixel Map image copy mark module, pixel after repairing is labeled as to normal pixel point, participates in the repairing computational process of the bad pixel of the next one closing on.
To sum up, the present invention proposes the method that the marginal information variation tendency in white space that a kind of bad pixel of prediction by high quality and high efficiency, bad pixel clusters form is carried out bad pixel repairing, and propose bad pixel repair after as normal pixel point participation method, the repairing computational process of the bad pixel of the next one that participation closes on (i.e. the repairing of bad pixel bunch is calculated), guarantee the continuity of the repairing of bad pixel bunch, improved the repair efficiency of bad pixel.And algorithm that the present invention uses is simple, amount of calculation is less, thereby can simplify the structure of bad pixel patch system, and improves repairing efficiency.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. a method for repairing and mending for bad pixel in medical image, is characterized in that, comprises step:
Ask for respectively the absolute difference of the normal pixel point around a bad pixel in a given T direction in medical image;
The normal pixel point of choosing in the direction of absolute difference minimum is repaired described bad pixel, and described bad pixel participates in the repairing calculating of the bad pixel of the next one closing on after repairing as normal pixel point.
2. the method for repairing and mending of bad pixel in medical image according to claim 1, it is characterized in that, the step that described bad pixel is repaired comprises: the pixel value after repairing by bad pixel described in formula a* (B-A)+A interpolation calculation, wherein, A, B is respectively and in the direction of described absolute difference minimum, is positioned at described bad pixel both sides and two nearest normal pixel points of the described bad pixel of distance respectively, wherein, a=d1/d, d1 represents the distance of described bad pixel to normal pixel point A, d represents the distance of described normal pixel point A to normal pixel point B.
3. the method for repairing and mending of bad pixel in medical image according to claim 2, it is characterized in that, if exist absolute difference in multiple directions equate and for minimum, calculate successively the repairing value of all directions, then ask for the final repairing result of average as described bad pixel.
4. a method for repairing and mending for bad pixel in medical image, is characterized in that, comprising:
For the bad pixel Map image copy mark module of location of pixels after bad pixel of mark and repairing;
Absolute difference computing module, for asking for respectively the absolute difference of bad pixel of medical image normal pixel point around in a given T direction;
Bad pixel is repaired module, for the normal pixel point of choosing in the direction of absolute difference minimum, described bad pixel is repaired, described bad pixel is labeled as normal pixel point and participates in the repairing calculating of the bad pixel of the next one closing on after repairing, and the bad pixel coordinate after repairing is fed back to bad pixel Map image copy mark module.
5. the patch system of bad pixel in medical image according to claim 4, it is characterized in that, described bad pixel repair module to described bad pixel by repairing as entered mode: by the pixel value after bad pixel repairing as described in formula a* (B-A)+A interpolation calculation, wherein, A, B is respectively and in the direction of described absolute difference minimum, is positioned at described bad pixel both sides and two nearest normal pixel points of the described bad pixel of distance respectively, wherein, a=d1/d, d1 represents the distance of described bad pixel to normal pixel point A, d represents the distance of described normal pixel point A to normal pixel point B.
6. the patch system of bad pixel in medical image according to claim 5, it is characterized in that, if exist absolute difference in multiple directions equate and for minimum, calculate successively the repairing value of all directions, then ask for the final repairing result of average as described bad pixel.
CN201210574428.8A 2012-12-26 2012-12-26 Medical image bad pixel point repairing method and system Pending CN103905747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210574428.8A CN103905747A (en) 2012-12-26 2012-12-26 Medical image bad pixel point repairing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210574428.8A CN103905747A (en) 2012-12-26 2012-12-26 Medical image bad pixel point repairing method and system

Publications (1)

Publication Number Publication Date
CN103905747A true CN103905747A (en) 2014-07-02

Family

ID=50996877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210574428.8A Pending CN103905747A (en) 2012-12-26 2012-12-26 Medical image bad pixel point repairing method and system

Country Status (1)

Country Link
CN (1) CN103905747A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022329A (en) * 2016-05-12 2016-10-12 福建南威软件有限公司 Character noise reduction method in character recognition process
CN108182668A (en) * 2017-12-29 2018-06-19 努比亚技术有限公司 A kind of enlarged drawing processing method, terminal and computer readable storage medium
CN111192217A (en) * 2019-12-30 2020-05-22 深圳蓝韵医学影像有限公司 Digital X-ray image repairing method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040061785A1 (en) * 1999-04-30 2004-04-01 General Electric Company Imaging of pixel defects in digital detectors
CN1881075A (en) * 2005-06-15 2006-12-20 上海医疗器械厂有限公司 X-ray digital imaging correction method
CN101115210A (en) * 2006-07-26 2008-01-30 索尼株式会社 Image processing device and method, program and recording medium
CN101126724A (en) * 2007-09-30 2008-02-20 西北工业大学 Cone-beam CT system plate detector image anti-interference calibration method
CN101272491A (en) * 2008-04-10 2008-09-24 西安电子科技大学 Image interpolation method based on video object and area guidance
CN101304484A (en) * 2007-05-07 2008-11-12 索尼株式会社 Image forming apparatus, flaw pixel correction apparatus, processing method program of the device
CN101588447A (en) * 2008-05-23 2009-11-25 比亚迪股份有限公司 Method and system for correcting dead pixel points of images and image sensor
US20120019693A1 (en) * 2006-03-24 2012-01-26 Qualcomm Incorporated Method and apparatus for processing bad pixels
CN102567970A (en) * 2011-12-29 2012-07-11 方正国际软件有限公司 Image restoring method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040061785A1 (en) * 1999-04-30 2004-04-01 General Electric Company Imaging of pixel defects in digital detectors
CN1881075A (en) * 2005-06-15 2006-12-20 上海医疗器械厂有限公司 X-ray digital imaging correction method
US20120019693A1 (en) * 2006-03-24 2012-01-26 Qualcomm Incorporated Method and apparatus for processing bad pixels
CN101115210A (en) * 2006-07-26 2008-01-30 索尼株式会社 Image processing device and method, program and recording medium
CN101304484A (en) * 2007-05-07 2008-11-12 索尼株式会社 Image forming apparatus, flaw pixel correction apparatus, processing method program of the device
CN101126724A (en) * 2007-09-30 2008-02-20 西北工业大学 Cone-beam CT system plate detector image anti-interference calibration method
CN101272491A (en) * 2008-04-10 2008-09-24 西安电子科技大学 Image interpolation method based on video object and area guidance
CN101588447A (en) * 2008-05-23 2009-11-25 比亚迪股份有限公司 Method and system for correcting dead pixel points of images and image sensor
CN102567970A (en) * 2011-12-29 2012-07-11 方正国际软件有限公司 Image restoring method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022329A (en) * 2016-05-12 2016-10-12 福建南威软件有限公司 Character noise reduction method in character recognition process
CN106022329B (en) * 2016-05-12 2019-09-20 福建南威软件有限公司 A kind of character noise reduction process method in character recognition process
CN108182668A (en) * 2017-12-29 2018-06-19 努比亚技术有限公司 A kind of enlarged drawing processing method, terminal and computer readable storage medium
CN108182668B (en) * 2017-12-29 2022-01-25 努比亚技术有限公司 Amplified image processing method, terminal and computer readable storage medium
CN111192217A (en) * 2019-12-30 2020-05-22 深圳蓝韵医学影像有限公司 Digital X-ray image repairing method and system

Similar Documents

Publication Publication Date Title
KR101742120B1 (en) Apparatus and method for image processing
US8442346B2 (en) Image processing method and associated apparatus for adjusting an edge pixel
CN103597514B (en) Object detection frame display device and object detection frame display packing
US20110142289A1 (en) System and method for motion estimation using image depth information
JP7136080B2 (en) Imaging device, imaging method, image processing device, and image processing method
CN104484659A (en) Method for automatically identifying and calibrating medical color images and medical gray scale images
US20120154675A1 (en) Frame interpolation apparatus and method
US20130136339A1 (en) System for real-time stereo matching
CN103475828A (en) Method for rectifying missing pixels and image sensor
CN104685513A (en) Feature based high resolution motion estimation from low resolution images captured using an array source
CN105578021A (en) Imaging method of binocular camera and apparatus thereof
JP5669599B2 (en) Image processing apparatus and control method thereof
CN104380713A (en) Dead pixel correction method and system for digital image
CN103268604B (en) Binocular video depth map acquiring method
CN103905747A (en) Medical image bad pixel point repairing method and system
CN116721107A (en) Intelligent monitoring system for cable production quality
Tao et al. A fast block matching algorthim for stereo correspondence
KR101088144B1 (en) Method for Measurement of Distance between Object and Camera using Stereo Camera
CN103514588B (en) Image enchancing method and system
CN114245043A (en) Image dead pixel dynamic correction and ASIC implementation method and system thereof
CN207283689U (en) A kind of dead pixels of image sensor surveys means for correcting
CN107564045B (en) Stereo matching method based on gradient domain guided filtering
CN113763401A (en) Rapid multi-point automatic focusing method, system and application equipment thereof
CN116543238A (en) Image detection method for cable insulating layer
Damjanović et al. Local stereo matching using adaptive local segmentation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140702

RJ01 Rejection of invention patent application after publication