JP4902512B2 - Imaging apparatus, control method thereof, and program - Google Patents

Imaging apparatus, control method thereof, and program Download PDF

Info

Publication number
JP4902512B2
JP4902512B2 JP2007318996A JP2007318996A JP4902512B2 JP 4902512 B2 JP4902512 B2 JP 4902512B2 JP 2007318996 A JP2007318996 A JP 2007318996A JP 2007318996 A JP2007318996 A JP 2007318996A JP 4902512 B2 JP4902512 B2 JP 4902512B2
Authority
JP
Japan
Prior art keywords
image
watermark information
unit
dust
digital watermark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007318996A
Other languages
Japanese (ja)
Other versions
JP2009141906A (en
Inventor
憲治 三輪
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 JP2007318996A priority Critical patent/JP4902512B2/en
Publication of JP2009141906A publication Critical patent/JP2009141906A/en
Application granted granted Critical
Publication of JP4902512B2 publication Critical patent/JP4902512B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、デジタルカメラ等の撮像装置で撮像された画像データに電子透かしデータを埋め込む技術に関するものである。   The present invention relates to a technique for embedding digital watermark data in image data captured by an imaging apparatus such as a digital camera.

デジタルカメラの高性能化・小型化・軽量化は目覚しく、フィルムカメラに取って代わり雑誌社や新聞社といった仕事の現場でも広く使用されるようになって来ている。   Digital cameras have been remarkably improved in performance, size, and weight, and have been widely used in the workplaces such as magazines and newspapers to replace film cameras.

その一方で、デジタルデータは痕跡が残らないように合成などの改ざんを行うことが容易であるため、撮影されたデジタル画像の証拠としての信頼性が問題となる場合がある。このような問題は、一般ユーザーによる趣味の範囲の撮影であれば問題はあまり生じないであろうが、建築現場や事故現場などの記録写真のように業務上あるいは法律上必要な撮影では大きな問題となってくる。   On the other hand, since it is easy to tamper with digital data so that no trace remains, reliability as evidence of the captured digital image may be a problem. This kind of problem is unlikely to occur if shooting within the range of hobbies by general users, but it is a major problem for shooting that is necessary for business or legal purposes, such as recorded photographs of construction sites and accident sites. It becomes.

また、複製・配布が容易なために画像の著作権者の権利が十分に保護されないという問題もある。   Another problem is that the rights of the copyright holder of the image are not sufficiently protected because copying and distribution are easy.

したがって、撮影されたデジタル画像の証拠能力を高め、著作権を保護することの出来るデジタルカメラへの期待は大きい。   Therefore, there is a great expectation for a digital camera that can enhance the evidence ability of the photographed digital image and protect the copyright.

そのような目的で「電子透かし」という技術が利用され始めている。電子透かしによって所定のデータが埋め込まれたデジタル画像データに画像加工(ぼかし処理、シャープネス処理などのフィルタリング処理)や画像フォーマット変換(JPEGからビットマップへの変換など)を施しても、加工・変換後の画像データ内の電子透かしデータは失われない。そのような性質から、著作権情報が電子透かしによって画像データに埋め込まれる。電子透かしによって埋め込まれた著作権情報によって、画像データが加工・変換された後も著作権情報を読み出すことができ、著作権を保有する主張が可能となる。
特開2000−216985号公報
For this purpose, a technique called “digital watermark” has begun to be used. Even if image processing (filtering processing such as blurring processing or sharpness processing) or image format conversion (conversion from JPEG to bitmap, etc.) is applied to digital image data in which predetermined data is embedded by digital watermarking, after processing and conversion The digital watermark data in the image data is not lost. Due to such a property, copyright information is embedded in image data by digital watermark. The copyright information embedded in the electronic watermark can be read out even after the image data is processed and converted, and the copyright can be claimed.
JP 2000-216985 A

しかしながら、従来では、1コマの画像を表す画像データの全体に電子透かしデータが埋め込まれている。そのため、電子透かしデータが埋め込まれた画像データの一部が消去された場合には、埋め込まれたデータを読み出して再現することが出来なくなる恐れがある。   However, conventionally, digital watermark data is embedded in the entire image data representing an image of one frame. Therefore, when a part of the image data in which the digital watermark data is embedded is deleted, there is a possibility that the embedded data cannot be read and reproduced.

例えば、デジタルカメラでは撮像素子の前方に配置された光学ローパスフィルター等の光学素子に付着したゴミ(異物)は光学素子の清掃を行うまで常に画像データ上に黒い点として映りこみ続ける。画像データ上に映りこんだゴミ画像部分は、周辺の同色画素のデータで置き換えることで、ゴミの映りこみがない画像データへと修正されることがある。このゴミ画像部分に電子透かしデータが埋め込まれていた場合、ゴミ画像部分を修正することによって電子透かしによるデータが失われ、埋め込まれたデータを読み出せなくなる恐れがある。   For example, in a digital camera, dust (foreign matter) adhering to an optical element such as an optical low-pass filter disposed in front of the image sensor always appears as a black dot on the image data until the optical element is cleaned. The dust image portion reflected on the image data may be corrected to image data that does not include dust by replacing it with data of surrounding pixels of the same color. When the digital watermark data is embedded in the dust image portion, the digital watermark data is lost by correcting the dust image portion, and the embedded data may not be read.

また、フラッシュを使用して被写体である人物の撮影を行った場合、稀に目の黒目部分が赤く映ることがある。これは赤目写真と呼ばれ、瞳孔が開いた状態でフラッシュ撮影したことにより、網膜上の血液の赤色が写真に映し出される現象である。赤目写真となった場合は、赤目部分を本来の色に近い色で修正することがある。この場合も目の部分に電子透かしのデータ埋め込まれていた場合、赤目部分を修正することによって電子透かしデータが失われ、埋め込まれたデータを読み出せなくなる恐れがある。   In addition, when a person who is a subject is photographed using a flash, the black eye part of the eye may appear red in rare cases. This is called a red-eye photograph, and is a phenomenon in which the red color of blood on the retina is reflected in the photograph when the flash is taken with the pupil open. When it becomes a red-eye photograph, the red-eye part may be corrected with a color close to the original color. Also in this case, if the digital watermark data is embedded in the eye portion, the digital watermark data may be lost by correcting the red-eye portion, and the embedded data may not be read.

ところで、特開2000−216985号公報(特許文献1)では、複数の位置を指定して電子透かしデータを埋め込む方法が提案されている。しかし、この方法では複数の位置を指定することが煩雑であり、上記のゴミの存在などをデジタルカメラの表示装置で確認の上、それを避けるように電子透かしデータの埋め込み位置を指定することは困難である。   Incidentally, Japanese Patent Laid-Open No. 2000-216985 (Patent Document 1) proposes a method of embedding digital watermark data by designating a plurality of positions. However, in this method, it is cumbersome to specify a plurality of positions, and it is not possible to specify the embedding position of the digital watermark data so as to avoid it after confirming the presence of the above-mentioned dust on the display device of the digital camera. Have difficulty.

したがって、本発明は上述した課題に鑑みてなされたものであり、その目的は、埋め込まれた電子透かしデータが画像処理などにより失われてしまうことを防止することである。   Therefore, the present invention has been made in view of the above-described problems, and an object thereof is to prevent embedded digital watermark data from being lost due to image processing or the like.

上述した課題を解決し、目的を達成するために、本発明に係わる撮像装置は、被写体像を光電変換し、画像信号を生成する撮像手段と、前記撮像手段により生成された前記画像信号のうちの、後の画像処理により前記撮像手段の前方に配置された光学素子に付着した異物の影が写り込んだ領域として補正される可能性のある領域である補正領域を検出する検出手段と、前記画像信号に電子透かし情報を埋め込む透かし情報埋め込み手段と、前記検出手段により検出された補正領域を前記電子透かし情報を埋め込む対象とする領域から除外して前記画像信号に前記電子透かし情報を埋め込むように前記透かし情報埋め込み手段を制御する制御手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, an imaging apparatus according to the present invention includes an imaging unit that photoelectrically converts a subject image to generate an image signal, and among the image signals generated by the imaging unit. Detecting means for detecting a correction region that is a region that may be corrected as a region in which a shadow of a foreign substance attached to an optical element disposed in front of the imaging unit is reflected by subsequent image processing; and A watermark information embedding unit for embedding digital watermark information in an image signal, and a correction area detected by the detection unit is excluded from an area to be embedded with the digital watermark information, and the digital watermark information is embedded in the image signal. Control means for controlling the watermark information embedding means.

また、本発明に係わる撮像装置の制御方法は、被写体像を光電変換し、画像信号を生成する撮像手段と、前記撮像手段により生成された前記画像信号のうちの、後の画像処理により前記撮像手段の前方に配置された光学素子に付着した異物の影が写り込んだ領域として補正される可能性のある領域である補正領域を検出する検出手段と、前記画像信号に電子透かし情報を埋め込む透かし情報埋め込み手段と、を備える撮像装置を制御する方法であって、前記検出手段により検出された補正領域を前記電子透かし情報を埋め込む対象とする領域から除外して前記画像信号に前記電子透かし情報を埋め込むように前記透かし情報埋め込み手段を制御する制御工程を備えることを特徴とする。   According to another aspect of the present invention, there is provided a control method for an image pickup apparatus, the image pickup means for photoelectrically converting a subject image to generate an image signal, and the image pickup by the subsequent image processing of the image signal generated by the image pickup means. Detecting means for detecting a correction region that is a region that may be corrected as a region in which a shadow of a foreign substance attached to an optical element disposed in front of the means is reflected; and a watermark for embedding digital watermark information in the image signal And an information embedding unit for controlling the imaging apparatus, wherein the correction area detected by the detection unit is excluded from an area to be embedded with the digital watermark information, and the digital watermark information is added to the image signal. A control step of controlling the watermark information embedding unit so as to be embedded is provided.

本発明によれば、埋め込まれた電子透かしデータが画像処理などにより失われてしまうことを防止することが可能となる。   According to the present invention, it is possible to prevent embedded digital watermark data from being lost due to image processing or the like.

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

図1は、本発明の一実施形態における撮像装置としてのデジタルカメラの構成を示す図である。   FIG. 1 is a diagram illustrating a configuration of a digital camera as an imaging apparatus according to an embodiment of the present invention.

図1において、100はデジタルカメラである。10は撮影レンズ、12は絞り機能を備えるシャッター、14は撮影レンズ10により結像された被写体像を光電変換して画像信号を生成する撮像素子、16は撮像素子14から出力されるアナログ画像信号をデジタル信号に変換するA/D変換器である。なお、14aは、撮像素子14の前方に配置された光学ローパスフィルター等の光学素子である。この光学素子14aの表面に付着したゴミ等の異物が撮像素子14で得られる画像に写り込む。また、本実施形態では、撮影レンズ10をデジタルカメラ100に固定している構造を示しているが、デジタルカメラ100は、撮影レンズ10を交換可能な一眼レフタイプのカメラであっても良い。特に、一眼レフタイプのカメラの場合は、レンズ交換時等にカメラ本体内にゴミ等の異物が入り込みやすいので、光学素子14aにゴミ等の異物が付着した場合の対策は重要な課題となる。   In FIG. 1, reference numeral 100 denotes a digital camera. 10 is a photographing lens, 12 is a shutter having a diaphragm function, 14 is an image sensor that photoelectrically converts a subject image formed by the photographing lens 10 to generate an image signal, and 16 is an analog image signal output from the image sensor 14. Is an A / D converter for converting the signal into a digital signal. Reference numeral 14 a denotes an optical element such as an optical low-pass filter disposed in front of the image sensor 14. Foreign matters such as dust adhering to the surface of the optical element 14a appear in the image obtained by the imaging element 14. Further, in the present embodiment, the structure in which the photographing lens 10 is fixed to the digital camera 100 is shown, but the digital camera 100 may be a single-lens reflex type camera in which the photographing lens 10 can be replaced. Particularly, in the case of a single-lens reflex camera, foreign matter such as dust is likely to enter the camera body when the lens is exchanged. Therefore, countermeasures when foreign matter such as dust adheres to the optical element 14a is an important issue.

18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。   A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50.

20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。   An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22.

また、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御部40、測距制御部42に対して制御を行う、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。   The image processing circuit 20 performs predetermined calculation processing using the captured image data, and the system control circuit 50 controls the exposure control unit 40 and the distance measurement control unit 42 based on the obtained calculation result. TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-emission) processing are performed.

