WO2012133228A1 - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
WO2012133228A1
WO2012133228A1 PCT/JP2012/057604 JP2012057604W WO2012133228A1 WO 2012133228 A1 WO2012133228 A1 WO 2012133228A1 JP 2012057604 W JP2012057604 W JP 2012057604W WO 2012133228 A1 WO2012133228 A1 WO 2012133228A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
foreign object
object shadow
processing apparatus
captured image
Prior art date
Application number
PCT/JP2012/057604
Other languages
French (fr)
Japanese (ja)
Inventor
豪 松本
Original Assignee
株式会社ニコン
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2011078117A external-priority patent/JP2012213075A/en
Priority claimed from JP2011084573A external-priority patent/JP2012222509A/en
Application filed by 株式会社ニコン filed Critical 株式会社ニコン
Publication of WO2012133228A1 publication Critical patent/WO2012133228A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/409Edge or detail enhancement; Noise or error suppression
    • H04N1/4097Removing errors due external factors, e.g. dust, scratches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • H04N23/811Camera 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

Definitions

  • the present invention relates to an image processing apparatus and an image processing program.
  • Patent Document 1 a technique is known in which a foreign object is detected from a change in transmittance (change in luminance information in each pixel) due to a foreign object shadow in an image to be corrected, and correction for deleting the foreign object shadow is performed (see Patent Document 1).
  • the above prior art needs to capture a reference image in which foreign matter is reflected.
  • the coordinates of the foreign substance position may differ between the captured image and the reference image.
  • An object of the present invention is to provide an image processing apparatus and an image processing program that can more easily detect foreign matter in a captured image.
  • the position selection unit capable of selecting a specific position in the first photographed image, and a constant including the position selected by the position selection unit in the first photographed image.
  • a range determining unit for determining a range; an image selecting unit for selecting a second captured image different from the first captured image; and the predetermined range of the first captured image in the second captured image
  • a foreign object shadow information acquisition unit that acquires foreign object shadow information that has moved into the second captured image from a corresponding range corresponding to the image processing apparatus.
  • the image selection unit may select an image shot under shooting conditions close to the shooting conditions of the first shot image as the second shot image.
  • the imaging condition is that the camera body is the same as the camera body that captured the first captured image, and at least one of an aperture value, an imaging distance, a lens, a focal length, and an imaging time. May be the same.
  • the foreign object shadow information acquisition unit may acquire the foreign object shadow information using luminance information.
  • the image selection unit has the foreign object shadow information in the corresponding range when the second captured image has the same file type as the first captured image, and You may select the image whose brightness
  • the image selection unit has the foreign object shadow information in the corresponding range when the second captured image has the same file type as the first captured image, and An image whose hue around the range is the same as or closest to the first photographed elephant image may be selected.
  • the image selection unit selects, as the second captured image, an image having the foreign object shadow information in the corresponding range and having the smallest standard deviation of luminance around the corresponding range. May be.
  • the image selection unit may create data for correcting the first photographed image from a brightness profile averaged over the corresponding range in the second photographed image.
  • the image selection unit may select a photographed image other than the first photographed image with a different shutter speed as the second photographed image.
  • the image processing apparatus may include an image correction unit.
  • the second photographed image for selecting the second photographed image for acquiring the foreign object shadow information from the stored photographed image based on the photographing condition of the first photographed image to be corrected.
  • the selection unit extracts a foreign object shadow candidate that may be a foreign object shadow from among the shadows reflected in the captured image, and for each captured image, coordinates of the position where the foreign object shadow candidate exists and the coordinates
  • the foreign object shadow information acquisition unit that acquires the luminance reduction amount of the foreign object shadow candidate part, the coordinates of the position where the foreign object shadow candidate exists in the second captured image, and the foreign object shadow acquired by the foreign object shadow information acquisition unit
  • an image processing apparatus comprising: a correction unit that corrects the first captured image based on a luminance decrease amount of a candidate portion.
  • the second photographed image for selecting the second photographed image for acquiring the foreign object shadow information from the stored photographed image based on the photographing condition of the first photographed image to be corrected extracts a foreign object shadow candidate that may be a foreign object shadow from among the shadows reflected in the captured image, and for each captured image, coordinates of the position where the foreign object shadow candidate exists and the coordinates
  • a foreign object shadow information acquisition unit that acquires a luminance decrease amount of a part of the foreign object shadow candidate, and adopts the foreign object shadow candidate as a foreign object shadow, and the coordinates of the foreign object shadow candidate acquired by the foreign object shadow information acquisition unit are
  • An image processing apparatus comprising: a display unit configured to display a first photographed image.
  • the second photographed image selection unit may select an image photographed under photographing conditions close to the photographing condition of the first photographed image as the second photographed image.
  • 2nd aspect or 3rd aspect WHEREIN The said imaging conditions are the camera body same as the camera body which image
  • the standard deviation of the peripheral brightness of the foreign object shadow candidate in the second photographed image is a threshold value or more, the foreign object shadow candidate is not adopted as the foreign object shadow.
  • the foreign object shadow candidate when the standard deviation of a certain range including the position of coordinates corresponding to the foreign object shadow candidate in the first photographed image is equal to or smaller than a threshold value, the foreign object shadow candidate is determined as the foreign object shadow.
  • the image processing apparatus is characterized in that it is not employed.
  • the second photographed image selection unit there are a plurality of second photographed images selected by the second photographed image selection unit, and foreign object shadow candidates existing at the same coordinate positions are derived from the plurality of second photographed images. If selected, a certain range of hues including the foreign object shadow candidate and a certain range of hues including the portion corresponding to the position of the coordinate in the first captured image are the closest foreign object shadow candidates of the second captured image. Is used as a foreign object shadow.
  • the selection unit that selects the second captured image, and the foreign object information that is information regarding the foreign object shadow from the second captured image are acquired.
  • a position selection unit capable of selecting a specific position in the first photographed image, a range determination unit for determining a certain range including the position selected by the position selection unit, An image selection unit that selects a second captured image different from the one captured image, and a foreign object shadow information acquisition unit that acquires foreign object shadow information from a corresponding range corresponding to the certain range in the second captured image.
  • the sixth aspect of the present invention provides an image processing program for causing a computer to execute the function of the image processing apparatus of the above aspect.
  • FIG. 1 is a block diagram illustrating a personal computer and peripheral devices that constitute a camera and an image processing apparatus.
  • 1 is a functional block diagram of an image processing apparatus that performs an image defect correction process according to a first embodiment.
  • FIG. 3 is a functional block diagram of a defect determination unit in the image processing apparatus according to the first embodiment. It is a flowchart explaining the flow of the foreign matter shadow information detection by the image processing apparatus of 1st Embodiment, and the correction process of an image. It is an example of the 1st picked-up image displayed on the monitor in 1st Embodiment and 2nd Embodiment.
  • FIG. 1 is a diagram illustrating a configuration of a lens-interchangeable camera 1.
  • FIG. 2 is a block diagram showing a personal computer (PC) 30 and peripheral devices constituting the camera 1 and the image processing apparatus.
  • the camera 1 is an electronic still camera that outputs image data obtained by converting a subject image into an electrical signal.
  • image data captured by the camera 1 is acquired by a PC 30 functioning as an image processing apparatus, and foreign object shadow detection and correction processing described later is performed.
  • the camera 1 includes a camera body 2 and an imaging lens 3 that can be attached to and detached from the camera body 2.
  • the imaging lens 3 includes an imaging optical system 3L having a plurality of optical lens groups (shown as one lens in FIG. 1).
  • the camera body 2 includes a shutter 11, an optical filter 12, an image sensor 13, an image processing unit 14, an operation unit 15, a display unit 16, a memory card interface (hereinafter referred to as “memory card IF”) 17, an external interface (hereinafter referred to as “memory card IF”). , “External IF”) 18, a power source (not shown), a control unit 20 and the like.
  • the shutter 11 adjusts the exposure time by shielding and passing photographing light from the imaging optical system 3L toward the image sensor 13.
  • the optical filter 12 is configured by an optical low-pass filter or the like that prevents generation of false colors (color moire) or the like during imaging.
  • reference numeral 4 in FIG. 1 indicates foreign matters such as dust and dirt attached to the surface of the optical filter 12. If the foreign matter 4 is attached to the optical filter 12 that is on the optical path of the photographing light and transmits the photographing light, pixels that are affected by the foreign matter shadow in the image data acquired by the image sensor 13. May be included.
  • the imaging element 13 is a photoelectric conversion element such as a CCD or CMOS, and has a rectangular imaging area composed of a plurality of pixels.
  • the image sensor 13 converts the image formed on the image plane into an electrical signal and outputs an image signal (imaging signal) corresponding to the subject image.
  • the image signal output from the image sensor 13 is A / D converted and input to the image processing unit 14 after predetermined analog signal processing.
  • the image processing unit 14 performs image processing such as interpolation, gradation conversion, and edge enhancement on the image data input from the image sensor 13.
  • the operation unit 15 includes a release button for inputting a signal for determining a shooting timing by the photographer, a selection button for mode switching, and the like. And the operation part 15 inputs those operation information into a control part.
  • the display unit 16 is configured by an LCD or the like, and displays various setting menus in the camera 1, a reproduced image based on an image captured by the image sensor 13 and image data stored in a memory card.
  • the memory card IF 17 serves as an interface with a memory card (card-like removable memory) 40.
  • the external IF 18 serves as an interface with an external device such as the PC 30 via a predetermined cable or a wireless transmission path.
  • the power supply supplies power to each functional unit of the camera 1.
  • the control unit 20 controls each functional unit in the camera 1 in an integrated manner. That is, when a shooting instruction signal is input from the release switch in the operation unit 15, the control unit 20 controls the driving of the shutter 11 to control a shooting operation such as an exposure operation. Further, the control unit 20 stores the image data acquired by the image sensor 13 and subjected to image processing by the image processing unit 14 in a memory card 40 or the like that is detachably attached to the memory card IF 17. ,save. Further, the control unit 20 calls the image data stored in the memory card 40 or the like and causes the display unit 16 to display the image data.
  • the camera 1 configured as described above is controlled by the control unit 20 at the time of shooting and operates as follows.
  • the release button of the operation unit 15 is pressed by the operator, the shutter 11 is opened for a predetermined time.
  • the imaging device 13 generates an image signal corresponding to the optical image formed in the imaging region by the imaging optical system 3L.
  • the image signal generated by the image sensor 13 is input as image data to the image processing unit 14 and is subjected to predetermined image processing by the image processing unit 14.
  • the captured image is displayed on the display unit 16 based on the image data processed by the image processing unit 14, and the image data is subjected to compression processing by JPEG, RAW, or the like as necessary, and is stored in the memory card IF 17.
  • image data is sent to a PC 30 (described later) connected via the external IF 18.
  • the image data stored / saved in the memory card 40 or transmitted to the PC 30 via the external IF 18 is recorded in, for example, an Exif (EXchange Image File format) file.
  • Exif EXchange Image File format
  • additional information such as the camera body 2 type, camera manufacturer name, imaging pixel information, aperture value (F value) and exposure conditions such as focus, shutter speed and exposure correction, shooting time, and shooting distance are recorded together. Is done.
  • the personal computer (PC) 30 serves as an interface with an external device such as the camera 1 via a memory card IF, a cable, or a wireless transmission path that serves as an interface with the CPU, memory, hard disk, and memory card 40. External IF etc. are provided.
  • the PC 30 is connected to a monitor 31, a printer 32, and the like as an image display unit, and the user arbitrarily selects a specific position where a foreign object such as a foreign object shadow appears in a captured image displayed on the monitor 31.
  • a mouse 34 is connected as a selection unit to be indicated.
  • the CD-ROM 33 connected to the PC 30 is preinstalled with an application program for detecting a foreign object such as a foreign object shadow and correcting the image based on information of the detected foreign object.
  • the foreign object shadow information detection / correction processing is performed by the PC 30 on the image data after completion of image processing provided via the memory card 30 or transmitted from the external interface 18 of the camera 1.
  • the foreign object shadow information detection and image correction processing application program is installed in the PC 30, and the PC 30 executes the program to perform foreign object shadow information detection and image correction processing. It functions as the device 50.
  • FIG. 3 is a functional block diagram of the image processing apparatus 50 that performs foreign object shadow information detection / correction processing.
  • FIG. 4 is a functional block diagram of the foreign object shadow information detection unit 60 in the image processing apparatus 50.
  • the image processing apparatus 50 functioning by the PC 30 and the program is based on the foreign object shadow information detection unit 60 that detects foreign object shadow information and the foreign object shadow information detected by the foreign object shadow information detection unit 60.
  • a correction unit 56 that corrects the foreign object shadow caused by the foreign object.
  • the foreign object shadow information detection unit 60 includes a range determination unit 61, an image selection unit 62, and a foreign object shadow information acquisition unit 63.
  • the foreign object shadow information acquisition unit 63 further includes a connected region determination unit 64, a target region extraction unit 65, and a luminance determination unit 66.
  • FIG. 5 is a flowchart for explaining the flow of foreign object shadow information detection and image correction processing in the image processing apparatus 50.
  • the flow of foreign object shadow information detection and image correction processing in the image processing apparatus 50 will be described with reference to the flowchart of FIG. In FIG. 5 and the following description, the step is also abbreviated as “S”.
  • step S01 the PC 30 including the image processing device 50 reads data of the first captured image G1 (correction target) input via the memory card 40 or the external interface 18 of the camera 1. .
  • step S02 the read first photographed image G1 is displayed on the monitor 31.
  • FIG. 6 shows an example of the first captured image G1 displayed on the monitor 31.
  • a foreign object shadow 4A in a portion surrounded by trees.
  • Such a foreign object shadow is caused by, for example, a foreign substance (foreign substance 4) (see FIG. 1) attached to the front surface of the optical filter 12.
  • the user can recognize the foreign object shadow part, but the luminance gradient of the foreign object shadow 4A and the luminance gradient of the trees overlap, and it may be difficult to detect the foreign object shadow 4A information from the luminance gradient. is there.
  • step S03 when the user clicks the position of the foreign object shadow 4A of the first captured image G1 displayed on the monitor 31 with the mouse 34, the range determination unit 61 centers the click position with the mouse 34.
  • a detection range E1 having a predetermined size including the foreign object shadow and its periphery is determined.
  • the detection range E1 may be defined in advance, or the user may be able to set an arbitrary size by moving the mouse 34.
  • step S ⁇ b> 04 the image selection unit 62 selects a second image that has the same or substantially the same image capturing condition as the first captured image G ⁇ b> 1 among the plurality of second captured images stored in the database 36 of the storage unit 35. Search and select image G2.
  • the determination of the identity of the shooting conditions is performed based on shooting information represented by the Exif information of the first shot image G1 and the second shot image G2.
  • the criterion is that the camera body (camera type) 2, aperture value (F value), focal length, shooting time, lens, shooting distance, etc. in the shooting information such as Exif information are the same.
  • the camera body 2 is the same.
  • the foreign matter attached to the optical filter 12 disposed in the camera body 2 moves to the same position as a shadow. This is because the foreign object shadow is corrected by using the.
  • At least one of the other shooting conditions, in particular, the aperture values preferably match, and the shooting distance, the focal length, the shooting time, and the like are more preferably the same. More preferably, all conditions are met.
  • One or more or a plurality of second captured images G2 selected by the image selection unit 62 are selected according to the selection condition. If no image is selected, a warning message such as “zero selected number” may be displayed on the monitor 31.
  • 7A and 7B show a case where a plurality of second photographed images G2 are selected by the image selection unit 62, and are diagrams showing the plurality of images G2 (1) and G2 (2), respectively.
  • step S05 the foreign object shadow information acquisition unit 63 specifies a corresponding range E2 corresponding to a predetermined detection range E1 in the first captured image G1 among the plurality of selected second captured images G2. .
  • step S06 the connected region determination unit 64 obtains a luminance plane from the image data of each RGB pixel that forms an image in the corresponding range E2, applies inverse gamma correction to the luminance plane, and linearizes the input / output relationship. return. Then, a luminance gradient plane is generated from the luminance plane after inverse gamma correction.
  • a high pixel value is shown at the peripheral part of the foreign object shadow, and a low pixel value is shown in a uniform plane such as the sky. That is, a high pixel value is shown in the edge portion, and thereby the edge portion of the foreign object shadow can be detected.
  • the connected area determination unit 64 sets a predetermined threshold value and converts the luminance gradient plane into a binary image. That is, a pixel having a luminance gradient value higher than the threshold is replaced with “1”, and a pixel having a brightness gradient value lower than the threshold is replaced with “0”.
  • the connected area determination unit 64 extracts an area (connected pixel area) in which “1” pixels are connected from the binary image thus obtained.
  • the connected pixel region is, for example, a pixel region that is continuous (near 4) on at least one of four sides of a rectangular pixel. This connected pixel region is a region that may have a foreign object shadow.
  • the target region extraction unit 65 extracts a correction candidate region from the connected pixel regions extracted by the connected region determination unit 64 based on the size (large or small) of the foreign object shadow.
  • the determination of the size of the foreign object shadow in the target area extraction unit 65 is defined by the number of pixels.
  • the target area extraction unit 65 uses the absolute size of the foreign object shadow as a reference when extracting the correction candidate area from the connected pixel area.
  • the detection target is a size of a minimum of 100 ⁇ m ⁇ 100 ⁇ m to a maximum of 400 ⁇ m ⁇ 400 ⁇ m.
  • the target area extraction unit 65 uses the area represented by the number of pixels of the foreign object shadow as a threshold, and the size (number of pixels) of the connected pixel area extracted from the binary image in the connected area determination unit 64 is the threshold. Those included are determined as foreign object shadow candidates that can be corrected, and are selected.
  • the luminance determining unit 66 uses the luminance value described in the previous connected region determining unit 64 and the luminance plane corresponding to the image plane to compare the internal and external luminances in the connected pixel region.
  • the dust shadow has a lower internal luminance than the peripheral luminance, and the luminance ratio (internal luminance / peripheral luminance) is much smaller than one. Therefore, a predetermined threshold value with a small luminance ratio is set, and it is determined and selected as a foreign object shadow only when the luminance ratio of the connected image region is smaller than this threshold value.
  • step S11 the foreign object shadow information acquisition unit 63 acquires a gain map and foreign object position information (coordinates) in the range E2 of the second captured image G2 having a shadow determined to be a foreign object shadow.
  • the standard deviation of the luminance in the range E2 in each of the plurality of second captured images G2 is calculated. Then, a photographed image in which the variance of the standard deviation of the range E2 is equal to or less than a predetermined threshold is selected from the second photographed image G2.
  • the variance is equal to or less than the predetermined threshold value because the range E2 is a flat image, that is, an image with little variation in luminance, and foreign object shadows can be easily determined.
  • the variance is equal to or less than a predetermined value, but it may be used that the image has few edges and the histogram is uniform.
  • the gain map and foreign object position information may be obtained by averaging the gain maps of a plurality of images without narrowing down the number of images.
  • an image with the closest shooting condition may be selected.
  • a shutter with a different shutter speed may be selected.
  • the second captured image G2 may be selected by weighting the above-described conditions (luminance, hue, standard deviation) and making a comprehensive determination.
  • step S11 the correction unit 56 uses the gain map and foreign object position information (coordinates) as foreign object shadow information reflected in the second captured image G2 selected as described above. Correction is performed to correct or reduce the luminance of the foreign object shadow by correcting the captured image.
  • the correction unit 56 uses the gain map acquired from the predetermined detection range E in the second captured image G2 for the predetermined detection range E in the first captured image G1, and uses the gain map acquired from the first captured image G1.
  • Gain correction is performed by multiplying the luminance of the predetermined detection range E by the reciprocal of the luminance signal.
  • image correction is performed to reduce or eliminate a change in luminance due to a foreign object such as a foreign object shadow appearing in a predetermined detection range E in the first captured image G1.
  • the image processing apparatus 50 includes a selection unit (mouse) 34 that can arbitrarily select a specific position where a foreign object such as a foreign object is reflected in a captured image, and a fixed value including the selected position.
  • a range determination unit 61 that determines a range and an image selection unit 62 that selects a second captured image different from the captured image are provided. This eliminates the troublesome trouble of shooting a reference image in which foreign objects such as a foreign object are reflected before normal shooting. For example, the first captured image to be detected displayed on the monitor 31 is displayed.
  • the foreign object detection function can be executed by simply performing a simple operation of clicking (selecting) with a mouse 34 a specific position where a foreign object shadow is reflected.
  • the foreign object shadow information acquisition unit 63 in the image processing device 50 includes the second captured image from the range E determined by the range determination unit 61 in the second captured image close to the imaging condition selected by the image selection unit 62. Acquire foreign object shadow information reflected inside. Thereby, the foreign object shadow information which becomes a defect in the first captured image can be detected with high accuracy. Further, it is possible to appropriately correct a defect in the captured image based on the detected foreign object shadow information.
  • the foreign object shadow information in the second image selected based on the selected first captured image is acquired, and the first captured image is corrected based on the detected foreign object shadow information ( Foreign object shadow information acquisition / correction processing) is performed.
  • an application program for foreign object shadow information acquisition and image correction processing is installed in the PC 30.
  • the PC 30 executes foreign object shadow information acquisition and image correction processing. It functions as the image processing apparatus 150 to perform.
  • FIG. 8 is a functional block diagram of the image processing apparatus 150 that performs foreign object shadow information acquisition / correction processing.
  • FIG. 9 is a functional block diagram of the foreign object shadow information acquisition unit 163 in the image processing apparatus 150.
  • the image processing apparatus 150 displays a storage area 151 for storing image data provided via the memory card 30 or transmitted from the external interface 18 of the camera 1, and a captured image stored in the storage area 151.
  • a monitor 152 and a display control unit 153 for controlling the display are provided.
  • the image processing apparatus 150 selects a foreign object shadow candidate from the captured image data stored in the storage area 151, and acquires a foreign object shadow candidate coordinate and a luminance decrease amount of the foreign object shadow candidate part. 163, a first captured image selection unit 154 that can select an image to be corrected via the mouse 34 and the like, and a second captured image is selected from the storage area 151 based on the selected first captured image. A second captured image selection unit 155, and a correction unit 156 that corrects a corresponding portion in the first captured image based on the foreign object shadow information detected by the foreign object shadow information acquisition unit 163 in the second captured image. ing.
  • the foreign object shadow information acquisition unit 163 includes a connected region determination unit 164, a target region extraction unit 165, and a luminance determination unit 166.
  • the foreign object shadow information acquisition unit 163 is the same as the foreign object shadow information acquisition unit 63 of the first embodiment.
  • a captured image is input to the storage area 151 of the image processing apparatus 150 via the memory card 40 or the external interface 18 of the camera 1. Then, the foreign object shadow information acquisition unit 163 of the image processing apparatus 150 acquires foreign object shadow information from the captured image input to the storage area 151.
  • the foreign object shadow information includes the coordinates of the position where the foreign object shadow exists, the brightness reduction amount (gain map) of the part of the foreign object shadow, and the like. This foreign object shadow information acquisition may be automatically performed when the image is transferred to the storage area, or may be started by the operation of the operator.
  • FIG. 10 is a flowchart for explaining the flow of foreign object shadow information acquisition in the foreign object shadow information acquisition unit 163.
  • the step is also abbreviated as “S”.
  • the acquisition of foreign object shadow information in the following flowchart is the same as steps S06 to S10 in the first embodiment.
  • the connected region determination unit 164 obtains a luminance plane of image data of each pixel by RGB forming an image, performs inverse gamma correction on the brightness plane, and returns the input / output relationship to linear. Then, a luminance gradient plane is generated from the luminance plane after inverse gamma correction.
  • a high pixel value is shown at the peripheral part of the foreign object shadow, and a low pixel value is shown in a uniform plane such as the sky. That is, a high pixel value is shown in the edge portion, and thereby the edge portion of the foreign object shadow can be detected.
  • the connected area determination unit 164 sets a predetermined threshold value and converts the luminance gradient plane into a binary image. That is, a pixel having a luminance gradient value higher than the threshold is replaced with “1”, and a pixel having a luminance gradient value lower than the threshold is replaced with “0”.
  • the connected region determination unit 164 extracts a region (connected pixel region) in which the pixels “1” are connected from the binary image thus obtained.
  • the connected pixel region is, for example, a pixel region that is continuous (near 4) on at least one of four sides of a rectangular pixel. This connected pixel region is a region that may have a foreign object shadow.
  • step S ⁇ b> 53 the target area extraction unit 165 extracts a correction candidate area from the connected pixel areas extracted by the connected area determination unit 164 based on the size (large or small) of the foreign object shadow.
  • the determination of the size of the foreign object shadow in the target area extraction unit 165 is defined by the number of pixels.
  • the target area extraction unit 165 uses the absolute size of the foreign object shadow as a reference when extracting the correction candidate area from the connected pixel area.
  • the detection target is a size of a minimum of 100 ⁇ m ⁇ 100 ⁇ m to a maximum of 400 ⁇ m ⁇ 400 ⁇ m.
  • the target area extraction unit 165 uses the area represented by the number of pixels of the foreign object shadow as a threshold, and the size (number of pixels) of the connected pixel area extracted from the binary image by the connected area determination unit 164 is the threshold. Select what is contained within.
  • the luminance determination unit 166 uses the luminance value V (Value) obtained by the HSV conversion described in the previous connected region determination unit 164 and the luminance plane corresponding to the image plane, and uses the luminance value V (Value) in the connected pixel region. Compare brightness.
  • the foreign object shadow has a lower internal luminance than the peripheral luminance, and the luminance ratio (internal luminance / peripheral luminance) is much smaller than one. For this reason, a predetermined threshold value with a small luminance ratio is set, and it is determined as a foreign object shadow only when the luminance ratio of the connected image region is smaller than this threshold value.
  • the standard deviation of the brightness in a certain range around the foreign object shadow is equal to or greater than the threshold, it is not adopted as the foreign object shadow. This is because when the standard deviation of the brightness around the detected foreign object shadow is large, the reliability of the actual foreign object shadow is low due to the shadow on the texture.
  • step S55 the foreign object shadow information acquisition unit 163 acquires the brightness decrease amount of the foreign object shadow and the foreign object position information (coordinates), and stores them in the storage area 151 in association with each captured image.
  • FIG. 11 is a flowchart showing the foreign object shadow removal operation.
  • the display control unit 153 of the PC causes the monitor 152 to display the captured image stored in the storage area 151 based on the operation of the PC operation unit 34 by the operator.
  • the PC control unit may display the captured image in the form of a thumbnail image reduced to display a list of a large number of images, or may sequentially select one image.
  • step S ⁇ b> 62 the first image selection unit 154 selects the first captured image G ⁇ b> 1 for which the removal of the foreign object shadow is desired from the captured images displayed on the monitor 152 through the operation of the PC operation unit by the operator. select.
  • FIG. 6 shows a first captured image G1 as an example of the selected image.
  • a foreign object shadow 4A is present in a portion of trees.
  • Such a foreign object shadow is caused by, for example, a foreign substance (foreign substance 4) (see FIG. 1) attached to the front surface of the optical filter 12.
  • the brightness gradient of the foreign object shadow 4A and the brightness gradient of the trees overlap, and it is difficult to detect the foreign object shadow by the method of detecting the foreign object shadow by the brightness gradient. It has become.
  • step S63 when the first photographed image G1 is selected, the second photographed image selection unit 155 has the same photographing condition as that of the first photographed image G1 among the plurality of photographed images stored in the storage area. A second photographed image G2 that is substantially the same is searched and selected.
  • the determination of the identity of the imaging conditions is performed based on the Exif information of the first captured image G1 and the Exif information of the second captured image G2.
  • the criterion is that the camera body (camera type) 2, aperture value (F value), focal length, shooting time, lens, shooting distance, and the like in the Exif information are the same.
  • the camera body 2 is the same.
  • the foreign matter attached to the optical filter 12 disposed in the camera body 2 moves to the same position as a shadow. This is because the foreign object shadow is corrected by using the.
  • At least one or more other imaging conditions in particular, it is preferable that the aperture values coincide, and it is more preferable that the focal length, the imaging time, and the like are the same. More preferably, all conditions are met.
  • One or more or a plurality of second photographed images G2 selected by the second photographed image selection unit 152 are selected according to the selection condition. If no sheet is selected, a warning display such as the number of selected sheets may be displayed on the monitor 152.
  • FIGS. 7A and 7B show two images G2 (1) and G2 (2), respectively, when a plurality of second photographed images G2 are selected by the second photographed image selection unit 152 in the second embodiment.
  • G2 (1) there is a foreign object shadow 4Aa in the empty part, and since it is far from the edge of the mountain, the detection of the foreign object shadow is easy.
  • the image G2 (2) is also detectable because there is a foreign object shadow 4Ab in the sky (the color is dark but detectable).
  • step S64 when the second captured image G2 is selected, the image processing apparatus 150 reads out the foreign object shadow information (the coordinates of the position of the foreign object shadow and the brightness reduction amount (gain map)) of the second captured image.
  • the foreign object shadow information the coordinates of the position of the foreign object shadow and the brightness reduction amount (gain map)
  • step S65 the position of the foreign object shadow detected in each of the second captured images G2 is displayed as a foreign object shadow position in the first captured image so as to overlap the monitor screen on which the first captured image is displayed. That is, the foreign object shadow A1 is detected in the first second captured image, the A2 foreign object shadow is detected in the same position in the second second captured image, and the B foreign object shadow is detected in a different position.
  • the positions A, B, and C are displayed in the first image on the monitor screen.
  • step S66 the operator selects a portion desired to be corrected among the positions A, B, and C displayed on the monitor screen via the operation unit.
  • the selected portion is corrected.
  • correction may be automatically performed from the selected second image.
  • the brightness of a certain range including the foreign object shadow in each of the plurality of second captured images is represented by the coordinates in the first captured image. Compare with a certain range of brightness including the part corresponding to the position. Then, the foreign object shadow of the second captured image having the brightness closest to the brightness around the corresponding portion in the first captured image is adopted as the foreign object shadow. This is because if the brightness around the foreign object shadow is close, the amount of gain reduction caused by the foreign object shadow is considered to be equal.
  • the correction unit 156 corrects the first captured image by using the gain map and the foreign object position information (coordinates) as the foreign object shadow information reflected in the second captured image G2 selected as described above, thereby correcting the foreign object shadow. Perform correction to reduce or eliminate brightness.
  • the correction unit 156 performs gain correction by multiplying the luminance of the first captured image G1 by the reciprocal of the luminance signal using the gain map acquired from the second captured image G2 in the first captured image G1. .
  • image correction is performed to reduce or eliminate a change in luminance due to a foreign object such as a foreign object shadow appearing in the first captured image G1.
  • the foreign object shadow when a foreign object shadow can be detected in the second captured image at a position where it is difficult to specify the foreign object shadow in the first captured image, the foreign object shadow is also positioned at the same position in the first captured image. And the first captured image can be corrected based on the foreign object shadow information of the second captured image.
  • the detection results of the foreign object shadows of a plurality of captured images it is possible to correct the foreign object shadows in an image in which the foreign object shadows are difficult to detect.
  • the present invention is not limited to this.
  • foreign object shadow information may be acquired for the selected second captured image.
  • the foreign object shadow information is acquired only for the selected second photographed image, so the overall processing amount is reduced.
  • the processing time after the second captured image is selected is reduced.
  • the present invention is not necessarily limited to this content.
  • the present invention can also be applied to image data taken by a video camera that handles moving images. It can also be applied to image data taken with a camera-equipped mobile phone. Furthermore, it can be applied to a copying machine, a scanner, and the like. That is, the present invention can be applied to any image data captured using an image sensor.
  • the present invention is not limited to this content. Absent.
  • the camera 1 may be provided with such a program. In that case, the defect position on the liquid crystal screen of the camera 1 may be specified by a touch panel method, a cross key provided on the back of the camera, or the like. Further, such a program may be provided in a printer, a projection device, or the like. That is, the present invention can be applied to any apparatus that handles image data.
  • the program executed by the PC 30 is not limited to a recording medium such as a CD-ROM, and can be provided through a data signal such as the Internet.
  • transformation form can also be used in combination suitably, detailed description is abbreviate

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

