JP2012156884A - Control device and computer program - Google Patents

Control device and computer program Download PDF

Info

Publication number
JP2012156884A
JP2012156884A JP2011015600A JP2011015600A JP2012156884A JP 2012156884 A JP2012156884 A JP 2012156884A JP 2011015600 A JP2011015600 A JP 2011015600A JP 2011015600 A JP2011015600 A JP 2011015600A JP 2012156884 A JP2012156884 A JP 2012156884A
Authority
JP
Japan
Prior art keywords
dust
correction data
image
dust correction
cpu
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
JP2011015600A
Other languages
Japanese (ja)
Inventor
Toshiaki Eguri
俊明 殖栗
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011015600A priority Critical patent/JP2012156884A/en
Publication of JP2012156884A publication Critical patent/JP2012156884A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a control device which remotely controls an imaging device and reduces a load on dust removal by effectively confirming effect of the dust removal by combination of a plurality of images only from an image file by using the plurality of pieces of dust correction data which are separately recorded in the image during photographing.SOLUTION: In a camera adding first dust correction data as information when a photographed image is photographed in the imaging device holding dust correction data detected by photographing white paper as first dust position information, remaining dust position information is acquired by scanning again the image after dust is removed from the image by the first dust correction data in PC as second dust correction data. When the second dust correction data is input to the camera, the first and second dust correction data are added to the image.

Description

本発明は、CCDやCMOSセンサ等の撮像素子を用いた撮像装置における、光学ローパスフィルター等の表面に付着した異物による画質劣化を抑制する技術に関する。   The present invention relates to a technique for suppressing image quality deterioration due to foreign matter adhering to the surface of an optical low-pass filter or the like in an imaging apparatus using an imaging element such as a CCD or CMOS sensor.

近年、デジタルカメラやデジタルビデオカメラなどのように、CCD等の撮像素子を用いて画像信号を生成し、それをデータとして記録する撮像装置が数多く出回るようになってきている。デジタルカメラでは、従来記録媒体として使用していた感光フィルムが不要になり、これに代わって半導体メモリカードやハードディスク装置等のデータ記録媒体にデータ化された画像を記録する。これらのデータ記録媒体はフィルムと違って何度でも書き込み、消去が可能であるので、消耗品にかかる経費が少なくて済み、大変便利である。   2. Description of the Related Art In recent years, many image pickup apparatuses that generate image signals using an image pickup device such as a CCD and record the data as data, such as digital cameras and digital video cameras, have come into circulation. In a digital camera, a photosensitive film that has been used as a conventional recording medium is no longer necessary, and instead of this, a data image is recorded on a data recording medium such as a semiconductor memory card or a hard disk device. Since these data recording media can be written and erased any number of times unlike films, the cost for consumables can be reduced, which is very convenient.

通常、デジタルカメラには撮像画像を随時表示可能なLCD(液晶表示器)モニタ装置と、着脱可能な大容量記憶装置が搭載されている。   Usually, a digital camera is equipped with an LCD (Liquid Crystal Display) monitor device capable of displaying captured images at any time and a detachable mass storage device.

これら二つの装置を備えたデジタルカメラを利用すると、従来消耗品として使用してきた記録媒体であるフィルムが不要になるばかりでなく、撮像した画像をLCDモニタ装置に表示してその場で直ちに確認できる。したがって、満足の得られない画像データはその場で消去したり、必要に応じて再撮影したりすることが可能となり、フィルムを用いる銀塩カメラと比較すると、写真撮影の効率が飛躍的に高まったと言える。   Using a digital camera equipped with these two devices not only eliminates the need for a film as a recording medium that has been used as a consumable item in the past, but also allows the captured image to be displayed on the LCD monitor device and immediately confirmed on the spot. . Therefore, unsatisfactory image data can be erased on the spot or re-photographed as needed, and the efficiency of photography is dramatically increased compared to film cameras using film. I can say.

このような利便性と撮像素子の多画素化などの技術革新により、デジタルカメラの利用範囲は拡大しており、近年では一眼レフ方式などレンズ交換が可能なデジタルカメラも多くなってきている。   Due to such convenience and technological innovations such as an increase in the number of pixels in the image sensor, the range of use of digital cameras has been expanded. In recent years, there are many digital cameras capable of exchanging lenses, such as single-lens reflex cameras.

しかしながら、デジタルカメラでは、撮像素子前方の撮影光軸上に配置された撮像素子保護ガラス、光学フィルタ等の表面上や光学系(以下、まとめて撮像素子光学系部品)にゴミ、ほこりなどの異物(以下、単にゴミ)が付着する場合がある。このように撮像素子光学系部品にゴミが付着すると、そのゴミによって光が遮られ、その部分が撮影されないなど、撮影した画像の品質が低下するという問題があった。   However, in a digital camera, foreign matter such as dust or dust is present on the surface of an image sensor protective glass, an optical filter or the like disposed on the imaging optical axis in front of the image sensor or on an optical system (hereinafter collectively referred to as an image sensor optical system component). (Hereafter, simply dust) may adhere. When dust adheres to the image sensor optical system component in this way, there is a problem that the quality of the photographed image is deteriorated, for example, light is blocked by the dust and the portion is not photographed.

したがって、撮影者は撮像素子光学系部品へのゴミの付着に常時気を使わねばならず、ゴミのチェックや清掃に多くの労力を費やしていた。特に撮像素子は、カメラ内部の比較的奥まったところに配置されているため、清掃やゴミの確認は容易ではない。   Therefore, the photographer must always pay attention to the adhesion of dust to the image sensor optical system parts, and has spent a lot of labor on checking and cleaning the dust. In particular, since the image sensor is disposed at a relatively deep location inside the camera, it is not easy to clean or check for dust.

さらにレンズ交換式のデジタルカメラでは、レンズ着脱によりゴミの侵入が容易であるばかりでなく、レンズ交換式デジタルカメラの多くは撮像素子の直前にフォーカルプレーンシャッターを配置しており、撮像素子光学系部品上にゴミが付着しやすい。   In addition, with interchangeable lens digital cameras, not only dust can be easily infiltrated by attaching and detaching the lens, but many of the interchangeable lens digital cameras have a focal plane shutter immediately in front of the image sensor. Garbage easily adheres to the top.

このようなゴミは、通常撮像素子の表面にではなく、保護用のガラスや光学フィルタ上に付着しているため、撮影レンズの絞り値や撮影レンズの瞳から撮像面までの距離により結像状態が異なる。即ち、絞りが開放値に近いとぼやけてしまい、小さいゴミが付着していたとしてもほとんど影響が無くなるが、逆に絞り値が大きくなるとはっきり結像し画像に影響を与えてしまう。   Such dust usually adheres not to the surface of the image sensor, but also to protective glass and optical filters, so the image formation state depends on the aperture value of the photographic lens and the distance from the photographic lens pupil to the imaging surface. Is different. That is, if the aperture is close to the open value, the image is blurred, and even if small dust is attached, there is almost no effect. However, if the aperture value is increased, the image is clearly formed and the image is affected.

そこで、レンズの絞りを絞った状態で白い壁などを撮影し、撮像素子上のゴミだけが写った画像を予め用意して通常撮影画像と組み合わせて使用することで、ゴミを目立たなくする方法が知られている(特許文献1参照)。しかし、この方法では、ゴミ検出用に撮影した画像と、それに関連付ける本撮影画像群との対応付けを常に意識しなくてはならず、煩わしい。   Therefore, there is a method to make dust inconspicuous by taking a picture of a white wall etc. with the lens aperture closed and preparing an image showing only dust on the image sensor in combination with a normal shot image. It is known (see Patent Document 1). However, with this method, it is necessary to always be aware of the association between the image captured for dust detection and the actual captured image group associated therewith, which is cumbersome.

そこで、白い壁などを撮影してゴミの位置を取得した後これをデジタルカメラ上で保持しておき、通常撮影時の画像データにゴミの位置や大きさのリストを添付することが考えられる。例えば別途用意された画像処理装置を用い、添付されたゴミの位置から撮影データ上のゴミ位置を解析し、解析された領域を周囲の画素で補間処理することにより目立たなくすることができる。   Therefore, it is conceivable to capture a dust position by photographing a white wall or the like and hold it on a digital camera, and attach a list of dust positions and sizes to image data at the time of normal photographing. For example, by using a separately prepared image processing apparatus, the dust position on the photographed data is analyzed from the attached dust position, and the analyzed area is interpolated with surrounding pixels, thereby making it less noticeable.

ただし、このような処理によって、画像上に写り込んだすべてのゴミを目立たなくすることは困難である。なぜなら、デジタルカメラで白い壁などを撮影してゴミの位置を取得する際に、周辺減光の影響などによりゴミの位置の取得に失敗する場合があるからである。この場合には、ゴミの位置や大きさのリストにそのゴミが登録されないため、前述の画像処理装置を用いた解析、補間処理では、そのゴミを目立たなくするということはできない。   However, it is difficult to make all the dust reflected on the image inconspicuous by such processing. This is because when the position of dust is acquired by photographing a white wall or the like with a digital camera, the acquisition of the position of dust may fail due to the influence of peripheral dimming. In this case, since the dust is not registered in the list of dust positions and sizes, the dust cannot be made inconspicuous in the analysis and interpolation processing using the image processing apparatus described above.

このように、ゴミのリストに登録されなかったゴミは、前述したようなゴミのリストを利用した画像処理では目立たなくすることはできない。そこで、そのようなゴミはユーザが自らの手によって撮影画像上のゴミの位置を指定し、リペア処理等を施すことによって目立たなく方法が知られている(特許文献2参照)。これによれば、ゴミの位置や大きさのリストをファイル情報、あるいはカメラ内の情報として追加登録できる仕組みとなっている。しかしながら、撮影画像が複数枚存在するような場合には、ユーザはすべての画像に対して、リペア処理を行うために、リストを用いることになるため、常にファイルを適用する必要があり、ユーザ負荷が大きくなってしまうという問題がある。さらに、カメラ内の情報としてリストを保持していた場合にも、同様の問題が発生する。   As described above, the dust that has not been registered in the dust list cannot be made inconspicuous in the image processing using the dust list as described above. Therefore, a method is known in which such dust is inconspicuous when the user designates the position of the dust on the photographed image with his / her hand and performs a repair process or the like (see Patent Document 2). According to this, it is possible to additionally register a list of dust positions and sizes as file information or information in the camera. However, when there are a plurality of photographed images, the user uses a list to perform repair processing on all images, so it is necessary to always apply a file, and the user load There is a problem that becomes large. Further, a similar problem occurs when a list is held as information in the camera.

特開2004−222231号公報JP 2004-222231 A 特開2008−244867号公報JP 2008-244867 A

本発明は、前述した課題に鑑みてなされたものであり、その目的は、撮像装置を遠隔制御する制御装置において、撮像素子の前方に配置された保護ガラス、フィルタ等にゴミが付着した場合でも、撮影画像への影響を効率よく抑制できるようにすることである。   The present invention has been made in view of the above-described problems, and the object thereof is a control device that remotely controls an imaging device, even when dust adheres to protective glass, a filter, or the like disposed in front of the imaging device. It is to be able to efficiently suppress the influence on the photographed image.

上記のような課題を解決するために、本発明に係る制御装置は、第1のゴミ位置情報として、白紙を撮影することで検出されたゴミ補正データを保持する撮像装置において、撮影画像撮影時に第1のゴミ補正データを情報として付加するカメラにおいて、第2のゴミ補正データとして、PCにて第1のゴミ補正データにより画像からゴミを取り除いた後で再度画像をスキャンして残りのゴミ位置情報を取得し、第2のゴミ補正データをカメラに入力すると、第1と第2のゴミ補正データを画像に付加することを特徴とする。   In order to solve the above-described problems, a control device according to the present invention is an imaging device that holds dust correction data detected by shooting a blank sheet as first dust position information, and at the time of shooting a captured image. In the camera to which the first dust correction data is added as information, as the second dust correction data, the PC removes dust from the image with the first dust correction data, and then scans the image again, and the remaining dust positions When the information is acquired and the second dust correction data is input to the camera, the first and second dust correction data are added to the image.