さらに、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   Further, the image processing circuit 20 performs predetermined arithmetic processing using captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.

22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。   A memory control circuit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32.

A/D変換器16からのデータが画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16からのデータが直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。   Data from the A / D converter 16 passes through the image processing circuit 20 and the memory control circuit 22, or data from the A / D converter 16 passes directly through the memory control circuit 22 to the image display memory 24 or the memory 30. Is written to.

24は画像表示メモリ、26はD/A変換器、28はTFT LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28により表示される。   Reference numeral 24 denotes an image display memory, 26 denotes a D / A converter, 28 denotes an image display unit including a TFT LCD, and the image data for display written in the image display memory 24 passes through the D / A converter 26. Displayed by the image display unit 28.

画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダー機能を実現することが可能である。   If the image data captured using the image display unit 28 is sequentially displayed, the electronic viewfinder function can be realized.

また、画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合にはデジタルカメラ100の電力消費を大幅に低減することが出来る。   The image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50. When the display is turned off, the power consumption of the digital camera 100 can be significantly reduced. I can do it.

30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶容量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。   Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a storage capacity sufficient to store a predetermined number of still images and a moving image for a predetermined time. Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the memory 30 at high speed.

また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。   The memory 30 can also be used as a work area for the system control circuit 50.

32は適応離散コサイン変換(ADCT)等により画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。   Reference numeral 32 denotes a compression / decompression circuit that compresses and decompresses image data by adaptive discrete cosine transform (ADCT) or the like, reads an image stored in the memory 30, performs compression processing or decompression processing, and stores the processed data in the memory 30. Write to.