Provided are an image processing apparatus that is capable of more easily detecting a foreign material in a photographed image, and an image processing program. An image processing apparatus (50) of the present invention is characterized in being provided with: a position selecting unit (34), which can select a specific position in a first photographed image (G1); a range determining unit (61), which determines a fixed range (E1) in the first photographed image (G1), said range including the position selected by the position selecting unit (34); an image selecting unit (62), which selects a second photographed image (G2) that is different from the first photographed image (G1); and a foreign material image information acquiring unit (63), which acquires information of a foreign material shadow photographed in the second photographed image (G2), from a corresponding range (E2) in the second photographed image (G2), said corresponding range corresponding to the fixed range (E1) in the first photographed image (G1).

Description

画像処理装置及び画像処理プログラムImage processing apparatus and image processing program
 本発明は、画像処理装置及び画像処理プログラムに関する。 The present invention relates to an image processing apparatus and an image processing program.
 電子カメラ等により撮像を行う際、光学フィルタ等に異物が付着していると、異物の影が撮像画像に写り込む場合がある。このように画像に写り込んだ異物影等による画像欠損部位を補正する画像処理装置として、異物影の写り込んだ基準画像から異物位置の座標等の情報を得て、その情報に基づいて通常撮影された撮影画像に写り込んだ異物影による画像欠損を補正する画像処理装置が知られている。
 また、補正対象の画像における異物影による透過率の変化(各画素における輝度情報の変化)から異物を検出し、異物影を削除する補正を行う技術が知られている(特許文献1参照)。