本発明によれば、撮像素子の前方に配置された保護ガラス、フィルタ等にゴミが付着した場合でも、撮影画像への影響を効率よく抑制することが可能となる。   According to the present invention, even when dust adheres to protective glass, a filter, or the like disposed in front of the image sensor, it is possible to efficiently suppress the influence on the captured image.

本発明の実施形態1から3に係る制御システムの一例を示す図である。It is a figure which shows an example of the control system which concerns on Embodiment 1 to 3 of this invention. 本発明の実施形態1から3に係る制御システムの概略構成の一例を示すブロック図である。It is a block diagram which shows an example of schematic structure of the control system which concerns on Embodiment 1 to 3 of this invention. 本発明の実施形態1から3に係る撮像装置で行われる処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of processing performed by the imaging device according to the first to third embodiments of the present invention. 本発明の実施形態1から3に係る撮像装置で行われる処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of processing performed by the imaging device according to the first to third embodiments of the present invention. 本発明の実施形態1から3に係る撮像装置で行われる処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of processing performed by the imaging device according to the first to third embodiments of the present invention. 本発明の実施形態1から3に係るゴミ補正データ(400)、および追加ゴミ補正データ(400)の一例を示す図である。It is a figure which shows an example of the dust correction data (400) which concerns on Embodiments 1-3 of this invention, and additional dust correction data (400). 本発明の実施形態1から3に係るゴミ補正データ(410)、および追加ゴミ補正データ(410)の一例を示す図である。It is a figure which shows an example of the dust correction data (410) which concerns on Embodiments 1-3 of this invention, and additional dust correction data (410). 本発明の実施形態1から3に係る制御装置で行われる処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process performed with the control apparatus which concerns on Embodiment 1 to 3 of this invention. 本発明の実施形態1から3に係る制御装置で行われる処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process performed with the control apparatus which concerns on Embodiment 1 to 3 of this invention. 本発明の実施形態1から3に係る制御装置で行われる処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process performed with the control apparatus which concerns on Embodiment 1 to 3 of this invention. 本発明の実施形態1に係るカメラコントロール画面(500)の一例を示す図である。It is a figure which shows an example of the camera control screen (500) which concerns on Embodiment 1 of this invention. 本発明の実施形態3に係るカメラコントロール画面(500)の一例を示す図である。It is a figure which shows an example of the camera control screen (500) which concerns on Embodiment 3 of this invention. 本発明の実施形態1から3に係る送信コマンド(700)の一例を示す図である。It is a figure which shows an example of the transmission command (700) which concerns on Embodiment 1 to 3 of this invention. 本発明の実施形態1から3に係る制御装置、および撮像装置で行われる追加ゴミ補正データ(400)の登録処理の一例を示すフローチャートである。It is a flowchart which shows an example of the registration process of the additional dust correction data (400) performed with the control apparatus which concerns on Embodiments 1-3 of this invention, and an imaging device. 本発明の実施形態1から3に係る制御装置、および撮像装置で行われる追加ゴミ補正データ(400)の登録処理の一例を示すフローチャートである。It is a flowchart which shows an example of the registration process of the additional dust correction data (400) performed with the control apparatus which concerns on Embodiments 1-3 of this invention, and an imaging device. 本発明の実施形態1から3に係る制御装置、および撮像装置で行われる追加ゴミ補正データ(400)の登録処理の一例を示すフローチャートである。It is a flowchart which shows an example of the registration process of the additional dust correction data (400) performed with the control apparatus which concerns on Embodiments 1-3 of this invention, and an imaging device.

以下、本発明の好適な実施形態について、図面を参照して詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

[実施例1]
図1は、本発明の実施形態1に係る遠隔制御システムの概略構成の一例を示す図である。図2は、本発明の実施形態1に係る遠隔制御システムの一例を示すブロック図である。
[Example 1]
FIG. 1 is a diagram illustrating an example of a schematic configuration of a remote control system according to Embodiment 1 of the present invention. FIG. 2 is a block diagram illustrating an example of a remote control system according to the first embodiment of the present invention.

実施形態1に係る通信システムは、図1及び図2に示すように、制御装置(100)、インターフェース(300)、撮像装置(200)を有する。制御装置(100)と撮像装置(200)は、インターフェース(300)を介して接続されている。インターフェース(300)の一例として、USB(Universal Serial Bus)接続ケーブルを用いる。以下では、接続ケーブルを「USBケーブル」として説明する。   The communication system according to the first embodiment includes a control device (100), an interface (300), and an imaging device (200) as shown in FIGS. The control device (100) and the imaging device (200) are connected via an interface (300). As an example of the interface (300), a USB (Universal Serial Bus) connection cable is used. Hereinafter, the connection cable will be described as “USB cable”.

次に、PC(100)の構成の一例を説明する。   Next, an example of the configuration of the PC (100) will be described.

PC(100)は、図2に示すように、CPU(Central Processing Unit)(101)、メモリ(102)、通信部(104)、表示部(105)、操作部(106)を有する。   As shown in FIG. 2, the PC (100) includes a CPU (Central Processing Unit) (101), a memory (102), a communication unit (104), a display unit (105), and an operation unit (106).

表示部(105)は、液晶ディスプレイ等の表示器により構成される。表示部(105)は、メモリ(102)及び通信部(104)の少なくとも一つから供給された映像データを表示することができる。また、表示部(105)は、メモリ(102)に記憶されているグラフィカルユーザインターフェースであるメニュー画面を表示することもできる。メニュー画面は、PC(100)を制御するためのPC制御画面、PC(100)の設定を変更するためのPC設定画面、または、撮像装置(200)を制御するためのカメラコントロール画面(500)等を含む。   The display unit (105) includes a display such as a liquid crystal display. The display unit (105) can display video data supplied from at least one of the memory (102) and the communication unit (104). The display unit (105) can also display a menu screen that is a graphical user interface stored in the memory (102). The menu screen is a PC control screen for controlling the PC (100), a PC setting screen for changing settings of the PC (100), or a camera control screen (500) for controlling the imaging device (200). Etc.

なお、これらのメニュー画面が表示部(105)に表示されている場合、CPU(201)はマウスカーソル(矢印の形状のアイコン)(600)をメニュー画面に重畳して表示する。   When these menu screens are displayed on the display unit (105), the CPU (201) superimposes and displays a mouse cursor (arrow-shaped icon) (600) on the menu screen.

また、表示部(105)は、CPU(101)から供給されたカメラコントロール画面(500)の所定の領域に、通信部(104)から供給された映像データを表示する。カメラコントロール画面(500)の説明は後述する。   The display unit (105) displays the video data supplied from the communication unit (104) in a predetermined area of the camera control screen (500) supplied from the CPU (101). The camera control screen (500) will be described later.

操作部(106)は、PC(100)を操作するためのユーザインターフェースである。また、操作部(106)は、PC(100)を操作するための操作手段として、マウス(106a)やタブレット、トラックボール等のポインティングデバイスやキーボード(106b)を有する。これらのポインティングデバイスをユーザが操作することによって、メニュー画面に重畳されたマウスカーソル(600)をメニュー画面上で操作を行うことができる。   The operation unit (106) is a user interface for operating the PC (100). The operation unit (106) includes a mouse (106a), a pointing device such as a tablet, a trackball, and a keyboard (106b) as operation means for operating the PC (100). When the user operates these pointing devices, the mouse cursor (600) superimposed on the menu screen can be operated on the menu screen.

メニュー画面上において、ポインティングデバイスの位置情報に応じてマウスカーソル(600)はメニュー画面上を移動し、ポインティングデバイスが押下されると、マウスカーソル(600)は検出された領域に応じて処理を行う。   On the menu screen, the mouse cursor (600) moves on the menu screen according to the position information of the pointing device, and when the pointing device is pressed, the mouse cursor (600) performs processing according to the detected area. .

次に撮像装置(200)の構成の一例を説明する。   Next, an example of the configuration of the imaging device (200) will be described.

撮像装置(200)は、図2に示すように、CPU(201)、メモリ(202)、記録部(203)、通信部(204)、画像処理部(205)、表示部(206)、操作部(207)、撮像部(208)を有する。   As shown in FIG. 2, the imaging apparatus (200) includes a CPU (201), a memory (202), a recording unit (203), a communication unit (204), an image processing unit (205), a display unit (206), an operation Part (207) and an imaging part (208).

撮像装置(200)は、撮影モード、再生モード、ゴミ検出モード、ゴミ補正データ登録モード等の動作モードを有する。撮像装置(200)の動作モードが撮影モードである場合、撮像装置(200)は、被写体の撮影が可能になり、撮影された映像(動画、静止画のいずれでもよい)を記録媒体に記録することができる。撮像装置(200)の動作モードが再生モードである場合、ユーザによって選択された映像(動画、静止画のいずれでもよい)を記録媒体から再生することができる。撮像装置(200)の動作モードがゴミ検出モードである場合、撮像装置(200)は、静止画を撮影し、画像からゴミ補正データ(400)を検出し、メモリ(202)にゴミ補正データ(400)を記録する。撮像装置(200)の動作モードがゴミ補正データ登録モードである場合、撮像装置(200)は、USBケーブル(300)を介してPC(100)から転送されたゴミ補正データ(400)を取得してメモリ(202)に追加ゴミ補正データ(400)を記録する。   The imaging device (200) has operation modes such as a shooting mode, a reproduction mode, a dust detection mode, and a dust correction data registration mode. When the operation mode of the imaging apparatus (200) is the shooting mode, the imaging apparatus (200) can shoot a subject and records the captured video (either a moving image or a still image) on a recording medium. be able to. When the operation mode of the imaging device (200) is the playback mode, the video (either a moving image or a still image) selected by the user can be played from the recording medium. When the operation mode of the imaging apparatus (200) is the dust detection mode, the imaging apparatus (200) captures a still image, detects dust correction data (400) from the image, and stores dust correction data (400) in the memory (202). 400). When the operation mode of the imaging apparatus (200) is the dust correction data registration mode, the imaging apparatus (200) acquires the dust correction data (400) transferred from the PC (100) via the USB cable (300). The additional dust correction data (400) is recorded in the memory (202).

ゴミ補正データ(400)、および追加ゴミ補正データ(400)の説明は、図4(a)、図4(b)を用いて後に説明する。   The dust correction data (400) and the additional dust correction data (400) will be described later with reference to FIGS. 4 (a) and 4 (b).

メモリ(202)に記憶される情報には、撮像装置(200)を制御するコンピュータプログラム、表示部(206)に表示される所定の画像データやアイコン、ゴミ補正データ(400)、追加ゴミ補正データ(400)等がある。   The information stored in the memory (202) includes a computer program for controlling the imaging device (200), predetermined image data and icons displayed on the display unit (206), dust correction data (400), and additional dust correction data. (400) etc.

撮像装置(200)の動作モードが撮影モードである場合、撮像部(208)は、被写体を撮影し、当該被写体の光学像から映像データを生成する。この際、メモリ(202)にゴミ補正データ(400)、追加ゴミ補正データ(400)が記録されていれば、映像データのMakerNote内にゴミ補正データ(400)、追加ゴミ補正データ(400)を記録する。撮像部(208)によって生成された映像データは、通信部(204)、画像処理部(205)及び表示部(206)に供給される。不図示のマイクロフォン部が生成した音声データも、記録部(203)及び通信部(204)に供給される。   When the operation mode of the imaging apparatus (200) is the shooting mode, the imaging unit (208) captures a subject and generates video data from the optical image of the subject. At this time, if dust correction data (400) and additional dust correction data (400) are recorded in the memory (202), dust correction data (400) and additional dust correction data (400) are stored in the MakerNote of the video data. Record. The video data generated by the imaging unit (208) is supplied to the communication unit (204), the image processing unit (205), and the display unit (206). Audio data generated by a microphone unit (not shown) is also supplied to the recording unit (203) and the communication unit (204).

さらに、撮像装置(200)の動作モードが撮影モードである場合、記録部(203)は、画像処理部(205)でさまざまな画像処理が行なわれた映像データと、不図示のマイクロフォン部が生成した音声データとを記録媒体に記録することができる。この際、メモリ(202)にゴミ補正データ(400)、追加ゴミ補正データ(400)が記録されていれば、映像データのMakerNote内にゴミ補正データ(400)、追加ゴミ補正データ(400)を記録する。   Further, when the operation mode of the imaging device (200) is the shooting mode, the recording unit (203) generates video data that has been subjected to various image processing by the image processing unit (205) and a microphone unit (not shown). The recorded audio data can be recorded on a recording medium. At this time, if dust correction data (400) and additional dust correction data (400) are recorded in the memory (202), dust correction data (400) and additional dust correction data (400) are stored in the MakerNote of the video data. Record.