40は絞り機能を備えるシャッター12を制御する露光制御部であり、フラッシュ48と連携することによりフラッシュ調光機能も有するものである。   Reference numeral 40 denotes an exposure control unit that controls the shutter 12 having an aperture function, and has a flash light control function in cooperation with the flash 48.

42は撮影レンズ10のフォーカシングを制御する測距制御部、44は撮影レンズ10のズーミングを制御するズーム制御部、46はバリアである保護部102の動作を制御するバリア制御部である。   Reference numeral 42 denotes a distance measurement control unit that controls focusing of the photographing lens 10, reference numeral 44 denotes a zoom control unit that controls zooming of the photographing lens 10, and reference numeral 46 denotes a barrier control unit that controls the operation of the protection unit 102 serving as a barrier.

48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。   A flash 48 has an AF auxiliary light projecting function and a flash light control function.

露光制御部40、測距制御部42はTTL方式を用いて制御されており、撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50が露光制御部40、測距制御部42に対して制御を行う。   The exposure control unit 40 and the distance measurement control unit 42 are controlled using the TTL method. Based on the calculation result obtained by calculating the captured image data by the image processing circuit 20, the system control circuit 50 performs the exposure control unit 40 and the distance measurement. The controller 42 is controlled.

50はデジタルカメラ100全体を制御するシステム制御回路、52はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。   A system control circuit 50 controls the entire digital camera 100, and a memory 52 stores constants, variables, programs, and the like for operation of the system control circuit 50.

54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の表示部である。表示部54は、デジタルカメラ100の操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。   Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operation state, a message, and the like using characters, images, sounds, and the like in accordance with execution of a program in the system control circuit 50. The display unit 54 is installed at a single or a plurality of positions near the operation unit of the digital camera 100 so that the display unit 54 can be visually recognized.

また、表示部54は、その一部の機能が光学ファインダー104内に設置されている。   In addition, the display unit 54 is partially installed in the optical viewfinder 104.

表示部54の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示等がある。また、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200の着脱状態表示、通信I/F動作表示、日付・時刻表示、等もある。   Among the display contents of the display unit 54, what is displayed on the LCD or the like includes single shot / continuous shooting display, self-timer display, compression rate display, number of recorded pixels, number of recorded pixels, number of remaining images that can be captured, shutter There are speed display, aperture value display, exposure compensation display, and so on. In addition, flash display, red-eye reduction display, macro shooting display, buzzer setting display, clock battery level display, battery level display, error display, information display with multiple digits, display / removal status display of recording medium 200, communication I / F operation display, date / time display, etc.

また、表示部54の表示内容のうち、光学ファインダー104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示、等がある。   Further, among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like.

56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。   Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory such as an EEPROM.

60,62,64,66,68,70は、システム制御回路50の各種の動作指示を入力するための操作部であり、スイッチやダイヤル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。   Reference numerals 60, 62, 64, 66, 68, and 70 denote operation units for inputting various operation instructions of the system control circuit 50. A single unit such as a switch, dial, touch panel, pointing by line-of-sight detection, a voice recognition device, or the like Consists of multiple combinations.

ここで、これらの操作部の具体的な説明を行う。   Here, a specific description of these operation units will be given.

60はモードダイヤルスイッチで、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することが出来る。   Reference numeral 60 denotes a mode dial switch, which can switch and set various function modes such as power-off, automatic shooting mode, shooting mode, panoramic shooting mode, playback mode, multi-screen playback / erase mode, and PC connection mode.

62はシャッタースイッチSW1で、不図示のシャッターボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。   Reference numeral 62 denotes a shutter switch SW1, which is turned ON during the operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct to start operation.

64はシャッタースイッチSW2で、不図示のシャッターボタンの操作完了でONとなり、撮像素子14から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に書き込む露光処理、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200に書き込む記録処理という一連の処理の動作開始を指示する。   Reference numeral 64 denotes a shutter switch SW2, which is turned on when an operation of a shutter button (not shown) is completed, and exposure processing and image processing for writing a signal read from the image sensor 14 to the memory 30 via the A / D converter 16 and the memory control circuit 22. Instructs the start of a series of processing operations such as development processing using arithmetic operations in the circuit 20 and the memory control circuit 22, reading out image data from the memory 30, compression in the compression / decompression circuit 32, and writing into the recording medium 200 To do.