When capturing an image with an electronic camera or the like, if a foreign object adheres to the optical filter or the like, a shadow of the foreign object may appear in the captured image. As an image processing apparatus for correcting an image defect site due to a foreign object shadow or the like reflected in the image in this way, information such as the coordinates of the foreign object position is obtained from the reference image in which the foreign object shadow is reflected, and normal imaging is performed based on the information. There is known an image processing apparatus that corrects an image defect caused by a foreign object shadow reflected in a captured image.
Further, a technique is known in which a foreign object is detected from a change in transmittance (change in luminance information in each pixel) due to a foreign object shadow in an image to be corrected, and correction for deleting the foreign object shadow is performed (see Patent Document 1).
特開2004-220553号公報JP 2004-220553 A
 しかし、上記従来技術は、異物の写り込んだ基準画像を撮影する必要がある。また、撮影画像と基準画像とにおいて、異物位置の座標等が異なる場合もある。 However, the above prior art needs to capture a reference image in which foreign matter is reflected. In addition, the coordinates of the foreign substance position may differ between the captured image and the reference image.
 本発明の課題は、より容易に撮影画像中の異物を検出可能な画像処理装置及び画像処理プログラムを提供することである。 An object of the present invention is to provide an image processing apparatus and an image processing program that can more easily detect foreign matter in a captured image.
 本発明は、以下のような解決手段により前記課題を解決する。
 本発明の第1の態様によると、第一の撮影画像中における特定位置を選択可能な位置選択部と、前記第一の撮影画像中において、前記位置選択部により選択された位置を含む一定の範囲を決定する範囲決定部と、前記第一の撮影画像と異なる第二の撮影画像を選択する画像選択部と、前記第二の撮影画像中における、前記第一の撮影画像の前記一定の範囲に対応する対応範囲から、前記第二の撮影画像中に移りこんだ異物影情報を取得する異物影情報取得部と、を備えること、を特徴とする画像処理装置を提供する。
The present invention solves the above problems by the following means.
According to the first aspect of the present invention, the position selection unit capable of selecting a specific position in the first photographed image, and a constant including the position selected by the position selection unit in the first photographed image. A range determining unit for determining a range; an image selecting unit for selecting a second captured image different from the first captured image; and the predetermined range of the first captured image in the second captured image And a foreign object shadow information acquisition unit that acquires foreign object shadow information that has moved into the second captured image from a corresponding range corresponding to the image processing apparatus.
 第1の態様において前記画像選択部は、前記第二の撮影画像として、前記第一の撮影画像の撮影条件に近い撮影条件で撮影された画像を選択してもよい。
 第1の態様において前記撮影条件は、前記第一の撮影画像を撮影したカメラ本体と同一のカメラ本体であることと、絞り値、撮影距離、レンズ、焦点距離、及び撮影時間のうちの少なくとも1つが同一であることと、を含んでもよい。
 第1の態様において前記異物影情報取得部は、輝度情報を用いて異物影情報を取得してもよい。
 第1の態様において前記画像選択部は、前記第二の撮影画像として、前記第一の撮影画像と同じファイル型式にした場合に、前記対応範囲内に前記異物影情報を有し、かつ、前記対応範囲周辺の輝度が第一の撮影画像と同一又はもっとも近い画像を選択してもよい。
 第1の態様において前記画像選択部は、前記第二の撮影画像として、前記第一の撮影画像と同じファイル型式にした場合に、前記対応範囲内に前記異物影情報を有し、かつ、前記範囲周辺の色相が第一の撮影象画像と同一又はもっとも近い画像を選択してもよい。
 第1の態様において前記画像選択部は、前記第二の撮影画像として、前記対応範囲内に前記異物影情報を有し、かつ、前記対応範囲周辺の輝度の標準偏差が最も小さい画像を選択してもよい。
 第1の態様において前記画像選択部は、前記第二の撮影画像における、前記対応範囲の平均した輝度のプロファイルから、前記第一の撮影画像を補正するためのデータを作成してもよい。
 第1の態様において前記画像選択部は、前記第一の撮影画像以外の撮影画像から、シャッタスピードの異なるものを前記第二の撮影画像として選択してもよい。
 第1の態様において画像処理装置は、画像の補正部を備えてもよい。
In the first aspect, the image selection unit may select an image shot under shooting conditions close to the shooting conditions of the first shot image as the second shot image.
In the first aspect, the imaging condition is that the camera body is the same as the camera body that captured the first captured image, and at least one of an aperture value, an imaging distance, a lens, a focal length, and an imaging time. May be the same.
In the first aspect, the foreign object shadow information acquisition unit may acquire the foreign object shadow information using luminance information.
In the first aspect, the image selection unit has the foreign object shadow information in the corresponding range when the second captured image has the same file type as the first captured image, and You may select the image whose brightness | luminance around a corresponding range is the same as the 1st picked-up image, or the nearest.
In the first aspect, the image selection unit has the foreign object shadow information in the corresponding range when the second captured image has the same file type as the first captured image, and An image whose hue around the range is the same as or closest to the first photographed elephant image may be selected.
In the first aspect, the image selection unit selects, as the second captured image, an image having the foreign object shadow information in the corresponding range and having the smallest standard deviation of luminance around the corresponding range. May be.
In the first aspect, the image selection unit may create data for correcting the first photographed image from a brightness profile averaged over the corresponding range in the second photographed image.
In the first aspect, the image selection unit may select a photographed image other than the first photographed image with a different shutter speed as the second photographed image.
In the first aspect, the image processing apparatus may include an image correction unit.
 本発明の第2の態様によると、補正対象の第一撮影画像の撮影条件をもとに、保存されている撮影画像から、異物影情報取得用の第二撮影画像を選択する第二撮影画像選択部と、前記撮影画像に写り込んでいる影の中から異物影の可能性がある異物影候補を抽出し、それぞれの撮影画像に対して、該異物影候補が存在する位置の座標及び該異物影候補の部分の輝度低下量を取得する異物影情報取得部と、前記異物影情報取得部により取得された、前記第二撮影画像における該異物影候補が存在する位置の座標及び該異物影候補の部分の輝度低下量をもとに、前記第一撮影画像を補正する補正部と、を備えること、を特徴とする画像処理装置を提供する。 According to the second aspect of the present invention, the second photographed image for selecting the second photographed image for acquiring the foreign object shadow information from the stored photographed image based on the photographing condition of the first photographed image to be corrected. The selection unit extracts a foreign object shadow candidate that may be a foreign object shadow from among the shadows reflected in the captured image, and for each captured image, coordinates of the position where the foreign object shadow candidate exists and the coordinates The foreign object shadow information acquisition unit that acquires the luminance reduction amount of the foreign object shadow candidate part, the coordinates of the position where the foreign object shadow candidate exists in the second captured image, and the foreign object shadow acquired by the foreign object shadow information acquisition unit There is provided an image processing apparatus comprising: a correction unit that corrects the first captured image based on a luminance decrease amount of a candidate portion.
 本発明の第3の態様によると、補正対象の第一撮影画像の撮影条件をもとに、保存されている撮影画像から、異物影情報取得用の第二撮影画像を選択する第二撮影画像選択部と、前記撮影画像に写り込んでいる影の中から異物影の可能性がある異物影候補を抽出し、それぞれの撮影画像に対して、該異物影候補が存在する位置の座標及び該異物影候補の部分の輝度低下量を取得する異物影情報取得部と、前記異物影候補を異物影として採用し、前記異物影情報取得部により取得された前記異物影候補の前記座標を、前記第一撮影画像に表示する表示部と、を備えること、を特徴とする画像処理装置を提供する。 According to the third aspect of the present invention, the second photographed image for selecting the second photographed image for acquiring the foreign object shadow information from the stored photographed image based on the photographing condition of the first photographed image to be corrected. The selection unit extracts a foreign object shadow candidate that may be a foreign object shadow from among the shadows reflected in the captured image, and for each captured image, coordinates of the position where the foreign object shadow candidate exists and the coordinates A foreign object shadow information acquisition unit that acquires a luminance decrease amount of a part of the foreign object shadow candidate, and adopts the foreign object shadow candidate as a foreign object shadow, and the coordinates of the foreign object shadow candidate acquired by the foreign object shadow information acquisition unit are An image processing apparatus comprising: a display unit configured to display a first photographed image.
 第2の態様または第3の態様において前記第二撮影画像選択部は、前記第一撮影画像の撮影条件に近い撮影条件で撮影された画像を前記第二撮影画像として選択してもよい。
 第2の態様または第3の態様において、前記撮影条件は、前記第一撮影画像を撮影したカメラ本体と同一のカメラ本体であることと、絞り値、撮影距離、レンズ、焦点距離、及び撮影時間のうちの少なくとも1つが同一であることと、を含んでもよい。
 第2の態様または第3の態様において、前記第二撮影画像における前記異物影候補の周辺輝度の標準偏差が閾値以上の場合、前記異物影候補を前記異物影として採用しないこと、を特徴とする画像処理装置である。
 第2の態様または第3の態様において、前記第一撮影画像における前記異物影候補に対応する座標の位置を含む一定範囲の標準偏差が閾値以下の場合には、前記異物影候補を前記異物影として採用しないこと、を特徴とする画像処理装置である。
 第2の態様または第3の態様において、前記第二撮影画像選択部が選択した第二撮影画像が複数存在し、同一の座標の位置に存在する異物影候補が複数の前記第二撮影画像から選択された場合、該異物影候補を含む一定範囲の輝度と、前記第一撮影画像における前記座標の位置に対応する部分を含む一定範囲の輝度と、が最も近い第二撮影画像の異物影候補を、異物影として採用すること、を特徴とする画像処理装置である。
 第2の態様または第3の態様において、前記第二撮影画像選択部が選択した第二撮影画像が複数存在し、同一の座標の位置に存在する異物影候補が複数の前記第二撮影画像から選択された場合、該異物影候補を含む一定範囲の色相と、前記第一撮影画像における前記座標の位置に対応する部分を含む一定範囲の色相と、が最も近い第二撮影画像の異物影候補を、異物影として採用すること、を特徴とする画像処理装置である。
In the second aspect or the third aspect, the second photographed image selection unit may select an image photographed under photographing conditions close to the photographing condition of the first photographed image as the second photographed image.
2nd aspect or 3rd aspect WHEREIN: The said imaging conditions are the camera body same as the camera body which image | photographed said 1st picked-up image, an aperture value, a shooting distance, a lens, a focal distance, and shooting time And at least one of them may be the same.
In the second aspect or the third aspect, when the standard deviation of the peripheral brightness of the foreign object shadow candidate in the second photographed image is a threshold value or more, the foreign object shadow candidate is not adopted as the foreign object shadow. An image processing apparatus.
In the second aspect or the third aspect, when the standard deviation of a certain range including the position of coordinates corresponding to the foreign object shadow candidate in the first photographed image is equal to or smaller than a threshold value, the foreign object shadow candidate is determined as the foreign object shadow. The image processing apparatus is characterized in that it is not employed.
In the second aspect or the third aspect, there are a plurality of second photographed images selected by the second photographed image selection unit, and foreign object shadow candidates existing at the same coordinate positions are derived from the plurality of second photographed images. If selected, a certain range of brightness including the foreign object shadow candidate and a certain range of brightness including the portion corresponding to the position of the coordinate in the first captured image are the closest foreign object shadow candidates of the second captured image. Is used as a foreign object shadow.
In the second aspect or the third aspect, there are a plurality of second photographed images selected by the second photographed image selection unit, and foreign object shadow candidates existing at the same coordinate positions are derived from the plurality of second photographed images. If selected, a certain range of hues including the foreign object shadow candidate and a certain range of hues including the portion corresponding to the position of the coordinate in the first captured image are the closest foreign object shadow candidates of the second captured image. Is used as a foreign object shadow.
 本発明の第4の態様は、補正対象の第1撮影画像の撮影情報を用いて、第2撮影画像を選択する選択部と、前記第2撮影画像から異物影に関する情報である異物情報を取得する取得部と、を備えることを特徴とする画像処理装置である。 According to a fourth aspect of the present invention, using the shooting information of the first captured image to be corrected, the selection unit that selects the second captured image, and the foreign object information that is information regarding the foreign object shadow from the second captured image are acquired. An image processing apparatus.
 本発明の第5の態様は、第1撮影画像中における特定位置を選択可能な位置選択部と、前記位置選択部により選択された位置を含む一定の範囲を決定する範囲決定部と、前記第1の撮影画像と異なる第2撮影画像を選択する画像選択部と、前記第2撮影画像中における前記一定の範囲に対応する対応範囲から異物影情報を取得する異物影情報取得部とを備えることを特徴とする画像処理装置である。 According to a fifth aspect of the present invention, there is provided a position selection unit capable of selecting a specific position in the first photographed image, a range determination unit for determining a certain range including the position selected by the position selection unit, An image selection unit that selects a second captured image different from the one captured image, and a foreign object shadow information acquisition unit that acquires foreign object shadow information from a corresponding range corresponding to the certain range in the second captured image. An image processing apparatus characterized by the above.
 本発明の第6の態様は、上記態様の画像処理装置の機能をコンピュータに実行させるための画像処理プログラムを提供する。 The sixth aspect of the present invention provides an image processing program for causing a computer to execute the function of the image processing apparatus of the above aspect.
 本発明によれば、より容易に撮影画像中の異物を検出可能な画像処理装置及び画像処理プログラムを提供することができる。 According to the present invention, it is possible to provide an image processing apparatus and an image processing program that can more easily detect a foreign object in a captured image.