また、撮像装置(200)の動作モードが再生モードである場合、記録部(203)は、ユーザによって選択された映像データ及び音声データを記録媒体から再生することができる。記録媒体から再生された映像データは、表示部(206)及び通信部(204)に供給される。一方、記録媒体から再生された音声データは、通信部(204)及び不図示のスピーカ部に供給される。   In addition, when the operation mode of the imaging apparatus (200) is the reproduction mode, the recording unit (203) can reproduce the video data and audio data selected by the user from the recording medium. The video data reproduced from the recording medium is supplied to the display unit (206) and the communication unit (204). On the other hand, the audio data reproduced from the recording medium is supplied to the communication unit (204) and a speaker unit (not shown).

表示部(206)は、液晶ディスプレイ等により構成される。撮像装置(200)の動作モードが撮影モードである場合、表示部(206)は、撮像部(208)が生成した映像データを表示する。撮像装置(200)の動作モードが再生モードである場合、表示部(206)は、記録部(203)が記録媒体から再生した映像データを表示する。   The display unit (206) is configured by a liquid crystal display or the like. When the operation mode of the imaging device (200) is the shooting mode, the display unit (206) displays the video data generated by the imaging unit (208). When the operation mode of the imaging apparatus (200) is the reproduction mode, the display unit (206) displays the video data reproduced from the recording medium by the recording unit (203).

操作部(207)は、撮像装置(200)を操作するためのユーザインターフェースであり、撮像装置(200)を操作するための複数のボタンを有する。ユーザからの指示は、操作部(207)を介してCPU(201)に入力される。操作部(207)内の各ボタンは、スイッチ、タッチパネル等により構成される。   The operation unit (207) is a user interface for operating the imaging device (200), and includes a plurality of buttons for operating the imaging device (200). An instruction from the user is input to the CPU (201) via the operation unit (207). Each button in the operation unit (207) includes a switch, a touch panel, and the like.

操作部(207)は、シャッターボタン、電源ボタン、スタート/ストップボタン、モード変更ボタン、メニューボタン、十字ボタン、SETボタン等を有する。   The operation unit (207) includes a shutter button, a power button, a start / stop button, a mode change button, a menu button, a cross button, a SET button, and the like.

シャッターボタンは、シャッターボタンの半押しされた状態であるS1とシャッターボタンの全押しされた状態であるS2の2つの状態を持つ。撮像装置(200)の動作モードが撮影モードの場合、シャッターボタンが押下されたときにシャッターボタンがS2の状態では、CPU(201)は撮像部(208)に一連の撮影処理の動作開始を指示する。シャッターボタンがS2の状態のときに撮像部(208)が行う撮影処理については、後述する。   The shutter button has two states, S1 in which the shutter button is half-pressed and S2 in which the shutter button is fully pressed. When the operation mode of the imaging device (200) is the shooting mode, the CPU (201) instructs the imaging unit (208) to start a series of shooting processing operations when the shutter button is in the state of S2 when the shutter button is pressed. To do. An imaging process performed by the imaging unit (208) when the shutter button is in the state of S2 will be described later.

スタート/ストップボタンは、撮像部(208)によって生成された映像データ等の記録媒体への記録の開始又は一時停止をCPU(201)に指示するボタンである。モード変更ボタンは、撮像装置(200)の動作モードを撮影モード、再生モード、ゴミ検出モード、ゴミ補正データ登録モード等のいずれかに変更することをCPU(201)に指示するボタンである。   The start / stop button is a button for instructing the CPU (201) to start or pause recording of video data generated by the imaging unit (208) on a recording medium. The mode change button is a button for instructing the CPU (201) to change the operation mode of the imaging apparatus (200) to any one of a shooting mode, a reproduction mode, a dust detection mode, a dust correction data registration mode, and the like.

メニューボタンは、撮像装置(200)のメニュー画面の表示又は非表示をCPU(201)に指示するボタンである。撮像装置(200)のメニュー画面は、撮像装置(200)を制御するためのメニュー画面、撮像装置(200)の設定を変更するためのメニュー画面を含む。これらのメニュー画面は、メモリ(202)に記憶されている。   The menu button is a button for instructing the CPU (201) to display or hide the menu screen of the imaging apparatus (200). The menu screen of the imaging apparatus (200) includes a menu screen for controlling the imaging apparatus (200) and a menu screen for changing settings of the imaging apparatus (200). These menu screens are stored in the memory (202).

また、操作部(207)は、再生ボタン、停止ボタン、一時停止ボタン、早送りボタン、巻き戻しボタン等を有する。これらのボタンは、記録媒体に記録された映像データの再生(play)、停止(Stop)、一時停止(pauSe)、早送り(fast forward)及び巻き戻し(rewind)の実行をCPU(201)に指示するボタンである。   The operation unit (207) includes a play button, a stop button, a pause button, a fast forward button, a rewind button, and the like. These buttons instruct the CPU (201) to execute play (play), stop (stop), pause (pauSe), fast forward (fast forward), and rewind (rewind) of the video data recorded on the recording medium. It is a button to do.

次に、撮影処理について説明を行う。   Next, the photographing process will be described.

撮影処理とは撮像装置(200)のシャッターボタンが全押しされてS2の状態になった場合、通常カメラで行われる処理のことである。   The photographing process is a process performed by a normal camera when the shutter button of the image pickup apparatus (200) is fully pressed to enter the state of S2.

この処理では、撮像素子から出力されたアナログデータがA/D変換部でデジタルデータに変換された後、画像処理部(205)で圧縮を行い、記録部(203)に画像データを書き込む。この際、通常撮影時には、撮影時のカメラ設定値等と共に図5に示したゴミ補正データ(400)、追加ゴミ補正データ(400)を画像データに関連付けて記録部(203)に画像データを書き込む。ゴミ検出時には、撮影によって得られた画像データから図5に示したゴミを検出し、ゴミ補正データ(400)としてメモリ(202)へ書き込む。   In this processing, analog data output from the image sensor is converted into digital data by the A / D converter, and then compressed by the image processor (205), and the image data is written to the recording unit (203). At this time, during normal shooting, the dust correction data (400) and additional dust correction data (400) shown in FIG. 5 are associated with the image data together with the camera setting values at the time of shooting, and the image data is written to the recording unit (203). . At the time of dust detection, the dust shown in FIG. 5 is detected from the image data obtained by photographing, and is written in the memory (202) as dust correction data (400).

次に、図1、図2及び図3(a)を参照し、実施形態1に係る撮像装置(200)で行われる処理を説明する。図3は実施形態1に係る撮像装置(200)で行われる撮影処理の一例を示すフローチャートである。   Next, processing performed by the imaging apparatus (200) according to the first embodiment will be described with reference to FIGS. 1, 2, and 3A. FIG. 3 is a flowchart illustrating an example of imaging processing performed by the imaging apparatus (200) according to the first embodiment.

図3のフローチャートが示す処理は、PC(100)と撮像装置(200)とがUSBケーブル(300)を介して接続され、PC(100)及び撮像装置(200)が電源オン状態であるときに実行される処理である。なお、図3のフローチャートに示す処理は、CPU(201)がメモリ(202)に記憶されているコンピュータプログラムを実行することによって制御される。   3 is performed when the PC (100) and the imaging device (200) are connected via the USB cable (300), and the PC (100) and the imaging device (200) are in a power-on state. It is a process to be executed. The process shown in the flowchart of FIG. 3 is controlled by the CPU (201) executing a computer program stored in the memory (202).

ステップS101において、撮像装置(200)の動作モードが操作部(207)で撮影モードに設定された場合、CPU(201)は通信部(204)に撮影モードを示す動作モード信号を生成させ、USBケーブル(300)を介してPC(100)の通信部(104)に送信するように指示を行う。この場合、本フローチャートはステップS101からステップS102に進む。   In step S101, when the operation mode of the imaging apparatus (200) is set to the shooting mode by the operation unit (207), the CPU (201) causes the communication unit (204) to generate an operation mode signal indicating the shooting mode, and the USB (USB). An instruction is sent to the communication unit (104) of the PC (100) via the cable (300). In this case, the flowchart proceeds from step S101 to step S102.

ステップS102において、CPU(201)は通信部(204)が撮影準備コマンドを受信したか否かを判定する。CPU(201)が撮影準備コマンドを受信したと判定した場合は、CPU(201)はメモリ(202)に撮影準備フラグを設定する。この場合、本フローチャートはステップS102からステップS103に進む。CPU(201)が撮影準備コマンドを受信しなかったと判定した場合は、本フローチャートはステップS102からステップS102に戻る。   In step S102, the CPU (201) determines whether or not the communication unit (204) has received a shooting preparation command. When the CPU (201) determines that the shooting preparation command has been received, the CPU (201) sets a shooting preparation flag in the memory (202). In this case, the flowchart proceeds from step S102 to step S103. When the CPU (201) determines that the photographing preparation command has not been received, the flowchart returns from step S102 to step S102.

ステップS103において、CPU(201)は撮影準備処理を撮像部(208)に実行させるように指示を出す。撮影準備処理が行なわれた場合、本フローチャートはステップS103からステップS104に進む。   In step S103, the CPU (201) instructs the imaging unit (208) to execute shooting preparation processing. When the shooting preparation process is performed, the flowchart proceeds from step S103 to step S104.

ステップS104において、CPU(201)は通信部(204)がPC(100)からの撮影コマンドを受信したか否かを判定する。CPU(201)は通信部(204)が撮影コマンドを受信したと判定した場合は、CPU(201)はメモリ(202)に撮影フラグをセットする。この場合、本フローチャートはステップS104からステップS105に進む。CPU(201)は通信部(204)が撮影コマンドを受信しなかったと判定した場合は、CPU(201)はメモリ(202)の撮影準備フラグをリセットする。この場合、本フローチャートはステップS104からステップS102に戻る。   In step S104, the CPU (201) determines whether or not the communication unit (204) has received a shooting command from the PC (100). When the CPU (201) determines that the communication unit (204) has received the shooting command, the CPU (201) sets a shooting flag in the memory (202). In this case, the flowchart proceeds from step S104 to step S105. When the CPU (201) determines that the communication unit (204) has not received the shooting command, the CPU (201) resets the shooting preparation flag in the memory (202). In this case, the flowchart returns from step S104 to step S102.

ステップS105において、CPU(201)は撮影処理を撮像部(208)に実行させるように指示を出す。ここで、ゴミ補正データ(400)、もしくは追加ゴミ補正データ(400)が、メモリ(202)内に記録されている場合には、図5に示したゴミ補正データ(400)、追加ゴミ補正データ(400)を画像データに関連付けて記録部(203)に画像データを書き込む。
撮影処理が行なわれた場合、CPU(201)はメモリ(202)の撮影準備フラグ及び撮影フラグをリセットする。この場合、本フローチャートはステップS105からステップS106に進む。
In step S <b> 105, the CPU (201) instructs the imaging unit (208) to execute shooting processing. If dust correction data (400) or additional dust correction data (400) is recorded in the memory (202), the dust correction data (400) and additional dust correction data shown in FIG. (400) is associated with the image data, and the image data is written in the recording unit (203).
When the photographing process is performed, the CPU (201) resets the photographing preparation flag and the photographing flag in the memory (202). In this case, the flowchart proceeds from step S105 to step S106.

ステップS106において、撮影処理が完了した後、CPU(201)は通信部(204)に画像データの送信準備が完了したことを示す準備完了信号を生成させ、PC(100)に送信するように指示を出す。PC(100)に準備完了信号が送信された後、CPU(201)は記録部(203)から画像データを読み出して、通信部に読み出した画像データをPCに送信するように指示を出す。この場合、本フローチャートで行われる撮像装置(200)の処理は終了する。   In step S106, after the photographing process is completed, the CPU (201) instructs the communication unit (204) to generate a preparation completion signal indicating that the preparation for transmission of the image data is completed and to transmit it to the PC (100). Put out. After the preparation completion signal is transmitted to the PC (100), the CPU (201) reads the image data from the recording unit (203), and instructs the communication unit to transmit the read image data to the PC. In this case, the process of the imaging device (200) performed in this flowchart is completed.

