JP2012222509A - Image processor and image processing program - Google Patents

Image processor and image processing program Download PDF

Info

Publication number
JP2012222509A
JP2012222509A JP2011084573A JP2011084573A JP2012222509A JP 2012222509 A JP2012222509 A JP 2012222509A JP 2011084573 A JP2011084573 A JP 2011084573A JP 2011084573 A JP2011084573 A JP 2011084573A JP 2012222509 A JP2012222509 A JP 2012222509A
Authority
JP
Japan
Prior art keywords
image
processing apparatus
image processing
foreign object
captured image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011084573A
Other languages
Japanese (ja)
Inventor
Takeshi Matsumoto
豪 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2011084573A priority Critical patent/JP2012222509A/en
Priority to PCT/JP2012/057604 priority patent/WO2012133228A1/en
Publication of JP2012222509A publication Critical patent/JP2012222509A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processor and image processing program capable of easily detecting a foreign matter in a captured image.SOLUTION: An image processor includes: a position selection part 34 for selecting a specification position in a first captured image; a range determination part 61 for determining a fixed range including the position selected by the position selection part 34 in the first captured image; an image selection part 62 for selecting a second captured image different from the first captured image; and a foreign matter shadow information acquisition part 63 for acquiring foreign matter shadow information appearing in the second captured image from a correspondence range corresponding to the fixed range of the first captured image in the second captured image.

Description

本発明は、画像処理装置及び画像処理プログラムに関する。   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 described above, information such as the coordinates of the position of the foreign object was obtained from the reference image in which the foreign object shadow was reflected, and the image was normally shot 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, in the above prior art, it is necessary to take 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.

本発明の課題は、より容易に撮影画像中の異物を検出可能な画像処理装置及び画像処理プログラムを提供することである。   The subject of this invention is providing the image processing apparatus and image processing program which can detect the foreign material in a picked-up image more easily.

本発明は、以下のような解決手段により前記課題を解決する。なお、理解を容易にするために、本発明の実施形態に対応する符号を付して説明するが、これに限定されるものではない。   The present invention solves the above problems by the following means. In addition, in order to make an understanding easy, although the code | symbol corresponding to embodiment of this invention is attached | subjected and demonstrated, it is not limited to this.