本発明の実施形態におけるレンズ交換式のカメラの構成を示す図である。It is a figure which shows the structure of the camera of an interchangeable lens type in embodiment of this invention. カメラと画像処理装置を構成するパーソナルコンピュータ及び周辺装置を示すブロック図である。1 is a block diagram illustrating a personal computer and peripheral devices that constitute a camera and an image processing apparatus. 第1実施形態の画像欠損補正処理を行う画像処理装置の機能ブロック図である。1 is a functional block diagram of an image processing apparatus that performs an image defect correction process according to a first embodiment. 第1実施形態の画像処理装置における欠損判定部の機能ブロック図である。FIG. 3 is a functional block diagram of a defect determination unit in the image processing apparatus according to the first embodiment. 第1実施形態の画像処理装置による異物影情報検出及び画像の補正処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of the foreign matter shadow information detection by the image processing apparatus of 1st Embodiment, and the correction process of an image. 第1実施形態及び第2実施形態においてモニタ上に表示された第一の撮影画像の一例である。It is an example of the 1st picked-up image displayed on the monitor in 1st Embodiment and 2nd Embodiment. 第1実施形態及び第2実施形態における第二の撮影画像の例である。It is an example of the 2nd picked-up image in 1st Embodiment and 2nd Embodiment. 第1実施形態及び第2実施形態における第二の撮影画像の例である。It is an example of the 2nd picked-up image in 1st Embodiment and 2nd Embodiment. 第2実施形態の異物影情報取得・画像の補正処理を行う画像処理装置の機能ブロック図である。It is a functional block diagram of an image processing apparatus that performs foreign object shadow information acquisition and image correction processing according to the second embodiment. 第2実施形態の画像処理装置における異物影情報取得部の機能ブロック図である。It is a functional block diagram of the foreign substance shadow information acquisition part in the image processing apparatus of 2nd Embodiment. 第2実施形態の異物影情報取得のフローチャートである。It is a flowchart of foreign object shadow information acquisition of a 2nd embodiment. 第2実施形態の画像の補正処理のフローチャートである。It is a flowchart of the correction process of the image of 2nd Embodiment.
 以下、図面等を参照して、本発明の実施形態について説明する。
 図1は、レンズ交換式のカメラ1の構成を示す図である。図2は、カメラ1と画像処理装置を構成するパーソナルコンピュータ(PC)30及び周辺装置を示すブロック図である。
 カメラ1は、被写体像を電気信号に変換した画像データとして出力する電子スチルカメラである。本実施形態は、カメラ1が撮影した画像データを、画像処理装置として機能するPC30が取得して後述する異物影の検出及び補正処理を行うものである。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of a lens-interchangeable camera 1. FIG. 2 is a block diagram showing a personal computer (PC) 30 and peripheral devices constituting the camera 1 and the image processing apparatus.
The camera 1 is an electronic still camera that outputs image data obtained by converting a subject image into an electrical signal. In the present embodiment, image data captured by the camera 1 is acquired by a PC 30 functioning as an image processing apparatus, and foreign object shadow detection and correction processing described later is performed.
 カメラ1は、カメラボディ2と、カメラボディ2に対して着脱可能な撮像レンズ3とにより構成されている。撮像レンズ3は、複数の光学レンズ群(図1においては1枚のレンズで示す)を有する結像光学系3Lを備えている。 The camera 1 includes a camera body 2 and an imaging lens 3 that can be attached to and detached from the camera body 2. The imaging lens 3 includes an imaging optical system 3L having a plurality of optical lens groups (shown as one lens in FIG. 1).
 カメラボディ2は、シャッタ11、光学フィルタ12、撮像素子13、画像処理部14、操作部15、表示部16、メモリカード用インターフェース(以下、「メモリカードIF」と記す)17、外部インターフェース(以下、「外部IF」と記す)18、電源(図示せず)、制御部20等を備えている。 The camera body 2 includes a shutter 11, an optical filter 12, an image sensor 13, an image processing unit 14, an operation unit 15, a display unit 16, a memory card interface (hereinafter referred to as “memory card IF”) 17, an external interface (hereinafter referred to as “memory card IF”). , “External IF”) 18, a power source (not shown), a control unit 20 and the like.
 シャッタ11は、結像光学系3Lから撮像素子13へ向かう撮影光を遮蔽及び通過させることによって、露光時間を調整する。
 光学フィルタ12は、撮像に際して偽色(色モアレ)等の発生を防止する光学ローパスフィルタ等によって構成される。なお、図1中の符号4は、この光学フィルタ12の表面に付着した塵や埃などの異物を示す。このような撮影光の光路上にあって撮影光を透過する光学フィルタ12に異物4が付着していると、撮像素子13によって取得される画像データのなかに、異物影の影響を受けた画素が含まれる場合がある。
The shutter 11 adjusts the exposure time by shielding and passing photographing light from the imaging optical system 3L toward the image sensor 13.
The optical filter 12 is configured by an optical low-pass filter or the like that prevents generation of false colors (color moire) or the like during imaging. Note that reference numeral 4 in FIG. 1 indicates foreign matters such as dust and dirt attached to the surface of the optical filter 12. If the foreign matter 4 is attached to the optical filter 12 that is on the optical path of the photographing light and transmits the photographing light, pixels that are affected by the foreign matter shadow in the image data acquired by the image sensor 13. May be included.
 撮像素子13は、CCDやCMOS等の光電変換素子であって、複数の画素から構成される矩形形状の撮像領域を有している。そして、撮像素子13は、その結像面に結像された像を電気信号に変換し、被写体像に対応する画像信号(撮像信号)を出力する。撮像素子13から出力された画像信号は、所定のアナログ信号処理の後、A/D変換されて画像処理部14に入力される。 The imaging element 13 is a photoelectric conversion element such as a CCD or CMOS, and has a rectangular imaging area composed of a plurality of pixels. The image sensor 13 converts the image formed on the image plane into an electrical signal and outputs an image signal (imaging signal) corresponding to the subject image. The image signal output from the image sensor 13 is A / D converted and input to the image processing unit 14 after predetermined analog signal processing.
 画像処理部14は、撮像素子13から入力された画像データに対して、補間,階調変換や輪郭強調などの画像処理を行う。
 操作部15は、撮影者が撮影タイミング等を決定する信号を入力するレリーズボタンや、モード切り換え用の選択ボタン等を備えている。そして、操作部15は、それらの操作情報を制御部に入力する。
The image processing unit 14 performs image processing such as interpolation, gradation conversion, and edge enhancement on the image data input from the image sensor 13.
The operation unit 15 includes a release button for inputting a signal for determining a shooting timing by the photographer, a selection button for mode switching, and the like. And the operation part 15 inputs those operation information into a control part.
 表示部16は、LCD等によって構成され、カメラ1における各種設定メニュー、撮像素子13による撮像画像やメモリカードに格納された画像データに基づく再生画像を表示する。 The display unit 16 is configured by an LCD or the like, and displays various setting menus in the camera 1, a reproduced image based on an image captured by the image sensor 13 and image data stored in a memory card.
 メモリカード用IF17は、メモリカード(カード状のリムーバブルメモリ)40とのインターフェースをとなる。
 外部IF18は、所定のケーブルや無線伝送路を介してPC30等の外部装置とのインターフェースとなる。
 電源は、カメラ1の各機能部に電力を供給する。
The memory card IF 17 serves as an interface with a memory card (card-like removable memory) 40.
The external IF 18 serves as an interface with an external device such as the PC 30 via a predetermined cable or a wireless transmission path.
The power supply supplies power to each functional unit of the camera 1.
 制御部20は、カメラ1における各機能部を統括制御する。すなわち、制御部20は、操作部15におけるレリーズスイッチから撮影指示信号が入力されると、シャッタ11を駆動制御して露光動作等の撮影動作を制御する。また、制御部20は、撮像素子13で取得されて画像処理部14で画像処理が行われて入力された画像データを、メモリカード用IF17に着脱可能に取り付けられたメモリカード40等に記憶させ、保存する。さらに、制御部20は、メモリカード40等に記憶された画像データを呼び出し、表示部16に表示させる。 The control unit 20 controls each functional unit in the camera 1 in an integrated manner. That is, when a shooting instruction signal is input from the release switch in the operation unit 15, the control unit 20 controls the driving of the shutter 11 to control a shooting operation such as an exposure operation. Further, the control unit 20 stores the image data acquired by the image sensor 13 and subjected to image processing by the image processing unit 14 in a memory card 40 or the like that is detachably attached to the memory card IF 17. ,save. Further, the control unit 20 calls the image data stored in the memory card 40 or the like and causes the display unit 16 to display the image data.
 上記のように構成されたカメラ1は、撮影時において制御部20によって制御されて、下記のように作用する。
 操作者によって操作部15のレリーズボタンが押圧操作されると、シャッタ11を所定時間開放する。撮像素子13は、結像光学系3Lにより撮像領域に結像された光学像に対応する画像信号を生成する。撮像素子13によって生成された画像信号は、画像データとして画像処理部14に入力され、画像処理部14によって所定の画像処理が施される。そして、画像処理部14で画像処理された画像データに基づいて表示部16に撮影画像を表示すると共に、その画像データに必要に応じてJPEGやRAW等による圧縮処理を施してメモリカード用IF17に装着されたメモリカード40に記憶・保存する。また、外部IF18を介して接続された後述するPC30に、画像データを送出する。
The camera 1 configured as described above is controlled by the control unit 20 at the time of shooting and operates as follows.
When the release button of the operation unit 15 is pressed by the operator, the shutter 11 is opened for a predetermined time. The imaging device 13 generates an image signal corresponding to the optical image formed in the imaging region by the imaging optical system 3L. The image signal generated by the image sensor 13 is input as image data to the image processing unit 14 and is subjected to predetermined image processing by the image processing unit 14. Then, the captured image is displayed on the display unit 16 based on the image data processed by the image processing unit 14, and the image data is subjected to compression processing by JPEG, RAW, or the like as necessary, and is stored in the memory card IF 17. Store / store in the installed memory card 40. In addition, image data is sent to a PC 30 (described later) connected via the external IF 18.
 ここで、メモリカード40に記憶・保存され、又は、外部IF18を介してPC30に送出される画像データは、例えば、Exif(EXchange Image File format)ファイルに記録される。Exifファイルには、カメラボディ2の種類、カメラメーカー名、撮像画素情報、絞り値(F値)や焦点、シャッタスピード及び露光補正等の露出条件、撮影時刻、撮影距離などの付加情報が共に記録される。 Here, the image data stored / saved in the memory card 40 or transmitted to the PC 30 via the external IF 18 is recorded in, for example, an Exif (EXchange Image File format) file. In the Exif file, additional information such as the camera body 2 type, camera manufacturer name, imaging pixel information, aperture value (F value) and exposure conditions such as focus, shutter speed and exposure correction, shooting time, and shooting distance are recorded together. Is done.
 パーソナルコンピュータ(PC)30は、図示しないが、CPU、メモリ、ハードディスク、メモリカード40とのインターフェースとなるメモリカード用IF、ケーブルや無線伝送路を介してカメラ1等の外部装置とのインターフェースとなる外部IF等を備えている。
 また、PC30には、画像表示部としてのモニタ31やプリンタ32等が接続されていると共に、モニタ31に表示された撮影画像中における異物影等の異物が写り込んだ特定位置をユーザが任意選択的に指し示す選択部としてのマウス34が接続されている。
Although not shown, the personal computer (PC) 30 serves as an interface with an external device such as the camera 1 via a memory card IF, a cable, or a wireless transmission path that serves as an interface with the CPU, memory, hard disk, and memory card 40. External IF etc. are provided.
The PC 30 is connected to a monitor 31, a printer 32, and the like as an image display unit, and the user arbitrarily selects a specific position where a foreign object such as a foreign object shadow appears in a captured image displayed on the monitor 31. A mouse 34 is connected as a selection unit to be indicated.
 さらに、PC30に接続のCD-ROM33には、異物影等の異物検出及び検出された異物の情報に基づいて画像を補正処理するアプリケーションプログラムが予めインストールされている。 Further, the CD-ROM 33 connected to the PC 30 is preinstalled with an application program for detecting a foreign object such as a foreign object shadow and correcting the image based on information of the detected foreign object.
(第1実施形態)
 つぎに、撮影された第一の撮影画像中における異物を補正する第1実施形態について説明する。
 第1実施形態は、撮影された第一の撮影画像中における異物影等による異物影情報を検出し、その検出した異物影情報に基づいて第一の撮影画像を補正する処理(異物影情報検出・補正処理)を行う。
(First embodiment)
Next, a first embodiment for correcting foreign matter in a first photographed image that has been photographed will be described.
In the first embodiment, foreign object shadow information such as foreign object shadow in a first photographed image that has been photographed is detected, and the first captured image is corrected based on the detected foreign object shadow information (foreign object shadow information detection). • Perform correction processing.
 異物影情報検出・補正処理は、メモリカード30を介して提供された、又は、カメラ1の外部インターフェース18から伝送された画像処理完了後の画像データに対して、PC30によって行われる。
 前述したように、PC30には、異物影情報検出及び画像補正処理のアプリケーションプログラムがインストールされており、PC30は、このプログラムを実行することによって、異物影情報検出及び画像の補正処理を行う画像処理装置50として機能する。
The foreign object shadow information detection / correction processing is performed by the PC 30 on the image data after completion of image processing provided via the memory card 30 or transmitted from the external interface 18 of the camera 1.
As described above, the foreign object shadow information detection and image correction processing application program is installed in the PC 30, and the PC 30 executes the program to perform foreign object shadow information detection and image correction processing. It functions as the device 50.
 図3は、異物影情報検出・補正処理を行う画像処理装置50の機能ブロック図である。図4は、画像処理装置50における異物影情報検出部60の機能ブロック図である。
 PC30とプログラムとによって機能する画像処理装置50は、図3に示すように、異物影情報を検出する異物影情報検出部60と、異物影情報検出部60によって検出された異物影情報に基づいて、その異物による異物影を補正する補正部56と、を備えている。
 異物影情報検出部60は、図4に示すように、範囲決定部61と、画像選択部62と、異物影情報取得部63と、を備えている。そして、異物影情報取得部63はさらに、連結領域判定部64と、対象領域抽出部65と、輝度判定部66とを備えている。