次に、図1、図2及び図3(b)を参照し、実施形態1に係る撮像装置(200)で行われる処理を説明する。図3は実施形態1に係る撮像装置(200)で行われるゴミ検出処理の一例を示すフローチャートである。   Next, processing performed by the imaging apparatus (200) according to the first embodiment will be described with reference to FIGS. 1, 2, and 3B. FIG. 3 is a flowchart illustrating an example of dust detection processing performed by the imaging apparatus (200) according to the first embodiment.

ステップS107において、撮像装置(200)の動作モードが操作部(207)でゴミ検出モードに設定された場合、CPU(201)は通信部(204)にゴミ検出モードを示す動作モード信号を生成させ、USBケーブル(300)を介してPC(100)の通信部(104)に送信するように指示を行う。この場合、本フローチャートはステップS107からステップS104に進む。   In step S107, when the operation mode of the imaging apparatus (200) is set to the dust detection mode by the operation unit (207), the CPU (201) causes the communication unit (204) to generate an operation mode signal indicating the dust detection mode. Instruct to transmit to the communication unit (104) of the PC (100) via the USB cable (300). In this case, the flowchart proceeds from step S107 to step S104.

ステップS104において、CPU(201)は通信部(204)がPC(100)からの撮影コマンドを受信したか否かを判定する。CPU(201)は通信部(204)が撮影コマンドを受信したと判定した場合は、CPU(201)はメモリ(202)に撮影フラグをセットする。この場合、本フローチャートはステップS104からステップS108に進む。   In step S104, the CPU (201) determines whether or not the communication unit (204) has received a shooting command from the PC (100). When the CPU (201) determines that the communication unit (204) has received the shooting command, the CPU (201) sets a shooting flag in the memory (202). In this case, the flowchart proceeds from step S104 to step S108.

ステップS108において、ゴミ取得処理が完了した後、CPU(201)は通信部(204)にゴミ取得処理が完了したことを示すゴミ取得完了信号を生成させ、PC(100)に送信するように指示を出す。この場合、本フローチャートで行われる撮像装置(200)の処理は終了する。   In step S <b> 108, after the dust acquisition process is completed, the CPU (201) instructs the communication unit (204) to generate a dust acquisition completion signal indicating that the dust acquisition process has been completed and to transmit it to the PC (100). Put out. In this case, the process of the imaging device (200) performed in this flowchart is completed.

次に、ステップS108で行われるゴミ取得処理について説明する。このゴミ検出処理は、画像に写り込んだ、不図示の撮像素子の前方に配置された不図示の光学部材の表面に付着したゴミの影の位置、大きさ等を検出する処理である。ゴミ検出処理は、ゴミ検出用画像を撮像することにより行われる。ゴミ検出処理を行う場合、面光源装置の出射面や白い壁などの均一な色を持つ面に不図示のレンズの撮影光軸を向けてカメラを設置し、ゴミ検出の準備を行う。本実施形態においてゴミ検出用画像は、均一な色を有する画像である。準備が終了した後、例えば操作部(207)からゴミ検出処理の開始が指示されると、CPU201は、まず絞りの設定を行う。撮像素子近傍のゴミはレンズの絞り値によって結像状態が変わり、レンズの瞳位置によって位置が変化する。したがって、ゴミ補正データ(400)にはゴミの位置や大きさに加え、検出時の絞り値とレンズの瞳位置を保持する必要がある。ここで瞳位置とは、射出瞳の撮像面(焦点面)からの距離をいう。ただし、ゴミ補正データ(400)を作成する段階で、異なるレンズを用いたとしても常に同じ絞り値を使うことを予め決めておけば、必ずしもゴミ補正データ(400)内に絞り値を保持する必要はない。   Next, the dust acquisition process performed in step S108 will be described. This dust detection process is a process for detecting the position, size, etc. of the shadow of dust attached to the surface of an optical member (not shown) disposed in front of an image sensor (not shown) that is reflected in the image. The dust detection process is performed by capturing a dust detection image. When performing dust detection processing, a camera is installed with a photographing optical axis of a lens (not shown) directed to a surface having a uniform color, such as an emission surface of a surface light source device or a white wall, and preparation for dust detection is performed. In the present embodiment, the dust detection image is an image having a uniform color. After the preparation is completed, for example, when the start of dust detection processing is instructed from the operation unit (207), the CPU 201 first sets the aperture. The image formation state of dust near the image sensor changes depending on the aperture value of the lens, and the position changes depending on the pupil position of the lens. Therefore, in the dust correction data (400), in addition to the dust position and size, it is necessary to hold the aperture value at the time of detection and the pupil position of the lens. Here, the pupil position refers to the distance from the imaging plane (focal plane) of the exit pupil. However, if it is determined in advance that the same aperture value is always used even when different lenses are used at the stage of creating the dust correction data (400), it is necessary to always hold the aperture value in the dust correction data (400). There is no.

ステップS111において、不図示の撮影レンズの絞り値が指定される。ここでは、例えばF22を指定する。この場合、本フローチャートはステップS111からステップS112に進む。   In step S111, an aperture value of a photographing lens (not shown) is designated. Here, for example, F22 is designated. In this case, the flowchart proceeds from step S111 to step S112.

ステップS112において、CPU201は不図示のレンズ制御回路に対し、不図示の撮影レンズの絞り羽根制御を行わせ、ステップS111で指定された絞り値に絞りを設定する。この場合、本フローチャートはステップS112からステップS113に進む。   In step S112, the CPU 201 causes the lens control circuit (not shown) to perform aperture blade control of the shooting lens (not shown), and sets the aperture to the aperture value specified in step S111. In this case, the flowchart proceeds from step S112 to step S113.

ステップS113において、フォーカス位置を無限遠に設定する。この場合、本フローチャートはステップS113からステップS114に進む。   In step S113, the focus position is set to infinity. In this case, the flowchart proceeds from step S113 to step S114.

ステップS114において、撮影レンズの絞り値とフォーカス位置が設定されると、ゴミ検出モードでの撮影を実行する。撮影された画像データは、メモリ202に格納される。この場合、本フローチャートはステップS114からステップS115に進む。   In step S114, when the aperture value and focus position of the photographing lens are set, photographing in the dust detection mode is executed. The captured image data is stored in the memory 202. In this case, the flowchart proceeds from step S114 to step S115.

ステップS115において、撮影が終了すると、画像処理部207にメモリ202に記憶されている撮影画像の各画素に対応するデータを呼び出す。この場合、本フローチャートはステップS115からステップS116に進む。   In step S115, when shooting is completed, data corresponding to each pixel of the shot image stored in the memory 202 is called to the image processing unit 207. In this case, the flowchart proceeds from step S115 to step S116.

ステップS116において、画像処理部205は、ゴミ領域取得処理を行い、ゴミ領域(ゴミの影)が存在する画素の位置と大きさを取得する。この場合、本フローチャートはステップS116からステップS117に進む。ゴミ領域取得処理は、文献2の(ゴミ取得ルーチン)の説明と同等である。   In step S <b> 116, the image processing unit 205 performs a dust area acquisition process, and acquires the position and size of a pixel where a dust area (dust shadow) exists. In this case, the flowchart proceeds from step S116 to step S117. The dust area acquisition process is equivalent to the description in (Dust acquisition routine) in Document 2.

ステップS117において、ステップS116で取得したゴミ領域が存在する画素の位置と大きさを、メモリ202に登録する。ここで、ステップS117において、予め画素不良位置メモリに記録されている製造時からの不良画素の位置と、読み出した画素データの位置を比べて画素不良であるかどうかを確認する。そして、画素不良によるものでは無いと判断された領域のみ、メモリ202に位置を登録しても良い。メモリ202に格納されるゴミ補正データ(400)のデータ形式例を図4(a)に示す。図4(a)に示した通り、ゴミ補正データ(400)には、ゴミ検出用画像撮影時の、ゴミの位置、大きさの情報が格納される。このゴミ補正データ(400)は、通常撮影時に画像データの撮影時情報と共に画像に付加し、ゴミ除去処理、補間処理で利用される。ゴミ除去処理、文献2の(ゴミ除去処理)の説明と同等である。補間処理は、文献2の(補間ルーチン)の説明と同等である。具体的には、記憶領域に検出したゴミ領域の数(整数値)を格納し、これに続き、個々の具体的なゴミ領域のパラメータを、ゴミ領域の数だけ繰返して格納する。ゴミ領域のパラメータは、ゴミ領域の半径(例えば2バイト)、有効画像領域における中心のx座標(例えば2バイト)、おなじく中心のy座標(例えば2バイト)の3つの数値のセットである。メモリ202の大きさ等によりゴミ補正データサイズに制限がある場合、ゴミ領域の先頭から優先してデータを格納する。これは、ステップS117のゴミ領域取得ルーチン内では、ゴミ領域を、目立つゴミの順にソートするからである。ここで、ゴミ補正データ(400)のデータ形式は、図4(b)のように、ゴミ補正データ(400)には、検出画像撮影時のレンズ情報として、検出画像撮影時における実際の絞り値(F値)と、そのときのレンズ瞳位置を格納するようにしても良い。   In step S117, the position and size of the pixel in which the dust region acquired in step S116 exists are registered in the memory 202. Here, in step S117, the position of the defective pixel from the time of manufacture recorded in advance in the pixel defect position memory is compared with the position of the read pixel data to confirm whether the pixel is defective. Only the area determined not to be due to a pixel defect may be registered in the memory 202. An example of the data format of the dust correction data (400) stored in the memory 202 is shown in FIG. As shown in FIG. 4A, the dust correction data (400) stores information on the position and size of dust at the time of shooting a dust detection image. The dust correction data (400) is added to the image together with the shooting information of the image data during normal shooting, and is used in dust removal processing and interpolation processing. This is the same as the description of the dust removal processing and (dust removal processing) in Document 2. The interpolation process is the same as that described in (Interpolation routine) in Document 2. Specifically, the number of detected dust areas (integer value) is stored in the storage area, and subsequently, individual specific dust area parameters are repeatedly stored by the number of dust areas. The parameter of the dust region is a set of three numerical values: the radius of the dust region (for example, 2 bytes), the center x coordinate (for example, 2 bytes) in the effective image region, and the center y coordinate (for example, 2 bytes). When the dust correction data size is limited due to the size of the memory 202, the data is stored with priority from the top of the dust area. This is because the dust areas are sorted in order of conspicuous dust in the dust area acquisition routine in step S117. Here, as shown in FIG. 4B, the data format of the dust correction data (400) includes an actual aperture value at the time of detection image shooting as lens information at the time of detection image shooting. (F value) and the lens pupil position at that time may be stored.

次に、図1、図2及び図3(c)を参照し、実施形態1に係る撮像装置(200)で行われる処理を説明する。図3は実施形態1に係る撮像装置(200)で行われるゴミ補正データ登録処理の一例を示すフローチャートである。   Next, processing performed by the imaging apparatus (200) according to the first embodiment will be described with reference to FIGS. 1, 2, and 3C. FIG. 3 is a flowchart illustrating an example of dust correction data registration processing performed by the imaging apparatus (200) according to the first embodiment.

ステップS109において、撮像装置(200)の動作モードが操作部(207)でゴミ補正データ登録モードに設定された場合、CPU(201)は通信部(204)にゴミ補正データ登録モードを示す動作モード信号を生成させ、USBケーブル(300)を介してPC(100)の通信部(104)に送信するように指示を行う。この場合、本フローチャートはステップS109からステップS110に進む。   When the operation mode of the imaging apparatus (200) is set to the dust correction data registration mode in the operation unit (207) in step S109, the CPU (201) indicates the dust correction data registration mode to the communication unit (204). A signal is generated and an instruction is sent to the communication unit (104) of the PC (100) via the USB cable (300). In this case, the flowchart proceeds from step S109 to step S110.

