EP4158587A1 - System and method for detecting and correcting defective image output from radiation-damaged video cameras - Google Patents
System and method for detecting and correcting defective image output from radiation-damaged video camerasInfo
- Publication number
- EP4158587A1 EP4158587A1 EP21734989.3A EP21734989A EP4158587A1 EP 4158587 A1 EP4158587 A1 EP 4158587A1 EP 21734989 A EP21734989 A EP 21734989A EP 4158587 A1 EP4158587 A1 EP 4158587A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- camera
- damaged
- image
- pixel
- pixel value
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
Definitions
- FIELD [0001] The field relates to optical devices for use in medical processes, and more particularly, to cameras and methods for use in a medical environment having radiation.
- Radiation therapy involves medical procedures that selectively expose certain areas of a human body, such as cancerous tumors, to doses of radiation.
- the purpose of the radiation therapy is to irradiate the targeted biological tissue such that undesirable tissue is destroyed. Radiation has also been-used to obtain image of tissue for diagnostic or treatment purposes.
- the present invention provides an apparatus for use with a medical system, as defined in claim 1.
- the present invention provides a method performed by an apparatus for use with a medical system, as defined in claim 15.
- an apparatus comprising a camera may be provided to monitor a patient, and/or components of a medical system.
- the medical system may comprise a medical device, such as a radiation treatment machine, configured to treat the patient.
- the camera may not include radiation-hard electronics.
- the camera may be an off-the-shelf camera. Because the camera does not have radiation-hard electronics, more and more pixels in the camera may be progressively damaged by radiation over time. As a result, the output (e.g., image, video) from the camera may appear noisy. This, in turn, may render the camera undesirable because the camera may fail to capture important events, such as patient movements during treatment. The noisy image is also annoying to user of the camera.
- one or more embodiments described herein utilize a technique to replace damaged-pixel values with new pixel values. This has the benefits of improving quality of camera output from radiation damaged camera, prolonging a life of the camera in a radiation-rich environment, and ensuring that patient monitoring and/or component monitoring performed using the radiation damaged camera will achieve desirable performance.
- An apparatus for use with a medical system comprising a medical device configured to treat and/or image a patient, includes: an input configured to receive an image from a camera, the camera configured to view at least a part of the patient and/or at least a part of the medical system; a processing unit configured to replace a damaged-pixel value in the image corresponding with a damaged pixel in the camera that is damaged due to radiation resulted from an operation of the medical device; and an output for outputting an improved image having less noise compared to the image received from the camera.
- the processing unit is configured to access a medium storing a location of the damaged pixel.
- the medium comprises a lookup table storing the location of the damaged pixel.
- the processing unit is configured to replace the damaged- pixel value with a new pixel value.
- the processing unit is configured to determine the new pixel value by determining a median or an average of neighboring pixel values of respective neighboring pixels around the damaged pixel.
- the neighboring pixel values comprise four or more neighboring pixel values.
- the neighboring pixel values comprise eight or more neighbor pixel values.
- the processing unit is also configured to replace at least eight neighboring pixel values of respective eight neighboring pixels that are surrounding the damaged pixel.
- the processing unit is configured to identify the damaged pixel in the camera.
- the processing unit is configured to identify the damaged pixel in the camera by obtaining a calibration image from the camera, and identifying a pixel value in the calibration image having an intensity that is above a threshold. [0018] Optionally, a majority of the calibration image is black or dark. [0019] Optionally, the processing unit is configured to operate the camera to generate the calibration image.
- the processing unit is configured to operate the camera to generate the calibration image when the camera is covered by a lens cap, when the camera is viewing a black or dark area, when the camera is in a low-lighting environment, when an image shutter or a chopper is blocking light into the camera, or when a mechanical blocker outside the camera is positioned to block light into the camera.
- the processing unit is configured to apply a moving window to sequentially process different combinations of X number of pixels in the image; and wherein for each of the combinations of X number of pixels, the processing unit is configured to replace a center-pixel value with a replacement pixel value that is calculated as an average or a median using at least some of the X number of pixels in the window.
- the window comprises a N-pixel by N-pixel window, wherein N is any odd integer.
- the processing unit is configured to receive an additional image from an additional camera.
- the processing unit is configured to replace the damaged- pixel value in the image from the camera with a corresponding pixel value in the additional image from the additional camera.
- the apparatus further includes the camera and the additional camera, wherein the camera and the additional camera are arranged in a side-by-side configuration with respect to each other.
- the processing unit or the apparatus is a part of the camera.
- a method performed by an apparatus for use with a medical system, the medical system comprising a medical device configured to treat and/or image a patient includes: receiving, by a processing unit, an image from a camera, wherein the image is generated by the camera while the camera is viewing at least a part of the patient and/or at least a part of the medical system; and replacing, by the processing unit, a damaged-pixel value in the image that corresponds with a damaged pixel in the camera that is damaged due to radiation resulted from an operation of the medical device.
- the method further includes accessing a medium storing a location of the damaged pixel.
- the medium comprises a lookup table storing the location of the damaged pixel.
- the damaged-pixel value is replaced with a new pixel value.
- the new pixel value comprises a median or an average of neighboring pixel values of respective neighboring pixels around the damaged pixel.
- the neighboring pixel values comprise four or more neighboring pixel values.
- the neighboring pixel values comprise eight or more neighbor pixel values.
- the method further includes replacing at least eight neighboring pixel values of respective eight neighboring pixels that are surrounding the damaged pixel.
- the method further includes identifying the damaged pixel in the camera.
- the damaged pixel in the camera is identified by obtaining a calibration image from the camera, and identifying a pixel value in the calibration image having an intensity that is above a threshold.
- a majority of the calibration image is black or dark.
- the act of obtaining the calibration image comprises operating the camera to generate the calibration image.
- the camera is operated to generate the calibration image when the camera is covered by a lens cap, when the camera is viewing a black or dark area, when the camera is in a low-lighting environment, when an image shutter or a chopper is blocking light into the camera, or when a mechanical blocker outside the camera is positioned to block light into the camera.
- a moving window is applied to sequentially process different combinations of X number of pixels in the image; and wherein for each of the combinations of X number of pixels, a center-pixel value is replaced with a replacement pixel value that is calculated as an average or a median using at least some of the X number of pixels in the window.
- the window comprises a N-pixel by N-pixel window, wherein N is any odd integer.
- the method further includes receiving an additional image from an additional camera.
- the damaged-pixel value in the image from the camera is replaced with a corresponding pixel value in the additional image from the additional camera.
- the camera and the additional camera are arranged in a side-by-side configuration with respect to each other.
- the processing unit or the apparatus is a part of the camera. [0046] Other and further aspects and features will be evident from reading the following detailed description.
- FIG. 1 illustrates a medical system and a camera for use with the medical system
- FIG. 2 illustrates the camera of FIG. 1, particularly showing the camera being mounted to a patient support
- FIG. 3 illustrates another medical system and cameras for use with the medical system, particularly showing the cameras being mounted to a ceiling;
- FIG. 4 illustrates another medical system and cameras for use with the medical system particularly showing the cameras being mounted to component(s) of the medical system;
- FIG. 5 illustrates other examples of cameras that may be used with a medical system
- FIG. 6A illustrates an example of an image received from a camera, particularly showing the image having noise due to damaged pixels of a camera;
- FIG. 6B illustrates an example of an improved image that is generated using any of the exemplary techniques described herein;
- FIG. 7 illustrates an apparatus in accordance with some embodiments
- FIG. 8 illustrates an example of a calibration image
- FIG. 9A illustrates an intensity peak corresponding with one or more damaged-pixel value(s);
- FIGS. 9B-9E illustrate grayscale of an image, red intensity of the image, green intensity of the image, and blue intensity of the image, respectively;
- FIG. 9F illustrates examples radiation damaged pixels;
- FIG. 10 illustrates a technique of replacing damaged-pixel value using median filter;
- FIG. 11 illustrates a variation of the apparatus of FIG. 7;
- FIG. 12 illustrates another variation of the apparatus of FIG. 7;
- FIG. 13 illustrates a method in accordance with some embodiments.
- FIG. 14 is a diagram of a processing system with which embodiments described herein may be implemented.
- FIG. 1 illustrates a medical system 10.
- the medical system 10 is a radiation treatment system, and it includes an arm gantry 12, a patient support 14 for supporting a patient 20, and a control system 18 for controlling an operation of the gantry 12 and delivery of radiation.
- the medical system 10 also includes a radiation source 22 that projects a beam 26 of radiation towards the patient 20 while the patient 20 is supported on support 14, and a collimator system 24 for changing a cross sectional shape of the radiation beam 26.
- the radiation source 22 may be configured to generate a cone beam, a fan beam, or other types of radiation beams in different embodiments.
- the source 22 may be configured to generate proton beam as a form of radiation for treatment purpose.
- the system 10 may have other form and/or configuration.
- the system 10 instead of an arm gantry 12, the system 10 may have a ring gantry 12.
- the radiation source 22 is a treatment radiation source for providing treatment energy.
- the radiation source 22 in addition to being a treatment radiation source, can also be a diagnostic radiation source for providing diagnostic energy for imaging purpose.
- the system 10 will include an imager, such as the imager 80, located at an operative position relative to the source 22 (e.g., under the support 14).
- the radiation source 22 may be a treatment radiation source for providing treatment energy, wherein the treatment energy may also be used to obtain images.
- the imager 80 is configured to generate images in response to radiation having treatment energies (e.g., MV imager).
- the treatment energy is generally those energies of 160 kilo- electron-volts (keV) or greater, and more typically 1 mega-electron-volts (MeV) or greater
- diagnostic energy is generally those energies below the high energy range, and more typically below 160 keV.
- the treatment energy and the diagnostic energy can have other energy levels, and refer to energies that are used for treatment and diagnostic purposes, respectively.
- the radiation source 22 is able to generate X-ray radiation at a plurality of photon energy levels within a range anywhere between approximately 10 keV and approximately 20 MeV.
- the radiation source 22 can be a diagnostic radiation source.
- the system 10 may be a diagnostic system with one or more moving parts.
- the radiation source 22 is carried by the arm gantry 12.
- the radiation source 22 may be located within a bore (e.g., coupled to a ring gantry).
- the control system 18 includes a processing unit 54, such as a processor, coupled to a control 40.
- the control system 18 may also include a monitor 56 for displaying data and an input device 58, such as a keyboard or a mouse, for inputting data.
- the operation of the radiation source 22 and the gantry 12 are controlled by the control 40, which provides power and timing signals to the radiation source 22, and controls a rotational speed and position of the gantry 12, based on signals received from the processing unit 54.
- the control 40 is shown as a separate component from the gantry 12 and the processing unit 54, in alternative embodiments, the control 40 can be a part of the gantry 12 or the processing unit 54.
- the medical system 10 may be a treatment system configured to deliver treatment radiation beam towards the patient 20 at different gantry angles.
- the source 22 rotates around the patient 20 and delivers treatment radiation beam from different gantry angles towards the patient 20.
- the collimator 24 is operated to change the shape of the beam to correspond with a shape of the target tissue structure.
- the collimator 24 may be operated so that the shape of the beam is similar to a cross sectional shape of the target tissue structure.
- the collimator 24 may be operated so that different portions of the target tissue structure receive different amount of radiation (as in an IMRT procedure).
- an apparatus 100 is provided for use with the medical system 10.
- the apparatus 100 includes a camera 130 configured for viewing the patient 20.
- the apparatus 100 also includes a securing mechanism 132 for securing the camera 130 relative to an object, and a support 134.
- the depth sensing camera 130 is configured to sense depths and to generate signals representing the depths.
- the depth sensing camera 130 may use structured light for depth measurement (e.g., a Kinect camera).
- the depth sensing camera 130 may use time-of-flight method for depth measurement (e.g., Mesa SR4000, or the new Microsoft Kinect2 camera).
- the depth sensing camera 130 may be any device that is capable of sensing depth using any known techniques. It should be noted that the term “camera”, as used in this specification, may be any device, and should not be limited to a device that provides “image” signals.
- the depth sensing camera 130 may be configured to provide depth signals, which may or may not be considered image signals, regardless of whether such depth signals are displayed in image form or not.
- a depth signal may be any signal indicating a depth or distance, or any signal from with a depth or distance may be derived.
- the signal may be an infrared signal, an ultrasound signal, etc.
- the dimensions of the depth sensing camera 130 may be small enough to be non-intrusive to the treatment process when mounted during use.
- the camera 130 may have a dimension of 11 inch x 2.5 inch x 1.5 inch.
- the camera 130 may have other dimensions, such as those larger or smaller than the example provided above, as long as the use of the camera 130 does not interfere with the treatment procedure.
- the depth sensing camera 130 may be infrared-based, in which cases, the depth may be sensed by the camera 130 using infrared.
- such depth sensing camera 130 may be configured to output infrared video images from which depth images are formed.
- these infrared video images may have exactly the same field of view as the depth images.
- the infrared video images may be used together with the depth images to determine whether there is a possible collision.
- the camera 130 may include an infrared emitter, a color sensor, and an infrared depth sensor.
- the infrared depth sensor is configured to sense depth based on infrared signals output by the infrared emitter.
- the color sensor is configured to sense visible image.
- the support 134 may be a post, a bracket, a beam, an arm, etc., for supporting the camera 130.
- the securing mechanism 132 may be located at the support 134.
- the support 134 may optionally have one or more moveable parts to allow a position and/or an orientation of the camera 130 to be adjusted relative to the support 14 (or relative to the patient 20 or another reference location).
- the support 134 itself may be movable relative to the support 14 in order to adjust the camera position (e.g., longitudinally) relative to the patient.
- the support 134 may be a base with a tilt motor, which allows the camera 130 to be tilted in one, two, or three, degrees of movement relative to the base. In other embodiments, the support 134 is not needed, and the system 100 may not include the support 134.
- the camera is being described as being mounted to the patient support 14.
- the camera may be mounted directly or indirectly to any structure of a building, such as a ceiling, a beam, a column, a wall.
- FIG. 3 illustrates another medical system 10 and cameras that are mounted indirectly to a ceiling.
- the medical system 10 of FIG. 3 may be considered as an example, or a variation, of the medical system 10 of FIG. 1.
- the medical system 10 of FIG. 3 is a treatment system that includes a gantry 12, a patient support 14 for supporting a patient (not shown), and a control system 18 for controlling an operation of the gantry 12.
- the gantry 12 is in a form of an arm, but in other embodiments, the gantry 12 may have other forms (such as a ring form, etc.).
- the system 10 also includes a radiation source 20 that projects a beam 26 of radiation towards a patient while the patient is supported on support 14, and a collimator system 22 for controlling a delivery of the radiation beam 26.
- the collimator may be configured to adjust a cross sectional shape of the beam 26.
- the radiation source 20 can be configured to generate a cone beam, a fan beam, or other types of radiation beams in different embodiments.
- the system 10 may include an imager located at an operative position relative to the source 20 (e.g., under the support 14).
- the system 10 also includes an optical system 150.
- the optical system 150 includes a light source 152, multiple cameras 154, and a processing unit 156 in communication with the cameras 154.
- the light source 152 is configured to provide structured light and/or non-structured light.
- the optical system 150 has three cameras 154. In other embodiments, the optical system 150 may have fewer than three cameras 154 (e.g., one camera 154 or two cameras), or more than three cameras 154. Also, in other embodiments, the optical system 150 may include multiple light sources 152.
- two or more cameras may be placed in a side-by-side configuration in close proximity to each other (e.g., within 3 ft, with 2 ft, with 1 ft, etc.). In other embodiments, two or more cameras may be placed far from each other (e.g., more than 3 ft, more than 4 ft, etc.).
- the structured light and/or non-structured light provided by the light source 152 may be in an infrared range (e.g., having infrared wavelength(s)). This technique obviates the need to use very intense light source(s), which may “blind” the patient, particularly during head, neck, and breast treatments in which the light is directed towards the upper part of the patient.
- the light source 152 may be configured to provide non-visible light having other wavelengths (e.g., ultraviolet light). Also, use of non-visible light is advantageous because unlike video-based system that uses visible wavelengths, it does not exhibit stroboscopic effects that may confuse the patient, and it does not trigger symptoms of motion thickness.
- the optical system 150 may also optionally include a frame 160 to which the cameras 154 and the light source 152 may be mounted.
- the frame 160 is illustrated as being mounted to a ceiling. In alternative embodiments, the frame 160 may be mounted to a beam, a column, or a wall of a room in which the treatment system 10 is located. In further embodiments, the frame 160 may be mounted to the treatment system 10 (FIG. 4).
- the cameras 154 with the frame 160 may be preassembled at a factory, which allows easy installation at the medical facility. The cameras 154 may be moveably mounted to the frame 160.
- each of the cameras 154 may be rotatably mounted to the frame 160 (e.g., via a ball joint) so that the camera 154 is rotatable about one or more axes with respect to the frame 160.
- the light source 152 may be moveably mounted to the frame 160.
- the light source 152 may be rotatably mounted to the frame 160 (e.g., via a ball joint) so that the light source 152 is rotatable about one or more axes with respect to the frame 160.
- the cameras 154 and the light source 152 may be moveably mounted to the frame 160 using other connectors, such as arms, so that the cameras 154 and the light source 152 are moveable with respect to the frame 160.
- the one or more of the cameras 154 and/or the light source 152 may be mounted directly to the treatment system 10 or a room.
- the optical system 150 may include multiple light sources 152 for each camera 154.
- each of the light sources 152 may be configured to provide structured light and non-structured light.
- one or more of the light sources 152 may be configured to provide structured light, while another one or more of the light sources 152 may be configured to provide non-structured light.
- the light source 152 may be integrated with one or more cameras 154.
- the optical system 150 may include multiple pods, wherein each pod may have one or more light sources 152 and one or more cameras 154 (e.g., two cameras 154).
- the optical system 150 may also optionally include a plurality of time-of-flight (TOF) cameras 158.
- TOF camera 158 is configured to provide depth image(s).
- a depth image has pixel values representing a distance between a reference point and a surface point detected.
- each TOF camera 158 may be an infrared camera.
- images from the cameras 154 and the TOF cameras 158 are processed by the processing unit 156 to obtain and monitor surface contours of the patient before and during treatment for the purpose of patient setup (absolute positioning and/or relative positioning), patient monitoring during treatment (e.g., monitoring absolute position and/or relative position), tool surveillance, prevention of patient-machine collisions, or a combination of the foregoing.
- Patient monitoring may include: (1) ensuring that the patient does not leave its setup position, and/or (2) recording a periodic patient motion due to breathing, and controlling a machine accordingly (e.g., beam hold, multi-leave collimator tracking, tracking of patient support, etc.).
- the optical system 150 has two TOF cameras 158.
- the optical system 150 may include more than two (e.g., three, four, etc.) TOF cameras 158, or fewer than two (i.e. , one) TOF camera 158.
- the optical system 150 may include multiple pods, wherein each pod may have one or more light sources 152, one or more cameras 154 (e.g., two cameras 154), and one or more TOF cameras 158.
- each pod may have one or more light sources 152, one or more cameras 154 (e.g., two cameras 154), and one or more TOF cameras 158.
- there may be a first pod having one or more light sources 152 and two cameras 154, and a second pod having one or more light source 152 and two cameras 154.
- a pod may include another type or auxiliary camera or depth measurement device.
- a pod apart from TOF camera, a pod may include ultrasonic distance sensor(s), light sensitive guard(s), or laser scanner(s).
- a pod may also include one or more regular video camera(s).
- a processor may obtain information from the regular video camera(s), and merge that information with 3D images.
- the video cameras may be used to detect markers with known geometric properties to obtain additional geometric 3D information.
- the optical system 150 may include a web camera in each pod.
- the image from the web camera or regular video camera may be overlaid on a detected surface or distance map. This may help to define a region of interest. For example, if a user does not see a surface representation of a user interface screen, but can see a realistic photograph of the scene, then the user may still define the region of interest using the user interface.
- the pod(s) may be mounted to a frame of the optical system 150. In other embodiments, the pod(s) may be mounted to a different frame than that of the optical system 150. Also, in further embodiments, the pod(s) may be configured to be mounted to the medical system 10, e.g., to the gantry, to the patient support. In some cases, the pod(s) may be mounted to deployable arms that are coupled to the medical system 10. In other embodiments, the pod(s) may be mounted to a room (e.g., to a wall, a ceiling, a floor, etc.).
- the optical system 150 may be configured to provide patient setup, patient monitoring, device monitoring, respiratory motion control, patient-machine collision prevention, or any combination of the foregoing. Thus, in some cases, the same optical system 150 may provide multiple purposes. In some embodiments, different clinical use cases mentioned above may be performed simultaneously. In one implementation, the sequence of real-time input images from the camera(s) 154 and from the TOF camera(s) 158 may be processed by the processing unit 156 to perform patient-machine collision prevention.
- the same real-time input images (or a subset of them) from the camera(s) 154, and the same real-time input images (or a subset of them) from the TOF camera(s) 158 may also be processed by the processing unit 156 to perform patient monitoring and/or device monitoring. Also, in some embodiments, by combining external surface information of the patient (provided by the optical system 150) with x-ray imaging of the internal anatomy, highly integrated and automated treatment workflows may be achieved.
- a camera 500 for use with a medical system may be mounted ceiling, wherein the camera 500 is configured to provide a live view of an environment that includes the patient and/or component(s) of the medical system.
- one or more CCTV cameras 502 are also included in the cameras.
- the medical system may include a medical device, such as a radiation machine, configured to treat and/or image a patient.
- a medical device such as a radiation machine, configured to treat and/or image a patient.
- the radiation machine may be a treatment radiation machine.
- the radiation machine may be a treatment machine with imaging capability.
- the radiation machine may be a x-ray machine, a CT machine, a PET machine, a SPECT machine, etc., configured to image a patient.
- FIG. 6A illustrates an example of an image 600 received from a camera, particularly showing the image having noise due to damaged pixels of a camera.
- the image 600 includes many bright spots 602, each of which is from a radiation-damaged pixel in the camera.
- Embodiments described herein provide different techniques for correcting the damaged-pixel values in camera images. As a result of using any of these techniques, noise in a camera image resulted from radiation-damaged pixels may be eliminated or significantly reduced.
- the image 600 may be improved to become the image 610 shown in FIG. 6B. As shown in the figure, the number of bright spots due to radiation-damaged pixels in the camera is substantially reduced.
- FIG. 7 illustrates an apparatus 700 in accordance with some embodiments.
- the apparatus 700 is configured to communicatively couple with a camera 701.
- the apparatus 700 may be coupled to the camera 701 via a cable or via a wireless connection.
- the apparatus 700 is configured to receive image(s) from the camera 701 during use, and correct one or more pixel values in the image(s).
- the apparatus 700 includes an input 702, a processing unit 710, and an output 720.
- the input 702 may be a physical interface for receiving image(s) from the camera 701.
- the input 702 may be any communicative interface (e.g., data interface, logical interface) that receives image(s) from the camera 701 , wherein the interface may be implemented using hardware, software, or a combination of both.
- the output 720 may be a physical interface for outputting improved image(s).
- the improved image(s) may be outputted by the output 720 to another processing unit that processes the improved image(s), to a display for displaying the improved image(s), to a medium for storing the improved image(s), or any combination of the foregoing.
- the camera 701 may be any camera capable of outputting one or more images.
- the camera 701 may be a live view camera, a CCTV camera, a visible-light-based camera, a non-visible-light based camera, etc.
- each image from the camera 701 may have an image size of 1920x1080.
- each image from the camera 701 may have an image size of 640x480.
- each image from the camera 701 may have other image sizes.
- the camera 701 may be configured to provide live view of an environment in a medical facility. In such cases, the camera 701 may be configured to provide live images in real-time.
- the image outputted from the camera 701 includes one or more damaged-pixel value(s) resulted from damaged pixel(s) in the camera 701 .
- damage may be due to exposure of radiation by the electronics in the camera 701 .
- the apparatus 700 is configure to output an improved image in which the damaged-pixel value(s) has been replaced with replacement pixel value(s).
- the improved image has less noise compared to the image outputted by the camera 701 , and the improved image may be utilized in one or more medical processes to obtain more reliable and accurate outcome.
- the processing unit 710 includes a damaged pixel locator 712 configured to obtain locations of damaged pixels in the camera 701.
- the processing unit 710 also includes a damaged-pixel value replacement module 716 configured to replace one or more damaged-pixel values in a camera image with one or more replacement pixel values, respectively, based on the location(s) of the damaged pixel(s) in the camera 701 .
- the processing unit 710 also includes a medium 730 for storing location(s) of the damaged pixel(s) of the camera 701.
- the medium 730 may be a memory, a hard drive, or any storage device capable of storing data.
- the medium 730 is accessible by the damaged pixel locator 712 during use of the apparatus 700.
- the processing unit 710 also includes a calibration module 740 configured to identify one or more damaged pixels in the camera 701 before the camera 701 is used in a medical process.
- the calibration module 740 is configured to output the location(s) of the damaged pixel(s) for storage in the medium 730.
- the calibration module 740 is configured to obtain an image from the camera 701 , and use the image as a calibration image. The calibration module 740 then processes the calibration image to identify one or more damaged-pixel values in the calibration image.
- FIG. 8 illustrates an example of a calibration image 800 generated by the camera 701.
- the processing unit 710 may be configured to operate the camera 701 to generate the calibration image.
- the processing unit 710 is configured to operate the camera 701 to generate the calibration image 800 when the camera 701 is covered by a lens cap.
- the processing unit 710 is configured to operate the camera 701 to generate the calibration image 800 when the camera 701 is viewing a black or dark area.
- a black surface may be placed next to the camera 701 , and the camera 701 may be turned (e.g., manually by a person, or mechanically by a positioner - e.g., automatically turned by a computer control of an electro-mechanical actuator control system) periodically to view the black surface to generate the calibration image 800.
- the processing unit 710 is configured to operate the camera 701 to generate the calibration image 800 when the camera 701 is in a low-lighting or no-light environment.
- the apparatus 700 may include a light sensor for detecting an amount of light present outside the camera 701. If the amount of light is below a threshold, the processing unit 710 may automatically operate the camera 701 to generate the calibration image 800.
- the processing unit 710 is configured to operate the camera 701 to generate the calibration image 800 when an image shutter or a chopper is blocking light into the camera 701. In further embodiments, the processing unit 710 is configured to operate the camera 701 to generate the calibration image 800 when a mechanical blocker outside the camera 701 is positioned to block light into the camera.
- an operator may operate the camera 701 to generate the calibration image 800.
- the operator may operate the camera 701 to generate the calibration image 800 when the camera 701 is covered by a lens cap, when the camera 701 is viewing a black or dark area, when the camera 701 is in a low- lighting or no-light environment, when an image shutter or a chopper is blocking light into the camera 701 , or when a mechanical blocker outside the camera 701 is positioned to block light into the camera 701.
- a majority (e.g., region 802) of the calibration image 800 is black or dark.
- the calibration image 800 includes bright spots 810 that are brighter than the darker region 802.
- the bright spots 810 are from the damaged pixels in the camera 701 that are damaged due to radiation.
- the processing unit 710 can determine the location of the damaged pixels in the camera 701.
- the processing unit 710 may include a calibration module 740 configured to identify the bright spots 810 in the calibration image 800. If a pixel value has an intensity that is above a threshold, then the calibration module 740 may identify the pixel value as a damaged-pixel value.
- the calibration module 740 may be configured to identify a pixel value in the calibration image 800 as a damaged-pixel value if the pixel value is more than a threshold, wherein the threshold may be set as 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, or 250.
- FIG. 9A illustrates an intensity peak 900 corresponding with one or more damaged-pixel value(s).
- the intensity peak 900 may correspond with one of the bright spots 810, or a group of bright spots 810, in the calibration image 800 in FIG. 8.
- the peak 900 has a peak value that is higher compared to its surrounding area due to fixed pattern noise attributable to pixel damaged by radiation.
- the width of the peak 900 is proportional to a speckle noise size. Outside the area of the peak 900, e.g., at the side-lobe region, the variations of the values are due to the scene content and they are unrelated to radiation- damaged pixel(s).
- the calibration module 716 of the processing unit 710 is configured to quantify the local peak value after subtracting the information due to the scene content.
- the calibration module 716 may also be configured to identify the sub-region(s) for which this subtraction can be done with high confidence, thus limiting the noise measurement to the sub- regions) only.
- the calibration module 740 of the processing unit 710 may be configured identify damaged-pixel values using a grayscale of the calibration image.
- a grayscale of a calibration image is shown in FIG. 9B.
- the grayscale of the calibration image may be generated based on a red intensity or red component of the calibration image (FIG. 9C), a green intensity or green component of the calibration image (FIG. 9D), and a blue intensity or blue component of the calibration image (FIG. 9E).
- FIGS. 9C-9E are presented as black-and-white figures, but it should be understood that the color version of FIG. 9C will be in different intensities of red, the color version of FIG. 9D will be in different intensities of green, and the color version of FIG.
- G k1*R + k2*G + k3*B
- R represents a red intensity of the pixel
- G represents a green intensity of the pixel
- B represents a blue intensity of the pixel.
- k1 , k2, and k3 are factors, and they can be any values.
- k1 0.3
- k2 0.59
- k3 0.11.
- the calibration module 716 is configured to obtain the grayscale of the calibration image, and identify damaged-pixel values.
- damaged-pixel values such as the one with value “100”
- the surrounding pixel values such as the ones with values 31 , 39, 49, 45, 48, which are good pixel values.
- the ones immediately next to the pixel with the value “100” e.g., the pixels with pixel values 71 , 50, 49, 77
- the surrounding pixel values such as the ones with values 31 , 39, 49, 45, 48, which are good pixel values.
- the calibration module 716 may determine that the pixel value “100” is a damaged-pixel value, and may also determine that the ones immediately next to the one with pixel value “100” are also damaged- pixel values.
- the calibration module 716 may store the locations of these identified damaged-pixel values in the medium 730.
- the red, green, and blue intensities or components of the calibration image may be processed by the calibration module 716 individually.
- the component value for the damaged pixel would be much higher than the value of the grayscale (e.g., calculated based on 0.3*R + 0.59*G + 0.11 *B). This is because the individual red, green, and blue components are not weighted like the gray scale. Therefore, the damaged-pixel values can be identified easier by the calibration module 716 if the RGB components are evaluated individually.
- FIG. 9F illustrates examples of different damaged pixels resulted from radiation exposure.
- a damaged pixel may have the red component damaged, the blue component damage, the green component damaged, or two of the three components damaged. Also, in some cases, all three color components of a pixel may be damaged. In some embodiments, if a pixel value in a color component (e.g., red component) of the calibration image is determined as a damaged-pixel value, then the corresponding pixel of the camera 701 is considered a damaged pixel (regardless of whether the other color components is damaged or not).
- a color component e.g., red component
- the locations of the damaged pixels may be stored in the medium 730.
- the medium 730 may contain a lookup table storing the locations (e.g., X,Y coordinates) of the identified damaged pixels.
- the medium 730 is illustrated as a part of the processing unit 710. In other embodiments, the medium 730 may not be a part of the processing unit 710, but may be a part of the apparatus 700. In still further embodiments, the medium 730 may be implemented outside the apparatus 700. For example, in other embodiments, the medium 730 may be a storage device that is communicatively coupled to the apparatus 700.
- the medium 730 may be inside the camera 701 , or coupled outside the camera 701 , so that it is implemented as a part of the camera 701. This allows the camera 701 itself to know the locations of its damaged pixels. Also, in some embodiments, the camera 701 may have a processing unit that corrects images before they are outputted by the camera 701 based on the locations of the damaged pixels. In one implementation, the apparatus 700 or the processing unit 710 may be implemented inside the camera 701.
- the identification of damaged pixels may be performed by the calibration module 740 (e.g., during a calibration procedure) at any time, and/or at any frequency.
- the calibration module 740 may identify the damaged pixels in a calibration image before a medical process (e.g., radiation treatment) that involves use of the camera 701. The identification of the damaged pixels may occur within an hour (e.g., within 10 minutes, 15 minutes, 30 minutes, etc.) before the medical process begin.
- the calibration module 740 may perform the damaged pixel identification whenever there is no light in the environment.
- the calibration module 740 may be configured to periodically perform the damaged pixels identification, such as according to a schedule.
- the calibration module 740 may perform the damaged pixels identification in response to a user input that instructs the calibration module 740 to perform such damaged pixels identification in a calibration image from the camera 701. In further embodiments, the calibration module 740 may perform identification of damaged pixels while the camera 701 is used in a medical process. In such cases, the calibration module 740 may use one of the images from a livestream, and perform real-time detection of the damaged-pixel values.
- the damaged pixel locator 712 of the processing unit 710 may access the medium 730 to obtain locations of damaged pixels in the camera 701.
- the damaged-pixel value replacement module 716 of the processing unit 710 may then perform image correction to replace damaged-pixel values in images output from the camera 701.
- the damaged-pixel value replacement module 716 may be configured to replace damaged-pixel values in images based on the locations of damaged pixels obtained by the damaged pixel locator 712.
- the damaged-pixel value replacement module 716 of the processing unit 710 may use a medial filter to determine a replacement pixel value.
- FIG. 10 illustrates an example of a technique of replacing a damaged-pixel value using median filter.
- the pixel value “10” has been identified as a damaged-pixel value by the processing unit 710.
- the damaged-pixel value replacement module 716 determines a median of the pixel values within a 3x3 pixel area with the pixel value “10” being at the center of the pixel area.
- the median of the pixel values within the 3x3 pixel area is “4”. Accordingly, the damaged-pixel value replacement module 716 replaces the damaged-pixel value “10” with the replacement pixel value “4”.
- the damaged-pixel value replacement module 716 may not consider the damaged-pixel value “10” when determining the median of the pixel values in the 3x3 pixel area. In such cases, the median would be determined based on the eight pixel values surrounding the damaged- pixel value.
- the damaged-pixel value replacement module 716 may determine the replacement pixel value based on pixel area having other sizes. For example, in other embodiments, a 5x5 pixel area, 7x7 pixel area, etc. In general, NxN pixel area may be used, wherein N is any integer, such as any old integer, larger than 1. Also, in other embodiments, the pixel area may not be a square. Instead, the pixel area for determining the replacement pixel value may be a square, such as a 3x5 pixel area, a 5x7 pixel area, etc.
- the damaged-pixel value replacement module 716 may replace the damaged-pixel value “10” with the replacement pixel value “4”.
- the damaged-pixel value replacement module 716 goes through all of the damaged-pixel values based on the locations of the damaged pixels retrieved from the medium 730 by the damaged pixel locator 712. For example, if there are 80 damaged pixels in the camera 701 , the damaged-pixel value replacement module 716 may perform the pixel replacement 80 times for the respective 80 damaged pixels. The replacement pixel values for the different damaged-pixel values (at different locations of an image) will be different from each other, because each replacement pixel value is determined based on surrounding pixel values at different areas in the image. [0111] In the above example of FIG. 10, the damaged-pixel value replacement module 716 is described as being configured to replace one pixel surrounded by eight other pixels.
- the damaged-pixel value replacement module 716 may be configured to replace multiple pixels that are adjacent to each other.
- the damaged- pixel value replacement module 716 may be configured to replace all nine pixels in the 3x3 pixel area that includes the damaged-pixel value in the middle. This may be the case sometimes because the width of the intensity peak 900 (FIG. 9) may extend several pixels in width, and/or because several pixels next to each other may be damaged.
- the damaged-pixel value replacement module 716 may determine replacement pixel values for replacing a cluster of damaged-pixel values based at least in part on pixel values of pixels surrounding the cluster of damaged-pixel values of the damaged pixels.
- the damaged-pixel value replacement module 716 may determine a median value as a replacement pixel value, wherein the median value is based on a group of pixel values that may include the damaged- pixel values, or that may exclude the damaged-pixel values. Also, as similarly discussed, in some embodiments, the damaged-pixel value replacement module 716 may determine an average value as a replacement pixel value, wherein the average value is calculated based on a group of pixel values that may include the damaged-pixel values, or that may exclude the damaged-pixel values.
- the processing unit 710 is described as having a calibration module 740 for determining locations of damaged pixels in the camera 701 , the medium 730 for storing the determined locations of the damaged pixels, and the damaged pixel locator 712 for accessing the medium 730 to obtain the locations of the damaged pixels.
- the processing unit 710 may replace the damaged-pixel value in an image without using damaged-pixel locations determined previously in a separate calibration algorithm. In such cases, the processing unit 710 may not include the damaged pixel locator 712, the medium 730, and the calibration module 740 (FIG. 11).
- the apparatus 700 of FIG. 11 is the same as the apparatus 700 of FIG. 7, except that the processing unit 710 does not include the damaged pixel locator 712, the medium 730, and the calibration module 740.
- the camera 701 generates images, and the input 702 of the apparatus 700 receives the images from the camera 701.
- the processing unit 710 in such cases includes the damaged-pixel value replacement module 716, which is configured to replace all damaged-pixel values in an image with respective replacement pixel values.
- the damaged-pixel value replacement module 716 of the processing unit 710 is configured to indiscriminately process all of the pixel values in the image using a moving window that is sequentially applied to all of the pixel values.
- the moving window may be a 3x3 pixel window (i.e. , 3 pixels by 3 pixels).
- the damaged-pixel value replacement module 716 applies the moving window to sequentially process different groups of 9 pixels in the image, one at a time, until all of the pixels in the image has been processed.
- the damaged- pixel value replacement module 716 of the processing unit is configured to replace a center-pixel value in the 3x3 pixel window with a replacement pixel value that is determined as an average or a median using at least some of the pixels in the 3x3 window, as similarly described with reference to FIG. 10. If the center pixel value happens to be a damaged-pixel value, then the above technique would replace such damaged-pixel value with the replacement pixel value.
- the replacement pixel value is closer in magnitude to the pixel values of the surrounding pixels (compared to the damaged-pixel value that is further in magnitude than the pixel values of the surrounding pixels), the replacement of the damaged-pixel value with the replacement pixel value would improve the image quality of the image portion in the 3x3 window.
- the center pixel value is not a damaged-pixel value, replacing such center pixel value with the replacement pixel value would not significantly alter the image. This is because the replacement pixel value (determined as an average or median of at least the adjacent pixel values) is not too different from the original pixel value. In some cases, replacing a good (not damaged) pixel value with the replacement pixel value may cause the image portion in the 3x3 window to have a slightly reduced resolution.
- the camera image has a resolution that is more than what is needed for the application of the camera 701 .
- the camera 701 produces images with 6-mega-pixel resolution, and the resolution needed for using the camera 701 to perform patient monitoring and/or monitoring of component(s) of medical system is 4-mega-pixel, then the above technique of pixel replacement technique may be acceptable.
- the damaged-pixel value replacement module 716 may be configured to do such replacement only if the center pixel value is a damaged-pixel value.
- the damaged-pixel value replacement module 716 of the processing unit is configured to either (1 ) replace a center-pixel value in the 3x3 pixel window with a replacement pixel value, or (2) keep the center- pixel value in the 3x3 pixel window.
- the damaged-pixel value replacement module 716 is configured to determine if a center-pixel value in the 3x3 pixel window is a damaged-pixel value. If so, the damaged-pixel value replacement module 716 then determines the median or average pixel value based at least in part on adjacent pixel values, and uses it to replace the damaged-pixel value. Otherwise, the damaged-pixel value replacement module 716 will keep the original center-pixel value in the 3x3 pixel window.
- the damaged-pixel value replacement module 716 may determine if a pixel value in the image from the camera 701 is a damaged-pixel value.
- the damaged- pixel value replacement module 716 is configured to compare the center pixel value in the 3x3 pixel window with its adjacent pixel values. If the center pixel value is higher than the adjacent pixel values by a threshold, then the damaged- pixel value replacement module 716 may determine that the center pixel value is a damaged-pixel value.
- the comparison of the center pixel value with adjacent pixel values may be achieved by comparing the center pixel value with an average or an median of the adjacent pixel values.
- the threshold for identifying damaged-pixel value may be selected to ensure that a pixel value is significantly different from its adjacent pixel values before it can be considered as a damaged-pixel value.
- the processing unit 710 of FIG. 11 may use other window size to process images from the camera 701 .
- the processing unit 710 may use a 5x5 window, a 7x7 window, or any NxN window in which N is any integer larger than 1.
- the window may not have a square shape, and may instead have a rectangular shape.
- the center pixel value does not need to be a pixel value that is exactly in a center of a window. Instead, the center pixel value may be any pixel value that is surrounded by adjacent pixel values.
- the processing unit 710 may utilize other techniques to replace the damaged-pixel value in an image without using damaged-pixel locations determined previously in a separate calibration algorithm.
- the processing unit 710 may be configured to receive images from two different cameras, and use pixel in an image from a first camera to replace a damaged-pixel value in an image from a second camera (FIG. 12).
- the apparatus 700 of FIG. 12 is the same as the apparatus 700 of FIG. 11, except that the apparatus 700 is communicatively coupled to the camera 701 and an additional camera 1200.
- the cameras 701 , 1200 are arranged in a side-by- side configuration so that they view towards a same environment, resulting in imaging of the same scene by the cameras 701 , 1200.
- the damaged-pixel value replacement module 716 of the processing unit 710 is configured to replace damaged-pixel values in the image from the camera 701 with corresponding pixel values in the image from the additional camera 1200.
- the damaged-pixel value replacement module 716 of the processing unit 710 is configured to replace the damaged-pixel values in an image from the camera 701 with respective replacement pixel values.
- the damaged-pixel value replacement module 716 is configured to process all of the pixel values in the image using a moving window that is sequentially applied to all of the pixel values, like that described with reference to FIG. 11.
- a moving window that is sequentially applied to all of the pixel values
- the damaged-pixel value replacement module 716 in the embodiments of FIG. 12 is configured to use a good pixel value from an image in the additional camera 1200 for replacing the center pixel value in the image from the camera 701 .
- This technique takes advantage of the fact that while both cameras 701 , 1200 may have radiation-damaged pixels, the chance that the damaged pixels occurring at the same respective locations in the camera 701 , 1200 is very small.
- the moving window may be a 3x3 pixel window (i.e. , 3 pixels by 3 pixels).
- the damaged-pixel value replacement module 716 applies the moving window to sequentially process different groups of 9 pixels in the image, one at a time, until all of the pixels in the image has been processed.
- the damaged- pixel value replacement module 716 of the processing unit is configured to either (1) replace a center-pixel value in the 3x3 pixel window with a replacement pixel value from an image generated by the additional camera 1200, or (2) keep the center-pixel value in the 3x3 pixel window.
- the damaged- pixel value replacement module 716 is configured to determine if a center-pixel value in the 3x3 pixel window is a damaged-pixel value. If so, the damaged-pixel value replacement module 716 then obtains the corresponding pixel value in the image from the additional camera 1200, and uses it to replace the damaged-pixel value. Otherwise, the damaged-pixel value replacement module 716 will keep the original center-pixel value in the 3x3 pixel window.
- the damaged-pixel value replacement module 716 may determine if a pixel value in the image from the camera 701 is a damaged-pixel value.
- the damaged- pixel value replacement module 716 is configured to compare the center pixel value in the 3x3 pixel window with its adjacent pixel values. If the center pixel value is higher than the adjacent pixel values by a threshold, then the damaged- pixel value replacement module 716 may determine that the center pixel value is a damaged-pixel value.
- the comparison of the center pixel value with adjacent pixel values may be achieved by comparing the center pixel value with an average or an median of the adjacent pixel values.
- the threshold for identifying damaged-pixel value may be selected to ensure that a pixel value is significantly different from its adjacent pixel values before it can be considered as a damaged-pixel value.
- the processing unit 710 of FIG. 12 may use other window size to process images from the camera 701.
- the processing unit 710 may use a 5x5 window, a 7x7 window, or any NxN window in which N is any integer larger than 1.
- the window may not have a square shape, and may instead have a rectangular shape.
- the center pixel value does not need to be a pixel value that is exactly in a center of a window. Instead, the center pixel value may be any pixel value that is surrounded by adjacent pixel values.
- the improved image outputted by the apparatus 700 may be utilized during a medical process.
- the improved image outputted by the apparatus 700 may be utilized to monitor a position of the patient (e.g., as during a patient setup procedure), to monitor a physiological state of the patient (e.g., determine a respiratory phase, which may be used to control delivery of treatment energy), to monitor a position of a component of the medical system, to prevent a collision between the medical device and the patient, to prevent a collision between the medical device and a patient support, to identify the patient and/or to confirm an identity of the patient, to perform surveillance of the medical facility, or any combination of the foregoing.
- One or more of these features may be performed by an additional processing unit that is communicatively coupled downstream with respect to the apparatus 700.
- the additional processing unit may include (1) a patient setup module configured to perform the patient setup, (2) a patient monitoring module configured to perform the patient monitoring (e.g., for monitoring a position of the patient and/or a physiological state of the patient), (3) a device monitoring module configured to perform the device monitoring (e.g., monitoring one or more components of a medical system), a respiratory motion controller configured to perform the respiratory motion control, (4) a patient- machine collision prevention module configured to perform the patient-machine collision prevention, (5) a component collision prevention module configured to perform component-to-component collision prevention, (6) a patient identification module configured to identify the patient and/or to confirm an identity of the patient, (7) a surveillance module configured to surveil a medical facility, or any combination of the foregoing.
- a patient setup module configured to perform the patient setup
- a patient monitoring module configured to perform the patient monitoring (e.g., for monitoring a position of the patient and/or a physiological state of the patient)
- a device monitoring module configured to perform the device monitoring (e.
- the component-to-component collision prevention module may be configured to monitor a moving gantry and a patient support to prevent collision between these two components (or devices).
- the component-to-component collision prevention module may be configured to monitor an imaging panel (e.g., a kV panel) and a position detection device (e.g., a Calypso console) to prevent collision between these two components (or devices).
- an imaging panel e.g., a kV panel
- a position detection device e.g., a Calypso console
- one or more of the above-mentioned modules may be configured to process improved images from the apparatus 700 to achieve their respective objectives.
- one or more of the above- mentioned modules may be configured to identify feature(s) in each image, wherein the feature(s) may be one or more fiducials, such as markers coupled to components of the medical system and/or markers coupled to the patient.
- the one or more fiducials may alternatively be one or more landmarks on the patient.
- the feature(s) in an image may also be a moving object, such as a moving medical device component, or a person who is moving.
- the improved images outputted by the apparatus 700 are advantageous because they are more clear and contain less noise compared to the originally generated images from the camera (which has damaged pixels). As a result, one or more of the above- mentioned modules can more reliably perform their respective tasks to achieve accurate outcome.
- the module(s) will need to receive the improved images from the apparatus 700 in real-time.
- the images from the camera 701 are real-time images.
- the camera 701 is configured to repeatedly generate a sequence of real-time images during a medical process, and the apparatus 700 processes these images to output corresponding improved images in real-time (e.g., within a short time after each camera image is generated, such as within 1 second, and more preferably within 0.5 second, and more preferably within 0.1 second).
- the processing unit 710 of the apparatus 700 is configured to perform pixel value correction for the entire image within 1 second, or within 0.5 second, or within 0.1 second, after the image is generated by the camera.
- the apparatus 700 is advantageous because it allows a camera with damaged pixels to be used in a medical process.
- the apparatus 700 obviates a need to use camera with electronics that are radiation tolerant or radiation hardened to prevent radiation damage.
- an off-the-shelf camera or any camera that is not radiation hardened may be utilized in a medical environment that has radiation. This saves significant costs because a radiation hardened camera may cost ten times or more than a camera that is not radiation hardened.
- the camera is allowed and is expected to have more and more damaged pixels over time due to radiation exposure, and the apparatus 700 will correct images output by such camera to address the damaged pixels.
- the apparatus 700 allows a damaged camera to be utilized over a longer life span.
- a shielding may be provided around the camera 701 to provide at least some protection for the electronics in the camera 701 against radiation exposure.
- the camera 701 may be considered to be a part of the apparatus 700.
- processing unit 710 of the apparatus 700 described herein may be implemented using hardware, software, or a combination of both hardware and software.
- the hardware may include one or more processors, one or more circuit components, or one or more integrated circuits.
- the apparatus 700 described herein is not limited to application with medical systems that provide radiation treatment beams, and that the apparatus 700 may be employed in other types of medical system and procedures.
- the apparatus 700 may be used with a medical device configured to provide proton beam.
- the apparatus 700 may be used with a medical system configured to provide imaging beam for imaging a patient.
- the imaging may be performed using a CT machine, which may be a stationary machine, or a machine that is moveably coupled to a rail.
- the term “radiation” may include “proton beam”, a beam for treatment, or a beam for imaging.
- FIG. 13 illustrates a method 1400 that may be performed by an apparatus.
- the apparatus may be the apparatus of FIG. 7, 11, or 12.
- the method 1400 includes: receiving, by a processing unit, an image from a camera, wherein the image is generated by the camera while the camera is viewing at least a part of the patient and/or at least a part of the medical system (item 1402); and replacing, by the processing unit, a damaged-pixel value in the image that corresponds with a damaged pixel in the camera that is damaged due to radiation resulted from an operation of the medical device (item 1404).
- item 1404 may be repeated to replace other damaged-pixel value(s) in the image. Also, in some embodiments, item 1402 may be repeated so that the processing unit receives multiple images from the camera (e.g., images that are part of a video stream). In such cases, item 1404 may be repeated multiple times for replacing multiple damaged-pixel values in each of the images in the video stream.
- the method 1400 further includes accessing a medium storing a location of the damaged pixel.
- the medium comprises a lookup table storing the location of the damaged pixel.
- the damaged-pixel value is replaced with a new pixel value.
- the new pixel value comprises a median or an average of neighboring pixel values of respective neighboring pixels around the damaged pixel.
- the neighboring pixel values comprise four or more neighboring pixel values.
- the neighboring pixel values comprise eight or more neighbor pixel values.
- the method 1400 further includes replacing at least eight neighboring pixel values of respective eight neighboring pixels that are surrounding the damaged pixel. [0140] Optionally, the method 1400 further includes identifying the damaged pixel in the camera.
- the damaged pixel in the camera is identified by obtaining a calibration image from the camera, and identifying a pixel value in the calibration image having an intensity that is above a threshold.
- a majority of the calibration image is black or dark.
- the act of obtaining the calibration image comprises operating the camera to generate the calibration image.
- the camera is operated to generate the calibration image when the camera is covered by a lens cap, when the camera is viewing a black or dark area, when the camera is in a low-lighting environment, when an image shutter or a chopper is blocking light into the camera, or when a mechanical blocker outside the camera is positioned to block light into the camera.
- a moving window is applied to sequentially process different combinations of X number of pixels in the image; and wherein for each of the combinations of X number of pixels, a center-pixel value is replaced with a replacement pixel value that is calculated as an average or a median using at least some of the X number of pixels in the window.
- the window comprises a N-pixel by N-pixel window, wherein N is any odd integer.
- the method 1400 further includes receiving an additional image from an additional camera.
- the damaged-pixel value in the image from the camera is replaced with a corresponding pixel value in the additional image from the additional camera.
- the camera and the additional camera are arranged in a side-by-side configuration with respect to each other.
- the processing unit or the apparatus is a part of the camera.
- a processor-readable non-transitory medium having a set of instructions may be provided.
- the set of instructions may be executed to cause the method 1400 to be performed.
- the set of instructions may be executed to cause a processing unit to receive an image from a camera, wherein the image is generated by the camera while the camera is viewing at least a part of the patient and/or at least a part of the medical system.
- An execution of the instructions may also cause the processing unit to replace a damaged-pixel value in the image that corresponds with a damaged pixel in the camera that is damaged due to radiation resulted from an operation of the medical device.
- FIG. 14 is a block diagram illustrating an embodiment of a specialized processing system 1600 that can be used to implement various embodiments described herein.
- the processing system 1600 may be configured to replace one or more damaged-pixel values in an image with corresponding replacement pixel values in accordance with some embodiments.
- the processing system 1600 may be used to implement the apparatus 700 of FIG. 7, 11, or 12.
- the processing system 1600 may also be an example of any processing unit, e.g., processing unit 710, described herein.
- Processing system 1600 includes a bus 1602 or other communication mechanism for communicating information, and a processor 1604 coupled with the bus 1602 for processing information.
- the processor system 1600 also includes a main memory 1606, such as a random access memory (RAM) or other dynamic storage device, coupled to the bus 1602 for storing information and instructions to be executed by the processor 1604.
- the main memory 1606 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by the processor 1604.
- the processor system 1600 further includes a read only memory (ROM) 1608 or other static storage device coupled to the bus 1602 for storing static information and instructions for the processor 1604.
- ROM read only memory
- a data storage device 1610 such as a magnetic disk or optical disk, is provided and coupled to the bus 1602 for storing information and instructions.
- the processor system 1600 may be coupled via the bus 1602 to a display 167, such as a flat panel, for displaying information to a user.
- a display 167 such as a flat panel
- An input device 1614 is coupled to the bus 1602 for communicating information and command selections to processor 1604.
- cursor control 1616 is Another type of user input device
- cursor control 1616 such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 1604 and for controlling cursor movement on display 167.
- This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
- the processor system 1600 can be used to perform various functions described herein. According to some embodiments, such use is provided by processor system 1600 in response to processor 1604 executing one or more sequences of one or more instructions contained in the main memory 1606. Those skilled in the art will know how to prepare such instructions based on the functions and methods described herein. Such instructions may be read into the main memory 1606 from another processor- readable medium, such as storage device 1610. Execution of the sequences of instructions contained in the main memory 1606 causes the processor 1604 to perform the process steps described herein. One or more processors in a multi processing arrangement may also be employed to execute the sequences of instructions contained in the main memory 1606. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the various embodiments described herein. Thus, embodiments are not limited to any specific combination of hardware circuitry and software.
- processor-readable medium refers to any medium that participates in providing instructions to the processor 1604 for execution. Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media.
- Non-volatile media includes, for example, optical or magnetic disks, such as the storage device 1610.
- a non-volatile medium may be considered an example of non-transitory medium.
- Volatile media includes dynamic memory, such as the main memory 1606.
- a volatile medium may be considered an example of non-transitory medium.
- Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise the bus 1602. Transmission media can also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.
- processor-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD-ROM, any other optical medium, punch cards, paper tape, any other physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave as described hereinafter, or any other medium from which a processor can read.
- processor-readable media may be involved in carrying one or more sequences of one or more instructions to the processor 1604 for execution. For example, the instructions may initially be carried on a magnetic disk of a remote computer.
- the remote computer can load the instructions into its dynamic memory and send the instructions over a network, such as the Internet or a local network.
- a receiving unit local to the processing system 1600 can receive the data from the network, and provide the data on the bus 1602.
- the bus 1602 carries the data to the main memory 1606, from which the processor 1604 retrieves and executes the instructions.
- the instructions received by the main memory 1606 may optionally be stored on the storage device 1610 either before or after execution by the processor 1604.
- the processing system 1600 also includes a communication interface 1618 coupled to the bus 1602.
- the communication interface 1618 provides a two-way data communication coupling to a network link 1620 that is connected to a local network 1622.
- the communication interface 1618 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line.
- ISDN integrated services digital network
- the communication interface 1618 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN.
- LAN local area network
- Wireless links may also be implemented.
- the communication interface 1618 sends and receives electrical, electromagnetic or optical signals that carry data streams representing various types of information.
- the network link 1620 typically provides data communication through one or more networks to other devices.
- the network link 1620 may provide a connection through local network 1622 to a host computer 1624 or to equipment 1626.
- the data streams transported over the network link 1620 can comprise electrical, electromagnetic or optical signals.
- the signals through the various networks and the signals on the network link 1620 and through the communication interface 1618, which carry data to and from the processing system 1600, are exemplary forms of carrier waves transporting the information.
- the processing system 1600 can send messages and receive data, including program code, through the network(s), the network link 1620, and the communication interface 1618.
- damaged pixel refers to a pixel of a camera that is damaged, wherein the damage may be due to radiation exposure or other factor(s) / condition(s) that is unrelated to radiation exposure.
- neighboring pixel refers to a pixel that is directly next to the certain pixel, or that is separated from the certain pixel by one or more other pixel(s) (e.g., separated by 1 pixel, 2 pixels, 3 pixels, etc., but not more than 5 pixels).
- center pixel in an image portion refers to any pixel that is not at a side or perimeter of the image portion.
- a “center pixel” in a 5x5 pixel area may be any of the 9 pixels between the outer rows or columns of pixels of the 5x5 pixel area.
- image is not limited to an image that is displayed, and may refer to an image that is not displayed (e.g., an image in data or digital form that is stored).
- Item 1 An apparatus for use with a medical system, the medical system comprising a medical device configured to treat and/or image a patient, includes: an input configured to receive an image from a camera, the camera configured to view at least a part of the patient and/or at least a part of the medical system; a processing unit configured to replace a damaged-pixel value in the image corresponding with a damaged pixel in the camera that is damaged due to radiation resulted from an operation of the medical device; and an output for outputting an improved image having less noise compared to the image received from the camera.
- Item 2 The processing unit is configured to access a medium storing a location of the damaged pixel.
- Item 3 The medium comprises a lookup table storing the location of the damaged pixel.
- Item 4 The processing unit is configured to replace the damaged- pixel value with a new pixel value.
- Item 5 The processing unit is configured to determine the new pixel value by determining a median or an average of neighboring pixel values of respective neighboring pixels around the damaged pixel.
- the neighboring pixel values comprise four or more neighboring pixel values.
- Item 7 The neighboring pixel values comprise eight or more neighbor pixel values.
- Item 8 The processing unit is also configured to replace at least eight neighboring pixel values of respective eight neighboring pixels that are surrounding the damaged pixel.
- Item 9 The processing unit is configured to identify the damaged pixel in the camera.
- Item 10 The processing unit is configured to identify the damaged pixel in the camera by obtaining a calibration image from the camera, and identifying a pixel value in the calibration image having an intensity that is above a threshold.
- Item 11 A majority of the calibration image is black or dark.
- Item 12 The processing unit is configured to operate the camera to generate the calibration image.
- Item 13 The processing unit is configured to operate the camera to generate the calibration image when the camera is covered by a lens cap, when the camera is viewing a black or dark area, when the camera is in a low-lighting environment, when an image shutter or a chopper is blocking light into the camera, or when a mechanical blocker outside the camera is positioned to block light into the camera.
- Item 14 The processing unit is configured to apply a moving window to sequentially process different combinations of X number of pixels in the image; and wherein for each of the combinations of X number of pixels, the processing unit is configured to replace a center-pixel value with a replacement pixel value that is calculated as an average or a median using at least some of the NX number of pixels in the window.
- Item 15 The window comprises a N-pixel by N-pixel window, wherein N is any odd integer.
- Item 16 The processing unit is configured to receive an additional image from an additional camera.
- Item 17 The processing unit is configured to replace the damaged- pixel value in the image from the camera with a corresponding pixel value in the additional image from the additional camera.
- Item 18 The apparatus further includes the camera and the additional camera, wherein the camera and the additional camera are arranged in a side-by-side configuration with respect to each other.
- Item 19 The processing unit or the apparatus is a part of the camera.
- Item 20 A method performed by an apparatus for use with a medical system, the medical system comprising a medical device configured to treat and/or image a patient, includes: receiving, by a processing unit, an image from a camera, wherein the image is generated by the camera while the camera is viewing at least a part of the patient and/or at least a part of the medical system; and replacing, by the processing unit, a damaged-pixel value in the image that corresponds with a damaged pixel in the camera that is damaged due to radiation resulted from an operation of the medical device.
- Item 21 The method further includes accessing a medium storing a location of the damaged pixel.
- Item 22 The medium comprises a lookup table storing the location of the damaged pixel.
- Item 23 The damaged-pixel value is replaced with a new pixel value.
- Item 24 The new pixel value comprises a median or an average of neighboring pixel values of respective neighboring pixels around the damaged pixel.
- Item 25 The neighboring pixel values comprise four or more neighboring pixel values.
- Item 26 The neighboring pixel values comprise eight or more neighbor pixel values.
- Item 27 The method further includes replacing at least eight neighboring pixel values of respective eight neighboring pixels that are surrounding the damaged pixel.
- Item 28 The method further includes identifying the damaged pixel in the camera.
- Item 29 The damaged pixel in the camera is identified by obtaining a calibration image from the camera, and identifying a pixel value in the calibration image having an intensity that is above a threshold.
- Item 30 A majority of the calibration image is black or dark.
- Item 31 The act of obtaining the calibration image comprises operating the camera to generate the calibration image.
- Item 32 The camera is operated to generate the calibration image when the camera is covered by a lens cap, when the camera is viewing a black or dark area, when the camera is in a low-lighting environment, when an image shutter or a chopper is blocking light into the camera, or when a mechanical blocker outside the camera is positioned to block light into the camera.
- Item 33 A moving window is applied to sequentially process different combinations of X number of pixels in the image; and wherein for each of the combinations of X number of pixels, a center-pixel value is replaced with a replacement pixel value that is calculated as an average or a median using at least some of the X number of pixels in the window.
- Item 34 The window comprises a N-pixel by N-pixel window, wherein N is any odd integer.
- Item 35 The method further includes receiving an additional image from an additional camera.
- Item 36 The damaged-pixel value in the image from the camera is replaced with a corresponding pixel value in the additional image from the additional camera.
- Item 37 The camera and the additional camera are arranged in a side-by-side configuration with respect to each other.
- Item 38 The processing unit or the apparatus is a part of the camera.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Biomedical Technology (AREA)
- Medical Informatics (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Quality & Reliability (AREA)
- Image Processing (AREA)
- Apparatus For Radiation Diagnosis (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/889,772 US11250593B2 (en) | 2020-06-01 | 2020-06-01 | System and method for detecting and correcting defective image output from radiation-damaged video cameras |
| PCT/US2021/033566 WO2021247251A1 (en) | 2020-06-01 | 2021-05-21 | System and method for detecting and correcting defective image output from radiation-damaged video cameras |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP4158587A1 true EP4158587A1 (en) | 2023-04-05 |
Family
ID=76624135
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP21734989.3A Pending EP4158587A1 (en) | 2020-06-01 | 2021-05-21 | System and method for detecting and correcting defective image output from radiation-damaged video cameras |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US11250593B2 (en) |
| EP (1) | EP4158587A1 (en) |
| CN (1) | CN115699078A (en) |
| WO (1) | WO2021247251A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2616255B (en) * | 2022-02-24 | 2025-06-04 | Elekta ltd | Removing artefacts in radiotherapy imaging |
| CN116260962B (en) * | 2023-01-29 | 2024-04-26 | 电信科学技术仪表研究所有限公司 | Radiation-resistant detection device and method for monitoring camera sensor |
| CN119648600A (en) * | 2024-11-06 | 2025-03-18 | 西安工业大学 | A 3D highlighting enhancement method for X-ray film defects based on dynamic compensation and point convolution |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5410418A (en) * | 1992-06-24 | 1995-04-25 | Dainippon Screen Mfg. Co., Ltd. | Apparatus for converting image signal representing image having gradation |
| US6965395B1 (en) * | 2000-09-12 | 2005-11-15 | Dialog Semiconductor Gmbh | Methods and systems for detecting defective imaging pixels and pixel values |
| JP2005333504A (en) * | 2004-05-21 | 2005-12-02 | Juki Corp | Image data acquisition method and apparatus |
| US20070076101A1 (en) * | 2005-09-30 | 2007-04-05 | Baer Richard L | Self-calibrating and/or self-testing camera module |
| US8803962B2 (en) * | 2009-09-30 | 2014-08-12 | Boston Scientific Scimed, Inc. | System and method for imaging during a medical procedure |
| JP2014139564A (en) * | 2012-12-20 | 2014-07-31 | Sony Corp | Imaging device, and electronic apparatus |
| US9773318B2 (en) * | 2015-10-02 | 2017-09-26 | Varian Medical Systems, Inc. | Systems and methods for detecting camera defect caused by exposure to radiation |
| US10003758B2 (en) * | 2016-05-02 | 2018-06-19 | Microsoft Technology Licensing, Llc | Defective pixel value correction for digital raw image frames |
| JP2018157371A (en) * | 2017-03-17 | 2018-10-04 | キヤノン株式会社 | Imaging apparatus and defective pixel correction method |
| JP7308609B2 (en) * | 2018-11-27 | 2023-07-14 | キヤノン株式会社 | RADIATION IMAGING APPARATUS, RADIATION IMAGING SYSTEM, CONTROL METHOD OF RADIATION IMAGING APPARATUS, AND PROGRAM |
| DE102019203923B4 (en) * | 2019-03-22 | 2026-05-07 | Carl Zeiss Microscopy Gmbh | Methods for localizing signal sources in localization microscopy |
-
2020
- 2020-06-01 US US16/889,772 patent/US11250593B2/en active Active
-
2021
- 2021-05-21 EP EP21734989.3A patent/EP4158587A1/en active Pending
- 2021-05-21 CN CN202180039570.XA patent/CN115699078A/en active Pending
- 2021-05-21 WO PCT/US2021/033566 patent/WO2021247251A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| US11250593B2 (en) | 2022-02-15 |
| WO2021247251A1 (en) | 2021-12-09 |
| US20210374999A1 (en) | 2021-12-02 |
| CN115699078A (en) | 2023-02-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230293908A1 (en) | Patient monitor | |
| EP3014956B1 (en) | Systems and methods for detecting a possible collision between an object and a patient in a medical procedure | |
| US9886534B2 (en) | System and method for collision avoidance in medical systems | |
| JP4731698B2 (en) | Image processing apparatus, photographing apparatus, image processing system, image processing method, and storage medium | |
| US11250593B2 (en) | System and method for detecting and correcting defective image output from radiation-damaged video cameras | |
| US10737117B2 (en) | Medical apparatus and method | |
| US7978816B2 (en) | Radiographic imaging control apparatus using multi radiation generating apparatus | |
| JP6473501B2 (en) | Method for calibrating a patient monitoring system for use with a radiotherapy device | |
| JP2015066275A (en) | Medical image processing apparatus, therapeutic system and medical image processing method | |
| KR20000052875A (en) | Apparatus for matching x-ray images with reference images | |
| WO2016124554A1 (en) | Object localization in projective x-ray images by geometric considerations | |
| JP2021094418A (en) | Ambient light suppression using color space information to derive pixel-wise attenuation factors | |
| US9773318B2 (en) | Systems and methods for detecting camera defect caused by exposure to radiation | |
| JP6310118B2 (en) | Image processing apparatus, treatment system, and image processing method | |
| KR20190101416A (en) | Computed tomography and positioning of anatomical structures required to be photographed | |
| EP3665650B1 (en) | Method and apparatus for measuring the accuracy of models generated by a patient monitoring system | |
| JP2001000427A (en) | Image processing apparatus, image processing system, image processing method, and storage medium | |
| US11590366B2 (en) | Live view camera for radiation therapy | |
| KR102479266B1 (en) | Treatment system, calibration method, and program | |
| JP2001008107A (en) | Image processing apparatus, image processing system, image processing method, and storage medium | |
| CN117582613A (en) | Methods, systems and computer-readable media for light field verification on patient surfaces | |
| WO2023195443A1 (en) | Image processing device, operation method for image processing device, and program | |
| JP2001008106A (en) | Image processing apparatus, image processing system, image processing method, and storage medium | |
| CN105212958B (en) | Preparation method, device and the equipment of CT images |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: UNKNOWN |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20221123 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
| 17Q | First examination report despatched |
Effective date: 20250821 |