FIG. 3 is a functional block diagram of the image processing apparatus 50 that performs foreign object shadow information detection / correction processing. FIG. 4 is a functional block diagram of the foreign object shadow information detection unit 60 in the image processing apparatus 50.
As shown in FIG. 3, the image processing apparatus 50 functioning by the PC 30 and the program is based on the foreign object shadow information detection unit 60 that detects foreign object shadow information and the foreign object shadow information detected by the foreign object shadow information detection unit 60. And a correction unit 56 that corrects the foreign object shadow caused by the foreign object.
As shown in FIG. 4, the foreign object shadow information detection unit 60 includes a range determination unit 61, an image selection unit 62, and a foreign object shadow information acquisition unit 63. The foreign object shadow information acquisition unit 63 further includes a connected region determination unit 64, a target region extraction unit 65, and a luminance determination unit 66.
 図5は、画像処理装置50における異物影情報検出及び画像の補正処理の流れを説明するフローチャートである。図5のフローチャートに従って、画像処理装置50における異物影情報検出及び画像の補正処理の流れを説明する。図5及び以下の説明中、ステップを「S」とも略記する。 FIG. 5 is a flowchart for explaining the flow of foreign object shadow information detection and image correction processing in the image processing apparatus 50. The flow of foreign object shadow information detection and image correction processing in the image processing apparatus 50 will be described with reference to the flowchart of FIG. In FIG. 5 and the following description, the step is also abbreviated as “S”.
 まず、画像処理装置50を含むPC30は、ステップS01において、メモリカード40を介して、又は、カメラ1の外部インターフェース18を介して入力された第一の撮影画像G1(補正対象)のデータを読み込む。 First, in step S01, the PC 30 including the image processing device 50 reads data of the first captured image G1 (correction target) input via the memory card 40 or the external interface 18 of the camera 1. .
 ステップS02では、読み込んだ第一の撮影画像G1をモニタ31上に表示する。図6は、モニタ31上に表示された第一の撮影画像G1の一例を示す。図6の第一の撮影画像G1において、木々に囲まれた部分に異物影4Aがある。このような異物影は、例えば光学フィルタ12の前面に付着した異物(異物4)(図1参照)により生じている。 In step S02, the read first photographed image G1 is displayed on the monitor 31. FIG. 6 shows an example of the first captured image G1 displayed on the monitor 31. In the first photographed image G1 of FIG. 6, there is a foreign object shadow 4A in a portion surrounded by trees. Such a foreign object shadow is caused by, for example, a foreign substance (foreign substance 4) (see FIG. 1) attached to the front surface of the optical filter 12.
 ここで、ユーザは異物影部分を認識することが可能であるが、異物影4Aの輝度勾配と木々の輝度勾配とが重なり、輝度勾配から異物影4A情報を検出することは困難な可能性がある。 Here, the user can recognize the foreign object shadow part, but the luminance gradient of the foreign object shadow 4A and the luminance gradient of the trees overlap, and it may be difficult to detect the foreign object shadow 4A information from the luminance gradient. is there.
 そこで、まず、ステップS03において、モニタ31上に表示された第一の撮影画像G1の、異物影4Aの位置をユーザがマウス34によりクリックすると、範囲決定部61は、マウス34によるクリック位置を中心にして異物影及びその周辺を含めた所定の大きさの検出範囲E1を決定する。
 ここで、この検出範囲E1は、予め規定されていてもよく、また、ユーザがマウス34を移動させて任意の大きさを設定できるようにしてもよい。
Therefore, first, in step S03, when the user clicks the position of the foreign object shadow 4A of the first captured image G1 displayed on the monitor 31 with the mouse 34, the range determination unit 61 centers the click position with the mouse 34. Thus, a detection range E1 having a predetermined size including the foreign object shadow and its periphery is determined.
Here, the detection range E1 may be defined in advance, or the user may be able to set an arbitrary size by moving the mouse 34.
 ステップS04で画像選択部62は、記憶部35のデータベース36に保存されている複数の第二の撮影画像のうち、第一の撮影画像G1と撮影条件が同一又は略同一である第二の撮影画像G2を検索し選択する。 In step S <b> 04, the image selection unit 62 selects a second image that has the same or substantially the same image capturing condition as the first captured image G <b> 1 among the plurality of second captured images stored in the database 36 of the storage unit 35. Search and select image G2.
 この場合、撮影条件の同一性の判断は、第一の撮影画像G1及び第二の撮影画像G2のExif情報に代表される撮影情報を基に行う。
 具体的には、Exif情報等の撮影情報における、カメラボディ(カメラ種類)2、絞り値(F値)、焦点距離、撮影時刻、レンズ、撮影距離等が同一であることが判断基準である。
 これらの撮影条件のうち、カメラボディ2が同一であることは本実施形態において必須とする。本実施形態は、同一のカメラボディ2で撮影した場合に、異なる撮影画像であっても、カメラボディ2内に配置されている光学フィルタ12に付着した異物は、同じ位置に影として移り込む現象を利用して異物影を補正するものであるからである。
In this case, the determination of the identity of the shooting conditions is performed based on shooting information represented by the Exif information of the first shot image G1 and the second shot image G2.
Specifically, the criterion is that the camera body (camera type) 2, aperture value (F value), focal length, shooting time, lens, shooting distance, etc. in the shooting information such as Exif information are the same.
Among these photographing conditions, it is essential in the present embodiment that the camera body 2 is the same. In the present embodiment, when the same camera body 2 is used for shooting, even if the captured images are different, the foreign matter attached to the optical filter 12 disposed in the camera body 2 moves to the same position as a shadow. This is because the foreign object shadow is corrected by using the.
 その他の撮影条件は、少なくとも1つ以上、特に、絞り値が一致することが好ましく、撮影距離、焦点距離、撮影時間等も同一であることがより好ましい。全ての条件が一致することがさらに好ましい。
 画像選択部62により選択される第二の撮影画像G2は、選択条件に応じて、1以上又は複数選択される。なお、1枚も選択されなかった場合は、モニタ31に、選択枚数ゼロ等の警告表示が出るようにしてもよい。
 図7A,図7Bは、画像選択部62により第二の撮影画像G2が複数選択された場合であり、その複数の画像G2(1),G2(2)をそれぞれ示す図である。
At least one of the other shooting conditions, in particular, the aperture values preferably match, and the shooting distance, the focal length, the shooting time, and the like are more preferably the same. More preferably, all conditions are met.
One or more or a plurality of second captured images G2 selected by the image selection unit 62 are selected according to the selection condition. If no image is selected, a warning message such as “zero selected number” may be displayed on the monitor 31.
7A and 7B show a case where a plurality of second photographed images G2 are selected by the image selection unit 62, and are diagrams showing the plurality of images G2 (1) and G2 (2), respectively.
 次に、ステップS05で異物影情報取得部63は、選択された複数の第二の撮影画像G2中の、第一の撮影画像G1中の所定の検出範囲E1に対応する対応範囲E2を特定する。 Next, in step S05, the foreign object shadow information acquisition unit 63 specifies a corresponding range E2 corresponding to a predetermined detection range E1 in the first captured image G1 among the plurality of selected second captured images G2. .
 ステップS06で連結領域判定部64は、対応範囲E2内の画像を形成するRGBによる各画素の画像データより輝度平面を求め、輝度平面に対して逆ガンマ補正をかけ、入出力の関係を線形に戻す。そして、逆ガンマ補正後の輝度平面から、輝度勾配平面を生成する。
 輝度勾配平面では、異物影の周縁部では高い画素値を示し、空などの一様な平面では低い画素値を示す。つまり、エッジ部分では高い画素値を示し、これによって異物影のエッジ部分を検出できる。
In step S06, the connected region determination unit 64 obtains a luminance plane from the image data of each RGB pixel that forms an image in the corresponding range E2, applies inverse gamma correction to the luminance plane, and linearizes the input / output relationship. return. Then, a luminance gradient plane is generated from the luminance plane after inverse gamma correction.
In the luminance gradient plane, a high pixel value is shown at the peripheral part of the foreign object shadow, and a low pixel value is shown in a uniform plane such as the sky. That is, a high pixel value is shown in the edge portion, and thereby the edge portion of the foreign object shadow can be detected.
 次に、連結領域判定部64は、所定の閾値を設定して、輝度勾配平面を2値画像に変換する。すなわち、閾値より高い輝度勾配値を有する画素を「1」、閾値より低い明度勾配値を有する画素を「0」と置換する。
 そして、ステップS07において、連結領域判定部64は、このようにして得られた2値画像から、「1」の画素が連結した領域(連結画素領域)を抽出する。連結画素領域とは、例えば、矩形の画素の4辺の内の少なくとも1辺で連続した(4近傍の)画素領域とする。この連結画素領域が、異物影の可能性のある領域である。
Next, the connected area determination unit 64 sets a predetermined threshold value and converts the luminance gradient plane into a binary image. That is, a pixel having a luminance gradient value higher than the threshold is replaced with “1”, and a pixel having a brightness gradient value lower than the threshold is replaced with “0”.
In step S07, the connected area determination unit 64 extracts an area (connected pixel area) in which “1” pixels are connected from the binary image thus obtained. The connected pixel region is, for example, a pixel region that is continuous (near 4) on at least one of four sides of a rectangular pixel. This connected pixel region is a region that may have a foreign object shadow.
 ステップS08において、対象領域抽出部65は、連結領域判定部64によって抽出された連結画素領域の中から、異物影のサイズ(大小)に基づいて補正候補領域を抽出する。この対象領域抽出部65における異物影の大きさの判別は、画素数によって規定する。
 ここで、対象領域抽出部65は、連結画素領域から補正候補領域を抽出する際において、異物影の絶対的な大きさを基準とする。ここでは、一般的な異物のサイズと異物影のサイズがほぼ等しいものとして、最小100μm×100μm~最大400μm×400μmの大きさを検出対象とする。
In step S08, the target region extraction unit 65 extracts a correction candidate region from the connected pixel regions extracted by the connected region determination unit 64 based on the size (large or small) of the foreign object shadow. The determination of the size of the foreign object shadow in the target area extraction unit 65 is defined by the number of pixels.
Here, the target area extraction unit 65 uses the absolute size of the foreign object shadow as a reference when extracting the correction candidate area from the connected pixel area. Here, assuming that the size of a general foreign object and the size of a foreign object shadow are substantially equal, the detection target is a size of a minimum of 100 μm × 100 μm to a maximum of 400 μm × 400 μm.
 そして、対象領域抽出部65では、上記異物影の画素数によって表される面積を閾値として、連結領域判定部64において2値画像から抽出された連結画素領域の大きさ(画素数)がこの閾値内に含まれるものを、補正対象となり得る異物影候補と判定し、選択する。 The target area extraction unit 65 uses the area represented by the number of pixels of the foreign object shadow as a threshold, and the size (number of pixels) of the connected pixel area extracted from the binary image in the connected area determination unit 64 is the threshold. Those included are determined as foreign object shadow candidates that can be corrected, and are selected.
 さらにステップS9において輝度判定部66は、先の連結領域判定部64において説明した輝度値と画像平面に対応する輝度平面とを用い、連結画素領域における内外の輝度を比較する。
 ここで、ゴミ影は、内部の輝度が周辺の輝度に比較して低く、輝度比(内部の輝度/周辺の輝度)は1よりとても小さい。このため、輝度比が小さい所定の閾値を設定し、連結画像領域の輝度比がこの閾値より小さいに場合にのみ、異物影であると判定し、選択する。
Further, in step S9, the luminance determining unit 66 uses the luminance value described in the previous connected region determining unit 64 and the luminance plane corresponding to the image plane to compare the internal and external luminances in the connected pixel region.
Here, the dust shadow has a lower internal luminance than the peripheral luminance, and the luminance ratio (internal luminance / peripheral luminance) is much smaller than one. Therefore, a predetermined threshold value with a small luminance ratio is set, and it is determined and selected as a foreign object shadow only when the luminance ratio of the connected image region is smaller than this threshold value.
 そしてステップS11において、異物影情報取得部63は、異物影であると判定された影を有する第二の撮影画像G2の範囲E2における、ゲインマップと異物位置情報(座標)を取得する。 In step S11, the foreign object shadow information acquisition unit 63 acquires a gain map and foreign object position information (coordinates) in the range E2 of the second captured image G2 having a shadow determined to be a foreign object shadow.
 ここで、異物影が存在すると検出された画像が複数である場合、それらの複数の第二の撮影画像G2中における、範囲E2の輝度の標準偏差をそれぞれ演算する。そして、第二の撮影画像G2のなかで、範囲E2の標準偏差の分散が所定閾値以下となる撮影画像を選択する。 Here, when there are a plurality of images detected that there are foreign object shadows, the standard deviation of the luminance in the range E2 in each of the plurality of second captured images G2 is calculated. Then, a photographed image in which the variance of the standard deviation of the range E2 is equal to or less than a predetermined threshold is selected from the second photographed image G2.
 分散が所定閾値以下ということは、範囲E2が平坦な画像、すなわち輝度のばらつきが少ない画像であり、異物影の判断が容易であるからである。
 なお、本実施形態では分散が所定値以下であることを用いるが、エッジが少ない画像、ヒストグラムが均一な画像であることを利用してもよい。
The variance is equal to or less than the predetermined threshold value because the range E2 is a flat image, that is, an image with little variation in luminance, and foreign object shadows can be easily determined.
In this embodiment, it is used that the variance is equal to or less than a predetermined value, but it may be used that the image has few edges and the histogram is uniform.
 なお、本実施形態では、輝度の分散が少ないことを画像枚数の絞込みに利用するが、本発明はこれに限定されない。例えば、画像枚数を絞りこまずに、複数画像のゲインマップを平均することによりゲインマップと異物位置情報(座標)を得てもよい。
 また、第一の撮影画像G1の検出範囲Eとの輝度が最も近い画像を選択してもよい。
 さらに、第一の撮影画像G1の検出範囲Eとの色相が最も近い画像を選択してもよい。
 また、撮影条件が最も近いものの画像を選択してもよい。
 さらに、シャッタ速度が違うものを選択してもよい。シャッタ速度が異なるということは、シーンが違う可能性が高く、異なる被写体を撮影している可能性が高いため、両方に付着している異物であれば、より異物影である可能性が高いからである。
 また、上述の各条件(輝度、色相、標準偏差)に重み付けを行って、総合的に判断して第二の撮影画像G2を選択してもよい。
In this embodiment, the fact that the luminance dispersion is small is used for narrowing down the number of images, but the present invention is not limited to this. For example, the gain map and foreign object position information (coordinates) may be obtained by averaging the gain maps of a plurality of images without narrowing down the number of images.
Moreover, you may select the image with the nearest brightness | luminance with the detection range E of the 1st picked-up image G1.
Furthermore, you may select the image with the closest hue with the detection range E of the 1st picked-up image G1.
Alternatively, an image with the closest shooting condition may be selected.
Further, a shutter with a different shutter speed may be selected. Different shutter speeds are more likely to be in different scenes and more likely to be shooting different subjects, so foreign objects attached to both are more likely to be shadows of foreign objects. It is.
Further, the second captured image G2 may be selected by weighting the above-described conditions (luminance, hue, standard deviation) and making a comprehensive determination.
 次に、ステップS11において、補正部56は、上述のように選択された第二の撮影画像G2中に写り込んだ異物影情報としてのゲインマップと異物位置情報(座標)を用いて第一の撮影画像を補正して異物影の輝度を低減又は削除する補正を行う。 Next, in step S11, the correction unit 56 uses the gain map and foreign object position information (coordinates) as foreign object shadow information reflected in the second captured image G2 selected as described above. Correction is performed to correct or reduce the luminance of the foreign object shadow by correcting the captured image.
 すなわち、補正部56は、第一の撮影画像G1中の所定の検出範囲Eについて、第二の撮影画像G2中の所定の検出範囲Eから取得したゲインマップを用い、第一の撮影画像G1の所定の検出範囲Eの輝度に、輝度信号の逆数を掛け算して、ゲイン補正を行う。これにより、第一の撮影画像G1中の所定の検出範囲Eに出現する異物影等の異物による輝度の変化を低減もしくは除去する画像補正を行う。 In other words, the correction unit 56 uses the gain map acquired from the predetermined detection range E in the second captured image G2 for the predetermined detection range E in the first captured image G1, and uses the gain map acquired from the first captured image G1. Gain correction is performed by multiplying the luminance of the predetermined detection range E by the reciprocal of the luminance signal. Thus, image correction is performed to reduce or eliminate a change in luminance due to a foreign object such as a foreign object shadow appearing in a predetermined detection range E in the first captured image G1.
 ここで、画像補正が行われた第一の撮影画像G1をモニタ31上に再び表示させて、ユーザにおいて再度、異物影情報検出及び画像の補正処理を行なうか否かを選択させることも可能である。 Here, it is also possible to display the first photographed image G1 subjected to the image correction again on the monitor 31, and allow the user to select whether or not to perform foreign object shadow information detection and image correction processing again. is there.
 以上、本実施形態の画像処理装置50は、撮影画像中に異物影等の異物が写りこんでいる特定位置を任意に選択可能な選択部(マウス)34と、選択された位置を含む一定の範囲を決定する範囲決定部61と、撮影画像と異なる第二の撮影画像を選択する画像選択部62と、を備えている。
 これにより、通常撮影の前に、異物影等の異物の写り込んだ基準画像を撮影するといった面倒な手数は不要であり、例えば、モニタ31に表示された検出対象となる第一の撮影画像を視て、異物影等が写り込んだ特定位置をマウス34によりクリック(選択)するという簡単な操作を行うだけで、異物検出機能を実行することができる。