66は画像表示ON/OFFスイッチで、画像表示部28のON/OFFを設定することが出来る。この機能により、光学ファインダー104を用いて撮影を行う際に、TFT LCD等から成る画像表示部28への電流供給を遮断することにより、省電力を図ることが可能となる。   Reference numeral 66 denotes an image display ON / OFF switch that can set ON / OFF of the image display unit 28. With this function, when photographing using the optical viewfinder 104, it is possible to save power by cutting off the current supply to the image display unit 28 including a TFT LCD or the like.

68はクイックレビューON/OFFスイッチで、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定する。   Reference numeral 68 denotes a quick review ON / OFF switch, which sets a quick review function for automatically reproducing image data taken immediately after photographing.

70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、メニュー項目移動+(プラス)ボタン、メニュー項目移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像移動−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン等がある。   Reference numeral 70 denotes an operation unit composed of various buttons, a touch panel, and the like. A menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, menu movement + (plus) Button, menu movement-(minus) button, menu item movement + (plus) button, menu item movement-(minus) button, playback image movement + (plus) button, playback image movement-(minus) button, shooting image quality selection button , Exposure compensation button, date / time setting button, and the like.

80は電源制御部で、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されている。そして、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。   A power control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like. Then, the presence / absence of a battery, the type of battery, the remaining battery level are detected, the DC-DC converter is controlled based on the detection result and the instruction of the system control circuit 50, and the necessary voltage is recorded for a necessary period. To each part including

82はコネクタ、84はコネクタ、86はアルカリ電池、リチウム電池等の一次電池、NiCd電池、NiMH電池、Li−ion電池等の二次電池、ACアダプター等からなる電源部である。   Reference numeral 82 denotes a connector, 84 denotes a connector, 86 denotes a primary battery such as an alkaline battery or lithium battery, a secondary battery such as a NiCd battery, NiMH battery, or Li-ion battery, an AC adapter, or the like.

90はメモリカードやハードディスク等の記録媒体とのインタフェース、92はメモリカードやハードディスク等の記録媒体と接続を行うコネクタである。インタフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成して構わない。   Reference numeral 90 denotes an interface with a recording medium such as a memory card or hard disk, and reference numeral 92 denotes a connector for connecting to a recording medium such as a memory card or hard disk. The interface and the connector may be configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like based on a standard.

さらに、インタフェース90、そしてコネクタ92をPCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を送信し合うことが出来る。   Further, when the interface 90 and the connector 92 are configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like, a LAN card, a modem card, a USB card, an IEEE 1394 card, a P1284 card, etc. By connecting various communication cards such as a SCSI card and a PHS, image data and management information attached to the image data can be transmitted to and from other computers and peripheral devices such as a printer.

102は、デジタルカメラ100の撮影レンズ10を含む撮像部を覆うことにより、撮像部の汚れや破損を防止するバリアである保護部である。   A protection unit 102 is a barrier that prevents the imaging unit from being soiled or damaged by covering the imaging unit including the photographing lens 10 of the digital camera 100.

104は光学ファインダーであり、画像表示部28による電子ファインダー機能を使用すること無しに、光学ファインダーのみを用いて撮影を行うことが可能である。また、光学ファインダー104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示などが設置されている。   Reference numeral 104 denotes an optical viewfinder, which can perform photographing using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. In the optical viewfinder 104, some functions of the display unit 54, for example, a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are installed.

110は通信部で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。この通信部を用いることで画像送信を行うことができる。   A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication. Image transmission can be performed by using this communication unit.

112は通信部110によりデジタルカメラ100を他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。   Reference numeral 112 denotes a connector for connecting the digital camera 100 to another device by the communication unit 110 or an antenna in the case of wireless communication.

200はメモリカードやハードディスク等の記録媒体である。   Reference numeral 200 denotes a recording medium such as a memory card or a hard disk.

記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、デジタルカメラ100とのインタフェース204、デジタルカメラ100と接続を行うコネクタ206を備えている。   The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, or the like, an interface 204 with the digital camera 100, and a connector 206 for connecting with the digital camera 100.

94は、画像データに電子透かしデータを埋め込むための透かし情報埋め込み部である。   A watermark information embedding unit 94 embeds digital watermark data in image data.

95はゴミ位置検出部である。画像データを入力することにより、画像に対するゴミの位置や大きさ、濃さを検出する。このゴミ位置検出部95でゴミを検出する場合は、白壁等のほぼ均一な明るさを有し、ゴミが目立ちやすい被写体を撮影して得られた画像データを入力する。そして、この画像データから所定の輝度よりも輝度の低い画素を検出し、その画素をゴミ画素と判定する。   Reference numeral 95 denotes a dust position detection unit. By inputting image data, the position, size, and darkness of dust with respect to the image are detected. When dust is detected by the dust position detection unit 95, image data obtained by photographing a subject having a substantially uniform brightness, such as a white wall, where dust is conspicuous is input. A pixel having a luminance lower than a predetermined luminance is detected from the image data, and the pixel is determined as a dust pixel.

96は顔位置検出部である。画像データを入力することにより、画像に対する顔の位置、その大きさ、目の位置、その大きさを検出する。なお、画像から顔を検出する技術としては、様々な手法が公知となっている。例えば、ニューラルネットワークに代表される学習を用いた方法がある。また、目、鼻、口、および、顔の輪郭といった物理的な形状の特徴のある部位を画像データからテンプレートマッチングを用いて識別する手法がある。他にも、肌の色や目の形といった画像データの特徴量を検出し統計的解析を用いた手法があげられる(例えば、特開平10−232934号公報や特開2000−48184号公報等を参照)。顔位置検出部96は、これらの内のいずれかの方法で顔の位置、その大きさ、目の位置、その大きさを検出する。   Reference numeral 96 denotes a face position detection unit. By inputting image data, the position of the face, its size, the position of the eyes, and its size with respect to the image are detected. Various techniques are known for detecting a face from an image. For example, there is a method using learning represented by a neural network. In addition, there is a technique for identifying parts having physical shape features such as eyes, nose, mouth, and facial contour from image data using template matching. In addition, there is a technique that detects a feature amount of image data such as skin color or eye shape and uses statistical analysis (for example, Japanese Patent Laid-Open Nos. 10-232934 and 2000-48184). reference). The face position detection unit 96 detects the face position, its size, the eye position, and its size by any one of these methods.