請求項1に記載の発明は、第一の撮影画像(G1)中における特定位置を選択可能な位置選択部(34)と、前記第一の撮影画像(G1)中において、前記位置選択部(34)により選択された位置を含む一定の範囲(E1)を決定する範囲決定部(61)と、前記第一の撮影画像(G1)と異なる第二の撮影画像(G2)を選択する画像選択部(62)と、前記第二の撮影画像(G2)中における、前記第一の撮影画像(G1)の前記一定の範囲(E1)に対応する対応範囲(E2)から、前記第二の撮影画像(G2)中に移りこんだ異物影情報を取得する異物影情報取得部(63)と、を備えること、を特徴とする画像処理装置(50)である。
請求項2に記載の発明は、請求項1に記載の画像処理装置(50)であって、前記画像選択部(62)は、前記第二の撮影画像(G2)として、前記第一の撮影画像(G1)の撮影条件に近い撮影条件で撮影された画像を選択すること、を特徴とする画像処理装置(50)である。
請求項3に記載の発明は、請求項2に記載の画像処理装置(50)であって、前記撮影条件は、前記第一の撮影画像(G1)を撮影したカメラ本体と同一のカメラ本体であることと、絞り値、撮影距離、レンズ、焦点距離、及び撮影時間のうちの少なくとも1つが同一であることと、を含むこと、を特徴とする画像処理装置(50)である。
請求項4に記載の発明は、請求項1から3のいずれか1項に記載の画像処理装置(50)であって、前記異物影情報取得部(63)は、輝度情報を用いて異物影情報を取得すること、を特徴とする画像処理装置(50)である。
請求項5に記載の発明は、請求項1から4のいずれか1項に記載の画像処理装置(50)であって、前記画像選択部(62)は、前記第二の撮影画像(G2)として、前記第一の撮影画像(G1)と同じファイル型式にした場合に、前記対応範囲(E2)内に前記異物影情報を有し、かつ、前記対応範囲(E2)周辺の輝度が第一の撮影画像(G1)と同一又はもっとも近い画像を選択すること、を特徴とする画像処理装置(50)である。
請求項6に記載の発明は、請求項1から4のいずれか1項に記載の画像処理装置(50)であって、前記画像選択部(62)は、前記第二の撮影画像(G2)として、前記第一の撮影画像(G1)と同じファイル型式にした場合に、前記対応範囲(E2)内に前記異物影情報を有し、かつ、前記範囲周辺の色相が第一の撮影象画像と同一又はもっとも近い画像を選択すること、を特徴とする画像処理装置(50)である。
請求項7に記載の発明は、請求項1から6のいずれか1項に記載の画像処理装置(50)であって、前記画像選択部(62)は、前記第二の撮影画像(G2)として、前記対応範囲(E2)内に前記異物影情報を有し、かつ、前記対応範囲(E2)周辺の輝度の標準偏差が最も小さい画像を選択すること、を特徴とする画像処理装置(50)である。
請求項8に記載の発明は、請求項1から7のいずれか1項に記載の画像処理装置(50)であって、前記画像選択部(62)は、前記第二の撮影画像(G2)における、前記対応範囲(E2)の平均した輝度のプロファイルから、前記第一の撮影画像(G1)を補正するためのデータを作成すること、を特徴とする画像処理装置(50)である。
請求項9に記載の発明は、請求項1から8のいずれか1項に記載の画像処理装置(50)であって、前記画像選択部(62)は、前記第一の撮影画像(G1)以外の撮影画像から、シャッタスピードの異なるものを前記第二の撮影画像(G2)として選択すること、を特徴とする画像処理装置(50)である。
請求項10に記載の発明は、請求項1から9のいずれか1項に記載の画像処理装置(50)であって、画像の補正部(51)を備えること、を特徴とする画像処理装置(50)である。
請求項11に記載の発明は、請求項1から10のいずれか1項に記載の画像処理装置(50)の機能をコンピュータ(30)に実行させること、を特徴とする画像処理プログラムである。
According to the first aspect of the present invention, the position selection unit (34) capable of selecting a specific position in the first captured image (G1) and the position selection unit (in the first captured image (G1)) 34) A range determination unit (61) for determining a certain range (E1) including the position selected by the image selection, and an image selection for selecting a second captured image (G2) different from the first captured image (G1). And the second captured image from the corresponding range (E2) corresponding to the predetermined range (E1) of the first captured image (G1) in the second captured image (G2). An image processing apparatus (50) comprising: a foreign object shadow information acquisition unit (63) that acquires foreign object shadow information transferred into the image (G2).
A second aspect of the present invention is the image processing device (50) according to the first aspect, wherein the image selection unit (62) uses the first photographing as the second photographed image (G2). An image processing apparatus (50) characterized by selecting an image photographed under a photographing condition close to the photographing condition of the image (G1).
The invention according to claim 3 is the image processing apparatus (50) according to claim 2, wherein the photographing condition is the same camera body as the camera body that photographed the first photographed image (G1). And an image processing apparatus (50) characterized in that at least one of an aperture value, a shooting distance, a lens, a focal length, and a shooting time is the same.
The invention described in claim 4 is the image processing apparatus (50) according to any one of claims 1 to 3, wherein the foreign object shadow information acquisition unit (63) uses the luminance information to detect the foreign object shadow. An image processing apparatus (50) characterized by acquiring information.
Invention of Claim 5 is an image processing apparatus (50) of any one of Claim 1 to 4, Comprising: The said image selection part (62) is said 2nd picked-up image (G2). When the same file type as the first captured image (G1) is used, the foreign object shadow information is included in the corresponding range (E2), and the luminance around the corresponding range (E2) is the first. The image processing apparatus (50) is characterized by selecting an image that is the same as or closest to the captured image (G1).
A sixth aspect of the present invention is the image processing device (50) according to any one of the first to fourth aspects, wherein the image selection unit (62) includes the second captured image (G2). When the same file type as the first photographed image (G1) is used, the foreign object shadow information is included in the corresponding range (E2), and the hue around the range is the first photographed elephant image. The image processing apparatus (50) is characterized in that the same or closest image is selected.
A seventh aspect of the present invention is the image processing device (50) according to any one of the first to sixth aspects, wherein the image selection unit (62) includes the second captured image (G2). As an image processing apparatus (50), an image having the foreign object shadow information in the corresponding range (E2) and having the smallest standard deviation of luminance around the corresponding range (E2) is selected. ).
The invention according to claim 8 is the image processing device (50) according to any one of claims 1 to 7, wherein the image selection unit (62) is configured to provide the second captured image (G2). The image processing device (50) is characterized in that data for correcting the first photographed image (G1) is created from the averaged luminance profile of the corresponding range (E2).
The invention according to a ninth aspect is the image processing device (50) according to any one of the first to eighth aspects, wherein the image selection unit (62) includes the first captured image (G1). The image processing apparatus (50) is characterized in that one having a different shutter speed is selected as the second captured image (G2) from the other captured images.
A tenth aspect of the present invention is the image processing apparatus (50) according to any one of the first to ninth aspects, further comprising an image correcting unit (51). (50).
The invention described in claim 11 is an image processing program that causes a computer (30) to execute the function of the image processing apparatus (50) described in any one of claims 1 to 10.