As described above, the image processing apparatus 50 according to the present embodiment includes a selection unit (mouse) 34 that can arbitrarily select a specific position where a foreign object such as a foreign object is reflected in a captured image, and a fixed value including the selected position. A range determination unit 61 that determines a range and an image selection unit 62 that selects a second captured image different from the captured image are provided.
This eliminates the troublesome trouble of shooting a reference image in which foreign objects such as a foreign object are reflected before normal shooting. For example, the first captured image to be detected displayed on the monitor 31 is displayed. The foreign object detection function can be executed by simply performing a simple operation of clicking (selecting) with a mouse 34 a specific position where a foreign object shadow is reflected.
 画像処理装置50における異物影情報取得部63は、画像選択部62に選択された撮影条件の近い第二の撮影画像中における、範囲決定部61により決定された範囲Eから、第二の撮影画像中に写り込んだ異物影情報を取得する。
 これにより、第一の撮影画像中の欠陥となる異物影情報を高い精度で検出することができる。また、検出された異物影情報に基づいて撮影画像中における欠陥を適正に補正することができる。
The foreign object shadow information acquisition unit 63 in the image processing device 50 includes the second captured image from the range E determined by the range determination unit 61 in the second captured image close to the imaging condition selected by the image selection unit 62. Acquire foreign object shadow information reflected inside.
Thereby, the foreign object shadow information which becomes a defect in the first captured image can be detected with high accuracy. Further, it is possible to appropriately correct a defect in the captured image based on the detected foreign object shadow information.
(第2実施形態)
 つぎに、撮影された第一の撮影画像中における異物を補正する第2実施形態について説明する。
 第2実施形態は、選択された第一撮影画像をもとに選択された第二画像中における異物影情報を取得し、その検出した異物影情報に基づいて第一撮影画像を補正する処理(異物影情報取得・補正処理)を行う。
(Second Embodiment)
Next, a description will be given of a second embodiment for correcting foreign matter in the first photographed image.
In the second embodiment, the foreign object shadow information in the second image selected based on the selected first captured image is acquired, and the first captured image is corrected based on the detected foreign object shadow information ( Foreign object shadow information acquisition / correction processing) is performed.
 第1実施形態と同様に、PC30には、異物影情報取得及び画像補正処理のアプリケーションプログラムがインストールされており、PC30は、このプログラムを実行することによって、異物影情報取得及び画像の補正処理を行う画像処理装置150として機能する。 As in the first embodiment, an application program for foreign object shadow information acquisition and image correction processing is installed in the PC 30. By executing this program, the PC 30 executes foreign object shadow information acquisition and image correction processing. It functions as the image processing apparatus 150 to perform.
 図8は、異物影情報取得・補正処理を行う画像処理装置150の機能ブロック図である。図9は、画像処理装置150における異物影情報取得部163の機能ブロック図である。 FIG. 8 is a functional block diagram of the image processing apparatus 150 that performs foreign object shadow information acquisition / correction processing. FIG. 9 is a functional block diagram of the foreign object shadow information acquisition unit 163 in the image processing apparatus 150.
 画像処理装置150は、メモリカード30を介して提供された、又は、カメラ1の外部インターフェース18から伝送された画像データを保存する保存領域151と、保存領域151に保存された撮影画像を表示するモニタ152と、その表示を制御する表示制御部153とを備えている。 The image processing apparatus 150 displays a storage area 151 for storing image data provided via the memory card 30 or transmitted from the external interface 18 of the camera 1, and a captured image stored in the storage area 151. A monitor 152 and a display control unit 153 for controlling the display are provided.
 また、画像処理装置150は、保存領域151に保存された撮影画像データから、異物影候補を選択し、異物影候補の座標及び異物影候補の部分の輝度低下量を取得する異物影情報取得部163と、マウス34等を介して補正対象となる画像を選択可能な第一撮影画像選択部154と、選択された第一撮影画像をもとに、保存領域151から第二撮影画像を選択する第二撮影画像選択部155と、第二撮影画像における、異物影情報取得部163によって検出された異物影情報に基づいて、第一撮影画像中の対応部分を補正する補正部156と、を備えている。 Further, the image processing apparatus 150 selects a foreign object shadow candidate from the captured image data stored in the storage area 151, and acquires a foreign object shadow candidate coordinate and a luminance decrease amount of the foreign object shadow candidate part. 163, a first captured image selection unit 154 that can select an image to be corrected via the mouse 34 and the like, and a second captured image is selected from the storage area 151 based on the selected first captured image. A second captured image selection unit 155, and a correction unit 156 that corrects a corresponding portion in the first captured image based on the foreign object shadow information detected by the foreign object shadow information acquisition unit 163 in the second captured image. ing.
 異物影情報取得部163は、図9に示すように、連結領域判定部164と、対象領域抽出部165と、輝度判定部166とを備えている。なお、この異物影情報取得部163は、第1実施形態の異物影情報取得部63と同様である。 As shown in FIG. 9, the foreign object shadow information acquisition unit 163 includes a connected region determination unit 164, a target region extraction unit 165, and a luminance determination unit 166. The foreign object shadow information acquisition unit 163 is the same as the foreign object shadow information acquisition unit 63 of the first embodiment.
 次に、異物影情報取得処理及び補正処理について説明する。
(異物影情報取得)
 画像処理装置150の保存領域151に、メモリカード40を介して、又は、カメラ1の外部インターフェース18を介して撮影画像が入力される。そうすると、画像処理装置150の異物影情報取得部163は、保存領域151に入力された撮影画像から異物影情報取得を行う。
 ここで、異物影情報とは、異物影が存在する位置の座標及び異物影の部分の輝度低下量(ゲインマップ)等である。
 この異物影情報取得は、保存領域に画像が転送された時点で自動的に行ってもよく、また、操作者の操作によって開始するものであってもよい。
Next, foreign object shadow information acquisition processing and correction processing will be described.
(Acquire foreign object shadow information)
A captured image is input to the storage area 151 of the image processing apparatus 150 via the memory card 40 or the external interface 18 of the camera 1. Then, the foreign object shadow information acquisition unit 163 of the image processing apparatus 150 acquires foreign object shadow information from the captured image input to the storage area 151.
Here, the foreign object shadow information includes the coordinates of the position where the foreign object shadow exists, the brightness reduction amount (gain map) of the part of the foreign object shadow, and the like.
This foreign object shadow information acquisition may be automatically performed when the image is transferred to the storage area, or may be started by the operation of the operator.
 図10は、異物影情報取得部163における異物影情報取得の流れを説明するフローチャートである。図10及び以下の説明中、ステップを「S」とも略記する。
 なお、以下のフローチャートの異物影情報取得は、第1実施形態のステップS06からS10と同様である。
 まず、ステップS51で連結領域判定部164は、画像を形成するRGBによる各画素の画像データの輝度平面を求め、その明度平面に対して逆ガンマ補正をかけ、入出力の関係を線形に戻す。そして、逆ガンマ補正後の輝度平面から、輝度勾配平面を生成する。
 輝度勾配平面では、異物影の周縁部では高い画素値を示し、空などの一様な平面では低い画素値を示す。つまり、エッジ部分では高い画素値を示し、これによって異物影のエッジ部分を検出できる。
FIG. 10 is a flowchart for explaining the flow of foreign object shadow information acquisition in the foreign object shadow information acquisition unit 163. In FIG. 10 and the following description, the step is also abbreviated as “S”.
The acquisition of foreign object shadow information in the following flowchart is the same as steps S06 to S10 in the first embodiment.
First, in step S51, the connected region determination unit 164 obtains a luminance plane of image data of each pixel by RGB forming an image, performs inverse gamma correction on the brightness plane, and returns the input / output relationship to linear. Then, a luminance gradient plane is generated from the luminance plane after inverse gamma correction.
In the luminance gradient plane, a high pixel value is shown at the peripheral part of the foreign object shadow, and a low pixel value is shown in a uniform plane such as the sky. That is, a high pixel value is shown in the edge portion, and thereby the edge portion of the foreign object shadow can be detected.
 次に、連結領域判定部164は、所定の閾値を設定して、輝度勾配平面を2値画像に変換する。すなわち、閾値より高い輝度勾配値を有する画素を「1」、閾値より低い輝度勾配値を有する画素を「0」と置換する。
 そして、ステップS52において、連結領域判定部164は、このようにして得られた2値画像から、「1」の画素が連結した領域(連結画素領域)を抽出する。連結画素領域とは、例えば、矩形の画素の4辺の内の少なくとも1辺で連続した(4近傍の)画素領域とする。この連結画素領域が、異物影の可能性のある領域である。
Next, the connected area determination unit 164 sets a predetermined threshold value and converts the luminance gradient plane into a binary image. That is, a pixel having a luminance gradient value higher than the threshold is replaced with “1”, and a pixel having a luminance gradient value lower than the threshold is replaced with “0”.
In step S52, the connected region determination unit 164 extracts a region (connected pixel region) in which the pixels “1” are connected from the binary image thus obtained. The connected pixel region is, for example, a pixel region that is continuous (near 4) on at least one of four sides of a rectangular pixel. This connected pixel region is a region that may have a foreign object shadow.
 ステップS53において、対象領域抽出部165は、連結領域判定部164によって抽出された連結画素領域の中から、異物影のサイズ(大小)に基づいて補正候補領域を抽出する。この対象領域抽出部165における異物影の大きさの判別は、画素数によって規定する。
 ここで、対象領域抽出部165は、連結画素領域から補正候補領域を抽出する際において、異物影の絶対的な大きさを基準とする。ここでは、一般的な異物のサイズと異物影のサイズがほぼ等しいものとして、最小100μm×100μm~最大400μm×400μmの大きさを検出対象とする。
In step S <b> 53, the target area extraction unit 165 extracts a correction candidate area from the connected pixel areas extracted by the connected area determination unit 164 based on the size (large or small) of the foreign object shadow. The determination of the size of the foreign object shadow in the target area extraction unit 165 is defined by the number of pixels.
Here, the target area extraction unit 165 uses the absolute size of the foreign object shadow as a reference when extracting the correction candidate area from the connected pixel area. Here, assuming that the size of a general foreign object and the size of a foreign object shadow are substantially equal, the detection target is a size of a minimum of 100 μm × 100 μm to a maximum of 400 μm × 400 μm.
 そして、対象領域抽出部165では、上記異物影の画素数によって表される面積を閾値として、連結領域判定部164において2値画像から抽出された連結画素領域の大きさ(画素数)がこの閾値内に含まれるものを選択する。 The target area extraction unit 165 uses the area represented by the number of pixels of the foreign object shadow as a threshold, and the size (number of pixels) of the connected pixel area extracted from the binary image by the connected area determination unit 164 is the threshold. Select what is contained within.
 さらにステップS54において輝度判定部166は、先の連結領域判定部164において説明したHSV変換によって求められた輝度値V(Value)と画像平面に対応する輝度平面とを用い、連結画素領域における内外の輝度を比較する。
 ここで、異物影は、内部の輝度が周辺の輝度に比較して低く、輝度比(内部の輝度/周辺の輝度)は1よりとても小さい。このため、輝度比が小さい所定の閾値を設定し、連結画像領域の輝度比がこの閾値より小さいに場合にのみ、異物影として判定する。
In step S54, the luminance determination unit 166 uses the luminance value V (Value) obtained by the HSV conversion described in the previous connected region determination unit 164 and the luminance plane corresponding to the image plane, and uses the luminance value V (Value) in the connected pixel region. Compare brightness.
Here, the foreign object shadow has a lower internal luminance than the peripheral luminance, and the luminance ratio (internal luminance / peripheral luminance) is much smaller than one. For this reason, a predetermined threshold value with a small luminance ratio is set, and it is determined as a foreign object shadow only when the luminance ratio of the connected image region is smaller than this threshold value.
 ここで、異物影の周囲の一定範囲の輝度の標準偏差が閾値以上の場合、異物影として採用しない。これは、検出された異物影の周囲の輝度の標準偏差が大きいときは、テクスチャー上の影のために、実際の異物影であることの信頼性が低いからである。 Here, when the standard deviation of the brightness in a certain range around the foreign object shadow is equal to or greater than the threshold, it is not adopted as the foreign object shadow. This is because when the standard deviation of the brightness around the detected foreign object shadow is large, the reliability of the actual foreign object shadow is low due to the shadow on the texture.
 そして、ステップS55において、異物影情報取得部163は、異物影の輝度低下量と異物位置情報(座標)を取得し、それぞれの撮影画像に関連付けて保存領域151に保存するする。 In step S55, the foreign object shadow information acquisition unit 163 acquires the brightness decrease amount of the foreign object shadow and the foreign object position information (coordinates), and stores them in the storage area 151 in association with each captured image.
(補正対象画像選択)
 図11は異物影除去動作を示すフローチャートである。
 ステップS61においてPCの表示制御部153は、操作者によるPC操作部34の操作に基づいて保存領域151に保存された撮影画像を、モニタ152に撮影画像を表示させる。
 この際、PC制御部は、撮影画像を多数の画像を一覧表示するために縮小されたサムネイム画像の形で表示してもよく、また、一枚の画像を順次選択するようにしても良い。
(Select correction target image)
FIG. 11 is a flowchart showing the foreign object shadow removal operation.
In step S61, the display control unit 153 of the PC causes the monitor 152 to display the captured image stored in the storage area 151 based on the operation of the PC operation unit 34 by the operator.
At this time, the PC control unit may display the captured image in the form of a thumbnail image reduced to display a list of a large number of images, or may sequentially select one image.
 ステップS62において、操作者のPC操作部の操作を介して、第一画像選択部154は、モニタ152に表示された撮影画像のうちの、異物影の除去を希望する第一の撮影画像G1を選択する。
 図6は、選択された画像の一例としての第一撮影画像G1を示す。図6の第一撮影画像G1において、木々の部分に異物影4Aが存在する。このような異物影は、例えば光学フィルタ12の前面に付着した異物(異物4)(図1参照)により生じている。しかし、本実施形態の第一撮影画像G1は、異物影4Aの輝度勾配と、木々の輝度勾配が重なってしまい、輝度勾配により異物影を検出する手法では、異物影を検出することが困難となっている。