97は、画像の、後に画像処理による補正が行われると予測される領域の位置情報に基づいて、電子透かし情報を埋め込む位置を決定する透かし情報埋め込み位置決定部である。   Reference numeral 97 denotes a watermark information embedding position determination unit that determines a position in which digital watermark information is embedded based on position information of an area predicted to be corrected later by image processing.

デジタルカメラ100では、電子透かしとして画像に埋め込むデータとして、撮影者の氏名、著作権情報等が予め不揮発性メモリ56に記憶されているものとする。その他、電子透かしとして埋め込むデータは、撮影時間情報や、GPS情報などを含んでいてもよい。上記の電子透かしとして埋め込むデータはパーソナルコンピュータで作成された後、インタフェース90や通信部110を経由してデジタルカメラ100に送信された後に、不揮発性メモリ56に記憶される。   In the digital camera 100, it is assumed that a photographer's name, copyright information, and the like are stored in advance in the nonvolatile memory 56 as data embedded in an image as a digital watermark. In addition, data to be embedded as a digital watermark may include shooting time information, GPS information, and the like. The data to be embedded as the electronic watermark is created by a personal computer, transmitted to the digital camera 100 via the interface 90 and the communication unit 110, and then stored in the nonvolatile memory 56.

次に、デジタルカメラ100におけるゴミ検出動作について説明する。   Next, the dust detection operation in the digital camera 100 will be described.

まず始めに、操作部材70を使用して撮影モードを選択し、撮像素子14の前方に配置された光学素子14aの表面に付着したゴミ位置を取得するゴミ位置取得撮影を選択する。   First, the photographing mode is selected using the operation member 70, and the dust position acquisition photographing for obtaining the dust position attached to the surface of the optical element 14a disposed in front of the image sensor 14 is selected.

図2は撮影モードを選択するメニューを示している。メニューは表示部54に表示され、メニュー項目移動ボタンによって項目を移動させ、セットボタンを押すことで撮影モードが選択される。このメニューでは通常の撮影とゴミ位置取得撮影が選択できることが示されている。なお、このゴミ位置取得撮影では、白壁等のほぼ均一な輝度の被写体を撮影する。   FIG. 2 shows a menu for selecting a shooting mode. The menu is displayed on the display unit 54, the item is moved by the menu item moving button, and the shooting mode is selected by pressing the set button. This menu shows that normal shooting and dust position acquisition shooting can be selected. It should be noted that in this dust position acquisition shooting, a subject having a substantially uniform brightness, such as a white wall, is shot.

図3はゴミ位置取得撮影を行うシーケンスを示したフローチャートである。   FIG. 3 is a flowchart showing a sequence for performing dust position acquisition photographing.

ゴミ位置取得撮影を選択すると、デジタルカメラはゴミ位置取得撮影モードになる。不図示のシャッターボタンを押す(ステップS101)とデジタルカメラは絞り機能を備えたシャッター12を操作して、絞りを絞った状態での撮影を行う(ステップS102)。シャッターの絞りを絞って撮影するのは、ゴミを明確に撮影するためである。撮像素子14によって撮像された画像データはA/D変換器16によりデジタルデータに変換され(ステップS103)、メモリ30に一時記憶される(ステップS104)。メモリ30に一時記憶された画像データはゴミ位置検出部95に入力されて、ゴミ位置が算出される(ステップS105)。このゴミ位置を算出する動作においては、画像データにおける各画素の輝度値を所定の閾値と比較し、閾値よりも暗い画素をゴミが写りこんだ画素と判定する。そして、このゴミが写り込んだ画素の位置から、画面上のゴミの位置及び大きさを算出する。   When dust position acquisition shooting is selected, the digital camera enters a dust position acquisition shooting mode. When a shutter button (not shown) is pressed (step S101), the digital camera operates the shutter 12 having an aperture function to perform shooting with the aperture stopped (step S102). The reason for shooting with the shutter aperture is to clearly capture the dust. The image data captured by the image sensor 14 is converted into digital data by the A / D converter 16 (step S103) and temporarily stored in the memory 30 (step S104). The image data temporarily stored in the memory 30 is input to the dust position detection unit 95, and the dust position is calculated (step S105). In the operation of calculating the dust position, the luminance value of each pixel in the image data is compared with a predetermined threshold value, and a pixel darker than the threshold value is determined as a pixel in which dust is reflected. Then, the position and size of the dust on the screen are calculated from the position of the pixel in which the dust is reflected.

算出されたゴミ位置データは、位置情報のほかに、ゴミの大きさやゴミの濃さなどの情報を持ったデータとなる。位置情報は図4のように画像の左上を原点として、絶対座標で表現されるものとする。位置情報の別の持ち方としては、1つ前のゴミの位置からの差分で表現してもかまわない。大きさの情報はゴミを補正するために必要な大きさを表現しており、図5のようにゴミ全体が隠れるような大きさ(半径Rの円の領域)とする。また、濃さの情報は複数の段階で表現される。これらの情報が検出された複数のゴミに対して算出され、情報としてまとめられる。図6はまとめられたゴミ位置検出データを示している。この様に求められたゴミ位置検出データはシステム制御回路50によって不揮発性メモリ56に保存される(ステップS106)。なお、図6における座標及び半径の数値の単位は画素であり、濃さの単位は輝度値の段階である。   The calculated dust position data is data having information such as dust size and dust density in addition to position information. As shown in FIG. 4, the position information is expressed in absolute coordinates with the upper left corner of the image as the origin. As another way of holding the position information, it may be expressed by a difference from the position of the previous dust. The size information expresses the size necessary for correcting dust, and is set to a size (circle region having a radius R) that hides the entire dust as shown in FIG. The darkness information is expressed in a plurality of stages. These pieces of information are calculated for a plurality of detected dusts and are collected as information. FIG. 6 shows the collected dust position detection data. The dust position detection data thus obtained is stored in the nonvolatile memory 56 by the system control circuit 50 (step S106). Note that the unit of numerical values of coordinates and radius in FIG. 6 is a pixel, and the unit of darkness is a stage of luminance value.