ステップS110において、CPU(201)は通信部(204)がPC(100)からのゴミ補正データ登録コマンドを受信したか否かを判定する。CPU(201)は通信部(204)がゴミ補正データ登録コマンドを受信したと判定した場合は、CPU(201)はメモリ(202)にゴミ補正データ登録フラグをセットする。この場合、本フローチャートはステップS110からステップS111に進む。   In step S110, the CPU (201) determines whether the communication unit (204) has received a dust correction data registration command from the PC (100). When the CPU (201) determines that the communication unit (204) has received the dust correction data registration command, the CPU (201) sets a dust correction data registration flag in the memory (202). In this case, the flowchart proceeds from step S110 to step S111.

ステップS111において、追加ゴミ補正データ(400)の登録処理が完了した後、CPU(201)は通信部(204)に追加ゴミ補正データ(400)の登録処理が完了したことを示すゴミ補正データ(400)の登録完了信号を生成させ、PC(100)に送信するように指示を出す。この場合、本フローチャートで行われる撮像装置(200)の処理は終了する。   In step S111, after the registration process of the additional dust correction data (400) is completed, the CPU (201) notifies the communication unit (204) of the dust correction data (400) indicating that the registration process of the additional dust correction data (400) is completed. 400), a registration completion signal is generated and an instruction is sent to the PC (100). In this case, the process of the imaging device (200) performed in this flowchart is completed.

次に、図1、図2及び図5(a)を参照し、実施形態1に係るPC(100)で行われる処理を説明する。図5(a)は実施形態1に係るPC(100)で行われる撮影処理の一例を示すフローチャートである。図5(a)のフローチャートが示す処理は、PC(100)と撮像装置(200)とがUSBケーブル(300)を介して接続され、PC(100)及び撮像装置(200)が電源オン状態であるときに実行される処理である。なお、図5(a)のフローチャートに示す処理は、CPU(101)がメモリ(102)に記憶されているコンピュータプログラムを実行することによって制御される。   Next, processing performed by the PC (100) according to the first embodiment will be described with reference to FIGS. 1, 2, and 5A. FIG. 5A is a flowchart illustrating an example of a photographing process performed by the PC (100) according to the first embodiment. In the process shown in the flowchart of FIG. 5A, the PC (100) and the imaging device (200) are connected via the USB cable (300), and the PC (100) and the imaging device (200) are in a power-on state. This process is executed at a certain time. The process shown in the flowchart of FIG. 5A is controlled by the CPU (101) executing a computer program stored in the memory (102).

通信部(104)が撮像装置(200)から撮影モードを示す動作モード信号を受信した場合、CPU(101)はメモリ(102)に動作モードフラグを「撮影モード」に設定する。   When the communication unit (104) receives an operation mode signal indicating the shooting mode from the imaging device (200), the CPU (101) sets the operation mode flag to “shooting mode” in the memory (102).

その後、CPU(101)はメモリ(102)からカメラコントロール画面(500)を読み出して、表示部(105)に表示させる。   Thereafter, the CPU (101) reads the camera control screen (500) from the memory (102) and displays it on the display unit (105).

同様にして、通信部(104)が撮像装置(200)からゴミ検出モードを示す動作モード信号を受信した場合、CPU(101)はメモリ(102)に動作モードフラグを「ゴミ検出モード」に設定する。   Similarly, when the communication unit (104) receives an operation mode signal indicating the dust detection mode from the imaging device (200), the CPU (101) sets the operation mode flag to “dust detection mode” in the memory (102). To do.

同様にして、通信部(104)が撮像装置(200)からゴミ補正データ登録モードを示す動作モード信号を受信した場合、CPU(101)はメモリ(102)に動作モードフラグを「ゴミ補正データ登録モード」に設定する。   Similarly, when the communication unit (104) receives an operation mode signal indicating the dust correction data registration mode from the imaging device (200), the CPU (101) sets the operation mode flag in the memory (102) to “register dust correction data”. Set to "Mode".

ステップS201において、CPU(101)は第1の判定手段としてマウスカーソル(600)が撮影ボタン(502)の領域上で検出されたか否か判定する。この場合、本フローチャートはステップS201からステップS203に進む。CPU(101)によって、マウスカーソル(600)が撮影ボタン(502)の領域上で検出されなかった場合、本フローチャートは、ステップS201からステップS201に戻る。   In step S201, the CPU (101) determines whether or not the mouse cursor (600) is detected on the area of the shooting button (502) as the first determination means. In this case, the flowchart proceeds from step S201 to step S203. When the CPU (101) does not detect the mouse cursor (600) on the area of the shooting button (502), the flowchart returns from step S201 to step S201.

ステップS203において、CPU(101)は第1の判定手段としてマウスカーソル(600)が撮影ボタン(502)の領域上マウスオーバされているか否かを判定する。CPU(101)がマウスカーソル(600)を撮影ボタン(502)の領域上で検出したと判定した場合、本フローチャートは、ステップS203からステップS204に進む。CPU(101)がマウスカーソル(600)を撮影ボタン(502)の領域上で検出しなかった場合、本フローチャートは、ステップS203からステップS201に戻る。   In step S203, the CPU (101) determines whether or not the mouse cursor (600) is hovered over the area of the shooting button (502) as the first determination means. When the CPU (101) determines that the mouse cursor (600) has been detected on the area of the shooting button (502), the process proceeds from step S203 to step S204. When the CPU (101) does not detect the mouse cursor (600) on the area of the shooting button (502), the flowchart returns from step S203 to step S201.

ステップS204において、CPU(101)は第2の判定手段としてマウスカーソル(600)を操作する操作部(106)のマウス(106a)のボタンがクリックされたか否かを判定する。CPU(101)がマウス(106a)のボタンがクリックされたと判定した場合、本フローチャートは、ステップS204からステップS205に進む。CPU(101)がマウス(106a)のボタンがクリックされたと判定しなかった場合、本フローチャートはステップS204からステップS203に戻る。   In step S204, the CPU (101) determines whether or not the button of the mouse (106a) of the operation unit (106) for operating the mouse cursor (600) is clicked as the second determination means. When the CPU (101) determines that the mouse (106a) button has been clicked, the process proceeds from step S204 to step S205. If the CPU (101) does not determine that the mouse (106a) button has been clicked, the process returns from step S204 to step S203.

ステップS205において、CPU(101)によってマウスカーソル(600)が撮影ボタン(502)の領域上にある場合にマウス(106a)のボタンがクリックされると、CPU(101)は第2の指示手段として通信部(104)に撮影コマンドを生成させ、撮像装置(200)に送信する。ここで、本フローチャートは、ステップS205からステップS206に進む。ステップS205を実行後、図3(a)のフローチャートのステップS105により撮影処理を実行し、ステップS106により画像データ送信を実行し、PC(100)に画像データが送られてくる。   In step S205, when the mouse (106a) is clicked by the CPU (101) when the mouse cursor (600) is on the area of the shooting button (502), the CPU (101) serves as the second instruction means. The communication unit (104) generates a shooting command and transmits it to the imaging device (200). Here, in the flowchart, the process proceeds from step S205 to step S206. After executing step S205, the photographing process is executed in step S105 of the flowchart of FIG. 3A, image data transmission is executed in step S106, and the image data is sent to the PC (100).

ステップS206において、CPU(101)は撮像装置(200)から送られた画像データを、表示部(105)に表示させる。ここで、本フローチャートは終了する。   In step S206, the CPU (101) causes the display unit (105) to display the image data sent from the imaging device (200). Here, this flowchart ends.

このように、マウス(106a)を操作することによってマウスカーソル(600)が撮影ボタン(502)の領域上にマウスオーバするとPC(100)は撮像装置(200)に撮影準備処理を指示する。その後、マウスカーソル(600)がマウスオーバされた撮影ボタン(502)の領域上にある場合、マウス(106a)がクリックされるとPC(100)は撮像装置(200)に撮影処理を指示する。さらに、撮像装置(200)からPC(100)へ送られた画像データを表示する。   Thus, when the mouse cursor (600) is moved over the area of the shooting button (502) by operating the mouse (106a), the PC (100) instructs the imaging apparatus (200) to perform shooting preparation processing. Thereafter, when the mouse cursor (600) is on the area of the shooting button (502) where the mouse is over, when the mouse (106a) is clicked, the PC (100) instructs the imaging device (200) to perform a shooting process. Furthermore, the image data sent from the imaging device (200) to the PC (100) is displayed.

次に、図1、図2及び図5(b)を参照し、実施形態1に係るPC(100)で行われる処理を説明する。図5(b)は実施形態1に係るPC(100)で行われるゴミ検出処理の一例を示すフローチャートである。   Next, processing performed by the PC (100) according to the first embodiment will be described with reference to FIGS. 1, 2, and 5B. FIG. 5B is a flowchart illustrating an example of dust detection processing performed by the PC (100) according to the first embodiment.

ステップS201において、CPU(101)は第1の判定手段としてマウスカーソル(600)が撮影ボタン(502)の領域上で検出されたか否か判定する。この場合、本フローチャートはステップS201からステップS203に進む。CPU(101)によって、マウスカーソル(600)が撮影ボタン(502)の領域上で検出されなかった場合、本フローチャートは、ステップS201からステップS201に戻る。   In step S201, the CPU (101) determines whether or not the mouse cursor (600) is detected on the area of the shooting button (502) as the first determination means. In this case, the flowchart proceeds from step S201 to step S203. When the CPU (101) does not detect the mouse cursor (600) on the area of the shooting button (502), the flowchart returns from step S201 to step S201.

ステップS203において、CPU(101)は第1の判定手段としてマウスカーソル(600)が撮影ボタン(502)の領域上マウスオーバされているか否かを判定する。CPU(101)がマウスカーソル(600)を撮影ボタン(502)の領域上で検出したと判定した場合、本フローチャートは、ステップS203からステップS204に進む。CPU(101)がマウスカーソル(600)を撮影ボタン(502)の領域上で検出しなかった場合、本フローチャートは、ステップS203からステップS201に戻る。   In step S203, the CPU (101) determines whether or not the mouse cursor (600) is hovered over the area of the shooting button (502) as the first determination means. When the CPU (101) determines that the mouse cursor (600) has been detected on the area of the shooting button (502), the process proceeds from step S203 to step S204. When the CPU (101) does not detect the mouse cursor (600) on the area of the shooting button (502), the flowchart returns from step S203 to step S201.

ステップS204において、CPU(101)は第2の判定手段としてマウスカーソル(600)を操作する操作部(106)のマウス(106a)のボタンがクリックされたか否かを判定する。CPU(101)がマウス(106a)のボタンがクリックされたと判定した場合、本フローチャートは、ステップS204からステップS205に進む。CPU(101)がマウス(106a)のボタンがクリックされたと判定しなかった場合、本フローチャートはステップS204からステップS203に戻る。   In step S204, the CPU (101) determines whether or not the button of the mouse (106a) of the operation unit (106) for operating the mouse cursor (600) is clicked as the second determination means. When the CPU (101) determines that the mouse (106a) button has been clicked, the process proceeds from step S204 to step S205. If the CPU (101) does not determine that the mouse (106a) button has been clicked, the process returns from step S204 to step S203.

ステップS205において、CPU(101)によってマウスカーソル(600)が撮影ボタン(502)の領域上にある場合にマウス(106a)のボタンがクリックされると、CPU(101)は第2の指示手段として通信部(104)にゴミ検出コマンドを生成させ、撮像装置(200)に送信する。ここで、本フローチャートは終了する。   In step S205, when the mouse (106a) is clicked by the CPU (101) when the mouse cursor (600) is on the area of the shooting button (502), the CPU (101) serves as the second instruction means. The communication unit (104) generates a dust detection command and transmits it to the imaging device (200). Here, this flowchart ends.

ステップS205を実行後、図3(b)のフローチャートのステップS108によりゴミ検出処理を実行し、メモリ(202)にゴミ補正データ(400)を記録する。   After executing step S205, dust detection processing is executed in step S108 in the flowchart of FIG. 3B, and dust correction data (400) is recorded in the memory (202).

このように、マウスカーソル(600)がマウスオーバされた撮影ボタン(502)の領域上にある場合、マウス(106a)がクリックされるとPC(100)は撮像装置(200)にゴミ検出処理を指示する。   In this way, when the mouse cursor (600) is on the area of the shooting button (502) where the mouse is over, when the mouse (106a) is clicked, the PC (100) performs dust detection processing on the imaging device (200). Instruct.