In step S <b> 62, the first image selection unit 154 selects the first captured image G <b> 1 for which the removal of the foreign object shadow is desired from the captured images displayed on the monitor 152 through the operation of the PC operation unit by the operator. select.
FIG. 6 shows a first captured image G1 as an example of the selected image. In the first photographed image G1 in FIG. 6, a foreign object shadow 4A is present in a portion of trees. Such a foreign object shadow is caused by, for example, a foreign substance (foreign substance 4) (see FIG. 1) attached to the front surface of the optical filter 12. However, in the first captured image G1 of the present embodiment, the brightness gradient of the foreign object shadow 4A and the brightness gradient of the trees overlap, and it is difficult to detect the foreign object shadow by the method of detecting the foreign object shadow by the brightness gradient. It has become.
(第二画像選択)
 ステップS63において、第一の撮影画像G1が選択されると、第二撮影画像選択部155は、保存領域に保存されている複数の撮影画像のうち、第一撮影画像G1と撮影条件が同一又は略同一である第二撮影画像G2を検索して選択する。
(Second image selection)
In step S63, when the first photographed image G1 is selected, the second photographed image selection unit 155 has the same photographing condition as that of the first photographed image G1 among the plurality of photographed images stored in the storage area. A second photographed image G2 that is substantially the same is searched and selected.
 この場合、撮影条件の同一性の判断は、第一撮影画像G1のExif情報と第二撮影画像G2のExif情報とを基に行う。
 具体的には、Exif情報における、カメラボディ(カメラ種類)2、絞り値(F値)、焦点距離、撮影時刻、レンズ、撮影距離等が同一であることが判断基準である。
 これらの撮影条件のうち、カメラボディ2が同一であることとは本実施形態において必須とする。本実施形態は、同一のカメラボディ2で撮影した場合に、異なる撮影画像であっても、カメラボディ2内に配置されている光学フィルタ12に付着した異物は、同じ位置に影として移り込む現象を利用して異物影を補正するものであるからである。
In this case, the determination of the identity of the imaging conditions is performed based on the Exif information of the first captured image G1 and the Exif information of the second captured image G2.
Specifically, the criterion is that the camera body (camera type) 2, aperture value (F value), focal length, shooting time, lens, shooting distance, and the like in the Exif information are the same.
Among these photographing conditions, it is essential in the present embodiment that the camera body 2 is the same. In the present embodiment, when the same camera body 2 is used for shooting, even if the captured images are different, the foreign matter attached to the optical filter 12 disposed in the camera body 2 moves to the same position as a shadow. This is because the foreign object shadow is corrected by using the.
 その他の撮影条件は、少なくとも1つ以上、特に、絞り値が一致することが好ましく、焦点距離、撮影時間等も同一であることがより好ましい。全ての条件が一致することがさらに好ましい。
 第二撮影画像選択部152により選択される第二撮影画像G2は、選択条件に応じて、1以上又は複数選択される。なお、1枚も選択されなかった場合は、モニタ152に、選択枚数ゼロ等の警告表示が出るようにしてもよい。
 図7A,図7Bは、第2実施形態においては、第二撮影画像選択部152により第二撮影画像G2が複数選択された場合の2つの画像G2(1)及びG2(2)それぞれ示す。
 ここで、G2(1)に関しては、空の部分に異物影4Aaが有り、また、山のエッジからも遠いために異物影の検出が容易である。画像G2(2)に関しても空(色は濃いが検出可能)の部分に異物影4Abがあり検出可能である。
At least one or more other imaging conditions, in particular, it is preferable that the aperture values coincide, and it is more preferable that the focal length, the imaging time, and the like are the same. More preferably, all conditions are met.
One or more or a plurality of second photographed images G2 selected by the second photographed image selection unit 152 are selected according to the selection condition. If no sheet is selected, a warning display such as the number of selected sheets may be displayed on the monitor 152.
FIGS. 7A and 7B show two images G2 (1) and G2 (2), respectively, when a plurality of second photographed images G2 are selected by the second photographed image selection unit 152 in the second embodiment.
Here, regarding G2 (1), there is a foreign object shadow 4Aa in the empty part, and since it is far from the edge of the mountain, the detection of the foreign object shadow is easy. The image G2 (2) is also detectable because there is a foreign object shadow 4Ab in the sky (the color is dark but detectable).
(第二画像から第一撮影画像に適用される異物影情報取得)
 ステップS64において、第二撮影画像G2が選択されると、画像処理装置150は、第二撮影画像の異物影情報(異物影の位置の座標、及び輝度低下量(ゲインマップ))を読み出す。
(Acquisition of foreign object shadow information applied to the first captured image from the second image)
In step S64, when the second captured image G2 is selected, the image processing apparatus 150 reads out the foreign object shadow information (the coordinates of the position of the foreign object shadow and the brightness reduction amount (gain map)) of the second captured image.
 (表示)
 ステップS65において、第二撮影画像G2のそれぞれにおいて検出された異物影の位置を、第一撮影画像における異物影位置として、第一撮影画像が表示されているモニタ画面に重ねて表示する。
 すなわち、1枚目の第二撮影画像に異物影A1が検出され、2枚目の第二撮影画像における同じ位置にA2、異なる位置にBの異物影が検出され、3枚目の第二撮影画像における、A1と同じ位置にA3、A1とBと異なる位置に異物影Cが検出された場合は、モニタ画面上の第一画像に、位置A、B,Cが表示される。
(display)
In step S65, the position of the foreign object shadow detected in each of the second captured images G2 is displayed as a foreign object shadow position in the first captured image so as to overlap the monitor screen on which the first captured image is displayed.
That is, the foreign object shadow A1 is detected in the first second captured image, the A2 foreign object shadow is detected in the same position in the second second captured image, and the B foreign object shadow is detected in a different position. When a foreign object shadow C is detected at a position different from A3 and A1 and B in the same position as A1 in the image, the positions A, B, and C are displayed in the first image on the monitor screen.
 (補正)
 ステップS66において操作者は、操作部を介して、モニタ画面に表示されている位置A,B,Cのうち、補正を希望する部分を選択する。処理開始を選択すると、選択した部分の補正が行われる。
 なお、ここで、表示や選択をすることなく、第一撮影画像を選択すると、選択された第二画像から自動的に補正が行われても良い。
(correction)
In step S66, the operator selects a portion desired to be corrected among the positions A, B, and C displayed on the monitor screen via the operation unit. When the processing start is selected, the selected portion is corrected.
Here, when the first captured image is selected without performing display or selection, correction may be automatically performed from the selected second image.
 ここで、複数の第二撮影画像の同一位置に異物影が検出されている場合
1)複数の第二撮影画像のそれぞれにおける異物影を含む一定範囲の輝度を、第一撮影画像におけるその座標の位置に対応する部分を含む一定範囲の輝度と比較する。そして、該第一撮影画像における対応部分の周囲の輝度と最も近い輝度を有する第二撮影画像の異物影を、異物影として採用する。それは異物影の周囲の輝度が近いと、該異物影によるゲインの低下量が同等になると考えられるからである。
Here, when a foreign object shadow is detected at the same position of a plurality of second captured images, 1) the brightness of a certain range including the foreign object shadow in each of the plurality of second captured images is represented by the coordinates in the first captured image. Compare with a certain range of brightness including the part corresponding to the position. Then, the foreign object shadow of the second captured image having the brightness closest to the brightness around the corresponding portion in the first captured image is adopted as the foreign object shadow. This is because if the brightness around the foreign object shadow is close, the amount of gain reduction caused by the foreign object shadow is considered to be equal.
2)また、1)の替わりに、複数の第二撮影画像のそれぞれにおける異物影を含む一定範囲の色相を、第一撮影画像におけるその座標の位置に対応する部分を含む一定範囲の色相とを比較する。そして、該第一撮影画像における対応部分の周囲の色相と最も近い色相を有する第二撮影画像の異物影を、異物影として採用してもよい。これも異物影の周囲の色相が近いと、該異物影によるゲインの低下量が同等になると考えられるからである。
3)さらに、1)、2)の替わりに、これらの両方を参照するようにしても良い。
4)さらに、複数の第二撮影画像における同一位置の輝度低下量を平均しても良い。
2) Further, instead of 1), a certain range of hues including the foreign object shadow in each of the plurality of second captured images is replaced with a certain range of hues including a portion corresponding to the position of the coordinates in the first captured image. Compare. Then, the foreign object shadow of the second captured image having the hue closest to the hue around the corresponding portion in the first captured image may be adopted as the foreign object shadow. This is also because if the hue around the foreign object shadow is close, the amount of gain decrease due to the foreign object shadow is considered to be equal.
3) Further, instead of 1) and 2), both of them may be referred to.
4) Furthermore, you may average the luminance fall amount of the same position in a some 2nd picked-up image.
 補正部156は、上述のように選択された第二撮影画像G2中に写り込んだ異物影情報としてのゲインマップと異物位置情報(座標)を用いて第一撮影画像を補正して異物影の輝度を低減又は削除する補正を行う。 The correction unit 156 corrects the first captured image by using the gain map and the foreign object position information (coordinates) as the foreign object shadow information reflected in the second captured image G2 selected as described above, thereby correcting the foreign object shadow. Perform correction to reduce or eliminate brightness.
 すなわち、補正部156は、第一撮影画像G1中について、第二撮影画像G2から取得したゲインマップを用い、第一撮影画像G1の輝度に、輝度信号の逆数を掛け算して、ゲイン補正を行う。これにより、第一撮影画像G1中に出現する異物影等の異物による輝度の変化を低減もしくは除去する画像補正を行う。 That is, the correction unit 156 performs gain correction by multiplying the luminance of the first captured image G1 by the reciprocal of the luminance signal using the gain map acquired from the second captured image G2 in the first captured image G1. . Thus, image correction is performed to reduce or eliminate a change in luminance due to a foreign object such as a foreign object shadow appearing in the first captured image G1.
 以上、第2実施形態によると、第一撮影画像において、異物影の特定が困難な位置に、第二撮影画像において異物影が検出できた場合に、第一撮影画像においても同じ位置に異物影が存在する推測し、第二撮影画像の異物影情報に基づいて第一撮影画像を補正することが可能となる。そして、これによって、複数の撮影画像の異物影の検出結果を用いることにより、異物影の検出しにくい画像における異物影の補正が可能となる。 As described above, according to the second embodiment, when a foreign object shadow can be detected in the second captured image at a position where it is difficult to specify the foreign object shadow in the first captured image, the foreign object shadow is also positioned at the same position in the first captured image. And the first captured image can be corrected based on the foreign object shadow information of the second captured image. Thus, by using the detection results of the foreign object shadows of a plurality of captured images, it is possible to correct the foreign object shadows in an image in which the foreign object shadows are difficult to detect.
(変形形態)
 以上、説明した実施形態に限定されることなく、以下に示すような種々の変形や変更が可能であり、それらも本発明の範囲内である。
(Deformation)
The present invention is not limited to the above-described embodiment, and various modifications and changes as described below are possible, and these are also within the scope of the present invention.
(1)第2実施形態において、保存領域51に撮影画像が入力された時点で、入力された全ての撮影画像について異物影情報取得を行う形態について説明した。しかし、本発明はこれに限定されない。例えば、第一撮影画像が選択され、それに基づいて第二撮影画像が選択された後、選択された第二撮影画像について異物影情報を取得するものであってもよい。
 この変形形態によると、選択された第二撮影画像についてのみ異物影情報が取得されるので、全体として処理量が減少する。一方、本実施形態の場合は、予め、全ての撮影画像について異物影情報が取得されているので、第二撮影画像が選択された後の処理時間が減少する。
(1) In the second embodiment, a description has been given of a mode in which foreign object shadow information acquisition is performed for all input captured images when a captured image is input to the storage area 51. However, the present invention is not limited to this. For example, after the first captured image is selected and the second captured image is selected based on the first captured image, foreign object shadow information may be acquired for the selected second captured image.
According to this modification, the foreign object shadow information is acquired only for the selected second photographed image, so the overall processing amount is reduced. On the other hand, in the case of the present embodiment, since the foreign object shadow information is acquired in advance for all the captured images, the processing time after the second captured image is selected is reduced.
(2)上記実施形態では、電子スチルカメラであるカメラ1によって撮影した画像データを処理する例を説明したが、必ずしもこの内容に限定する必要はない。本発明は、動画を扱うビデオカメラで撮影した画像データにも適用できる。また、カメラつき携帯電話などで撮影した画像データにも適用できる。さらに、コピー機やスキャナ等にも適用できる。すなわち、撮像素子を使用して撮像したあらゆる画像データに対して、本発明を適用することができる。 (2) In the above embodiment, an example in which image data captured by the camera 1 which is an electronic still camera is processed has been described. However, the present invention is not necessarily limited to this content. The present invention can also be applied to image data taken by a video camera that handles moving images. It can also be applied to image data taken with a camera-equipped mobile phone. Furthermore, it can be applied to a copying machine, a scanner, and the like. That is, the present invention can be applied to any image data captured using an image sensor.
(3)上記実施の形態では、電子スチルカメラであるカメラ1で撮影した画像データをPC(パソコン)30で処理して異物の影響を除去する例を説明したが、この内容に限定するものではない。カメラ1にそのようなプログラムを備えてもよい。その場合、カメラ1の液晶画面での欠陥位置の特定は、タッチパネル方式や、カメラ背面に設けられた十字キー等で行ってもよい。
 また、プリンタや投影装置などにそのようなプログラムを備えてもよい。すなわち、本発明は、画像データを扱うあらゆる装置に適用することができる。
(3) In the above-described embodiment, the example in which the image data captured by the camera 1 which is an electronic still camera is processed by the PC (personal computer) 30 to remove the influence of the foreign matter has been described. However, the present invention is not limited to this content. Absent. The camera 1 may be provided with such a program. In that case, the defect position on the liquid crystal screen of the camera 1 may be specified by a touch panel method, a cross key provided on the back of the camera, or the like.
Further, such a program may be provided in a printer, a projection device, or the like. That is, the present invention can be applied to any apparatus that handles image data.
(4)PC30で実行するプログラムは、CD-ROMなどの記録媒体に限らず、インターネットなどのデータ信号を通じて提供することができる。
 なお、実施形態及び変形形態は、適宜組み合わせて用いることもできるが、詳細な説明は省略する。また、本発明は以上説明した実施形態によって限定されることはない。
(4) The program executed by the PC 30 is not limited to a recording medium such as a CD-ROM, and can be provided through a data signal such as the Internet.
In addition, although embodiment and a deformation | transformation form can also be used in combination suitably, detailed description is abbreviate | omitted. Further, the present invention is not limited to the embodiment described above.
 1:カメラ、2:カメラボディ、12:光学フィルタ、13:撮像素子、17:メモリカード用IF、18:外部IF、30:パーソナルコンピュータ(PC)、33:CD-ROM、34:マウス(選択部)、36:メモリカード、50:画像処理装置、56:補正部、60:異物影情報検出部、61:範囲決定部、62:画像選択部、63:異物影情報取得部151:保存領域、152:モニタ、153:常時制御部、154:第一撮影画像選択部、155:第二撮影画像選択部、156:補正部、163:異物影情報取得部、G1:第一の撮影画像、G2:第二の撮影画像、E:検出範囲 1: Camera, 2: Camera body, 12: Optical filter, 13: Image sensor, 17: Memory card IF, 18: External IF, 30: Personal computer (PC), 33: CD-ROM, 34: Mouse (selection) Part), 36: memory card, 50: image processing device, 56: correction part, 60: foreign object shadow information detection part, 61: range determination part, 62: image selection part, 63: foreign object shadow information acquisition part 151: storage area 152: monitor, 153: constant control unit, 154: first captured image selection unit, 155: second captured image selection unit, 156: correction unit, 163: foreign object shadow information acquisition unit, G1: first captured image, G2: second captured image, E: detection range