次に、操作部材70を使用して、電子透かしによる情報埋め込みを選択する。図7は情報埋め込みを選択するメニューを示している。メニューは表示部54に表示され、メニュー項目移動ボタンによって項目を移動させ、セットボタンを押すことで情報埋め込みが選択される。このメニューでは情報埋め込みをする場合としない場合を選択できることが示されている。   Next, using the operation member 70, information embedding by digital watermark is selected. FIG. 7 shows a menu for selecting information embedding. The menu is displayed on the display unit 54, the item is moved by the menu item moving button, and information embedding is selected by pressing the set button. In this menu, it is shown that the case where information is embedded or not can be selected.

図8は、撮像によって得られた画像データに電子透かし情報を記録して画像データを保存するフローチャートである。   FIG. 8 is a flowchart for recording digital watermark information in image data obtained by imaging and storing the image data.

不図示のシャッターボタンを押す(ステップS201)とデジタルカメラ100はゴミ検出用の画像ではない通常の画像の撮影を行う(ステップS202)。撮像素子14によって撮像された画像データはA/D変換器16によりデジタルデータに変換され(ステップS203)、メモリ30に一時記憶される(ステップS204)。次に、予め記憶しておいたゴミ位置検出データを不揮発性メモリ56から読み出し、透かし情報埋め込み位置決定部97に入力する。また同時に、ゴミ位置検出データの他に通常の画像の撮影時のレンズの絞り状態を入力する。これは絞りの状態によってゴミの画像データへの映り込みが変化するため、撮影時の絞りの状態に応じて電子透かし情報の埋め込み位置を変更するためである。ゴミ位置検出データと絞り値を用いて透かし情報埋め込み位置決定部97は電子透かし情報の埋め込み位置を決定する(ステップS205)。メモリ30に一次記憶されている画像データを透かし情報埋め込み部94に読み出し、この通常撮影画像データに対して、ステップS205で決定された位置に電子透かし情報を埋め込み、メモリ30に記憶する(ステップS206)。そして、メモリ30から電子透かし情報が埋め込まれた画像データを読み出し、圧縮伸長回路32によって画像圧縮を行い(ステップS207)、記録媒体200に保存する(ステップS208)。   When a shutter button (not shown) is pressed (step S201), the digital camera 100 captures a normal image that is not a dust detection image (step S202). Image data captured by the image sensor 14 is converted into digital data by the A / D converter 16 (step S203) and temporarily stored in the memory 30 (step S204). Next, dust position detection data stored in advance is read from the nonvolatile memory 56 and input to the watermark information embedding position determination unit 97. At the same time, in addition to dust position detection data, the lens aperture state at the time of shooting a normal image is input. This is because the reflection position of the digital watermark information is changed according to the state of the diaphragm at the time of photographing because the reflection of dust in the image data changes depending on the state of the diaphragm. Using the dust position detection data and the aperture value, the watermark information embedding position determining unit 97 determines the embedding position of the digital watermark information (step S205). The image data primarily stored in the memory 30 is read into the watermark information embedding unit 94, and the digital watermark information is embedded in the position determined in step S205 with respect to the normal photographed image data and stored in the memory 30 (step S206). ). Then, the image data in which the digital watermark information is embedded is read from the memory 30, and the image is compressed by the compression / decompression circuit 32 (step S207) and stored in the recording medium 200 (step S208).

図9は、透かし情報埋め込み位置決定部97が、絞り値を用いて電子すかし情報を埋め込む位置から除外するゴミ情報を選別する方法を示したフローチャートである。   FIG. 9 is a flowchart showing a method for the watermark information embedding position determination unit 97 to select dust information to be excluded from positions where electronic watermark information is embedded using the aperture value.

まず透かし情報埋め込み位置決定部97に、電子透かしを埋め込む対象となる画像を撮影した時の絞り値が入力される(ステップS301)。撮影時の絞り値が大きく絞り込まれた状態で撮影されていた場合は、光学素子14aに付着したゴミは明確に映りこみ、絞り値が小さく絞りが開放に近い状態で撮影される場合は大きなゴミだけが写り込む。そのため、入力された絞り値を予め定められた閾値と比較する(ステップS302)。閾値よりも絞り値が小さい(絞りが開いている)場合は、ゴミの映りこみが少なくなるので、透かしの埋め込み位置から除外するゴミは大きなものだけと判定される(ステップS303)。即ち、大きなゴミが存在する位置には電子透かしを埋め込まないようにする。また、閾値よりも絞り値が大きい(絞りが絞られている)場合は、小さなゴミまで映り込むので、除外するゴミ位置は小さなものまで含めるように判定される(ステップS304)。即ち、大きなゴミだけでなく小さなゴミが存在する位置にも電子透かしを埋め込まないようにする。   First, the aperture value at the time of shooting an image to be embedded with the digital watermark is input to the watermark information embedding position determining unit 97 (step S301). If the image was taken with a large aperture value at the time of shooting, the dust attached to the optical element 14a was clearly reflected, and if the image was shot with a small aperture value close to the full aperture, large dust Only is reflected. Therefore, the input aperture value is compared with a predetermined threshold value (step S302). If the aperture value is smaller than the threshold value (the aperture is open), the amount of dust reflected is reduced, and it is determined that only large dust is excluded from the watermark embedding position (step S303). In other words, the digital watermark is not embedded at a position where large dust exists. If the aperture value is larger than the threshold (the aperture is narrowed down), even small dust is reflected, so that it is determined to include even the smallest dust positions to be excluded (step S304). That is, an electronic watermark is not embedded at a position where not only large dust but also small dust exists.

なお、上記の実施形態では、透かし情報埋め込み位置決定部97が、絞り値を用いて電子透かし情報の埋め込み位置から除外するゴミ情報を選別する場合に、1つの閾値を用いて、除外するゴミの半径を決定していた。しかし、これに限定されることなく、複数の閾値を用いて、除外するゴミの半径を決定するようにしてもかまわない。   In the above-described embodiment, when the watermark information embedding position determination unit 97 selects dust information to be excluded from the digital watermark information embedding position using the aperture value, the threshold information is set using one threshold value. The radius was determined. However, the present invention is not limited to this, and the radius of dust to be excluded may be determined using a plurality of threshold values.