次に、図1、図2及び図5(c)を参照し、実施形態1に係るPC(100)で行われる処理を説明する。図5(c)は実施形態1に係るPC(100)で行われるゴミ補正データ登録処理の一例を示すフローチャートである。   Next, processing performed by the PC (100) according to the first embodiment will be described with reference to FIGS. 1, 2, and 5C. FIG. 5C is a flowchart illustrating an example of dust correction data registration processing performed by the PC (100) according to the first embodiment.

ここでは、ビュー領域(501)の領域上のにあるゴミを指定することで、カメラに追加ゴミ補正情報を登録する流れに限定して説明するが、具体的な操作の流れについては、後述する図6(a)に示すメニュー画面の一例であるカメラコントロール画面(500)の中で説明する。   Here, description will be made only on the flow of registering additional dust correction information in the camera by designating dust on the view area (501), but a specific operation flow will be described later. This will be described in the camera control screen (500) which is an example of the menu screen shown in FIG.

ステップS207において、CPU(101)は第1の判定手段としてマウスカーソル(600)がビュー領域(501)の領域上で検出されたか否か判定する。この場合、本フローチャートはステップS207からステップS204に進む。CPU(101)によって、マウスカーソル(600)がビュー領域(501)の領域上で検出されなかった場合、本フローチャートは、ステップS207からステップS207に戻る。   In step S207, the CPU (101) determines whether or not the mouse cursor (600) is detected on the view area (501) as the first determination means. In this case, the flowchart proceeds from step S207 to step S204. If the mouse cursor (600) is not detected on the view area (501) by the CPU (101), the flowchart returns from step S207 to step S207.

ステップS204において、CPU(101)は第2の判定手段としてマウスカーソル(600)を操作する操作部(106)のマウス(106a)のボタンがクリックされたか否かを判定する。CPU(101)がマウス(106a)のボタンがクリックされたと判定した場合、本フローチャートは、ステップS204からステップS208に進む。CPU(101)がマウス(106a)のボタンがクリックされたと判定しなかった場合、本フローチャートはステップS204からステップS204に戻る。   In step S204, the CPU (101) determines whether or not the button of the mouse (106a) of the operation unit (106) for operating the mouse cursor (600) is clicked as the second determination means. When the CPU (101) determines that the mouse (106a) button has been clicked, the process proceeds from step S204 to step S208. When the CPU (101) does not determine that the button of the mouse (106a) has been clicked, the flowchart returns from step S204 to step S204.

ステップS205において、CPU(101)によってマウスカーソル(600)が撮影ボタン(502)の領域上にある場合にマウス(106a)のボタンがクリックされると、CPU(101)は第2の指示手段として通信部(104)にゴミ検出コマンドを生成させ、撮像装置(200)に送信する。ここで、本フローチャートは終了する。   In step S205, when the mouse (106a) is clicked by the CPU (101) when the mouse cursor (600) is on the area of the shooting button (502), the CPU (101) serves as the second instruction means. The communication unit (104) generates a dust detection command and transmits it to the imaging device (200). Here, this flowchart ends.

ステップS205を実行後、図3(c)のフローチャートのステップS111によりゴミ補正データ登録処理を実行し、メモリ(202)に追加ゴミ補正データ(400)を記録する。   After execution of step S205, dust correction data registration processing is executed in step S111 of the flowchart of FIG. 3C, and additional dust correction data (400) is recorded in the memory (202).

このように、マウスカーソル(600)がマウスオーバされたビュー領域(501)の領域上にある場合、マウス(106a)がクリックされるとPC(100)は撮像装置(200)にゴミ補正データ登録処理を指示する。   As described above, when the mouse cursor (600) is on the view area (501) where the mouse is over, when the mouse (106a) is clicked, the PC (100) registers dust correction data in the imaging device (200). Instruct processing.

なお、実施形態1では不図示のファインダーを通して撮影対象を確認して撮像装置(200)を遠隔制御する形だが、ライブビュー映像をPC(100)の表示部(105)に表示して、撮影対象を確認しながら、撮像装置(200)を遠隔制御する形でもよい。   In the first embodiment, the subject to be photographed is confirmed through a finder (not shown), and the image pickup apparatus (200) is remotely controlled. The image pickup apparatus (200) may be remotely controlled while confirming the above.

図6(a)は、メニュー画面の一例であるカメラコントロール画面(500)を表すもので、パソコンのOSで標準的に採用されているようなウィンドウシステム上に構成したものである。   FIG. 6A shows a camera control screen (500), which is an example of a menu screen, and is configured on a window system that is standardly adopted by the OS of a personal computer.

また、カメラコントロール画面(500)の機能として、画像編集機能を持ち、ゴミ除去処理、補間処理を実行可能である。ゴミ除去処理は、特許文献2の(ゴミ除去処理)の説明と同等である。補間処理は、特許文献2の(補間ルーチン)の説明と同等である。   Further, the camera control screen (500) has an image editing function, and can perform dust removal processing and interpolation processing. The dust removal process is equivalent to the description of (dust removal process) in Patent Document 2. The interpolation processing is equivalent to the description of (Interpolation routine) in Patent Document 2.

カメラコントロール画面(500)はカメラの遠隔制御するためのウィンドウで、映像データを表示するビュー領域(501)、撮影ボタン(502)、パラメータ領域(503)、ゴミ除去画像表示ボタン(504)、追加ゴミ除去画像表示ボタン(505)、全体ゴミ除去画像表示ボタン(506)、半径スライダ(507)等がある。   The camera control screen (500) is a window for remote control of the camera, and includes a view area (501) for displaying video data, a shooting button (502), a parameter area (503), a dust removal image display button (504), and an addition. There are a dust removal image display button (505), a whole dust removal image display button (506), a radius slider (507), and the like.

ビュー領域(501)は、撮像装置(200)から通信部(104)で連続的に受信したライブビュー映像、もしくは撮影動作により受信した静止画像、もしくは再生動作により受信した動画像、および静止画像を表示している。   The view area (501) displays live view video continuously received by the communication unit (104) from the imaging device (200), still images received by the shooting operation, moving images received by the playback operation, and still images. it's shown.

撮影ボタン(502)は、シャッターボタンの半押しされた状態であるS1とシャッターボタンの全押しされた状態であるS2の2つの状態の撮影処理を行う。マウスカーソル(600)が撮影ボタン(502)上に移動した時、撮像装置(200)の動作モードが通常撮影モードの場合、PC(100)から撮像装置(200)に対して撮影準備処理の開始を指示する。マウスカーソル(600)が撮影ボタン(502)上にある状態でクリックした時、撮像装置(200)の動作モードが通常撮影モードの場合、PC(100)から撮像装置(200)に対して一連の撮影処理の動作開始を指示する。   The shooting button (502) performs shooting processing in two states: S1 in which the shutter button is half-pressed and S2 in which the shutter button is fully pressed. When the mouse cursor (600) is moved onto the shooting button (502) and the operation mode of the imaging device (200) is the normal shooting mode, start of shooting preparation processing from the PC (100) to the imaging device (200). Instruct. When the mouse cursor (600) is clicked on the shooting button (502) and the operation mode of the imaging device (200) is the normal shooting mode, a series of operations from the PC (100) to the imaging device (200) is performed. Instructs the start of shooting processing operation.

パラメータ領域(503)には、撮影モード等が表示されている。これらの値は、撮像装置(200)から受信する補助データに含まれている。なお、パラメータ領域(503)はこれ以外の補助データを表示するものであっても良い。また、操作によりパラメータ領域(503)上の値が変更された場合には、CPU(101)は通信部(104)に補助データ設定用のコマンド(700)を生成させ、撮像装置(200)に送信する。これにより、撮像装置のパラメータが変更される。   In the parameter area (503), the shooting mode and the like are displayed. These values are included in auxiliary data received from the imaging device (200). The parameter area (503) may display auxiliary data other than this. When the value on the parameter area (503) is changed by the operation, the CPU (101) causes the communication unit (104) to generate an auxiliary data setting command (700) and causes the imaging device (200) to Send. Thereby, the parameters of the imaging apparatus are changed.

CPU(101)は通信部(104)で撮像装置(200)から受信したデータをそれぞれビュー領域(501)、パラメータ領域(503)に表示するように制御している。   The CPU (101) controls the communication unit (104) to display data received from the imaging device (200) in the view area (501) and the parameter area (503), respectively.

ゴミ除去画像表示ボタン(504)は、ボタン領域上でマウスカーソル(600)押下することで、デジタルカメラの本体で画像データに関連付けたゴミ補正データ(400)を用い、指定された座標に対してゴミ除去処理を実行し、処理後の画像をビュー領域(501)に表示する。   The dust removal image display button (504) uses the dust correction data (400) associated with the image data in the digital camera body when the mouse cursor (600) is pressed on the button area, and the specified coordinates are used. Dust removal processing is executed, and the processed image is displayed in the view area (501).

追加ゴミ除去画像表示ボタン(505)は、ボタン領域上でマウスカーソル(600)押下することで、デジタルカメラの本体で画像データに関連付けた追加ゴミ補正データ(400)を用い、指定された座標に対してゴミ除去処理を実行し、処理後の画像をビュー領域(501)に表示する。   The additional dust removal image display button (505) uses the additional dust correction data (400) associated with the image data in the main body of the digital camera when the mouse cursor (600) is pressed on the button area, to the designated coordinates. The dust removal process is executed for the image, and the processed image is displayed in the view area (501).

全体ゴミ除去画像表示ボタン(506)は、ボタン領域上でマウスカーソル(600)押下することで、デジタルカメラの本体で画像データに関連付けたゴミ補正データ(400)、および追加ゴミ補正データ(400)を用い、指定された座標に対してゴミ除去処理を実行し、処理後の画像をビュー領域(501)に表示する。   The entire dust removal image display button (506) is pressed by pressing the mouse cursor (600) on the button area, so that dust correction data (400) associated with image data on the digital camera body and additional dust correction data (400) are displayed. , The dust removal process is executed for the designated coordinates, and the processed image is displayed in the view area (501).

半径スライダ(507)は、補間処理の適用範囲を指定するスライダである。スライダをマウスカーソル(600)により移動させることで半径を変更する。   A radius slider (507) is a slider for designating an application range of interpolation processing. The radius is changed by moving the slider with the mouse cursor (600).

また、ビュー領域(501)のマウスカーソル(600)の操作と半径スライダ(505)で指定された半径に基づき、表示画像の補間処理を行う。さらに、CPU(101)は通信部(104)に追加ゴミ補正データ登録用のコマンド(700)を生成させ、撮像装置(200)へ送信することにより、ゴミ領域の座標と半径をカメラ内の追加ゴミ補正データ(400)として登録する。   Further, based on the operation of the mouse cursor (600) in the view area (501) and the radius specified by the radius slider (505), the display image is interpolated. Further, the CPU (101) causes the communication unit (104) to generate a command (700) for registering additional dust correction data and transmits it to the imaging device (200), thereby adding the coordinates and radius of the dust region in the camera. Register as dust correction data (400).

図7は、コマンド(700)について、図示している。   FIG. 7 illustrates the command (700).

コマンド(700)は、カメラを制御するための送信コマンド(710)、補足データ(720)で構成される。例えば、補助データを登録する場合には、送信コマンド(710)として、補助データの登録コマンドが設定され、追加ゴミ補正データ(400)を登録する場合には、送信コマンド(710)として、追加ゴミ補正データ(400)の登録コマンドが設定され、補足データ(720)として、ゴミ領域の座標と半径が設定される。   The command (700) includes a transmission command (710) for controlling the camera and supplementary data (720). For example, when registering auxiliary data, an auxiliary data registration command is set as a transmission command (710), and when registering additional dust correction data (400), additional dust is generated as a transmission command (710). The registration command for the correction data (400) is set, and the coordinates and radius of the dust region are set as supplementary data (720).

上記の画像編集機能におけるゴミ除去処理では、ゴミ補正データ(400)に登録されていなかったゴミを除去することはできない。そこで、ここでは、ゴミ補正データ(400)に登録されていないゴミのデータを、カメラ内に追加ゴミ補正データ(400)として登録する方法について述べる。   In the dust removal process in the image editing function, dust that has not been registered in the dust correction data (400) cannot be removed. Therefore, here, a method for registering dust data not registered in the dust correction data (400) as additional dust correction data (400) in the camera will be described.