本発明によれば、より容易に撮影画像中の異物を検出可能な画像処理装置及び画像処理プログラムを提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the image processing apparatus and image processing program which can detect the foreign material in a picked-up image more easily can be provided.

本発明の実施形態におけるレンズ交換式のカメラの構成を示す図である。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. 画像欠損補正処理を行う画像処理装置の機能ブロック図である。It is a functional block diagram of the image processing apparatus which performs an image defect correction process. 画像処理装置における欠損判定部の機能ブロック図である。It is a functional block diagram of a defect determination unit in the image processing apparatus. 画像処理装置による異物影情報検出及び画像の補正処理の流れを説明するフローチャートである。6 is a flowchart illustrating a flow of foreign object shadow information detection and image correction processing by the image processing apparatus. モニタ上に表示された第一の撮影画像の一例である。It is an example of the 1st picked-up image displayed on the monitor. (a)、(b)共に、第二の撮影画像の例である。Both (a) and (b) are examples of the second photographed image.

以下、図面等を参照して、本発明の実施形態について説明する。
図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、電源19、制御部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 19, 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 a 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, reproduced images based on images captured by the image sensor 13 and image data stored in a memory card.

メモリカード用IF17は、メモリカード(カード状のリムーバブルメモリ)40とのインターフェースをとなる。
外部IF18は、所定のケーブルや無線伝送路を介してPC30等の外部装置とのインターフェースとなる。
電源19は、カメラ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 source 19 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 performs overall control of each functional unit in the camera 1. 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, an application program for correcting an image based on information on the detection of a foreign object such as a foreign object shadow and the detected foreign object is installed in the CD-ROM 33 connected to the PC 30 in advance.

