US8089536B2 - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- US8089536B2 US8089536B2 US11/622,071 US62207107A US8089536B2 US 8089536 B2 US8089536 B2 US 8089536B2 US 62207107 A US62207107 A US 62207107A US 8089536 B2 US8089536 B2 US 8089536B2
- Authority
- US
- United States
- Prior art keywords
- information
- dust
- foreign substance
- lens
- image
- 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.)
- Expired - Fee Related, expires
Links
- 238000003672 processing method Methods 0.000 title claims description 5
- 239000000126 substance Substances 0.000 claims abstract description 36
- 238000000605 extraction Methods 0.000 claims abstract description 9
- 238000006243 chemical reaction Methods 0.000 claims abstract description 6
- 238000003860 storage Methods 0.000 claims description 30
- 238000000034 method Methods 0.000 claims description 18
- 210000001747 pupil Anatomy 0.000 claims description 17
- 239000000284 extract Substances 0.000 abstract 1
- 239000000428 dust Substances 0.000 description 151
- 238000001514 detection method Methods 0.000 description 26
- 230000003287 optical effect Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 10
- 230000007547 defect Effects 0.000 description 9
- 230000002950 deficient Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000011521 glass Substances 0.000 description 4
- 238000005286 illumination Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000001681 protective effect Effects 0.000 description 4
- 230000011514 reflex Effects 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000005375 photometry Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 229910052709 silver Inorganic materials 0.000 description 2
- 239000004332 silver Substances 0.000 description 2
- -1 silver halide Chemical class 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000000593 degrading effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/40—Picture signal circuits
- H04N1/409—Edge or detail enhancement; Noise or error suppression
- H04N1/4097—Removing errors due external factors, e.g. dust, scratches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/81—Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
- H04N23/811—Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation by dust removal, e.g. from surfaces of the image sensor or processing of the image signal output by the electronic image sensor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/60—Noise processing, e.g. detecting, correcting, reducing or removing noise
- H04N25/68—Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects
Definitions
- the present invention relates to a technique of suppressing degradation of image quality caused by a foreign substance sticking to the surface of, for example, an optical low-pass filter in an image capturing apparatus using an image sensor such as a CCD or CMOS sensor.
- a digital camera requires no sensitive film that is conventionally used as a recording medium and instead records image data on a data recording medium such as a semiconductor memory card or hard disk device.
- a data recording medium such as a semiconductor memory card or hard disk device.
- Such a data recording medium allows repeated write and erase, unlike a film, and is very convenient due to a large reduction in the cost of related expendables.
- a digital camera usually has an LCD (Liquid Crystal Display) monitor device capable of displaying a captured image, as needed, and a detachable mass storage device.
- LCD Liquid Crystal Display
- dust in digital cameras, foreign substances such as dust or dirt (to be simply referred to as dust hereinafter) sometimes stick to the surface of, for example, an image sensor, an image sensor protective glass fixed on the image sensor, or to an optical filter or an optical system (to be referred to hereinafter as an image sensor/optical system component). If dust sticks to an image sensor/optical system component, the dust shields light and impedes image capture of that part, degrading the quality of the captured image.
- the image sensor of a digital camera does not move, and image capture is executed using the same image sensor. Once dust sticks to an image sensor/optical system component, the same dust is captured on many frames (captured images). In particular, a lens-interchangeable digital camera readily catches dust in it upon lens exchange.
- the photographer must always take care not to cause dust to stick to the image sensor/optical system component and must expend great effort to check for dust and remove it.
- the image sensor is located at a relatively deep point within the camera, and it is not easy to check and remove dust on it.
- Dust easily enters a lens-interchangeable digital camera when lenses are exchanged.
- Many lens-interchangeable digital cameras have a focal plane shutter in front of the image sensor and it is easy for dust to stick to the image sensor/optical system component.
- Dust on the image sensor normally sticks not to the surface of the image sensor but to the surface of the protective glass or optical filter.
- the imaging state changes depending on the aperture value of the photographing lens or the distance of the pupil position. More specifically, when the aperture value is close to a full-aperture state, defocusing occurs to make small dust unnoticeable. Conversely, when the aperture value is large, focusing on dust occurs and has an adverse effect on the image.
- the present invention has been made in consideration of the above-described problems, and has as its object to suppress the influence on a captured image even when dust sticks to an image sensor, a protective glass fixed on the image sensor, or a filter.
- an image processing apparatus comprising an information extraction unit configured to extract foreign substance information that is information of a position and size of a foreign substance in an image sensing plane of an image capture unit and is recorded in association with captured image data and lens information of a lens used when acquiring the captured image data, which is recorded in association with the captured image data, a conversion unit configured to convert the foreign substance information extracted by the information extraction unit into second form of foreign substance information on the basis of the lens information extracted by the information extraction unit, and an interpolation unit configured to interpolate a pixel corresponding to the foreign substance in the captured image data on the basis of the second form of foreign substance information.
- an image processing method comprising steps of extracting foreign substance information which is information regarding the position and size of a foreign substance in an image sensing plane of image capture unit and is recorded in association with captured image data and lens information of a lens used when acquiring the captured image data, which is recorded in association with the captured image data, converting the foreign substance information extracted in the information extracting step into second foreign substance information form on the basis of the lens information extracted in the information extracting step, and interpolating a pixel corresponding to the foreign substance in the captured image data on the basis of the second foreign substance information form.
- the present invention it is possible to suppress the influence on a captured image even when dust sticks to an image sensor, a protective glass fixed on the image sensor, or a filter.
- FIG. 1 is a block diagram showing the circuit arrangement of a lens-interchangeable single-lens reflex digital camera, which serves as an image capturing apparatus according to the first embodiment of the present invention
- FIG. 2 is a perspective view showing the outer appearance of the digital camera according to the first embodiment
- FIG. 3 is a longitudinal sectional view showing the internal structure of the digital camera according to the first embodiment
- FIG. 4 is a flowchart for explaining the dust detection processing of the digital camera according to the first embodiment
- FIG. 5 is a view showing a data format example of dust correction data
- FIG. 6 is a flowchart for explaining details of a dust region acquisition routine in step S 27 of FIG. 4 ;
- FIG. 7 is a view showing the process unit of dust region determination processing in step S 62 of FIG. 6 ;
- FIG. 8 is a view showing the outline of dust region size calculation in step S 63 of FIG. 6 ;
- FIG. 9 is a flowchart for explaining details of an image capture processing routine in step S 24 of FIG. 4 ;
- FIG. 10 is a block diagram showing the schematic system configuration of an image processing apparatus
- FIG. 11 is a view showing an example of GUI of the image processing apparatus
- FIG. 12 is a flowchart for explaining details of dust removal processing.
- FIG. 13 is a flowchart for explaining details of an interpolation routine.
- a camera body detects dust and attaches dust correction data to image data
- an image processing apparatus outside the camera executes processing to remove the dust from the image data by using the dust correction data attached to the image data.
- FIG. 1 is a block diagram showing the circuit arrangement of a lens-interchangeable single-lens reflex digital camera which serves as an image capturing apparatus according to the first embodiment of the present invention.
- a microcomputer 402 controls the operation of the entire camera, including processing of image data output from an image sensor (CCD in this embodiment) 418 and display on an LCD monitor device 417 .
- a switch (SW 1 ) 405 is turned on in a half depressed state of a release button 114 ( FIG. 2 ). When the switch (SW 1 ) 405 is ON, the digital camera of this embodiment is ready for image capturing.
- a switch (SW 2 ) 406 is turned on in a fully depressed state of the release button 114 . When the switch (SW 2 ) 406 is turned on, the digital camera of this embodiment starts image capturing.
- a lens control circuit 407 communicates with a photographing lens 200 ( FIG. 3 ) and controls driving of the photographing lens 200 and driving of the aperture blades upon AF (Auto Focus).
- an external display control circuit 408 controls an external display device (OLC) 409 and a display device (not shown) in the viewfinder.
- a switch sense circuit 410 transmits, to the microcomputer 402 , signals from a number of switches including an electronic dial 411 provided on the camera.
- An electronic flash brightness control circuit 412 is grounded via an X contact 412 a and controls an external electronic flash.
- a distance measuring circuit 413 detects a defocus amount with respect to an object for AF.
- a photometry circuit 414 measures the brightness of an object.
- a shutter control circuit 415 controls a shutter to execute proper exposure for the image sensor.
- the LCD monitor device 417 and a backlight illumination device 416 constitute an image display device.
- a storage device 419 includes, for example, a hard disk drive or a semiconductor memory card detachable from the camera body.
- an A/D converter 423 Connected to the microcomputer 402 are an A/D converter 423 , an image buffer memory 424 , an image processing circuit 425 including a digital signal processor (DSP), and a pixel defect position memory 426 to store information representing the fact that a predetermined pixel itself in the image sensor has a defect.
- a dust position memory 427 to store a pixel position in the image sensor where an image error occurs due to dust also connects to the microcomputer 402 .
- the pixel defect position memory 426 and dust position memory 427 preferably use a nonvolatile memory.
- the pixel defect position memory 426 and dust position memory 427 may store data by using different addresses of the same memory space.
- a nonvolatile memory 428 stores, for example, programs to be executed by the microcomputer 402 .
- FIG. 2 is a perspective view showing the outer appearance of the digital camera according to this embodiment.
- FIG. 3 is a longitudinal sectional view of FIG. 2 .
- a camera body 100 has, on its upper side, an eyepiece window 111 for viewfinder observation, an AE (Automatic Exposure) lock button 112 , an AF distance measuring point selection button 113 , and the release button 114 for the image capture operation.
- the electronic dial 411 , image capture mode selection dial 117 , and external display device 409 are also provided.
- the electronic dial 411 is a multifunction signal input device that inputs a numerical value to the camera or switches the image capture mode in cooperation with other operation buttons.
- the external display device 409 including a liquid crystal display device displays image capture conditions such as shutter speed, aperture value, and image capture mode as well as other information.
- the camera body 100 has, on its rear surface, the LCD monitor device 417 to display a captured image and various kinds of settings windows, a monitor switch 121 to turn on/off the LCD monitor device 417 , a cursor switch 116 , and a menu button 124 .
- the cursor switch 116 has four buttons arranged on the upper, lower, left, and right sides and a SET button arranged at the center. The user uses the cursor switch 116 to instruct the camera to select or execute a menu item displayed on the LCD monitor device 417 .
- the menu button 124 displays, on the LCD monitor device 417 , a menu window to configure various settings of the camera.
- the user presses the menu button 124 , selects a desired mode by operating the upper, lower, left, and right buttons of the cursor switch 116 , and presses the SET button while keeping the desired mode selected, thereby completing the setting.
- the menu button 124 and cursor switch 116 are also used to set a dust mode (to be described later) and set a display mode and identification mark in the dust mode.
- the LCD monitor device 417 of this embodiment is of a transparent type such that the user cannot visually verify any image merely by the driving of the LCD monitor device—the LCD monitor device 417 requires the backlight illumination device 416 on its rear side, as shown in FIG. 3 .
- the LCD monitor device 417 and backlight illumination device 416 constitute an image display device.
- the photographing lens 200 of the image capture optical system is detachably mounted on the camera body 100 via a lens mount 202 .
- reference numeral 201 denotes an image capture optical axis; and 203 , a quick return mirror.
- the quick return mirror 203 arranged in the image capture optical path is movable between a position (position shown in FIG. 3 which will be referred to as an inclined position) to guide object light from the photographing lens 200 to the viewfinder optical system and a position (to be referred to as a retreat position) to retreat from the image capture optical path.
- an image of object light guided from the quick return mirror 203 to the viewfinder optical system is formed on a focusing screen 204 .
- a condenser lens 205 improves the visibility of the viewfinder.
- a pentagonal roof prism 206 guides the object light that has passed through the focusing screen 204 and condenser lens 205 to an eyepiece 208 for viewfinder observation and a photometry sensor 207 .
- a shutter includes a front curtain 209 and a rear curtain 210 .
- the image sensor 418 serving as a solid-state image sensor arranged on the rear side is exposed for a necessary period of time.
- a captured image is converted into an electrical signal for each pixel by the image sensor is processed by the A/D converter 423 and image processing circuit 425 and recorded in the storage device 419 as image data.
- the image sensor 418 is held on a printed circuit board 211 .
- Another printed circuit board i.e., a display board 215
- the LCD monitor device 417 and backlight illumination device 416 are arranged on the opposite surface of the display board 215 .
- the storage device 419 records image data.
- Reference numeral 217 denotes a battery (portable power supply).
- the storage device 419 and battery 217 are detachable from the camera body.
- FIG. 4 is a flowchart explaining dust detection processing (processing of detecting a pixel position where an image error occurs due to dust) of the digital camera according to this embodiment. This processing is done by causing the microcomputer 402 to execute a dust detection processing program stored in the memory 428 .
- Dust detection processing is executed by capturing a dust detection image.
- the camera is installed while keeping the image capture optical axis 201 of the photographing lens 200 directed toward a surface with a uniform color such as the illuminated surface of an area light source or a white wall, thereby preparing for dust detection.
- a light unit (a small point source device attached in place of a lens) for dust detection is attached to the lens mount 202 to prepare for dust detection.
- the light unit can employ, for example, a white LED as its light source and preferably adjusts the light-emitting surface size in correspondence with a predetermined aperture value (e.g., F 64 in this embodiment).
- dust detection with regard to a standard photographing lens, however dust detection may also be performed by attaching the light unit to the lens mount 202 .
- the dust detection image is an image having a uniform color, as described above.
- the microcomputer 402 When preparation is finished and the user inputs a dust detection processing start instruction (e.g., from, the cursor switch 116 ), the microcomputer 402 first sets the aperture. Dust near the image sensor changes the image formation state depending upon the aperture value of the lens, and the position of dust changes depending upon the lens pupil position. Accordingly, dust correction data must hold the aperture value and the lens pupil position upon detection in addition to the position and size of the dust.
- a dust detection processing start instruction e.g., from, the cursor switch 116
- the microcomputer 402 When preparation is finished and the user inputs a dust detection processing start instruction (e.g., from, the cursor switch 116 ), the microcomputer 402 first sets the aperture. Dust near the image sensor changes the image formation state depending upon the aperture value of the lens, and the position of dust changes depending upon the lens pupil position. Accordingly, dust correction data must hold the aperture value and the lens pupil position upon detection in addition to the position and size of the dust.
- the dust correction data need not always hold the aperture value.
- the pupil position indicates the distance from the image sensing plane (focal plane) of the exit pupil.
- F 16 is designated (step S 21 ).
- the microcomputer 402 causes the lens control circuit 407 to control the aperture blades of the photographing lens 200 to set the aperture to the aperture value designated in step S 21 (step S 22 ). In addition, the microcomputer 402 sets the focus position to the infinite distance (step S 23 ).
- step S 24 image capturing in dust detection mode is executed.
- the image capture processing routine executed in step S 24 will be described later in detail with reference to FIG. 9 .
- Obtained image data is stored in the image buffer memory 424 .
- the aperture value and lens pupil position at image capture time are acquired (step S 25 ).
- Data corresponding to each pixel of the captured image stored in the image buffer memory 424 is loaded to the image processing circuit 425 (step S 26 ).
- the image processing circuit 425 executes processing shown in FIG. 6 to acquire the positions and size of pixels with dust (step S 27 ).
- the positions and size of the pixels with dust acquired in step S 27 and the aperture value and lens pupil position information acquired in step S 25 are registered in the dust position memory 427 (step S 28 ). If the above-described light unit is used, no lens information can be acquired. If no lens information is acquired, it is determined that the light unit was used. In this case, predetermined lens pupil position information and a reduced aperture value calculated from the light source diameter of the light unit are registered.
- step S 28 the position of each defective pixel (pixel defect) in manufacturing, which is recorded in the pixel defect position memory in advance, is compared with the position of each readout pixel data to confirm whether a pixel defect is present.
- the position of only a region determined to have a defect other than a pixel defect is registered in the dust position memory 427 .
- FIG. 5 is a view showing a data format example of dust correction data stored in the dust position memory 427 .
- lens information and information representing the position and size of dust at detection image capture time are stored as dust correction data.
- the dust correction data is added to an image together with the information of image data at image capture time and used by dust removal processing to be described later.
- an actual aperture value (F-number) and lens pupil position at detection image capture time are stored as lens information at detection image capture time.
- the number (integral value) of detected dust regions is stored in the storage area.
- individual parameters of each dust region are stored repeatedly in correspondence with the number of dust regions.
- the dust region parameters include a set of three numerical values: the radius (e.g., 2 bytes) of dust, the x-coordinate (e.g., 2 bytes) of the center of the effective image region, and the y-coordinate (e.g., 2 bytes) of the center.
- step S 27 If the dust correction data size is restricted, for example, by the capacity of the dust position memory 427 , data are preferentially stored in the chronological order of dust regions obtained in step S 27 . This is because the dust region acquisition routine in step S 27 sorts the dust regions in descending order of visibility.
- step S 27 The dust region acquisition routine in step S 27 will be described next in detail with reference to FIGS. 6 to 8 .
- readout image data is rasterized on the memory, and each predetermined block is processed.
- the image data is segmented into blocks to cope with limb darkening caused by the lens or sensor characteristic.
- Limb darkening is a phenomenon in which the brightness of the peripheral portion of a lens decreases with respect to the central portion. It is known that the limb darkening phenomenon decreases proportionally with greater aperture stop-down. However, even at such decreased aperture states, it is impossible for some lenses to accurately detect dust at the peripheral portion if the dust position is determined on the basis of a threshold value predetermined for a captured image. In order to prevent this and reduce the influence of limb darkening, image data is segmented into blocks.
- Simple block segmentation poses a problem such that if the threshold value changes between blocks, the dust detection position across the blocks becomes inaccurate.
- the blocks are overlapped, and a pixel determined to be dust in any one of the blocks included in the overlap region is handled as a dust region,
- Dust region determination in a block is done in accordance with the procedure shown in FIG. 6 .
- a maximum brightness Lmax and an average brightness Lave in the block are calculated.
- a pixel having a brightness value smaller than the threshold value is regarded as a dust pixel (step S 61 ).
- a maximum value Xmax and minimum value Xmin of the horizontal coordinates of the pixels included in the dust region and a maximum value Ymax and minimum value Ymin of the vertical coordinates are obtained.
- FIG. 8 shows the relationship between Xmax, Ymax, Xmin, Ymin, and ri.
- step S 64 the average brightness value of each dust region is calculated.
- the dust correction data size is restricted by, for example, the capacity of the dust position memory 427 .
- the pieces of dust position information are sorted on the basis of the sizes or average brightness values of the dust regions (step S 65 ). In this case, sorting is done in descending order of ri. If ri is the same, sorting is done in ascending order of average brightness values. This allows to preferentially register noticeable dust in the dust correction data. Let Di be a sorted dust region, and Ri be the radius of the dust region Di.
- a dust region larger than a predetermined size may be excluded from the sorting target and located at the end of the sorted dust region list.
- a large dust region may degrade image quality in interpolation processing later and is therefore preferably handled as a correction target with the lowest priority.
- step S 24 of FIG. 4 will be described next with reference to the flowchart in FIG. 9 .
- This processing is done by causing the microcomputer 402 to execute an image capture processing program stored in the memory 428 .
- the microcomputer 402 actuates the quick return mirror 203 shown in FIG. 3 to do so-called mirror-up in step S 201 and make the quick return mirror 203 retreat from the image capture optical path.
- step S 202 the image sensor starts storing charges.
- step S 203 the rear curtain 210 and front curtain 209 of the shutter shown in FIG. 3 are opened to execute exposure.
- step S 204 the image sensor ends charge storage.
- step S 205 the image signal is read out from the image sensor and processed by the A/D converter 423 and image processing circuit 425 .
- the resultant image data is primarily stored in the image buffer memory 424 .
- step S 206 When readout of all image signals from the image sensor is complete in step S 206 , the quick return mirror 203 is moved down in step S 207 and returned to the inclined position, thereby ending the series of image capture operations.
- step S 208 it is determined whether the operation is a normal image capture event or a dust detection image capture event. If it is a normal image capture event, the process advances to step S 209 to record, in the storage device 419 , the dust correction data shown in FIG. 5 together with the camera setting values upon image capture in association with the image data.
- data association can be attained by additionally writing the dust correction data in, for example, an Exif region serving as the header region of an image file where the camera setting values upon image capture are recorded.
- Data association may also be attained by recording the dust correction data as an independent file and recording, in the image data, only link information to the dust correction data file. However, if the image file and dust correction data file are separately recorded* the link relationship may be lost if an image file is moved. Therefore, the dust correction data is preferably held integrally with the image data.
- Dust removal processing is done not in the camera body but on a separately prepared image processing apparatus.
- FIG. 10 is a block diagram showing the schematic system configuration of the image processing apparatus.
- a CPU 1001 controls the operation of the whole system and executes, for example, a program stored in a primary storage unit 1002 .
- the primary storage unit 1002 is mainly composed of a memory, and reads programs out from a secondary storage unit 1003 and stores them.
- the secondary storage unit 1003 corresponds to, for example, a hard disk.
- the capacity of the primary storage unit is generally smaller than that of the secondary storage unit.
- the secondary storage unit stores programs and data of size beyond the capacity of the primary storage unit.
- the secondary storage unit also stores data that requires long-term storage.
- the secondary storage unit 1003 stores a program. To execute the program, the primary storage unit 1002 reads it out, and the CPU 1001 executes processing.
- An input device 1004 corresponds, for example, to not only a mouse and keyboard used for system control but also a card reader, scanner, and film scanner necessary for inputting image data.
- Examples of an output device 1005 are a monitor and a printer. This apparatus can take various forms except that described above, though a description thereof will be omitted because it is outside the scope of the present invention.
- the image processing apparatus has an operating system capable of executing a plurality of programs in parallel.
- the operator can operate a program running on this apparatus by using a Graphical User Interface (GUI).
- GUI Graphical User Interface
- FIG. 11 is a view showing an example of a GUI (Graphical User Interface) of an image editing program in the image processing apparatus.
- a window has a close button 1100 and a title bar 1101 .
- the program ends when the close button is clicked.
- a file is dragged and dropped in an image display region 1102 to designate a correction target image.
- the correction target image is determined, the file name is displayed on the title bar 1101 , and the target image is Fit-displayed in the image display region 1102 .
- Dust removal processing (to be described later) is executed by clicking on an execute button 1103 so that a processed image is displayed in the image display region 1102 .
- steps of the dust removal processing (to be described later) are executed.
- the processing ends for all dust regions the processed image is displayed in the image display region 1102 .
- the processed image is stored by clicking on a save button 1105 .
- FIG. 12 shows the procedure of dust removal processing by the image processing apparatus.
- the image processing apparatus reads out normal captured image data with dust correction data from the digital camera or the storage device 419 detached from the digital camera and stores the data in the primary storage unit 1002 or secondary storage unit 1003 (step S 90 ).
- the dust correction data added to the captured image in step S 208 is extracted from the normal captured image data (dust removal processing target) (step S 91 ).
- Ri is the size of dust at the coordinates Di calculated in step S 65 of FIG. 6 .
- an aperture value f 2 and a lens pupil position L 2 upon normal image capturing are acquired.
- Di is converted using the following expression, where d is the distance from the image center to the coordinates Di, H is the distance between the dust and the surface of the image sensor 418 .
- the unit is “pixels”, and “+3” for Ri′ is the margin amount.
- step S 95 dust in the region represented by the coordinates Di′ and radius Ri′ is detected, and interpolation processing is applied as needed. The interpolation processing will be described later in detail.
- step S 96 it is determined whether dust removal processing is applied to all coordinates. If the processing is complete for all coordinates, the processing ends. Otherwise, the process returns to step S 95 .
- FIG. 13 is a flowchart showing the procedure of the interpolation routine.
- dust region determination is performed.
- a dust region is a region that satisfies all of the following conditions.
- a region having a brightness value smaller than a threshold value T 2 which is obtained using T 2 Y ave ⁇ 0.6 +Y max ⁇ 0.4
- Yave is the average brightness
- Ymax is the maximum brightness of pixels included in a region represented by the central coordinates Di′ and radius Ri′ (Di′ and Ri′ obtained by equation (1)) calculated in step S 94 of FIG. 12 .
- a region whose radius value is calculated in accordance with the same procedure as in step S 63 of FIG. 6 is 11 (inclusive) to 12 (exclusive) in an isolated region including low-brightness pixels selected by (1).
- 11 is three pixels, and 12 is 30 pixels. This allows handling of only an isolated, small region as a dust region. If it is impossible to accurately acquire the lens pupil position, condition (4) may appropriately be modified. For example, a region of interest, which includes coordinates within the range of ⁇ 3 pixels in the X and Y directions from the coordinates Di, may be determined as a dust region.
- step S 1202 the process advances to step S 1203 to execute dust region interpolation. If no region exists, the processing ends.
- the dust region interpolation processing in step S 1203 is executed by a known defective region interpolation method.
- An example of the known defective region interpolation method is pattern replacement, disclosed in Japanese Patent Laid-Open No. 2001-223894.
- the method of Japanese Patent Laid-Open No. 2001-223894 specifies a defective region by using infrared light.
- the dust region detected in step S 1201 is handled as a defective region, and pattern replacement is executed to interpolate the dust region using normal pixels in the neighborhood. For a pixel that is not obtained by pattern replacement, p normal pixels are selected in ascending order of distance from the interpolation target pixel in the image data after pattern replacement, and interpolation is executed using the average color of the pixels.
- dust correction data is attached to image data, the user need not be aware of the correspondence between dust correction image data and captured image data. Since the dust correction data containing the position, size, and conversion data (aperture value and distance information of the lens pupil position) is compact, the captured image data size can be prevented from increasing excessively. It is also possible to greatly reduce the detection error probability by interpolating only a region including pixels designated by the dust detection processing.
- the separately prepared image processing apparatus executes dust removal processing.
- a method of causing the camera body to execute dust removal processing will be described.
- a digital camera according to the second embodiment has the same arrangement as in the first embodiment, and a description thereof will be omitted. Only operations different from the first embodiment will be described.
- the dust removal routine of the digital camera executes the same processing as in the flowchart of FIG. 12 . This processing is done by causing a microcomputer 402 to execute a dust removal processing program stored in a memory 428 .
- the microcomputer 402 loads, to an image processing circuit 425 , data corresponding to each pixel of a captured image stored in an image buffer memory 424 .
- the image processing circuit 425 executes the processing shown in FIG. 12 to interpolate dust pixels.
- the interpolation processing result is recorded in a storage device 419 as a new image file.
- FIG. 12 The processing in FIG. 12 has already been explained in detail in the first embodiment, and a description thereof will be omitted here.
- the user can properly remove dust without being aware of the correspondence between dust detection image data and normal captured image data. It is also possible to attach data without greatly increasing the image data file size even when embedding dust correction data in an image.
- a storage medium (or recording medium), which records software program codes to implement the functions of the above-described embodiments, is supplied to a system or apparatus.
- the computer or CPU or MPU
- the computer or CPU or MPU
- the program codes read out from the storage medium themselves implement the functions of the above-described embodiments.
- the functions of the above-described embodiments are implemented not only by causing the computer to execute readout of the program codes.
- the present invention can also be embodied in the following arrangement.
- the operating system (OS) running on the computer wholly or partially executes actual processing on the basis of the instructions of the program codes, thereby implementing the functions of the above-described embodiments.
- the present invention can also be embodied in the following arrangement.
- the program codes read out from the storage medium are written in the memory of a function expansion card inserted into the computer or a function expansion unit connected to the computer.
- the CPU of the function expansion card or function expansion unit wholly or partially executes actual processing on the basis of the instructions of the program codes, thereby implementing the functions of the above-described embodiments.
- a storage medium that embodies the present invention is applied stores program codes corresponding to the above-described procedures.
Abstract
Description
T1=Lave×0.6+Lmax×0.4
ri=√[{(Xmax−Xmin)/2}2+{(Ymax−Ymin)/2}2]
Di′(x,y)=(L2×(L1−H)×d/((L2−H)×L1))×Di(x,y)
Ri=(Ri×f1/f2+3) (1)
T2=Yave×0.6+Ymax×0.4
where Yave is the average brightness, and Ymax is the maximum brightness of pixels included in a region represented by the central coordinates Di′ and radius Ri′ (Di′ and Ri′ obtained by equation (1)) calculated in step S94 of
Claims (5)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006-005397 | 2006-01-12 | ||
JP2006005397A JP4590355B2 (en) | 2006-01-12 | 2006-01-12 | Image processing apparatus, image processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
US20070159539A1 US20070159539A1 (en) | 2007-07-12 |
US8089536B2 true US8089536B2 (en) | 2012-01-03 |
Family
ID=37888137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/622,071 Expired - Fee Related US8089536B2 (en) | 2006-01-12 | 2007-01-11 | Image processing apparatus, image processing method, and program |
Country Status (4)
Country | Link |
---|---|
US (1) | US8089536B2 (en) |
EP (1) | EP1809020A3 (en) |
JP (1) | JP4590355B2 (en) |
CN (1) | CN101001319B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100053357A1 (en) * | 2008-08-29 | 2010-03-04 | Canon Kabushiki Kaisha | Image processing apparatus, control method therefor, and program |
US20100074597A1 (en) * | 2008-09-24 | 2010-03-25 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
US20100283888A1 (en) * | 2007-06-15 | 2010-11-11 | Iee International Electronics & Engineering S.A. | Method for contamination detection in a tof range camera |
US20100302416A1 (en) * | 2009-05-27 | 2010-12-02 | Manabu Kawashima | Image processing apparatus, imaging apparatus, and image processing method |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5046769B2 (en) * | 2007-07-24 | 2012-10-10 | キヤノン株式会社 | Imaging apparatus, control method thereof, and program |
JP4960852B2 (en) * | 2007-12-19 | 2012-06-27 | キヤノン株式会社 | Image processing apparatus, control method thereof, interchangeable lens single-lens reflex digital camera, and program |
JP4951540B2 (en) * | 2008-01-23 | 2012-06-13 | ペンタックスリコーイメージング株式会社 | Dust detection device and digital camera |
TWI382745B (en) * | 2008-03-21 | 2013-01-11 | Hon Hai Prec Ind Co Ltd | Image capturing device and setting unit and method for gaining tables thereof |
JP5086879B2 (en) | 2008-04-21 | 2012-11-28 | キヤノン株式会社 | Image processing apparatus, control method therefor, and program |
JP5012673B2 (en) * | 2008-06-03 | 2012-08-29 | ソニー株式会社 | Display device |
US8593537B2 (en) | 2008-06-05 | 2013-11-26 | Canon Kabushiki Kaisha | Image sensing apparatus, control method thereof, and program for suppressing image deterioration caused by foreign substance |
JP5241348B2 (en) * | 2008-07-03 | 2013-07-17 | キヤノン株式会社 | Imaging apparatus, control method thereof, and program |
JP5014262B2 (en) * | 2008-06-05 | 2012-08-29 | キヤノン株式会社 | Imaging apparatus, control method thereof, and program |
JP2010178258A (en) * | 2009-02-02 | 2010-08-12 | Nikon Corp | Image processing program, image processing apparatus, and camera |
JP5499588B2 (en) * | 2009-09-14 | 2014-05-21 | 日本電気株式会社 | Imaging apparatus and image processing method thereof |
US8878964B2 (en) * | 2011-02-15 | 2014-11-04 | Canon Kabushiki Kaisha | Image capture apparatus |
CN106973291A (en) * | 2017-06-01 | 2017-07-21 | 信利光电股份有限公司 | A kind of camera module, electronic equipment, stain restorative procedure and system |
CN109884727B (en) * | 2019-03-15 | 2022-03-04 | Oppo广东移动通信有限公司 | Foreign matter detection method, foreign matter detection device, and electronic apparatus |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001223894A (en) | 2000-02-14 | 2001-08-17 | Canon Inc | Picture processor, picture processing method and storage medium |
US20020093577A1 (en) * | 2001-01-12 | 2002-07-18 | Reiko Kitawaki | Digital camera and method of controlling operation of same |
US20040021779A1 (en) | 2002-07-30 | 2004-02-05 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, recording medium thereof, and program thereof |
US20040041926A1 (en) | 2002-08-30 | 2004-03-04 | Konica Corporation | Image-capturing apparatus, imager processing apparatus and image recording apparatus |
GB2395781A (en) | 2002-11-29 | 2004-06-02 | Sony Uk Ltd | Face detection |
JP2004193729A (en) | 2002-12-09 | 2004-07-08 | Fuji Photo Film Co Ltd | Image-recorded recording medium, method of recording image file, and digital camera |
JP2004222231A (en) | 2002-12-27 | 2004-08-05 | Nikon Corp | Image processing apparatus and image processing program |
US20050068452A1 (en) | 2003-09-30 | 2005-03-31 | Eran Steinberg | Digital camera with built-in lens calibration table |
US7295233B2 (en) * | 2003-09-30 | 2007-11-13 | Fotonation Vision Limited | Detection and removal of blemishes in digital images utilizing original images of defocused scenes |
US7853097B2 (en) * | 2002-12-27 | 2010-12-14 | Nikon Corporation | Image processing apparatus and image processing program |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4410175A1 (en) * | 1994-03-24 | 1995-09-28 | Sel Alcatel Ag | Method and circuit arrangement for the access of cordless terminals to a telecommunication system |
US5887256A (en) * | 1995-05-04 | 1999-03-23 | Interwave Communications International, Ltd. | Hybrid cellular communication apparatus and method |
US6330244B1 (en) * | 1996-09-05 | 2001-12-11 | Jerome Swartz | System for digital radio communication between a wireless lan and a PBX |
US6665718B1 (en) * | 1997-10-14 | 2003-12-16 | Lucent Technologies Inc. | Mobility management system |
US6651105B1 (en) * | 1998-11-12 | 2003-11-18 | International Business Machines Corporation | Method for seamless networking support for mobile devices using serial communications |
US6751417B1 (en) * | 1999-02-17 | 2004-06-15 | At&T Corp. | Fiber and wire communication system |
US6847620B1 (en) * | 1999-05-13 | 2005-01-25 | Intermec Ip Corp. | Mobile virtual LAN |
US6466964B1 (en) * | 1999-06-15 | 2002-10-15 | Cisco Technology, Inc. | Methods and apparatus for providing mobility of a node that does not support mobility |
EP1085773A1 (en) * | 1999-09-20 | 2001-03-21 | Nortel Matra Cellular | Mobile telecommunications network with distributed base stations |
US6554447B1 (en) * | 2000-04-14 | 2003-04-29 | S. C. Johnson & Son, Inc. | Candle product decorated with heat-shrinkable film and related method |
US6920125B1 (en) * | 2000-10-27 | 2005-07-19 | Nortel Network Limited | IP adaptation layer on backhaul connection of cellular network |
JP4207555B2 (en) * | 2002-12-16 | 2009-01-14 | 株式会社ニコン | Electronic camera |
US7676110B2 (en) * | 2003-09-30 | 2010-03-09 | Fotonation Vision Limited | Determination of need to service a camera based on detection of blemishes in digital images |
-
2006
- 2006-01-12 JP JP2006005397A patent/JP4590355B2/en not_active Expired - Fee Related
-
2007
- 2007-01-11 US US11/622,071 patent/US8089536B2/en not_active Expired - Fee Related
- 2007-01-11 EP EP07100434A patent/EP1809020A3/en not_active Withdrawn
- 2007-01-12 CN CN2007100005804A patent/CN101001319B/en not_active Expired - Fee Related
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001223894A (en) | 2000-02-14 | 2001-08-17 | Canon Inc | Picture processor, picture processing method and storage medium |
US20020093577A1 (en) * | 2001-01-12 | 2002-07-18 | Reiko Kitawaki | Digital camera and method of controlling operation of same |
US6940550B2 (en) * | 2001-01-12 | 2005-09-06 | Fuji Photo Film Co., Ltd. | Digital camera and a method for correcting dust images in the camera |
JP2004062651A (en) | 2002-07-30 | 2004-02-26 | Canon Inc | Image processor, image processing method, its recording medium and its program |
US20040021779A1 (en) | 2002-07-30 | 2004-02-05 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, recording medium thereof, and program thereof |
US7358994B2 (en) | 2002-07-30 | 2008-04-15 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, recording medium thereof, and program thereof |
US20040041926A1 (en) | 2002-08-30 | 2004-03-04 | Konica Corporation | Image-capturing apparatus, imager processing apparatus and image recording apparatus |
GB2395781A (en) | 2002-11-29 | 2004-06-02 | Sony Uk Ltd | Face detection |
JP2004193729A (en) | 2002-12-09 | 2004-07-08 | Fuji Photo Film Co Ltd | Image-recorded recording medium, method of recording image file, and digital camera |
JP2004222231A (en) | 2002-12-27 | 2004-08-05 | Nikon Corp | Image processing apparatus and image processing program |
US7853097B2 (en) * | 2002-12-27 | 2010-12-14 | Nikon Corporation | Image processing apparatus and image processing program |
US20050068452A1 (en) | 2003-09-30 | 2005-03-31 | Eran Steinberg | Digital camera with built-in lens calibration table |
US7295233B2 (en) * | 2003-09-30 | 2007-11-13 | Fotonation Vision Limited | Detection and removal of blemishes in digital images utilizing original images of defocused scenes |
US7590305B2 (en) * | 2003-09-30 | 2009-09-15 | Fotonation Vision Limited | Digital camera with built-in lens calibration table |
Non-Patent Citations (5)
Title |
---|
The above reference was cited in a Jan. 15, 2010 Chinese Office Action, which is not enclosed, that issued in Chinese Patent Application No. 200710000579.1, which is a counterpart application of the related U.S. Appl. No. 11/622,087. |
The above reference was cited in a May 26, 2010 U.S. Office Action issued in related U.S. Appl. No. 11/622,087. |
The above reference was cited in a Oct. 29, 2009 US Office Action that issued in related U.S. Appl. No. 11/622,087. |
The above references was cited in a European Search Report issued on Aug. 31, 2011, that issued in related European Patent Application No. 07100433.7. |
The above references were cited in a European Search Report issued on Mar. 2, 2011, that issued in the corresponding European Patent Application No. 07100434.5. |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100283888A1 (en) * | 2007-06-15 | 2010-11-11 | Iee International Electronics & Engineering S.A. | Method for contamination detection in a tof range camera |
US9025071B2 (en) * | 2007-06-15 | 2015-05-05 | Iee International Electronics & Engineering S.A. | Method for contamination detection in a TOF range camera |
US20100053357A1 (en) * | 2008-08-29 | 2010-03-04 | Canon Kabushiki Kaisha | Image processing apparatus, control method therefor, and program |
US8237815B2 (en) * | 2008-08-29 | 2012-08-07 | Canon Kabushiki Kaisha | Image processing apparatus, control method therefor, for suppressing deterioration of image quality caused by a foreign substance |
US20100074597A1 (en) * | 2008-09-24 | 2010-03-25 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
US8405745B2 (en) * | 2008-09-24 | 2013-03-26 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
US20100302416A1 (en) * | 2009-05-27 | 2010-12-02 | Manabu Kawashima | Image processing apparatus, imaging apparatus, and image processing method |
US8253829B2 (en) * | 2009-05-27 | 2012-08-28 | Sony Corporation | Image processing apparatus, imaging apparatus, and image processing method |
Also Published As
Publication number | Publication date |
---|---|
JP2007189467A (en) | 2007-07-26 |
EP1809020A3 (en) | 2011-03-30 |
CN101001319B (en) | 2012-12-05 |
JP4590355B2 (en) | 2010-12-01 |
US20070159539A1 (en) | 2007-07-12 |
EP1809020A2 (en) | 2007-07-18 |
CN101001319A (en) | 2007-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8089536B2 (en) | Image processing apparatus, image processing method, and program | |
US8711241B2 (en) | Image capturing apparatus, control method thereof, and program | |
US7991241B2 (en) | Image processing apparatus, control method therefor, and program | |
US8208752B2 (en) | Image processing apparatus, control method therefor, program, storage medium, and image capturing apparatus | |
US7619666B2 (en) | Image processing apparatus, control method therefor, and program correcting image data based on foreign substance information and inhibiting such correction | |
US8238690B2 (en) | Image processing apparatus, control method therefor, and program | |
US7990419B2 (en) | Image processing apparatus, method, and program storing a correction or modification log | |
US8576306B2 (en) | Image sensing apparatus, image processing apparatus, control method, and computer-readable medium | |
JP4960852B2 (en) | Image processing apparatus, control method thereof, interchangeable lens single-lens reflex digital camera, and program | |
JP2010098698A (en) | Imaging apparatus, control method thereof and program | |
JP4827778B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
JP2008244868A (en) | Imaging apparatus, and control method, program and storage medium thereof | |
JP5094571B2 (en) | Imaging apparatus, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: CANON KABUSHIKI KAISHA, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:KOTANI, TAKUYA;REEL/FRAME:018745/0754 Effective date: 20070105 |
|
ZAAA | Notice of allowance and fees due |
Free format text: ORIGINAL CODE: NOA |
|
ZAAB | Notice of allowance mailed |
Free format text: ORIGINAL CODE: MN/=. |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20240103 |