本実施形態では、ゴミ除去処理を実行した後に、ゴミ除去処理で補正できなかったゴミの情報を追加ゴミ補正データ(400)として登録する。この処理は、ゴミ除去処理で補正できなかったゴミ領域を、ユーザが手動によりゴミ領域を指定して補間処理した際に、そのゴミ領域の情報を追加ゴミ補正データ(400)として登録するものである。   In the present embodiment, after the dust removal process is executed, the dust information that could not be corrected by the dust removal process is registered as additional dust correction data (400). In this process, when the dust area that could not be corrected by the dust removal process is manually specified and interpolated by specifying the dust area, information on the dust area is registered as additional dust correction data (400). is there.

ここでは、図5(c)で説明したフローチャートのステップS208について説明する。   Here, step S208 of the flowchart described in FIG. 5C will be described.

図8は、実施形態1に係るPC(100)で行われるゴミ補正データ登録処理の一例を示すフローチャートにおける、ステップS208の詳細を示したフローチャートである。   FIG. 8 is a flowchart showing details of step S208 in the flowchart showing an example of the dust correction data registration process performed by the PC (100) according to the first embodiment.

ステップS210において、ゴミ補正データ(400)を用いたゴミ除去処理で補正できなかったゴミに対して、手動による補間処理を実行する。手動による補間処理に遷移すると、CPU(101)は、ユーザによるマウス(106a)からの指示を待つ。ユーザは、ビュー領域(501)を見て、ゴミ補正データ(400)を用いたゴミ除去処理では処理されなかったゴミ領域を探し、見つけた場合には、上述のように、ビュー領域(501)のマウスカーソル(600)の操作と半径スライダ(505)から、座標と大きさを入力することによりゴミ領域を指定する。ゴミ補正データ(400)を用いたゴミ除去処理では処理されなかったゴミ領域が複数ある場合には、これを繰り返す。CPU(101)は、ユーザから指示を受けた領域に対して補間処理を実行する。この場合、本フローチャートはステップS210からステップS211に進む。   In step S210, manual interpolation processing is executed for dust that could not be corrected by dust removal processing using dust correction data (400). When transitioning to manual interpolation processing, the CPU (101) waits for an instruction from the mouse (106a) by the user. The user looks at the view area (501), searches for a dust area that has not been processed by the dust removal process using the dust correction data (400), and if found, as described above, the view area (501). The dust region is designated by inputting the coordinates and size from the operation of the mouse cursor (600) and the radius slider (505). If there are a plurality of dust areas that have not been processed in the dust removal process using the dust correction data (400), this is repeated. The CPU (101) performs an interpolation process on the area that has received an instruction from the user. In this case, the flowchart proceeds from step S210 to step S211.

ステップS211において、間処理が成功したかどうかを判定する。成功した場合はステップS306へ進み、失敗した場合は処理を終了する。具体的には、上述のゴミ領域判定を、ユーザによって指定されたゴミ領域に対して行い、ゴミ領域と判定されなかった場合には失敗として扱う。この場合、本フローチャートはステップS211からステップS212に進む。   In step S211, it is determined whether the interprocess has been successful. If successful, the process proceeds to step S306. If unsuccessful, the process ends. Specifically, the above-described dust region determination is performed on the dust region designated by the user, and if it is not determined as a dust region, it is treated as a failure. In this case, the flowchart proceeds from step S211 to step S212.

ステップS212において、ゴミ補正パラメータの取得を行う。ここで言うゴミ補正パラメータとは、ユーザが、ビュー領域(501)のマウスカーソル(600)の操作と半径スライダ(505)で指示したゴミ領域の座標とゴミ領域の半径である。この場合、本フローチャートはステップS212からステップS213に進む。   In step S212, dust correction parameters are acquired. The dust correction parameters mentioned here are the dust region coordinates and the radius of the dust region designated by the user by operating the mouse cursor (600) in the view region (501) and the radius slider (505). In this case, the flowchart proceeds from step S212 to step S213.

ステップS213において、ステップS212のゴミ領域の座標とゴミ領域の半径から追加ゴミ補正データ登録のコマンド(700)を作成する。この場合、本フローチャートはステップS213からステップS214に進む。   In step S213, an additional dust correction data registration command (700) is created from the dust region coordinates and dust region radius in step S212. In this case, the flowchart proceeds from step S213 to step S214.

ステップS214において、追加ゴミ補正データ登録のコマンド(700)を撮像装置(200)へ送信するすることにより、図3(c)のフローチャートのステップS111によりゴミ補正データ登録処理を実行し、メモリ(202)に追加ゴミ補正データ(400)を記録する。なお、ユーザによって指定されたゴミ領域が複数存在する場合には、ステップS210からステップS214をその数だけ繰り返せばよい。   In step S214, an additional dust correction data registration command (700) is transmitted to the imaging device (200), whereby dust correction data registration processing is executed in step S111 of the flowchart of FIG. ) To record additional dust correction data (400). If there are a plurality of dust areas designated by the user, steps S210 to S214 may be repeated by that number.

このようにして、追加ゴミ補正データ(400)に未登録のゴミを登録することができる。   In this way, unregistered dust can be registered in the additional dust correction data (400).

これにより、以後の撮影の際には、画像ファイルのヘッダ領域であるMakerNote領域にゴミ補正データ(400)、追加ゴミ補正データ(400)を追記することで、関連付けされるため、ゴミ除去画像表示ボタン(502)を押して、ゴミ補正データ(400)によるゴミ除去効果を確認することができるようになる。さらに、追加ゴミ除去画像表示ボタン(503)を押して、追加ゴミ補正データ(400)によるゴミ除去効果を確認することができるようになる。さらに、全体ゴミ除去画像表示ボタン(504)を押して、ゴミ補正データ(400)、および追加ゴミ補正データ(400)によるゴミ除去効果を確認することができるようになる。   As a result, at the time of subsequent shooting, the dust correction data (400) and the additional dust correction data (400) are additionally recorded in the MakerNote area, which is the header area of the image file, so that the dust removal image display is displayed. By pressing the button (502), the dust removal effect by the dust correction data (400) can be confirmed. Further, by pressing the additional dust removal image display button (503), the dust removal effect by the additional dust correction data (400) can be confirmed. Furthermore, the dust removal effect by the dust correction data (400) and the additional dust correction data (400) can be confirmed by pressing the entire dust removal image display button (504).

本実施形態では、手動によるゴミ除去処理が成功したときのみゴミ補正データ(400)へのゴミ情報の追加登録を行っている。しかし、手動によるゴミ除去処理に限らず、ゴミの位置を指定して追加ゴミ補正データ(400)を登録するための指示ができれば、他の方法を使用してもよい。   In this embodiment, dust information is additionally registered in the dust correction data (400) only when manual dust removal processing is successful. However, the method is not limited to manual dust removal processing, and other methods may be used as long as an instruction for specifying the dust position and registering additional dust correction data (400) can be given.

また、手動によるゴミ除去処理などによりゴミの位置を指定して追加ゴミ補正データ(400)を登録する際に、そのゴミ情報がすでにゴミ補正データ(400)に登録されているかどうかを判定してから、登録処理を行ってもよい。この判定は、例えば、ゴミ補正データ(400)内の全てのエントリと追加指定されたゴミ領域の情報とを比較することで行う。   Further, when registering additional dust correction data (400) by specifying the position of dust by manual dust removal processing or the like, it is determined whether or not the dust information is already registered in dust correction data (400). Then, the registration process may be performed. This determination is performed, for example, by comparing all entries in the dust correction data (400) with information on the additionally designated dust region.

また、ユーザによって指定されたゴミ領域が複数存在する場合には、ステップS210からステップS214をその数だけ繰り返していたが、追加ゴミ補正情報を1つ登録するたびに、カメラへのコマンド送信を行うのではなく、複数の追加ゴミ補正情報をまとめて、1回のカメラへの通信コマンドで行ってもよい。   If there are a plurality of dust areas designated by the user, steps S210 to S214 are repeated by that number, but each time additional dust correction information is registered, a command is transmitted to the camera. Instead of this, a plurality of additional dust correction information may be collected and executed by a single communication command to the camera.

[実施例2]
実施例1では、ビュー領域として、1画面分のビュー領域(501)を表示し、ゴミ除去画像表示ボタン(504)、追加ゴミ除去画像表示ボタン(505)、全体ゴミ除去画像表示ボタン(506)を押下することで、ゴミ補正データ(400)、および追加ゴミ補正データ(400)によるゴミ除去効果を確認していた。
[Example 2]
In the first embodiment, a view area (501) for one screen is displayed as a view area, a dust removal image display button (504), an additional dust removal image display button (505), and an entire dust removal image display button (506). By pressing, the dust removal effect by the dust correction data (400) and the additional dust correction data (400) was confirmed.

実施例2におけるメニュー画面の一例であるカメラコントロール画面(500)を図6(b)を用いて説明すると、ビュー領域をビュー領域1(511)、ビュー領域2(512)、ビュー領域3(513)、ビュー領域4(514)のように、4画面分を表示し、
ゴミ除去画像表示ボタン(504)を押すことで得られる、デジタルカメラの本体で画像データに関連付けたゴミ補正データ(400)を用いたゴミ除去処理後の画像をビュー領域2(512)に表示し、
追加ゴミ除去画像表示ボタン(505)を押すことで得られる、デジタルカメラの本体で画像データに関連付けた追加ゴミ補正データ(400)を用いたゴミ除去処理後の画像をビュー領域3(513)表示し、
追加ゴミ除去画像表示ボタン(505)を押すことで得られる、デジタルカメラの本体で画像データに関連付けたゴミ補正データ(400))、および追加ゴミ補正データ(400)を用いたゴミ除去処理後の画像をビュー領域4(514)表示するようにしてもよい。
The camera control screen (500) as an example of the menu screen in the second embodiment will be described with reference to FIG. 6B. The view area is the view area 1 (511), the view area 2 (512), and the view area 3 (513). ), Display 4 screens as in view area 4 (514),
An image after dust removal processing using dust correction data (400) associated with the image data on the digital camera body obtained by pressing the dust removal image display button (504) is displayed in the view area 2 (512). ,
View region 3 (513) displays an image after dust removal processing using additional dust correction data (400) associated with the image data in the digital camera body, which is obtained by pressing the additional dust removal image display button (505). And
After the dust removal processing using the dust correction data (400) associated with the image data on the digital camera body and the additional dust correction data (400) obtained by pressing the additional dust removal image display button (505). The image may be displayed in the view area 4 (514).

これにより、ゴミ除去画像表示ボタン(502)、追加ゴミ除去画像表示ボタン(503)、全体ゴミ除去画像表示ボタン(504)を押して、ゴミ補正データ(400)、および追加ゴミ補正データ(400)によるゴミ除去効果を確認するのではなく、各ボタンを押すことで確認できる画像をビュー領域1(511)、ビュー領域2(512)、ビュー領域3(513)、ビュー領域4(514)にすべて表示することができるようになる。   Accordingly, the dust removal image display button (502), the additional dust removal image display button (503), and the entire dust removal image display button (504) are pressed, and the dust correction data (400) and the additional dust correction data (400) are used. Rather than confirming the dust removal effect, all images that can be confirmed by pressing each button are displayed in the view area 1 (511), view area 2 (512), view area 3 (513), and view area 4 (514). Will be able to.

[実施例3]
実施例1、および実施例2では、追加ゴミ補正データ(400)の登録の際に、ゴミの量にかかわらず、カメラに対して登録を行っていた。
[Example 3]
In the first and second embodiments, when the additional dust correction data (400) is registered, the camera is registered regardless of the amount of dust.

しかし、ゴミの量が許容できる範囲を超えた場合には、アラートを表示し、ユーザに対して、撮像素子のクリーニングを促したほうがいい場合もある。   However, when the amount of dust exceeds an allowable range, it may be better to display an alert and prompt the user to clean the image sensor.

そこで、実施例3のゴミ補正データ登録処理の一例を示すフローチャートを、図9(a)を用いて説明する。   A flowchart illustrating an example of the dust correction data registration process according to the third embodiment will be described with reference to FIG.