Claims (21)

  1.  第一の撮影画像中における特定位置を選択可能な位置選択部と、
     前記第一の撮影画像中において、前記位置選択部により選択された位置を含む一定の範囲を決定する範囲決定部と、
     前記第一の撮影画像と異なる第二の撮影画像を選択する画像選択部と、
     前記第二の撮影画像中における、前記第一の撮影画像の前記一定の範囲に対応する対応範囲から、前記第二の撮影画像中に移りこんだ異物影情報を取得する異物影情報取得部と、を備えること、
    を特徴とする画像処理装置。
    A position selection unit capable of selecting a specific position in the first captured image;
    In the first captured image, a range determination unit that determines a certain range including the position selected by the position selection unit;
    An image selection unit for selecting a second captured image different from the first captured image;
    A foreign object shadow information acquisition unit that acquires foreign object shadow information that has moved into the second captured image from a corresponding range corresponding to the certain range of the first captured image in the second captured image; Providing,
    An image processing apparatus.
  2.  請求項1に記載の画像処理装置であって、
     前記画像選択部は、前記第二の撮影画像として、前記第一の撮影画像の撮影条件に近い撮影条件で撮影された画像を選択すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to claim 1,
    The image selection unit selects, as the second photographed image, an image photographed under a photographing condition close to the photographing condition of the first photographed image;
    An image processing apparatus.
  3.  請求項2に記載の画像処理装置であって、
     前記撮影条件は、前記第一の撮影画像を撮影したカメラ本体と同一のカメラ本体であることと、絞り値、撮影距離、レンズ、焦点距離、及び撮影時間のうちの少なくとも1つが同一であること、を含むこと、
    を特徴とする画像処理装置。
    The image processing apparatus according to claim 2,
    The shooting condition is that the camera body is the same as the camera body that shot the first captured image, and at least one of an aperture value, a shooting distance, a lens, a focal length, and a shooting time is the same. Including,
    An image processing apparatus.
  4.  請求項1から3のいずれか1項に記載の画像処理装置であって、
     前記異物影情報取得部は、輝度情報を用いて異物影情報を取得すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 1 to 3,
    The foreign object shadow information acquisition unit acquires the foreign object shadow information using luminance information;
    An image processing apparatus.
  5.  請求項1から4のいずれか1項に記載の画像処理装置であって、
     前記画像選択部は、前記第二の撮影画像として、前記第一の撮影画像と同じファイル型式にした場合に、前記対応範囲内に前記異物影情報を有し、かつ、前記対応範囲の周辺輝度が第一の撮影画像と同一又はもっとも近い画像を選択すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 1 to 4,
    The image selection unit has the foreign object shadow information in the corresponding range when the second captured image has the same file type as the first captured image, and the peripheral luminance of the corresponding range. Select an image that is the same as or closest to the first captured image,
    An image processing apparatus.
  6.  請求項1から4のいずれか1項に記載の画像処理装置であって、
     前記画像選択部は、前記第二の撮影画像として、前記第一の撮影画像と同じファイル型式にした場合に、前記対応範囲内に前記異物影情報を有し、かつ、前記範囲周辺の色相が第一の撮影象画像と同一又はもっとも近い画像を選択すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 1 to 4,
    The image selection unit has the foreign object shadow information in the corresponding range when the second captured image has the same file type as the first captured image, and the hue around the range is Select the same or closest image as the first captured elephant image,
    An image processing apparatus.
  7.  請求項1から6のいずれか1項に記載の画像処理装置であって、
     前記画像選択部は、前記第二の撮影画像として、前記対応範囲内に前記異物影情報を有し、かつ、前記対応範囲の周辺輝度の標準偏差が最も小さい画像を選択すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 1 to 6,
    The image selection unit selects, as the second captured image, an image having the foreign object shadow information in the corresponding range and having the smallest standard deviation of the peripheral luminance of the corresponding range;
    An image processing apparatus.
  8.  請求項1から7のいずれか1項に記載の画像処理装置であって、
     前記画像選択部は、前記第二の撮影画像における、前記対応範囲の平均した輝度のプロファイルから、前記第一の撮影画像を補正するためのデータを作成すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 1 to 7,
    The image selection unit creates data for correcting the first captured image from the average brightness profile of the corresponding range in the second captured image;
    An image processing apparatus.
  9.  請求項1から8のいずれか1項に記載の画像処理装置であって、
     前記画像選択部は、前記第一の撮影画像以外の撮影画像から、シャッタスピードの異なるものを前記第二の撮影画像として選択すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 1 to 8,
    The image selection unit selects a photographed image other than the first photographed image with a different shutter speed as the second photographed image;
    An image processing apparatus.
  10.  請求項1から9のいずれか1項に記載の画像処理装置であって、
     画像の補正部を備えること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 1 to 9,
    Providing an image correction unit;
    An image processing apparatus.
  11.  補正対象の第一撮影画像の撮影条件をもとに、保存されている撮影画像から、異物影情報取得用の第二撮影画像を選択する第二撮影画像選択部と、
     前記撮影画像に写り込んでいる影の中から異物影の可能性がある異物影候補を抽出し、それぞれの撮影画像に対して、該異物影候補が存在する位置の座標及び該異物影候補の部分の輝度低下量を取得する異物影情報取得部と、
     前記異物影情報取得部により取得された、前記第二撮影画像における該異物影候補が存在する位置の座標及び該異物影候補の部分の輝度低下量をもとに、前記第一撮影画像を補正する補正部と、を備えること、
    を特徴とする画像処理装置。
    A second captured image selection unit that selects a second captured image for acquiring foreign object shadow information from a stored captured image based on the capturing condition of the first captured image to be corrected;
    A foreign object shadow candidate that may be a foreign object shadow is extracted from the shadows reflected in the captured image, and the coordinates of the position where the foreign object shadow candidate exists and the foreign object shadow candidate are extracted for each captured image. A foreign object shadow information acquisition unit for acquiring the luminance decrease amount of the part;
    The first captured image is corrected based on the coordinates of the position where the foreign object shadow candidate is present in the second captured image acquired by the foreign object shadow information acquisition unit and the luminance decrease amount of the portion of the foreign object shadow candidate. A correction unit that performs,
    An image processing apparatus.
  12.  補正対象の第一撮影画像の撮影条件をもとに、保存されている撮影画像から、異物影情報取得用の第二撮影画像を選択する第二撮影画像選択部と、
     前記撮影画像に写り込んでいる影の中から異物影の可能性がある異物影候補を抽出し、それぞれの撮影画像に対して、該異物影候補が存在する位置の座標及び該異物影候補の部分の輝度低下量を取得する異物影情報取得部と、
     前記異物影候補を異物影として採用し、前記異物影情報取得部により取得された前記異物影候補の前記座標を、前記第一撮影画像に表示する表示部と、を備えること、
    を特徴とする画像処理装置。
    A second captured image selection unit that selects a second captured image for acquiring foreign object shadow information from a stored captured image based on the capturing condition of the first captured image to be corrected;
    A foreign object shadow candidate that may be a foreign object shadow is extracted from the shadows reflected in the captured image, and the coordinates of the position where the foreign object shadow candidate exists and the foreign object shadow candidate are extracted for each captured image. A foreign object shadow information acquisition unit for acquiring the luminance decrease amount of the part;
    A display unit that employs the foreign object shadow candidate as a foreign object shadow and displays the coordinates of the foreign object shadow candidate acquired by the foreign object shadow information acquisition unit on the first captured image;
    An image processing apparatus.
  13.  請求項11または12に記載の画像処理装置であって、
     前記第二撮影画像選択部は、前記第一撮影画像の撮影条件に近い撮影条件で撮影された画像を前記第二撮影画像として選択すること、
    を特徴とする画像処理装置。
    The image processing device according to claim 11 or 12,
    The second captured image selection unit selects, as the second captured image, an image captured under a capturing condition close to the capturing condition of the first captured image;
    An image processing apparatus.
  14.  請求項13に記載の画像処理装置であって、
     前記撮影条件は、前記第一撮影画像を撮影したカメラ本体と同一のカメラ本体であることと、絞り値、撮影距離、レンズ、焦点距離、及び撮影時間のうちの少なくとも1つが同一であること、を含むこと、
    を特徴とする画像処理装置。
    The image processing apparatus according to claim 13,
    The imaging condition is that the camera body is the same as the camera body that captured the first captured image, and that at least one of an aperture value, an imaging distance, a lens, a focal length, and an imaging time is the same, Including,
    An image processing apparatus.
  15.  請求項11から14のいずれか1項に記載の画像処理装置であって、
     前記第二撮影画像における前記異物影候補の周辺輝度の標準偏差が閾値以上の場合、前記異物影候補を前記異物影として採用しないこと、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 11 to 14,
    If the standard deviation of the peripheral brightness of the foreign object shadow candidate in the second photographed image is equal to or greater than a threshold value, do not adopt the foreign object shadow candidate as the foreign object shadow;
    An image processing apparatus.
  16.  請求項11から15のいずれか1項に記載の画像処理装置であって、
     前記第一撮影画像における前記異物影候補に対応する座標の位置を含む一定範囲の標準偏差が閾値以下の場合には、前記異物影候補を前記異物影として採用しないこと、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 11 to 15,
    When the standard deviation of a certain range including the position of the coordinates corresponding to the foreign object shadow candidate in the first photographed image is equal to or less than a threshold, do not adopt the foreign object shadow candidate as the foreign object shadow;
    An image processing apparatus.
  17.  請求項11から16のいずれか1項に記載の画像処理装置であって、
     前記第二撮影画像選択部が選択した第二撮影画像が複数存在し、同一の座標の位置に存在する異物影候補が複数の前記第二撮影画像から選択された場合、
     該異物影候補を含む一定範囲の輝度と、前記第一撮影画像における前記座標の位置に対応する部分を含む一定範囲の輝度と、が最も近い第二撮影画像の異物影候補を、異物影として採用すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 11 to 16,
    When there are a plurality of second photographed images selected by the second photographed image selection unit and a foreign object shadow candidate present at the same coordinate position is selected from the plurality of second photographed images,
    The foreign object shadow candidate of the second captured image that is closest to the predetermined range of brightness including the foreign object shadow candidate and the predetermined range of brightness including the portion corresponding to the position of the coordinate in the first captured image is defined as a foreign object shadow. Adopting,
    An image processing apparatus.
  18.  請求項11から16のいずれか1項に記載の画像処理装置であって、
     前記第二撮影画像選択部が選択した第二撮影画像が複数存在し、同一の座標の位置に存在する異物影候補が複数の前記第二撮影画像から選択された場合、
     該異物影候補を含む一定範囲の色相と、前記第一撮影画像における前記座標の位置に対応する部分を含む一定範囲の色相と、が最も近い第二撮影画像の異物影候補を、異物影として採用すること、
    を特徴とする画像処理装置。
    The image processing apparatus according to any one of claims 11 to 16,
    When there are a plurality of second photographed images selected by the second photographed image selection unit and a foreign object shadow candidate present at the same coordinate position is selected from the plurality of second photographed images,
    The foreign object shadow candidate of the second captured image that is closest to the fixed range of hue including the foreign object shadow candidate and the fixed range of hue including the portion corresponding to the position of the coordinate in the first captured image is defined as a foreign object shadow. Adopting,
    An image processing apparatus.
  19.  補正対象の第1撮影画像の撮影情報を用いて、第2撮影画像を選択する選択部と、
     前記第2撮影画像から異物影に関する情報である異物情報を取得する取得部と、
    を備えることを特徴とする画像処理装置。
    A selection unit that selects the second photographed image using the photographing information of the first photographed image to be corrected;
    An acquisition unit that acquires foreign object information that is information related to a foreign object shadow from the second captured image;
    An image processing apparatus comprising:
  20.  第1撮影画像中における特定位置を選択可能な位置選択部と、
     前記位置選択部により選択された位置を含む一定の範囲を決定する範囲決定部と、
     前記第1の撮影画像と異なる第2撮影画像を選択する画像選択部と、
     前記第2撮影画像中における前記一定の範囲に対応する対応範囲から異物影情報を取得する異物影情報取得部とを備えることを特徴とする画像処理装置。
    A position selection unit capable of selecting a specific position in the first captured image;
    A range determination unit for determining a certain range including the position selected by the position selection unit;
    An image selection unit for selecting a second captured image different from the first captured image;
    An image processing apparatus comprising: a foreign object shadow information acquisition unit configured to acquire foreign object shadow information from a corresponding range corresponding to the certain range in the second captured image.
  21.  請求項1から20のいずれか1項に記載の画像処理装置の機能をコンピュータに実行させること、
    を特徴とする画像処理プログラム。
    Causing a computer to execute the function of the image processing apparatus according to claim 1;
    An image processing program characterized by the above.
PCT/JP2012/057604 2011-03-31 2012-03-23 Image processing apparatus and image processing program WO2012133228A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2011-078117 2011-03-31
JP2011078117A JP2012213075A (en) 2011-03-31 2011-03-31 Image processor and image processing program
JP2011084573A JP2012222509A (en) 2011-04-06 2011-04-06 Image processor and image processing program
JP2011-084573 2011-04-06

Publications (1)

Publication Number Publication Date
WO2012133228A1 true WO2012133228A1 (en) 2012-10-04

Family

ID=46930950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/057604 WO2012133228A1 (en) 2011-03-31 2012-03-23 Image processing apparatus and image processing program

Country Status (1)

Country Link
WO (1) WO2012133228A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004343519A (en) * 2003-05-16 2004-12-02 Nikon Corp Imaging apparatus and image processing apparatus
JP2008244867A (en) * 2007-03-27 2008-10-09 Canon Inc Image processing device, control method thereof, storage medium and imaging apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004343519A (en) * 2003-05-16 2004-12-02 Nikon Corp Imaging apparatus and image processing apparatus
JP2008244867A (en) * 2007-03-27 2008-10-09 Canon Inc Image processing device, control method thereof, storage medium and imaging apparatus

Similar Documents

Publication Publication Date Title
JP4186699B2 (en) Imaging apparatus and image processing apparatus
JP6173156B2 (en) Image processing apparatus, imaging apparatus, and image processing method
US7450756B2 (en) Method and apparatus for incorporating iris color in red-eye correction
US8442347B2 (en) Information processing apparatus, information processing method, program, and imaging apparatus including optical microscope
JP6267502B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
KR20110004085A (en) Photographing apparatus and photographing method
JP2007194794A (en) Photographic device, and image processing method for photographed image, and program
JP2008227569A (en) Photographing device, electronic device, photography control method and photography control program
JP5246078B2 (en) Object location program and camera
JP4466015B2 (en) Image processing apparatus and image processing program
JP4349380B2 (en) IMAGING DEVICE, METHOD FOR OBTAINING IMAGE
JP6742863B2 (en) Microscope image processing apparatus, method and program
US8537266B2 (en) Apparatus for processing digital image and method of controlling the same
US7889242B2 (en) Blemish repair tool for digital photographs in a camera
JP2007258923A (en) Image processing apparatus, image processing method, image processing program
JP4632417B2 (en) Imaging apparatus and control method thereof
JP6172973B2 (en) Image processing device
JP6099973B2 (en) Subject area tracking device, control method thereof, and program
JP2013225779A (en) Image processing device, imaging device, and image processing program
WO2012133228A1 (en) Image processing apparatus and image processing program
JP2012222509A (en) Image processor and image processing program
JP2012213075A (en) Image processor and image processing program
JP2012222508A (en) Image processor and image processing program
JP5750934B2 (en) Image processing apparatus and image processing program
JP2010016693A (en) Electronic camera

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12763364

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12763364

Country of ref document: EP

Kind code of ref document: A1