また、除外するゴミの半径ではなく、色の濃さを考慮に入れてもよい。色の濃いゴミの方がより目立つため、撮影時の絞り値が小さい時には、色の濃いゴミ位置を透かし情報埋め込み位置から除外し、撮影の絞り値が大きい時には、色の薄いゴミ位置まで透かし情報埋め込み位置から除外するようにしてもよい。   In addition, the color density may be taken into consideration instead of the radius of dust to be excluded. Since darker dust is more conspicuous, when the aperture value at the time of shooting is small, the position of dark dust is excluded from the watermark information embedding position, and when the aperture value of shooting is large, the watermark information up to the lighter dust position You may make it exclude from an embedding position.

また、ゴミ位置の周辺の空間周波数成分を考慮に入れてもよい。周囲の空間周波数成分が低い場合は、画像が単調でゴミが目立ち易いため、そのゴミの位置を透かし情報埋め込み位置から除外し、周囲の空間周波数成分が高い場合は、画像が複雑でゴミが目立ちにくいため、そのゴミの位置を透かし情報埋め込み位置から除外しないようにしてもよい。   Further, the spatial frequency component around the dust position may be taken into consideration. If the surrounding spatial frequency component is low, the image is monotonous and dust tends to stand out.Therefore, the location of the dust is excluded from the watermark information embedding position, and if the surrounding spatial frequency component is high, the image is complicated and the dust stands out. Since it is difficult, the position of the dust may not be excluded from the watermark information embedding position.

また、絞り値ではなく、レンズの瞳位置を用いてもよい。レンズの瞳位置によってゴミの映り込む領域が変化するために、瞳位置情報を用いることでゴミを補正すべき補正領域を決定することができ、ゴミを補正すべき補正領域を除外することで電子透かしによる情報埋め込み位置を決定することができる。   Further, the pupil position of the lens may be used instead of the aperture value. Since the area where dust is reflected changes depending on the pupil position of the lens, the correction area where dust should be corrected can be determined by using the pupil position information, and the correction area where dust should be corrected can be determined by removing the correction area. The information embedding position by the watermark can be determined.

以上説明したように、上記の実施形態によれば、撮影後の画像処理で異物の影が写り込んだ領域として補正される可能性のある部分以外の部分に電子透かしを埋め込むようにすることで、電子透かし情報が失われることを防止することが可能となる。   As described above, according to the above-described embodiment, the digital watermark is embedded in a portion other than the portion that may be corrected as a region in which the shadow of the foreign object is reflected in the image processing after shooting. It is possible to prevent the digital watermark information from being lost.

(他の実施形態)
また、上記の実施形態の目的は、次のような方法によっても達成される。すなわち、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、本発明には次のような場合も含まれる。すなわち、プログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。
(Other embodiments)
The object of the above embodiment can also be achieved by the following method. That is, a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded is supplied to the system or apparatus. Then, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but the present invention includes the following cases. That is, based on the instruction of the program code, an operating system (OS) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

さらに、次のような場合も本発明に含まれる。すなわち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。   Furthermore, the following cases are also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion card or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した手順に対応するプログラムコードが格納されることになる。   When the present invention is applied to the above storage medium, the storage medium stores program codes corresponding to the procedure described above.

本発明の一実施形態における撮像装置としてのデジタルカメラの構成を示す図である。It is a figure which shows the structure of the digital camera as an imaging device in one Embodiment of this invention. 撮影モード選択メニューの表示例を示す図である。It is a figure which shows the example of a display of a photography mode selection menu. ゴミ位置取得撮影の動作を示すフローチャートである。It is a flowchart which shows operation | movement of dust position acquisition imaging | photography. ゴミ位置情報を説明する図である。It is a figure explaining dust position information. ゴミ位置情報を説明する図である。It is a figure explaining dust position information. まとめられたゴミ位置情報の例を示す図である。It is a figure which shows the example of the collected dust position information. 情報埋め込みを選択するメニューの表示例を示す図である。It is a figure which shows the example of a display of the menu which selects information embedding. 撮像した画像データに電子透かし情報を埋め込む動作を示すフローチャートである。It is a flowchart which shows the operation | movement which embeds digital watermark information in the imaged image data. 透かし情報埋め込み位置決定部の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement of a watermark information embedding position determination part.

符号の説明Explanation of symbols

10 撮影レンズ
12 シャッター
14 撮像素子
16 A/D変換器
18 タイミング発生回路
20 画像処理回路
22 メモリ制御回路
24 画像表示メモリ
26 D/A変換器
28 画像表示部
30 メモリ
32 画像圧縮・伸長回路
40 露光制御部
42 測距制御部
44 ズーム制御部
46 バリア制御部
48 フラッシュ
50 システム制御回路
52 メモリ
54 表示部
56 不揮発性メモリ
60 モードダイヤルスイッチ
62 シャッタースイッチSW1
64 シャッタースイッチSW2
66 画像表示ON/OFFスイッチ
68 クイックレビューON/OFFスイッチ
70 操作部
80 電源制御部
82 コネクタ
84 コネクタ
86 電源部
90 インタフェース
92 コネクタ
94 透かし情報埋め込み部
95 ゴミ位置検出部
96 顔位置検出部
97 透かし情報埋め込み位置決定部
98 記録媒体着脱検知部
100 デジタルカメラ
102 保護部
104 光学ファインダ
110 通信部
112 コネクタ(またはアンテナ)
200 記録媒体
202 記録部
204 インタフェース
206 コネクタ
DESCRIPTION OF SYMBOLS 10 Shooting lens 12 Shutter 14 Image pick-up element 16 A / D converter 18 Timing generation circuit 20 Image processing circuit 22 Memory control circuit 24 Image display memory 26 D / A converter 28 Image display part 30 Memory 32 Image compression / decompression circuit 40 Exposure Control unit 42 Distance control unit 44 Zoom control unit 46 Barrier control unit 48 Flash 50 System control circuit 52 Memory 54 Display unit 56 Non-volatile memory 60 Mode dial switch 62 Shutter switch SW1
64 Shutter switch SW2
66 Image display ON / OFF switch 68 Quick review ON / OFF switch 70 Operation unit 80 Power supply control unit 82 Connector 84 Connector 86 Power supply unit 90 Interface 92 Connector 94 Watermark information embedding unit 95 Dust position detection unit 96 Face position detection unit 97 Watermark information Embedding position determination unit 98 Recording medium attachment / detachment detection unit 100 Digital camera 102 Protection unit 104 Optical viewfinder 110 Communication unit 112 Connector (or antenna)
200 Recording Medium 202 Recording Unit 204 Interface 206 Connector