実施例1、2と異なる部分のみ説明すると、
ステップS212において、ゴミ補正パラメータの取得を行う。ここで言うゴミ補正パラメータとは、ユーザが、ビュー領域(501)のマウスカーソル(600)の操作と半径スライダ(505)で指示したゴミ領域の座標とゴミ領域の半径と、画像ファイルのヘッダ領域であるMakerNote領域に含まれるゴミ補正データ(400)、追加ゴミ補正データ(400)である。この場合、本フローチャートはステップS212からステップS220に進む。
To explain only the parts different from the first and second embodiments,
In step S212, dust correction parameters are acquired. The dust correction parameters referred to here are the operation of the mouse cursor (600) in the view area (501), the coordinates of the dust area designated by the radius slider (505), the radius of the dust area, and the header area of the image file. Dust correction data (400) and additional dust correction data (400) included in the MakerNote area. In this case, the flowchart proceeds from step S212 to step S220.

ステップS220において、ゴミ補正パラメータのゴミの量(個数、面積など)が閾値を超ええたかを判断し、超えたと判断された場合には、ステップS221に進み、超えていないと判断された場合には、ステップS213に進む。   In step S220, it is determined whether the amount of dust (number, area, etc.) of the dust correction parameter has exceeded the threshold value. If it is determined that the threshold has been exceeded, the process proceeds to step S221. Advances to step S213.

ステップS221において、アラートを表示する。この場合、本フローチャートは終了する。   In step S221, an alert is displayed. In this case, this flowchart ends.

実施例3のゴミ補正データ登録処理の一例を示すフローチャートを、図9(b)を用いて説明する。   A flowchart illustrating an example of dust correction data registration processing according to the third embodiment will be described with reference to FIG.

実施例1、2と異なる部分のみ説明すると、
ステップS212において、ゴミ補正パラメータの取得を行う。ここで言うゴミ補正パラメータとは、ユーザが、ビュー領域(501)のマウスカーソル(600)の操作と半径スライダ(505)で指示したゴミ領域の座標とゴミ領域の半径と、画像ファイルのヘッダ領域であるMakerNote領域に含まれるゴミ補正データ(400)、追加ゴミ補正データ(400)である。この場合、本フローチャートはステップS212からステップS220に進む。
To explain only the parts different from the first and second embodiments,
In step S212, dust correction parameters are acquired. The dust correction parameters referred to here are the operation of the mouse cursor (600) in the view area (501), the coordinates of the dust area designated by the radius slider (505), the radius of the dust area, and the header area of the image file. Dust correction data (400) and additional dust correction data (400) included in the MakerNote area. In this case, the flowchart proceeds from step S212 to step S220.

ステップS220において、ゴミ補正パラメータのゴミの量(個数、面積など)が閾値を超ええたかを判断し、超えたと判断された場合には、ステップS221に進み、超えていないと判断された場合には、ステップS213に進む。   In step S220, it is determined whether the amount of dust (number, area, etc.) of the dust correction parameter has exceeded the threshold value. If it is determined that the threshold has been exceeded, the process proceeds to step S221. Advances to step S213.

ステップS221において、アラートを表示する。本フローチャートはステップS221からステップS213に進む。   In step S221, an alert is displayed. In this flowchart, the process proceeds from step S221 to step S213.

これにより、ユーザが、ゴミを追加登録している際に、ゴミの量が許容できる範囲を超えた場合には、アラートを表示し、ユーザに対して、撮像素子のクリーニングなどの手続きを促すことができるようになる。   As a result, when the user additionally registers dust, if the amount of dust exceeds the allowable range, an alert is displayed and the user is prompted to perform procedures such as cleaning the image sensor. Will be able to.

100 制御装置
101 CPU
102 メモリ
103 ROM
104 通信部
105 表示部
106 操作部
106a マウス
106b キーボード
200 撮像装置
201 CPU
202 メモリ
203 記録部
204 通信部
205 画像処理部
206 表示部
207 操作部
208 撮像部
300 USBケーブル
400 ゴミ補正データ
410 ゴミ補正データ
500 カメラコントロール画面
501 ビュー領域
502 撮影ボタン
503 パラメータ領域
504 ゴミ除去ボタン
505 追加ゴミ除去ボタン
506 全体ゴミ除去ボタン
507 半径スライダー
511 ビュー領域1
512 ビュー領域2
513 ビュー領域3
514 ビュー領域4
600 マウスカーソル
700 コマンド
710 送信コマンド
720 補足データ
100 control device 101 CPU
102 memory 103 ROM
104 Communication Unit 105 Display Unit 106 Operation Unit 106a Mouse 106b Keyboard 200 Imaging Device 201 CPU
202 Memory 203 Recording Unit 204 Communication Unit 205 Image Processing Unit 206 Display Unit 207 Operation Unit 208 Imaging Unit 300 USB Cable 400 Dust Correction Data 410 Dust Correction Data 500 Camera Control Screen 501 View Area 502 Shooting Button 503 Parameter Area 504 Dust Removal Button 505 Additional dust removal button 506 Whole dust removal button 507 Radius slider 511 View area 1
512 View area 2
513 view area 3
514 view area 4
600 Mouse cursor 700 Command 710 Send command 720 Supplementary data

Claims (7)

撮像装置(200)を遠隔制御する制御装置(100)であって、
前記撮像装置(200)から送信された画像をカメラコントロール画面(500)に表示するように制御する表示制御手段(105)と、
前記カメラコントロール画面(500)に表示されている所定領域と、ポインティングデバイス(106a)を用いて操作されるマウスカーソル(600)とが重なっているか否かを判定する第1の判定手段(101)と、
前記所定領域と前記マウスカーソル(600)とが重なっている場合、撮影準備処理を前記撮像装置に行わせるコマンド(700)を前記撮像装置(200)に送信する第1の指示手段(101)と、
前記所定領域と前記マウスカーソル(600)とが重なっている場合に、前記ポインティングデバイス(106a)がクリックされた否かを判定する第2の判定手段(101)と、
前記ポインティングデバイス(106a)がクリックされた場合、前記撮影処理を前記撮像装置(200)に行わせるコマンド(700)を前記撮像装置(200)に送信する第2の指示手段(101)と、
を有することを特徴とする制御装置。
A control device (100) for remotely controlling the imaging device (200),
Display control means (105) for controlling the image transmitted from the imaging device (200) to be displayed on the camera control screen (500);
First determining means (101) for determining whether or not a predetermined area displayed on the camera control screen (500) and a mouse cursor (600) operated using the pointing device (106a) overlap. When,
First instruction means (101) for transmitting a command (700) to the imaging apparatus (200) to cause the imaging apparatus to perform imaging preparation processing when the predetermined area and the mouse cursor (600) overlap; ,
Second determining means (101) for determining whether or not the pointing device (106a) is clicked when the predetermined area and the mouse cursor (600) overlap;
Second instruction means (101) for transmitting a command (700) to the imaging apparatus (200) to cause the imaging apparatus (200) to perform the imaging process when the pointing device (106a) is clicked;
A control device comprising:
前記制御装置に加え、
第1のゴミ位置情報(400)として、白紙を撮影することで検出されたゴミ補正データ(400)を保持する撮像装置において、
撮影画像撮影時に第1のゴミ補正データ(400)を情報として付加するカメラにおいて、
第2のゴミ補正データ(400)として、PCにて第1のゴミ補正データ(400)により画像からゴミを取り除いた後で再度画像をスキャンして残りのゴミ位置情報を取得し、
第2のゴミ補正データ(400)をカメラに入力すると、第1と第2のゴミ補正データ(400)を画像に付加することを特徴とする請求項1に記載の制御装置。
In addition to the control device,
In an imaging apparatus that holds dust correction data (400) detected by shooting a blank sheet as first dust position information (400),
In the camera to which the first dust correction data (400) is added as information at the time of taking a photographed image,
As the second dust correction data (400), after removing dust from the image with the first dust correction data (400) on the PC, the image is scanned again to obtain the remaining dust position information.
The control apparatus according to claim 1, wherein when the second dust correction data (400) is input to the camera, the first and second dust correction data (400) are added to the image.
前記制御装置に加え、
第1のゴミ位置情報(400)、第2のゴミ補正データ(400)により画像からゴミを取り除いた効果を確認できるビュー領域(501)を1つ持つことを特徴とする請求項2に記載の制御装置。
In addition to the control device,
3. The image processing apparatus according to claim 2, further comprising: a view area (501) in which the effect of removing dust from the image can be confirmed by the first dust position information (400) and the second dust correction data (400). Control device.
前記制御装置に加え、
第1のゴミ位置情報(400)、第2のゴミ補正データ(400)により画像からゴミを取り除いた効果を確認できるビュー領域(511)、ビュー領域(512)、ビュー領域(513)、ビュー領域(514)をそれぞれ持つことを特徴とする請求項2に記載の制御装置。
In addition to the control device,
A view area (511), a view area (512), a view area (513), and a view area where the effect of removing dust from the image can be confirmed by the first dust position information (400) and the second dust correction data (400). The control device according to claim 2, wherein each of the control devices has (514).
前記制御装置に加え、
第1のゴミ位置情報(400)、第2のゴミ補正データ(400)のゴミのパラメータが、閾値以上になった場合に、アラートを表示することを特徴とする請求項1乃至請求項4の何れか1項に記載の制御装置。
In addition to the control device,
5. An alert is displayed when a dust parameter in the first dust position information (400) and the second dust correction data (400) exceeds a threshold value. The control device according to any one of the above.
前記制御装置に加え、
ゴミのパラメータは、個数であることを特徴とする請求項5に記載の制御装置。
In addition to the control device,
The control apparatus according to claim 5, wherein the parameter of dust is a number.
前記制御装置に加え、
ゴミのパラメータは、面積であることを特徴とする請求項5に記載の制御装置。
In addition to the control device,
The control apparatus according to claim 5, wherein the parameter of dust is an area.
JP2011015600A 2011-01-27 2011-01-27 Control device and computer program Pending JP2012156884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011015600A JP2012156884A (en) 2011-01-27 2011-01-27 Control device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011015600A JP2012156884A (en) 2011-01-27 2011-01-27 Control device and computer program

Publications (1)

Publication Number Publication Date
JP2012156884A true JP2012156884A (en) 2012-08-16

Family

ID=46838132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011015600A Pending JP2012156884A (en) 2011-01-27 2011-01-27 Control device and computer program

Country Status (1)

Country Link
JP (1) JP2012156884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014150362A (en) * 2013-01-31 2014-08-21 Canon Inc Image pickup apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014150362A (en) * 2013-01-31 2014-08-21 Canon Inc Image pickup apparatus

Similar Documents

Publication Publication Date Title
US7991241B2 (en) Image processing apparatus, control method therefor, and program
KR100815512B1 (en) Image capturing apparatus and control method thereof
JP4590355B2 (en) Image processing apparatus, image processing method, and program
US8208752B2 (en) Image processing apparatus, control method therefor, program, storage medium, and image capturing apparatus
US7990419B2 (en) Image processing apparatus, method, and program storing a correction or modification log
US7619666B2 (en) Image processing apparatus, control method therefor, and program correcting image data based on foreign substance information and inhibiting such correction
US8238690B2 (en) Image processing apparatus, control method therefor, and program
JP2004343519A (en) Imaging apparatus and image processing apparatus
TWI511546B (en) Dust detection system and digital camera
JP2010268323A (en) Image pickup apparatus and program
JP2012008307A (en) Imaging apparatus and display method
US8576306B2 (en) Image sensing apparatus, image processing apparatus, control method, and computer-readable medium
US8537266B2 (en) Apparatus for processing digital image and method of controlling the same
JP5617470B2 (en) Dust processing device, imaging device, photographing lens, and dust processing program
JP4960852B2 (en) Image processing apparatus, control method thereof, interchangeable lens single-lens reflex digital camera, and program
JP4725461B2 (en) Image signal processing apparatus, imaging apparatus, and image signal processing method
JP5233554B2 (en) Imaging apparatus and program
JP2012156884A (en) Control device and computer program
JP2012239079A (en) Photographing device
JP2008178031A (en) Imaging apparatus
JP2011249923A (en) Imaging apparatus, image processing apparatus, and image processing program
JP5987380B2 (en) Imaging apparatus and program
JP2012044542A (en) Image processing device, method, and program
JP2020072448A (en) Imaging apparatus, imaging method, and program
JP2009164752A (en) Imaging system with tracking function and imaging method