つぎに、撮影された第一の撮影画像中における異物影等による異物影情報を検出し、その検出した異物影情報に基づいて第一の撮影画像を補正する処理(異物影情報検出・補正処理)について説明する。   Next, processing for detecting foreign object shadow information such as foreign object shadow in the photographed first captured image and correcting the first captured image based on the detected foreign object shadow information (foreign object shadow information detection / 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によって検出された異物影情報に基づいて、その異物による異物影を補正する補正部51と、を備えている。
異物影検出部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 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 detection unit 60 that detects foreign object shadow information and the foreign object shadow information detected by the foreign object shadow detection unit 60. And a correction unit 51 that corrects a foreign object shadow caused by the foreign object.
As shown in FIG. 4, the foreign object shadow 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 (target) captured image G1 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によるクリック位置を中心にして異物影及びその周辺を含めた所定の大きさの検出範囲Eを決定する。
ここで、この検出範囲Eは、予め規定されていてもよく、また、ユーザがマウス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 E having a predetermined size including the foreign object shadow and its periphery is determined.
Here, the detection range E 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 image G <b> 1 among the plurality of second image captured 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に、選択枚数ゼロ等の警告表示が出るようにしてもよい。
図7は、画像選択部62により第二の撮影画像G2が複数選択された場合の2つの画像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.
FIG. 7 is a diagram illustrating two images G2 (1) and G2 (2) when a plurality of second photographed images G2 are selected by the image selection unit 62.

次に、ステップS05で異物影情報取得部63は、選択された複数の第二の撮影画像G2中の、第一の撮影画像G1中の所定の検出範囲Eに対応する対応範囲E2を特定する。   Next, in step S05, the foreign object shadow information acquisition unit 63 specifies a corresponding range E2 corresponding to a predetermined detection range E 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 as having 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.

分散が所定閾値以下ということは、範囲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において、補正部51は、上述のように選択された第二の撮影画像G2中に写り込んだ異物影情報としてのゲインマップと異物位置情報(座標)を用いて第一の撮影画像を補正して異物影の輝度を低減又は削除する補正を行う。   Next, in step S11, the correction unit 51 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.

すなわち、補正部51は、第一の撮影画像G1中の所定の検出範囲Eについて、第二の撮影画像G2中の所定の検出範囲Eから取得したゲインマップを用い、第一の撮影画像G1の所定の検出範囲Eの輝度に、輝度信号の逆数を掛け算して、ゲイン補正を行う。これにより、第一の撮影画像G1中の所定の検出範囲Eに出現する異物影等の異物による輝度の変化を低減もしくは除去する画像補正を行う。   That is, the correction unit 51 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.

(変形形態)
以上、説明した実施形態に限定されることなく、以下に示すような種々の変形や変更が可能であり、それらも本発明の範囲内である。
(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)上記実施形態では、電子スチルカメラであるカメラ1によって撮影した画像データを処理する例を説明したが、必ずしもこの内容に限定する必要はない。本発明は、動画を扱うビデオカメラで撮影した画像データにも適用できる。また、カメラつき携帯電話などで撮影した画像データにも適用できる。さらに、コピー機やスキャナ等にも適用できる。すなわち、撮像素子を使用して撮像したあらゆる画像データに対して、本発明を適用することができる。 (1) 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.

(2)上記実施の形態では、電子スチルカメラであるカメラ1で撮影した画像データをPC(パソコン)30で処理して異物の影響を除去する例を説明したが、この内容に限定するものではない。カメラ1にそのようなプログラムを備えてもよい。その場合、カメラ1の液晶画面での欠陥位置の特定は、タッチパネル方式や、カメラ背面に設けられた十字キー等で行ってもよい。
また、プリンタや投影装置などにそのようなプログラムを備えてもよい。すなわち、本発明は、画像データを扱うあらゆる装置に適用することができる。
(2) 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 foreign matters 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.

(3)PC30で実行するプログラムは、CD−ROMなどの記録媒体に限らず、インターネットなどのデータ信号を通じて提供することができる。
なお、実施形態及び変形形態は、適宜組み合わせて用いることもできるが、詳細な説明は省略する。また、本発明は以上説明した実施形態によって限定されることはない。
(3) The program executed on 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 as appropriate, 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:画像処理装置、51:補正部、60:異物影情報検出部、61:範囲決定部、62:画像選択部、63:異物影情報取得部、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, 51: correction part, 60: foreign object shadow information detection part, 61: range determination part, 62: image selection part, 63: foreign object shadow information acquisition part, G1: first One shot image, G2: second shot image, E: detection range

Claims (11)

第一の撮影画像中における特定位置を選択可能な位置選択部と、
前記第一の撮影画像中において、前記位置選択部により選択された位置を含む一定の範囲を決定する範囲決定部と、
前記第一の撮影画像と異なる第二の撮影画像を選択する画像選択部と、
前記第二の撮影画像中における、前記第一の撮影画像の前記一定の範囲に対応する対応範囲から、前記第二の撮影画像中に移りこんだ異物影情報を取得する異物影情報取得部と、を備えること、
を特徴とする画像処理装置。
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.
請求項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.
請求項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.
請求項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.
請求項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 brightness around the corresponding range. Select an image that is the same as or closest to the first captured image,
An image processing apparatus.
請求項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.
請求項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 luminance around the corresponding range;
An image processing apparatus.
請求項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.
請求項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.
請求項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.
請求項1から10のいずれか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.
JP2011084573A 2011-03-31 2011-04-06 Image processor and image processing program Pending JP2012222509A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011084573A JP2012222509A (en) 2011-04-06 2011-04-06 Image processor and image processing program

Publications (1)

Publication Number Publication Date
JP2012222509A true JP2012222509A (en) 2012-11-12

Family

ID=47273596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011084573A Pending JP2012222509A (en) 2011-03-31 2011-04-06 Image processor and image processing program

Country Status (1)

Country Link
JP (1) JP2012222509A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014125837A1 (en) * 2013-02-18 2014-08-21 パナソニック株式会社 Image capture device foreign matter information detection device and foreign matter information detection method

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014125837A1 (en) * 2013-02-18 2014-08-21 パナソニック株式会社 Image capture device foreign matter information detection device and foreign matter information detection method
JP5610106B1 (en) * 2013-02-18 2014-10-22 パナソニック株式会社 Foreign matter information detection device and foreign matter information detection method for imaging apparatus
US9706110B2 (en) 2013-02-18 2017-07-11 Panasonic Intellectual Property Management Co., Ltd. Foreign body information detection device and foreign body information detection method of imaging apparatus

Similar Documents

Publication Publication Date Title
US9154697B2 (en) Camera selection based on occlusion of field of view
JP4186699B2 (en) Imaging apparatus and image processing apparatus
JP6173156B2 (en) Image processing apparatus, imaging apparatus, and image processing method
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
JP5246078B2 (en) Object location program and camera
JP4466015B2 (en) Image processing apparatus and image processing program
JP6351271B2 (en) Image composition apparatus, image composition method, and program
JP2013106284A (en) Light source estimation device, light source estimation method, light source estimation program, and imaging apparatus
US20130135494A1 (en) User interface (ui) providing method and photographing apparatus using the same
JP5768193B2 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
US8537266B2 (en) Apparatus for processing digital image and method of controlling the same
US10896344B2 (en) Information processing apparatus, information processing method, and computer program
JP2013225779A (en) Image processing device, imaging device, and image processing program
JP2007258923A (en) Image processing apparatus, image processing method, image processing program
JP6099973B2 (en) Subject area tracking device, control method thereof, and program
JP6172973B2 (en) Image processing device
JP2012222509A (en) Image processor and image processing program
JP2004222233A (en) Image processing apparatus and image processing program
JP2012222508A (en) Image processor and image processing program
JP2012213075A (en) Image processor and image processing program
WO2012133228A1 (en) Image processing apparatus and image processing program
JP5750934B2 (en) Image processing apparatus and image processing program
JP2013012089A (en) Image processing device, camera and image processing program
JP2012256169A (en) Image processing system and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140306

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150707

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151110