Claims (6)

被写体像を光電変換し、画像信号を生成する撮像手段と、
前記撮像手段により生成された前記画像信号のうちの、後の画像処理により前記撮像手段の前方に配置された光学素子に付着した異物の影が写り込んだ領域として補正される可能性のある領域である補正領域を検出する検出手段と、
前記画像信号に電子透かし情報を埋め込む透かし情報埋め込み手段と、
前記検出手段により検出された補正領域を前記電子透かし情報を埋め込む対象とする領域から除外して前記画像信号に前記電子透かし情報を埋め込むように前記透かし情報埋め込み手段を制御する制御手段と、
を備えることを特徴とする撮像装置。
Imaging means for photoelectrically converting a subject image to generate an image signal;
Of the image signal generated by the imaging unit, a region that may be corrected as a region in which a shadow of a foreign object attached to an optical element disposed in front of the imaging unit is reflected by subsequent image processing Detecting means for detecting a correction area,
Watermark information embedding means for embedding digital watermark information in the image signal;
Control means for controlling the watermark information embedding means so as to embed the digital watermark information in the image signal by excluding the correction area detected by the detection means from the area to be embedded with the digital watermark information;
An imaging apparatus comprising:
前記検出手段は、前記異物の影の大きさに基づいて、前記補正領域を検出することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the detection unit detects the correction area based on a shadow size of the foreign matter. 前記検出手段は、前記異物の影の濃さに基づいて、前記補正領域を検出することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the detection unit detects the correction area based on a shadow density of the foreign matter. 前記検出手段は、前記異物の影の周囲の被写体の空間周波数に基づいて、前記補正領域を検出することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the detection unit detects the correction area based on a spatial frequency of a subject around the shadow of the foreign object. 被写体像を光電変換し、画像信号を生成する撮像手段と、前記撮像手段により生成された前記画像信号のうちの、後の画像処理により前記撮像手段の前方に配置された光学素子に付着した異物の影が写り込んだ領域として補正される可能性のある領域である補正領域を検出する検出手段と、前記画像信号に電子透かし情報を埋め込む透かし情報埋め込み手段と、を備える撮像装置を制御する方法であって、
前記検出手段により検出された補正領域を前記電子透かし情報を埋め込む対象とする領域から除外して前記画像信号に前記電子透かし情報を埋め込むように前記透かし情報埋め込み手段を制御する制御工程を備えることを特徴とする撮像装置の制御方法。
An imaging unit that photoelectrically converts a subject image to generate an image signal, and a foreign object attached to an optical element disposed in front of the imaging unit by subsequent image processing of the image signal generated by the imaging unit A method for controlling an imaging apparatus comprising: a detection unit that detects a correction region that is a region that may be corrected as a region in which a shadow of the image is reflected; and a watermark information embedding unit that embeds digital watermark information in the image signal Because
A control step of controlling the watermark information embedding unit so as to embed the digital watermark information in the image signal by excluding the correction region detected by the detection unit from the region to be embedded with the digital watermark information. A control method for an imaging apparatus.
請求項5に記載の制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the control method according to claim 5.
JP2007318996A 2007-12-10 2007-12-10 Imaging apparatus, control method thereof, and program Expired - Fee Related JP4902512B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007318996A JP4902512B2 (en) 2007-12-10 2007-12-10 Imaging apparatus, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007318996A JP4902512B2 (en) 2007-12-10 2007-12-10 Imaging apparatus, control method thereof, and program

Publications (2)

Publication Number Publication Date
JP2009141906A JP2009141906A (en) 2009-06-25
JP4902512B2 true JP4902512B2 (en) 2012-03-21

Family

ID=40872021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007318996A Expired - Fee Related JP4902512B2 (en) 2007-12-10 2007-12-10 Imaging apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP4902512B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117915127B (en) * 2024-03-19 2024-06-14 深圳市博瑞通信技术有限公司 Broadcast television signal content secure encryption transmission method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002359805A (en) * 2001-05-31 2002-12-13 Sony Corp Device and method for processing electronic watermark embedding, and program
JP2004282686A (en) * 2003-01-20 2004-10-07 Minolta Co Ltd Imaging apparatus
JP4640108B2 (en) * 2005-10-25 2011-03-02 株式会社ニコン camera

Also Published As

Publication number Publication date
JP2009141906A (en) 2009-06-25

Similar Documents

Publication Publication Date Title
JP4262082B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP5424732B2 (en) Imaging apparatus, control method thereof, and program
JP4989385B2 (en) Imaging apparatus, control method thereof, and program
JP2009171318A (en) Image processor, image processing method, and imaging device
JP2005176136A (en) Image processor, image reproducing method, program and recording medium
JP2007081732A (en) Imaging apparatus
JP4906632B2 (en) Image processing apparatus, image processing method, and image processing program
JP2005167697A (en) Electronic camera having red-eye correction function
JP4498169B2 (en) Image processing apparatus and control method thereof
JP2006295316A (en) Imaging apparatus, imaging method, program, and storage medium
JP4902512B2 (en) Imaging apparatus, control method thereof, and program
JP4891163B2 (en) Image processing apparatus, image processing method, and image processing program
JP4401974B2 (en) Imaging apparatus and control method thereof
JP4717645B2 (en) Imaging apparatus and control method thereof
JP2007173985A (en) Imaging apparatus, imaging method, program, and storage medium
JP2006042258A (en) Imaging apparatus and its control method
JP5111215B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5828722B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2008060844A (en) Image processor and image processing method
JP4682104B2 (en) Imaging device
JP2008109503A (en) Imaging apparatus, control method thereof, program and storage medium
JP4909009B2 (en) Imaging apparatus, image processing method, program, and storage medium
JP2003244486A (en) Image pickup device and image reproducing apparatus
JP2005110128A (en) Imaging apparatus and imaging control method
JP2007058208A (en) Imaging apparatus and method of controlling the same, computer program and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111125

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111205

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111228

R151 Written notification of patent or utility model registration

Ref document number: 4902512

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150113

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees