JP2011193277A - Apparatus and method for processing image and program - Google Patents

Apparatus and method for processing image and program Download PDF

Info

Publication number
JP2011193277A
JP2011193277A JP2010058263A JP2010058263A JP2011193277A JP 2011193277 A JP2011193277 A JP 2011193277A JP 2010058263 A JP2010058263 A JP 2010058263A JP 2010058263 A JP2010058263 A JP 2010058263A JP 2011193277 A JP2011193277 A JP 2011193277A
Authority
JP
Japan
Prior art keywords
recovery
image
adjustment
image data
unit
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.)
Granted
Application number
JP2010058263A
Other languages
Japanese (ja)
Other versions
JP5641751B2 (en
Inventor
Hisato Sekine
寿人 関根
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 JP2010058263A priority Critical patent/JP5641751B2/en
Publication of JP2011193277A publication Critical patent/JP2011193277A/en
Application granted granted Critical
Publication of JP5641751B2 publication Critical patent/JP5641751B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To recover image data deterioration caused due to lens characteristics while reducing a load on a user even if there is a difference in the lens characteristics because of manufacture variation. <P>SOLUTION: An adjustment image region extracting part 208 extracts from image data an image region corresponding to a recovery item of the image data. A recovery filter adjusting part 207 adjusts a recovery filter in response to an adjusting operation of the recovery item. A recovery processing part 209 performs recovery processing of the image region using the adjusted recovery filter. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、レンズ特性等によって劣化した画像データを回復するための技術に関するものである。   The present invention relates to a technique for recovering image data deteriorated due to lens characteristics or the like.

デジタルカメラ等の画像入力装置において、被写体を撮影した場合、レンズ等の収差の影響により、実際の被写体よりも画像データに劣化が生じることが知られている。この劣化を回復する技術として、光学系の点広がり関数(PSF:Point Spread Function)から算出した回復フィルタを用いる技術が知られている(例えば、特許文献1参照)。具体的には、回復フィルタをR、劣化した画像データをO、回復後の画像データをSとすると、式1のように表すことができる。
S=O*R・・・(式1)
ここで*は畳み込み積分である。劣化した画像データを回復するための回復フィルタは、画像入力装置において予め保持されている。
It is known that when an object is photographed in an image input device such as a digital camera, image data is more deteriorated than an actual object due to the influence of aberrations such as a lens. As a technique for recovering this deterioration, a technique using a recovery filter calculated from a point spread function (PSF) of an optical system is known (for example, see Patent Document 1). Specifically, when the recovery filter is R, the deteriorated image data is O, and the recovered image data is S, it can be expressed as Equation 1.
S = O * R (Formula 1)
Here, * is a convolution integral. A recovery filter for recovering the deteriorated image data is held in advance in the image input device.

また、ユーザが上記劣化を回復するためのパラメータを画像データで確認しながら操作する手法が知られている(例えば、特許文献2参照)。これにより、レンズの製造ばらつきの調整や、ユーザの好みになるように調整を施すことが可能となる。さらに、画像データを解析することでパラメータの調整量を算出する手法も知られている(例えば、特許文献3参照)。   In addition, a method is known in which a user performs an operation while confirming parameters for recovering the deterioration from image data (see, for example, Patent Document 2). As a result, it is possible to adjust the manufacturing variation of the lens and the adjustment to the user's preference. Furthermore, a method for calculating an adjustment amount of a parameter by analyzing image data is also known (see, for example, Patent Document 3).

特開2001−197354号公報JP 2001-197354 A 特開2006−081058号公報JP 2006-081058 A 特開2006−020275号公報JP 2006-020275 A

しかしながら、デジタルカメラ等で用いられる一般的なレンズにおいて、レンズ製造時のわずかな組み立て誤差等によって設計時とは異なるレンズ特性となることは避けられない。加えて、これらの組み立て誤差はレンズ毎に特性が異なる。そのため、特許文献1に開示される技術のように、予め回復フィルタが保持されていたとしても、実際のレンズの特性とは異なる場合がある。従って、レンズ毎に過回復となってしまったり回復不足となってしまったりする場合がある。   However, in a general lens used in a digital camera or the like, it is inevitable that the lens characteristics differ from those at the time of designing due to a slight assembly error at the time of lens manufacture. In addition, these assembly errors have different characteristics for each lens. For this reason, even if the recovery filter is held in advance as in the technique disclosed in Patent Document 1, the actual lens characteristics may be different. Accordingly, there are cases where the lens is overrecovered or insufficiently recovered for each lens.

また、特許文献2に開示される技術のように、ユーザが画像データを確認しながらパラメータを操作する場合、画像データを確認するための画像領域をユーザが判断する必要がある。そのため、どの画像領域を使えば効率よく回復させることができるかをユーザは判断しなければならない。また、特許文献3に開示される技術のように、画像データを解析してパラメータの調整量を算出する場合、エッジの色が滲む特徴を持つ倍率色収差等については回復可能だが、それ以外の画質劣化については回復することができない。   In addition, as in the technique disclosed in Patent Document 2, when a user operates a parameter while confirming image data, the user needs to determine an image area for confirming the image data. Therefore, the user must determine which image area can be used for efficient recovery. Further, as in the technique disclosed in Patent Document 3, when calculating the parameter adjustment amount by analyzing the image data, it is possible to recover the chromatic aberration of magnification having the characteristic that the edge color is blurred, but other image quality is also possible. Deterioration cannot be recovered.

そこで、本発明の目的は、製造ばらつきによってレンズ特性の違いがあったとしても、ユーザの負荷を軽減しつつ、レンズ特性による画像データの劣化を回復させることにある。   Therefore, an object of the present invention is to recover image data degradation due to lens characteristics while reducing the load on the user even if there is a difference in lens characteristics due to manufacturing variations.

本発明の画像処理装置は、画像データの回復項目に対応する画像領域を前記画像データから抽出する抽出手段と、前記回復項目の調整操作に応じて回復フィルタを調整する調整手段と、前記調整手段により調整された前記回復フィルタによって、前記抽出手段により抽出された前記画像領域の回復処理を行う回復手段とを有することを特徴とする。   An image processing apparatus according to the present invention includes an extraction unit that extracts an image area corresponding to a recovery item of image data from the image data, an adjustment unit that adjusts a recovery filter according to an adjustment operation of the recovery item, and the adjustment unit And recovery means for performing recovery processing of the image area extracted by the extraction means by the recovery filter adjusted in accordance with the above.

本発明によれば、製造ばらつきによってレンズ特性の違いがあったとしても、ユーザの負荷を軽減しつつ、レンズ特性による画像データの劣化を回復させることが可能となる。   According to the present invention, even if there is a difference in lens characteristics due to manufacturing variations, it is possible to restore degradation of image data due to lens characteristics while reducing the load on the user.

本発明の実施形態に係る画像処理装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る画像処理装置の主要機能である画像処理部の構成を示す図である。It is a figure which shows the structure of the image process part which is the main functions of the image processing apparatus which concerns on embodiment of this invention. 本発明の第1の実施形態におけるユーザインタフェース部によって表示されるユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface displayed by the user interface part in the 1st Embodiment of this invention. 本発明の実施形態に係る画像処理装置によって実行される画像処理方法を示すフローチャートである。It is a flowchart which shows the image processing method performed by the image processing apparatus which concerns on embodiment of this invention. 現像処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a developing process. 選択対象となる回復項目と回復方法と製造ばらつきによる弊害とを対応付けた表を示す図である。It is a figure which shows the table | surface which matched the recovery item used as selection object, the recovery method, and the bad influence by manufacturing dispersion | variation. 回復項目に適した調整画像領域の抽出処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the extraction process of the adjustment image area | region suitable for a recovery item. 回復項目と画像データの探索範囲とを対応付けた表を示す図である。It is a figure which shows the table | surface which matched the recovery item and the search range of image data. 画像データの探索範囲を説明するための図である。It is a figure for demonstrating the search range of image data. 評価値の算出処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the calculation process of an evaluation value. 回復項目と抽出周波数とを対応付けた表を示す図である。It is a figure which shows the table | surface which matched the recovery item and the extraction frequency. 回復フィルタの調整処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the adjustment process of a recovery filter. 回復項目と調整パラメータとを対応付けた表を示す図である。It is a figure which shows the table | surface which matched the recovery item and the adjustment parameter. パラメータとして「振幅特性」が選択された場合と「位相特性」が選択された場合との回復フィルタの調整方法を説明するための図である。It is a figure for demonstrating the adjustment method of the recovery filter in the case where "amplitude characteristic" is selected as a parameter, and the case where "phase characteristic" is selected. 本発明の第2の実施形態におけるユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるステップS406の調整画像領域の抽出処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the extraction process of the adjustment image area | region of step S406 in the 2nd Embodiment of this invention. 調整画像領域の抽出処理の対象となる画像データに属する領域を説明するための図である。It is a figure for demonstrating the area | region which belongs to the image data used as the object of the adjustment image area | region extraction process. 4つの探索範囲に対してパラメータを調整するための複数のセットを示す図である。It is a figure which shows the several set for adjusting a parameter with respect to four search ranges.

以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments to which the invention is applied will be described in detail with reference to the accompanying drawings.

図1は、本発明の実施形態に係る画像処理装置のハードウェア構成を示す図である。図1に示すように、本実施形態に係る画像処理装置は、パーソナルコンピュータ101に対してディスプレイ102、キーボード103及びマウス104が接続されている。パーソナルコンピュータ101の構成要素として、CPU105、RAM106、ROM107、ハードディスク等のデータ記憶部108、ディスプレイ102に画像データを表示させるための表示部109が含まれる。これらの構成要素は、データを送受信するためのシステムバス110を介して接続される。   FIG. 1 is a diagram illustrating a hardware configuration of an image processing apparatus according to an embodiment of the present invention. As shown in FIG. 1, in the image processing apparatus according to the present embodiment, a display 102, a keyboard 103, and a mouse 104 are connected to a personal computer 101. The constituent elements of the personal computer 101 include a CPU 105, a RAM 106, a ROM 107, a data storage unit 108 such as a hard disk, and a display unit 109 for displaying image data on the display 102. These components are connected via a system bus 110 for transmitting and receiving data.

図2は、本実施形態に係る画像処理装置の主要機能である画像処理部の構成を示す図である。図2において、201は画像処理部である。画像処理部201は、ユーザインタフェース部202、調整パラメータ読込部203、回復フィルタ読込部204、RAW画像読込部205、現像処理部206、回復フィルタ調整部207、調整画像領域抽出部208、回復処理部209、画像表示部210及び回復フィルタ出力部211を備える。画像処理部201が備えるこれらの機能は、ROM107又はデータ記憶部108から必要なプログラムがRAM106上に展開され、CPU105が当該プログラムを実行することによって実現される機能である。   FIG. 2 is a diagram illustrating a configuration of an image processing unit which is a main function of the image processing apparatus according to the present embodiment. In FIG. 2, reference numeral 201 denotes an image processing unit. The image processing unit 201 includes a user interface unit 202, an adjustment parameter reading unit 203, a recovery filter reading unit 204, a RAW image reading unit 205, a development processing unit 206, a recovery filter adjustment unit 207, an adjustment image region extraction unit 208, and a recovery processing unit. 209, an image display unit 210 and a recovery filter output unit 211. These functions included in the image processing unit 201 are functions realized when a necessary program is expanded on the RAM 106 from the ROM 107 or the data storage unit 108 and the CPU 105 executes the program.

ユーザインタフェース部202は、ディスプレイ102にユーザインタフェースを表示させる。調整パラメータ読込部203は、ユーザの操作によって変更されたパラメータをRAM106に読み込む。回復フィルタ読込部204は、ROM107又はデータ記憶部108から回復フィルタをRAM106に読み込む。RAW画像読込部205は、ROM107又はデータ記憶部108からRAW画像データ(以下、単に画像データと称す)をRAM106に読み込む。現像処理部206は画像データの現像処理を行う。回復フィルタ調整部207は回復フィルタの調整を行う。調整画像領域抽出部208は後述する調整画像領域を抽出する。回復処理部209は画像データの回復処理を行う。画像表示部210は、現像処理部206によって現像された画像データを表示する。回復フィルタ出力部211は、回復フィルタをデータ記憶部108に出力する。   The user interface unit 202 displays a user interface on the display 102. The adjustment parameter reading unit 203 reads the parameter changed by the user operation into the RAM 106. The recovery filter reading unit 204 reads the recovery filter from the ROM 107 or the data storage unit 108 into the RAM 106. The RAW image reading unit 205 reads RAW image data (hereinafter simply referred to as image data) from the ROM 107 or the data storage unit 108 into the RAM 106. The development processing unit 206 performs development processing of image data. The recovery filter adjustment unit 207 adjusts the recovery filter. The adjustment image area extraction unit 208 extracts an adjustment image area described later. A recovery processing unit 209 performs image data recovery processing. The image display unit 210 displays the image data developed by the development processing unit 206. The recovery filter output unit 211 outputs the recovery filter to the data storage unit 108.

図3は、ユーザインタフェース部202によって表示されるユーザインタフェースの一例を示す図である。301はユーザインタフェースである。302は全体画像を表示するための全画像表示部である。303は調整画像領域を表示するための調整画像表示部である。304は回復項目選択ボタンである。305はユーザが回復項目の調整操作を行うための調整バーである。306は処理を適用するための適用ボタンである。307はキャンセルボタンである。なお、調整画像表示部303は、本発明の提示手段の適用例となる構成である。   FIG. 3 is a diagram illustrating an example of a user interface displayed by the user interface unit 202. Reference numeral 301 denotes a user interface. Reference numeral 302 denotes an entire image display unit for displaying an entire image. An adjustment image display unit 303 displays an adjustment image area. Reference numeral 304 denotes a recovery item selection button. Reference numeral 305 denotes an adjustment bar for the user to perform a recovery item adjustment operation. Reference numeral 306 denotes an apply button for applying the process. Reference numeral 307 denotes a cancel button. The adjusted image display unit 303 is a configuration serving as an application example of the presenting means of the present invention.

図4は、本実施形態に係る画像処理装置によって実行される画像処理方法を示すフローチャートである。ステップS401において、RAW画像読込部205は画像データをRAM106に読み込む。ステップS402において、回復フィルタ読込部204は回復フィルタをRAM106に読み込む。ステップS403において、現像処理部206は、ステップS402にて読み込まれた回復フィルタを用いて、ステップS401にて読み込まれた画像データの現像処理を行う。ステップS404において、画像表示部210は、ステップS403にて現像された画像データを図3の全画像表示部302に表示する。   FIG. 4 is a flowchart showing an image processing method executed by the image processing apparatus according to this embodiment. In step S <b> 401, the RAW image reading unit 205 reads image data into the RAM 106. In step S <b> 402, the recovery filter reading unit 204 reads the recovery filter into the RAM 106. In step S403, the development processing unit 206 performs the development process on the image data read in step S401 using the recovery filter read in step S402. In step S404, the image display unit 210 displays the image data developed in step S403 on the entire image display unit 302 in FIG.

ユーザは、回復項目選択ボタン304から調整したい回復項目に該当するボタンを操作する。これを受けて、ステップS405において、回復フィルタ調整部207は操作されたボタンに対応する回復項目を選択する。ステップS406において、調整画像領域抽出部208は、ステップS405にて選択された回復項目に適した調整画像領域を、画像データから抽出する。次にユーザは調整バー305を操作してパラメータを調整する。これを受けて、ステップS407において、回復フィルタ調整部207は調整されたパラメータに応じて回復フィルタを調整する。なお、ステップS406は、本発明の抽出手段の処理例であり、ステップS407は、本発明の調整手段の処理例である。また、ステップS405は、本発明の選択手段の処理例である。   The user operates the button corresponding to the recovery item to be adjusted from the recovery item selection button 304. In response, in step S405, the recovery filter adjustment unit 207 selects a recovery item corresponding to the operated button. In step S406, the adjusted image area extraction unit 208 extracts an adjusted image area suitable for the recovery item selected in step S405 from the image data. Next, the user operates the adjustment bar 305 to adjust the parameters. In response, in step S407, the recovery filter adjustment unit 207 adjusts the recovery filter according to the adjusted parameter. Step S406 is a processing example of the extraction means of the present invention, and step S407 is a processing example of the adjustment means of the present invention. Step S405 is a processing example of the selection means of the present invention.

ステップS408において、現像処理部206は、ステップS407にて調整された回復フィルタを用いて、ステップS406にて抽出された調整画像領域の画像データの現像処理を行う。ステップS409において、回復フィルタ調整部207は、キャンセルボタン307が押されたかどうかを判定する。キャンセルボタン307が押されていない場合、処理はステップS410に進む。一方、キャンセルボタン307が押された場合、処理は終了する。ステップS410において、回復フィルタ調整部207は、適用ボタン306が押されたかどうかを判定する。適用ボタン306が押された場合、処理はステップ411に進む。一方、適用ボタン306が押されていない場合、処理はステップS405に戻る。ステップS411において、回復フィルタ調整部207は、ステップS407にて調整されたパラメータに基づいて、図3の全画像表示部302の回復フィルタを算出する。ステップS412において、回復フィルタ出力部211は、ステップS411にて算出された回復フィルタをデータ記憶部108に出力する。   In step S408, the development processing unit 206 performs the development process on the image data of the adjusted image area extracted in step S406, using the recovery filter adjusted in step S407. In step S409, the recovery filter adjustment unit 207 determines whether the cancel button 307 has been pressed. If the cancel button 307 has not been pressed, the process proceeds to step S410. On the other hand, when the cancel button 307 is pressed, the process ends. In step S410, the recovery filter adjustment unit 207 determines whether the apply button 306 has been pressed. If the apply button 306 has been pressed, the process proceeds to step 411. On the other hand, if the apply button 306 has not been pressed, the process returns to step S405. In step S411, the recovery filter adjustment unit 207 calculates the recovery filter of the all-image display unit 302 in FIG. 3 based on the parameter adjusted in step S407. In step S412, the recovery filter output unit 211 outputs the recovery filter calculated in step S411 to the data storage unit 108.

次に、ステップS403及びステップS408における現像処理を、図5のフローチャートを用いて詳細に説明する。図5は、現像処理の詳細を示すフローチャートである。ステップS501において、現像処理部206は、画像データに対してホワイトバランス処理を行う。ステップS502において、現像処理部206は、ステップS501にてホワイトバランス処理が行われた画像データに対してデモザイキング処理を行う。ステップS503において、現像処理部206は、画像データの回復処理を行うか否かを判定する。回復処理を行う場合、処理はステップS504に進む。一方、回復処理を行わない場合、処理はステップS505に進む。ステップS504において、現像処理部206は、図4のステップS402にて読み込まれた回復フィルタ又は調整されたパラメータに応じた回復フィルタを用いて、式2のようにして画像データの回復処理を行う。
S=O*R・・・(式2)
但し、Rは回復フィルタ、Oは劣化した画像データ、Sは回復後の画像データ、*は畳み込み積分である。なお、ステップS504は、本発明の回復手段の処理例である。
Next, the development processing in step S403 and step S408 will be described in detail with reference to the flowchart of FIG. FIG. 5 is a flowchart showing details of the development processing. In step S501, the development processing unit 206 performs white balance processing on the image data. In step S502, the development processing unit 206 performs a demosaicing process on the image data that has been subjected to the white balance process in step S501. In step S503, the development processing unit 206 determines whether to perform image data recovery processing. When the recovery process is performed, the process proceeds to step S504. On the other hand, when the recovery process is not performed, the process proceeds to step S505. In step S504, the development processing unit 206 performs image data recovery processing as shown in Expression 2 using the recovery filter read in step S402 of FIG. 4 or the recovery filter corresponding to the adjusted parameter.
S = O * R (Formula 2)
However, R is a recovery filter, O is degraded image data, S is image data after recovery, and * is a convolution integral. Step S504 is a processing example of the recovery means of the present invention.

ステップS505において、現像処理部206は、ステップS502のデモザイキング処理後の画像データ又は回復後の画像データに対してノイズリダクションを行う。ステップS506において、現像処理部206はノイズリダクション後の画像データに対してシャープネス処理を行う。ステップS507において、現像処理部206は、シャープネス処理後の画像データを、sRGBやAdobeRGB等のRGB画像データに変換する。ステップS508において、現像処理部206は、RGB画像データに対してガンマ処理を行う。   In step S505, the development processing unit 206 performs noise reduction on the image data after the demosaicing process in step S502 or the restored image data. In step S506, the development processing unit 206 performs sharpness processing on the image data after noise reduction. In step S507, the development processing unit 206 converts the image data after the sharpness processing into RGB image data such as sRGB and AdobeRGB. In step S508, the development processing unit 206 performs gamma processing on the RGB image data.

次に、ステップS405において選択される回復項目について、図6を用いて詳細に説明する。図6は、選択対象となる回復項目と回復方法と製造ばらつきによる弊害とを対応付けた表を示す図である。図6では、選択対象となる回復項目として、「解像感」、「抜け」、「色滲み」及び「非対称収差」を例示している。   Next, the recovery item selected in step S405 will be described in detail with reference to FIG. FIG. 6 is a diagram showing a table in which recovery items to be selected, recovery methods, and adverse effects due to manufacturing variations are associated with each other. In FIG. 6, “resolution feeling”, “missing”, “color blur”, and “asymmetrical aberration” are illustrated as recovery items to be selected.

「解像感」は、主に被写体の高周波成分に起因するものである。回復処理における解像感の回復は、光がレンズを通過する際に高周波成分が低下してしまったものを回復する処理となる。このとき、製造ばらつきによって想定よりも低下が大きければ、回復不足になってしまう。一方、低下が小さい場合には過回復となりアンダーシュート、オーバーシュート等の画質劣化が発生する。   The “resolution” is mainly due to the high-frequency component of the subject. The recovery of the resolution in the recovery process is a process for recovering the one in which the high frequency component has decreased when light passes through the lens. At this time, if the deterioration is larger than expected due to manufacturing variations, the recovery will be insufficient. On the other hand, when the decrease is small, over-recovery occurs and image quality degradation such as undershoot and overshoot occurs.

「抜け」は、主に被写体の低〜中周波数成分を調整するものである。この場合も上記の場合と同様に製造ばらつきが発生すると、回復不足、過回復が発生する。「色滲み」は、R、G、Bの色でボケの広がり方が異なる現象(軸上色収差)やボケの中心が異なる(倍率色収差)ことによって発生する。この場合、R、G、Bのボケの広がり方・中心を同じにすることで滲みをなくすことができる。ここで製造ばらつきが発生すると回復したとしても、滲みを除去することができない。   The “missing” mainly adjusts the low to medium frequency components of the subject. In this case as well, if manufacturing variations occur as in the above case, insufficient recovery and excessive recovery occur. “Color blur” is caused by a phenomenon in which the blur spreads differently in R, G, and B colors (axial chromatic aberration) or in the center of the blur (magnification chromatic aberration). In this case, blurring can be eliminated by making the spread, center of blurring of R, G, B the same. Here, even if the manufacturing variation is recovered, the bleeding cannot be removed.

「非対称収差」は、高像高側において、点を入力した場合、位相変動によって点に結像せずコマ収差や非点収差と呼ばれる非対称的なボケ方をするものである。これに対して、回復処理では位相成分を取り除くことで対称的なボケになる。しかし、製造ばらつきが起きると位相成分が残り対称的なボケにすることができなくなる。   “Asymmetrical aberration” is a phenomenon in which when a point is input on the high image height side, an image is not focused on the point due to phase fluctuations, and an asymmetric blur called coma aberration or astigmatism is generated. On the other hand, in the recovery process, the phase component is removed, resulting in a symmetric blur. However, when manufacturing variations occur, the phase component remains and cannot be symmetric.

次に、ステップS406における回復項目に適した調整画像領域の抽出処理について、図7〜図9を参照しながら詳細に説明する。図7は、回復項目に適した調整画像領域の抽出処理の詳細を示すフローチャートである。図8は、回復項目と画像データの探索範囲とを対応付けた表を示す図である。図9は、画像データの探索範囲を説明するための図である。図9において、901は全画像データである。探索範囲902は全画像データ901のうちの低像高領域であり、探索範囲903は全画像データ901のうちの中像高領域であり、探索範囲904は全画像データ901のうちの高像高領域である。また、905はこれらの探索範囲を探索する探索領域である。   Next, the adjustment image region extraction process suitable for the recovery item in step S406 will be described in detail with reference to FIGS. FIG. 7 is a flowchart showing details of the adjustment image region extraction process suitable for the recovery item. FIG. 8 is a diagram showing a table in which recovery items are associated with search ranges of image data. FIG. 9 is a diagram for explaining a search range of image data. In FIG. 9, reference numeral 901 denotes all image data. The search range 902 is a low image height region of the entire image data 901, the search range 903 is a medium image height region of the entire image data 901, and the search range 904 is a high image height of the entire image data 901. It is an area. Reference numeral 905 denotes a search area for searching these search ranges.

先ずステップS701において、調整画像領域抽出部208は、ステップS405にてユーザによって選択された回復項目に対応する探索範囲をセットする。その際に調整画像領域抽出部208は、図8に示すような回復項目と探索範囲とを対応付けた内容のテーブルを参照することにより、ユーザによって選択された回復項目に対応する探索範囲を選択している。即ち、ユーザによって選択された回復項目が「解像感」である場合、探索範囲として「低像高領域〜中像高領域」が選択される。ユーザによって選択された回復項目が「抜け」である場合、探索範囲として「中像高領域」が選択される。ユーザによって選択された回復項目が「色滲み」である場合、探索範囲として「画像範囲全般」が選択される。ユーザによって選択された回復項目が「非対称収差」である場合、探索範囲として「高像高領域」が選択される。   First, in step S701, the adjusted image area extraction unit 208 sets a search range corresponding to the recovery item selected by the user in step S405. At that time, the adjustment image region extraction unit 208 selects a search range corresponding to the recovery item selected by the user by referring to a table of contents in which the recovery item and the search range are associated as shown in FIG. is doing. That is, when the recovery item selected by the user is “resolution”, “low image height region to medium image height region” is selected as the search range. When the recovery item selected by the user is “missing”, “medium image height region” is selected as the search range. When the recovery item selected by the user is “color blur”, “image range in general” is selected as the search range. When the recovery item selected by the user is “asymmetrical aberration”, “high image height region” is selected as the search range.

ステップS702において、調整画像領域抽出部208は、ステップS701でセットされた探索範囲に対して初期の探索領域をセットする。ステップS703において、調整画像領域抽出部208は探索領域の画像データを読み込む。ステップS704において、調整画像領域抽出部208は探索領域の評価値を算出する。ステップS705において、調整画像領域抽出部208は、ステップS701でセットした探索範囲に含まれる全ての探索領域について評価値を算出したか否かを判定する。全ての探索領域で評価値が算出された場合、処理はステップS707に進む。一方、全ての探索領域で評価値が算出されていない場合、処理はステップS706に進む。ステップS706において、調整画像領域抽出部208は探索領域を更新する。全ての探索領域で評価値が算出されるまで、ステップS703〜ステップS706の処理は繰り返される。ステップS707において、調整画像領域抽出部208は、ステップS703〜ステップS706で算出した評価値のうち最大の評価値を示す探索領域を調整画像領域として抽出する。   In step S702, the adjusted image area extraction unit 208 sets an initial search area for the search range set in step S701. In step S703, the adjusted image area extracting unit 208 reads image data of the search area. In step S704, the adjusted image area extraction unit 208 calculates an evaluation value of the search area. In step S705, the adjusted image region extraction unit 208 determines whether or not evaluation values have been calculated for all search regions included in the search range set in step S701. When evaluation values are calculated in all search areas, the process proceeds to step S707. On the other hand, if evaluation values have not been calculated for all search areas, the process proceeds to step S706. In step S706, the adjusted image area extraction unit 208 updates the search area. Until the evaluation values are calculated in all the search areas, the processes in steps S703 to S706 are repeated. In step S707, the adjustment image area extraction unit 208 extracts a search area indicating the maximum evaluation value among the evaluation values calculated in steps S703 to S706 as the adjustment image area.

次に、ステップS704の評価値の算出処理について、図10及び図11を用いて詳細に説明する。図10は、評価値の算出処理の詳細を示すフローチャートである。図11は、回復項目と抽出周波数とを対応付けた表を示す図である。   Next, the evaluation value calculation process in step S704 will be described in detail with reference to FIGS. FIG. 10 is a flowchart showing details of the evaluation value calculation processing. FIG. 11 is a diagram illustrating a table in which recovery items are associated with extraction frequencies.

先ずステップS1001において、調整画像領域抽出部208は、ステップS703において読み込んだ探索領域の画像データに対して回復処理を含まない現像処理を行う。ステップS1002において、調整画像領域抽出部208は、当該画像データに対して回復処理を含む現像処理を行う。ステップS1003において、調整画像領域抽出部208は、ステップS1001及びステップS1002で得られた、回復前の画像データ及び回復後の画像データ夫々に対してフーリエ変換を行う。ステップS1004において、調整画像領域抽出部208は、フーリエ変換後の画像データに対し、ユーザによって選択された回復項目に対応する周波数成分を抽出する。その際に調整画像領域抽出部208は、図11に示すような回復項目と抽出周波数とを対応付けた内容のテーブルを参照することにより、ユーザによって選択された回復項目に対応する抽出周波数を選択している。即ち、ユーザによって選択された回復項目が「解像感」である場合、抽出周波数として「高周波成分」が選択される。また、ユーザによって選択された回復項目が「抜け」である場合、抽出周波数として「低周波成分」が選択される。また、ユーザによって選択された回復項目が「色滲み」である場合、抽出周波数として「低周波成分」が選択される。また、ユーザによって選択された回復項目が「非対称収差」である場合、抽出周波数として「位相成分」が選択される。   First, in step S1001, the adjusted image area extraction unit 208 performs development processing that does not include recovery processing on the image data in the search area read in step S703. In step S1002, the adjusted image region extraction unit 208 performs development processing including recovery processing on the image data. In step S1003, the adjusted image region extraction unit 208 performs a Fourier transform on each of the image data before recovery and the image data after recovery obtained in steps S1001 and S1002. In step S1004, the adjusted image region extraction unit 208 extracts a frequency component corresponding to the recovery item selected by the user from the image data after the Fourier transform. At that time, the adjustment image region extraction unit 208 selects the extraction frequency corresponding to the recovery item selected by the user by referring to the table of the contents in which the recovery item and the extraction frequency are associated as shown in FIG. is doing. That is, when the recovery item selected by the user is “resolution”, “high frequency component” is selected as the extraction frequency. When the recovery item selected by the user is “missing”, “low frequency component” is selected as the extraction frequency. When the recovery item selected by the user is “color blur”, “low frequency component” is selected as the extraction frequency. When the recovery item selected by the user is “asymmetrical aberration”, “phase component” is selected as the extraction frequency.

ステップS1005において、調整画像領域抽出部208は、ステップS1004にて抽出された周波数成分に対して自乗誤差(評価値)を算出する。即ち、本実施形態では、回復処理の前後における画像データの誤差が最大となる探索領域を調整画像領域としている。   In step S1005, the adjusted image region extraction unit 208 calculates a square error (evaluation value) for the frequency component extracted in step S1004. That is, in the present embodiment, the search area where the error of the image data before and after the recovery process is maximized is set as the adjusted image area.

次に、ステップS407の回復フィルタの調整処理について、図12及び図13を参照しながら詳細に説明する。図12は、回復フィルタの調整処理の詳細を示すフローチャートである。図13は、回復項目と調整パラメータとを対応付けた表を示す図である。   Next, the recovery filter adjustment processing in step S407 will be described in detail with reference to FIGS. FIG. 12 is a flowchart showing details of the adjustment process of the recovery filter. FIG. 13 is a diagram showing a table in which recovery items are associated with adjustment parameters.

先ずステップS1201において、回復フィルタ読込部204は、ステップS406において抽出された調整画像領域に該当する回復フィルタを読み込む。ステップS1202において、回復フィルタ調整部207は、ステップS1201で読み込まれた回復フィルタに対してフーリエ変換を行う。ステップS1203において、回復フィルタ調整部207は、ステップS1202でのフーリエ変換後の回復フィルタに対する調整を行う。ここでは、ユーザによって選択された回復項目に対応するパラメータで回復フィルタに対する調整が行われる。その際に回復フィルタ調整部207は、図13に示すような回復項目とパラメータとを対応付けた内容のテーブルを参照することにより、ユーザによって選択された回復項目に対応するパラメータを選択する。即ち、ユーザによって選択された回復項目が「解像感」である場合、パラメータとして「振幅特性」が選択される。また、ユーザによって選択された回復項目が「抜け」である場合、パラメータとして「振幅特性」が選択される。また、ユーザによって選択された回復項目が「色滲み」である場合、パラメータとして「RGBの振幅特性のバランス」が選択される。また、ユーザによって選択された回復項目が「非対称収差」である場合、パラメータとして「位相特性」が選択される。   First, in step S1201, the recovery filter reading unit 204 reads a recovery filter corresponding to the adjusted image area extracted in step S406. In step S1202, the recovery filter adjustment unit 207 performs Fourier transform on the recovery filter read in step S1201. In step S1203, the recovery filter adjustment unit 207 adjusts the recovery filter after the Fourier transform in step S1202. Here, the recovery filter is adjusted with the parameter corresponding to the recovery item selected by the user. At that time, the recovery filter adjustment unit 207 selects a parameter corresponding to the recovery item selected by the user by referring to the table of the content in which the recovery item and the parameter are associated with each other as shown in FIG. That is, when the recovery item selected by the user is “resolution”, “amplitude characteristics” is selected as a parameter. When the recovery item selected by the user is “missing”, “amplitude characteristics” is selected as a parameter. When the recovery item selected by the user is “color blur”, “balance of RGB amplitude characteristics” is selected as a parameter. When the recovery item selected by the user is “asymmetrical aberration”, “phase characteristics” is selected as a parameter.

図14は、パラメータとして「振幅特性」が選択された場合と「位相特性」が選択された場合との回復フィルタの調整方法を説明するための図である。即ち、図14(a)は、「振幅特性」のパラメータが選択された場合の回復フィルタの調整方法を示す図であり、図14(b)は、「位相特定」のパラメータが選択された場合の回復フィルタの調整方法を示す図である。上述したように、ユーザによって選択された回復項目が「解像感」又は「抜け」である場合、パラメータとして「振幅特性」が選択される。このとき、図14(a)に示すように、回復フィルタ調整部207は、ユーザが調整バー305で調整した量に応じて回復フィルタのゲインを変更する。また、回復項目が「非対称収差」である場合、調整パラメータとして「位相特性」が選択される。このとき、図14(b)に示すように、回復フィルタ調整部207は、ユーザが調整バー305で調整した量に応じて回復フィルタの位相角を変更する。ステップS1204において、回復フィルタ調整部207は、ステップS1203において調整された回復フィルタに対して逆フーリエ変換を行う。   FIG. 14 is a diagram for explaining a recovery filter adjustment method when “amplitude characteristics” is selected as a parameter and when “phase characteristics” is selected. That is, FIG. 14A is a diagram illustrating an adjustment method of the recovery filter when the “amplitude characteristic” parameter is selected, and FIG. 14B is the case where the “phase identification” parameter is selected. It is a figure which shows the adjustment method of this recovery filter. As described above, when the recovery item selected by the user is “resolution” or “missing”, “amplitude characteristics” is selected as a parameter. At this time, as shown in FIG. 14A, the recovery filter adjustment unit 207 changes the gain of the recovery filter according to the amount adjusted by the user with the adjustment bar 305. When the recovery item is “asymmetrical aberration”, “phase characteristics” is selected as the adjustment parameter. At this time, as illustrated in FIG. 14B, the recovery filter adjustment unit 207 changes the phase angle of the recovery filter according to the amount adjusted by the user with the adjustment bar 305. In step S1204, the recovery filter adjustment unit 207 performs inverse Fourier transform on the recovery filter adjusted in step S1203.

次に、ステップS411における全画像表示部302の回復フィルタ算出処理について説明する。ステップS405〜S410の処理を行うことによって特定領域(調整画像領域)での回復フィルタの調整量を算出することができる。これを全画面領域分の回復フィルタに対して適用することで全画面領域分の回復フィルタに対して調整を行うことができる。例えば特定領域において回復フィルタの振幅特性を1.5倍にしたとすると、全画面領域における回復フィルタに対しても1.5倍にする。   Next, the recovery filter calculation process of the all-image display unit 302 in step S411 will be described. By performing the processing of steps S405 to S410, the restoration filter adjustment amount in the specific area (adjusted image area) can be calculated. By applying this to the recovery filter for the entire screen area, the recovery filter for the entire screen area can be adjusted. For example, if the amplitude characteristic of the recovery filter is increased by 1.5 times in a specific area, the recovery filter in the entire screen area is also increased by 1.5 times.

本実施形態においては、劣化を回復するためのパラメータをユーザは画像データを確認しながら操作することができるので、製造ばらつきによるレンズ特性の違いがあっても、画像データの劣化を回復させることが可能となる。加えて、ユーザが回復処理を行う際に効果的な調整画像領域を自動的に提示するため、パラメータ調整の際のユーザの負荷を軽減することが可能となる。   In the present embodiment, since the user can operate the parameters for recovering the deterioration while confirming the image data, the deterioration of the image data can be recovered even if there is a difference in lens characteristics due to manufacturing variations. It becomes possible. In addition, since the effective adjustment image area is automatically presented when the user performs the recovery process, it is possible to reduce the load on the user during parameter adjustment.

次に、本発明の第2の実施形態について説明する。上述した第1の実施形態では、レンズ特性が製造ばらつきによって想定した特性と異なる場合の調整方法について説明した。これに対して第2の実施形態では、理想的にはレンズ特性が光軸中心に対して点対称であるのに対して、製造ばらつきによって点対称性が損なわれている場合の調整方法を説明する。   Next, a second embodiment of the present invention will be described. In the above-described first embodiment, the adjustment method in the case where the lens characteristics are different from the characteristics assumed due to manufacturing variations has been described. On the other hand, in the second embodiment, an adjustment method when the lens characteristic is ideally point-symmetric with respect to the center of the optical axis but the point-symmetry is impaired due to manufacturing variations will be described. To do.

第2の実施形態に係る画像処理装置のハードウェア構成及び機能的な構成は、第1の実施形態と同様であるため、説明を省略する。本実施形態は、ユーザインタフェース、調整画像領域の抽出方法及び回復フィルタの調整方法が第1の実施形態と異なる。以下、図15〜図18を用いて詳細に説明する。   Since the hardware configuration and functional configuration of the image processing apparatus according to the second embodiment are the same as those of the first embodiment, the description thereof is omitted. This embodiment is different from the first embodiment in the user interface, the adjustment image region extraction method, and the restoration filter adjustment method. Hereinafter, it demonstrates in detail using FIGS. 15-18.

図15は、第2の実施形態におけるユーザインタフェースの一例を示す図である。1501は、本実施形態におけるユーザインタフェースである。1502は全体画像を表示するための全画像表示部である。1503は調整画像領域を表示するための調整画像表示部である。1504は回復項目選択ボタンである。1505は調整バーである。1506は処理を適用するための適用ボタンである。1507はキャンセルボタンである。   FIG. 15 is a diagram illustrating an example of a user interface according to the second embodiment. Reference numeral 1501 denotes a user interface in the present embodiment. Reference numeral 1502 denotes an entire image display unit for displaying the entire image. An adjustment image display unit 1503 displays an adjustment image area. Reference numeral 1504 denotes a recovery item selection button. Reference numeral 1505 denotes an adjustment bar. Reference numeral 1506 denotes an apply button for applying a process. Reference numeral 1507 denotes a cancel button.

図16は、第2の実施形態におけるステップS406の調整画像領域の抽出処理の詳細を示すフローチャートである。また、図17は調整画像領域の抽出処理の対象となる画像データに属する領域を説明するための図である。1701は全画像データである。1702は低像高領域である。1703は中像高領域である。1704は高像高領域である。1705は第一象限領域である。1706は第二象限領域である。1707は第三象限領域である。1708は第四象限領域である。なお、第一象限領域1705〜第四象限領域1708は、本発明の分割領域の適用例である。   FIG. 16 is a flowchart showing details of the adjustment image region extraction processing in step S406 in the second embodiment. FIG. 17 is a diagram for explaining a region belonging to image data that is a target of adjustment image region extraction processing. Reference numeral 1701 denotes all image data. Reference numeral 1702 denotes a low image height region. Reference numeral 1703 denotes a medium image height region. Reference numeral 1704 denotes a high image height region. Reference numeral 1705 denotes a first quadrant area. Reference numeral 1706 denotes a second quadrant area. Reference numeral 1707 denotes a third quadrant area. Reference numeral 1708 denotes a fourth quadrant region. The first quadrant region 1705 to the fourth quadrant region 1708 are application examples of the divided regions of the present invention.

先ずステップS1601において、調整画像領域抽出部208は、初期の探索範囲をセットする。より具体的には、調整画像領域抽出部208は第一象限領域1705をセットする。ステップS1602において、調整画像領域抽出部208は、初期の探索領域をセットする。ステップS1603において、調整画像領域抽出部208は探索領域の画像データを読み込む。ステップS1604において、調整画像領域抽出部208は評価値を算出する。ステップS1605において、調整画像領域抽出部208は探索範囲に含まれる全ての探索領域について評価値を算出したか否かを判定する。全ての探索領域で評価値が算出された場合、処理はステップS1607に進む。一方、全ての探索領域で評価値が算出されてない場合、処理はステップS1606に進む。ステップS1606において、調整画像領域抽出部208は探索領域の更新を行う。ステップS1607において、調整画像領域抽出部208はステップS1602〜S1606の処理での最大評価値が閾値以上であったか否かを判定する。最大評価値が閾値以上であった場合、処理はS1608に進む。一方、最大評価値が閾値より小さい場合、処理はステップS1609に進む。ステップS1608において、調整画像領域抽出部208は最大評価値となった探索領域を調整画像領域として調整画像表示部1503に表示する。ステップS1609において、調整画像領域抽出部208は全ての探索範囲(第一象限領域〜第四象限領域)についてS1602〜S1608の処理を行ったか否かを判定する。全ての探索範囲についてS1602〜S1608の処理が行われた場合、処理は終了する。一方、全ての探索範囲についてS1602〜S1608の処理が行われてない場合、処理はステップS1610に進む。ステップS1610において、調整画像領域抽出部208は、探索範囲の更新を行う。   First, in step S1601, the adjusted image region extraction unit 208 sets an initial search range. More specifically, the adjusted image area extraction unit 208 sets the first quadrant area 1705. In step S1602, the adjusted image area extraction unit 208 sets an initial search area. In step S1603, the adjusted image area extraction unit 208 reads image data of the search area. In step S1604, the adjusted image area extraction unit 208 calculates an evaluation value. In step S1605, the adjusted image area extraction unit 208 determines whether or not evaluation values have been calculated for all search areas included in the search range. If evaluation values have been calculated for all search regions, the process proceeds to step S1607. On the other hand, if evaluation values have not been calculated for all search regions, the process proceeds to step S1606. In step S1606, the adjusted image area extraction unit 208 updates the search area. In step S1607, the adjusted image area extraction unit 208 determines whether or not the maximum evaluation value in the processes in steps S1602 to S1606 is equal to or greater than a threshold value. If the maximum evaluation value is equal to or greater than the threshold, the process proceeds to S1608. On the other hand, if the maximum evaluation value is smaller than the threshold, the process proceeds to step S1609. In step S1608, the adjusted image area extracting unit 208 displays the search area having the maximum evaluation value on the adjusted image display unit 1503 as the adjusted image area. In step S1609, the adjusted image region extraction unit 208 determines whether or not the processing of S1602 to S1608 has been performed for all search ranges (first quadrant region to fourth quadrant region). If the processes of S1602 to S1608 have been performed for all search ranges, the process ends. On the other hand, if the processes of S1602 to S1608 have not been performed for all search ranges, the process proceeds to step S1610. In step S1610, the adjusted image region extraction unit 208 updates the search range.

第2の実施形態では、4つの探索範囲に対応する調整画像領域を表示して、そのそれぞれでパラメータ調整を行うことができる。しかしながら、ユーザがパラメータ調整を行う場合に調整する項目が膨大になってしまう。そこで、図18に示すように、予め4つの探索範囲に対してパラメータを調整するための複数のセットを用意しておき、複数のセットから所望のセットをユーザが選択するだけで調整が行うことを可能がなる。   In the second embodiment, adjustment image areas corresponding to four search ranges can be displayed, and parameter adjustment can be performed on each of the adjustment image areas. However, when the user performs parameter adjustment, the items to be adjusted become enormous. Therefore, as shown in FIG. 18, a plurality of sets for adjusting parameters in advance for the four search ranges are prepared, and the adjustment is performed only by the user selecting a desired set from the plurality of sets. Is possible.

以上説明したように、本実施形態を用いることによって、画面内において点対称性が崩れた場合においても、ユーザ負荷を軽減してパラメータ調整を行うことが可能となる。   As described above, by using this embodiment, it is possible to perform parameter adjustment while reducing the user load even when the point symmetry in the screen is lost.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

201:画像処理部、202:ユーザインタフェース部、203:調整パラメータ読込部、204:回復フィルタ読込部、205:RAW画像読込部、206:現像処理部、207:回復フィルタ調整部、208:調整画像領域抽出部、209:回復処理部、210:画像表示部、211:回復フィルタ出力部   201: Image processing unit, 202: User interface unit, 203: Adjustment parameter reading unit, 204: Recovery filter reading unit, 205: Raw image reading unit, 206: Development processing unit, 207: Recovery filter adjustment unit, 208: Adjustment image Area extraction unit, 209: recovery processing unit, 210: image display unit, 211: recovery filter output unit

Claims (8)

画像データの回復項目に対応する画像領域を前記画像データから抽出する抽出手段と、
前記回復項目の調整操作に応じて回復フィルタを調整する調整手段と、
前記調整手段により調整された前記回復フィルタによって、前記抽出手段により抽出された前記画像領域の回復処理を行う回復手段とを有することを特徴とする画像処理装置。
Extraction means for extracting an image area corresponding to a recovery item of image data from the image data;
Adjusting means for adjusting a recovery filter according to the adjustment operation of the recovery item;
An image processing apparatus comprising: recovery means for performing recovery processing on the image area extracted by the extraction means by the recovery filter adjusted by the adjustment means.
前記回復手段により回復された前記画像領域を提示する提示手段を更に有することを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a presentation unit that presents the image area recovered by the recovery unit. 前記回復項目を選択する選択手段を更に有し、
前記抽出手段は、前記選択手段により選択された前記回復項目に応じて、抽出する前記画像領域を変更することを特徴とする請求項1又は2に記載の画像処理装置。
A selection means for selecting the recovery item;
The image processing apparatus according to claim 1, wherein the extraction unit changes the image area to be extracted according to the recovery item selected by the selection unit.
前記抽出手段は、回復処理の前後における前記画像データの誤差が最大となる領域を前記画像領域として抽出することを特徴とする請求項1乃至3の何れか1項に記載の画像処理装置。   The image processing apparatus according to any one of claims 1 to 3, wherein the extraction unit extracts, as the image area, an area in which an error of the image data before and after the recovery process is maximized. 前記調整手段は、前記回復フィルタをフーリエ変換し、フーリエ変換後の前記回復フィルタに対して前記回復項目に対応する振幅特性又は位相特性で調整することを特徴とする請求項1乃至4の何れか1項に記載の画像処理装置。   5. The adjustment unit according to claim 1, wherein the adjustment unit performs a Fourier transform on the recovery filter and adjusts the recovery filter after the Fourier transform with an amplitude characteristic or a phase characteristic corresponding to the recovery item. The image processing apparatus according to item 1. 前記抽出手段は、前記画像データ内の複数の分割領域毎に前記画像領域を抽出し、前記回復手段は、前記抽出手段により抽出された前記各画像領域に対して回復処理を行うことを特徴とする請求項1乃至5の何れか1項に記載の画像処理装置。   The extraction unit extracts the image region for each of a plurality of divided regions in the image data, and the recovery unit performs a recovery process on each image region extracted by the extraction unit. The image processing apparatus according to any one of claims 1 to 5. 画像処理装置によって実行される画像処理方法であって、
画像データの回復項目に対応する画像領域を前記画像データから抽出する抽出ステップと、
前記回復項目の調整操作に応じて回復フィルタを調整する調整ステップと、
前記調整ステップにより調整された前記回復フィルタによって、前記抽出ステップにより抽出された前記画像領域の回復処理を行う回復ステップとを含むことを特徴とする画像処理方法。
An image processing method executed by an image processing apparatus,
An extraction step of extracting from the image data an image region corresponding to a recovery item of the image data;
An adjustment step of adjusting a recovery filter according to the adjustment operation of the recovery item;
And a recovery step of performing a recovery process on the image area extracted in the extraction step by the recovery filter adjusted in the adjustment step.
画像データの回復項目に対応する画像領域を前記画像データから抽出する抽出ステップと、
前記回復項目の調整操作に応じて回復フィルタを調整する調整ステップと、
前記調整ステップにより調整された前記回復フィルタによって、前記抽出ステップにより抽出された前記画像領域の回復処理を行う回復ステップとをコンピュータに実行させるためのプログラム。
An extraction step of extracting from the image data an image region corresponding to a recovery item of the image data;
An adjustment step of adjusting a recovery filter according to the adjustment operation of the recovery item;
A program for causing a computer to execute a recovery step of performing a recovery process on the image area extracted in the extraction step by the recovery filter adjusted in the adjustment step.
JP2010058263A 2010-03-15 2010-03-15 Image processing apparatus, image processing method, and program Active JP5641751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010058263A JP5641751B2 (en) 2010-03-15 2010-03-15 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010058263A JP5641751B2 (en) 2010-03-15 2010-03-15 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2011193277A true JP2011193277A (en) 2011-09-29
JP5641751B2 JP5641751B2 (en) 2014-12-17

Family

ID=44797742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010058263A Active JP5641751B2 (en) 2010-03-15 2010-03-15 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP5641751B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014148074A1 (en) * 2013-03-18 2014-09-25 富士フイルム株式会社 Restoration filter generation device and method, image processing device and method, image capturing apparatus, program, and recording medium
CN105453534A (en) * 2013-05-13 2016-03-30 富士胶片株式会社 Image processing device, image-capturing device, image processing method, and program
WO2016171089A1 (en) * 2015-04-23 2016-10-27 富士フイルム株式会社 Image processing device, imaging device, image processing method, and program
US9584801B2 (en) 2013-04-16 2017-02-28 Fujifilm Corporation Image pickup device, calibration system, calibration method, and program
US9799101B2 (en) 2013-03-04 2017-10-24 Fujifilm Corporation Restoration filter generation device and method, image processing device and method, imaging device, and non-transitory computer-readable medium
WO2018037806A1 (en) * 2016-08-25 2018-03-01 富士フイルム株式会社 Image processing device, image processing system, image processing method, and image capturing optical system set
CN108492246A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of image processing method, device and mobile terminal
US10171803B2 (en) 2013-03-27 2019-01-01 Fujifilm Corporation Image capturing apparatus, calibration method, and non-transitory computer-readable medium for calculating parameter for a point image restoration process

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105009168B (en) * 2013-03-04 2017-12-15 富士胶片株式会社 Restore wave filter generating means and method, image processing apparatus and method, camera device
US9799101B2 (en) 2013-03-04 2017-10-24 Fujifilm Corporation Restoration filter generation device and method, image processing device and method, imaging device, and non-transitory computer-readable medium
CN105075239A (en) * 2013-03-18 2015-11-18 富士胶片株式会社 Restoration filter generation device and method, image processing device and method, image capturing apparatus, program, and recording medium
JP5844940B2 (en) * 2013-03-18 2016-01-20 富士フイルム株式会社 Restoration filter generation device and method, image processing device and method, imaging device, program, and recording medium
US9865039B2 (en) 2013-03-18 2018-01-09 Fujifilm Corporation Restoration filter generation device and image processing device
WO2014148074A1 (en) * 2013-03-18 2014-09-25 富士フイルム株式会社 Restoration filter generation device and method, image processing device and method, image capturing apparatus, program, and recording medium
CN105075239B (en) * 2013-03-18 2017-12-29 富士胶片株式会社 Restore wave filter generating means and method, image processing apparatus and method, camera device and recording medium
US10171803B2 (en) 2013-03-27 2019-01-01 Fujifilm Corporation Image capturing apparatus, calibration method, and non-transitory computer-readable medium for calculating parameter for a point image restoration process
US9584801B2 (en) 2013-04-16 2017-02-28 Fujifilm Corporation Image pickup device, calibration system, calibration method, and program
US9881362B2 (en) 2013-05-13 2018-01-30 Fujifilm Corporation Image processing device, image-capturing device, image processing method, and program
CN105453534B (en) * 2013-05-13 2018-07-06 富士胶片株式会社 Image processing apparatus and method
CN105453534A (en) * 2013-05-13 2016-03-30 富士胶片株式会社 Image processing device, image-capturing device, image processing method, and program
JP6247794B2 (en) * 2015-04-23 2017-12-13 富士フイルム株式会社 Image processing apparatus, imaging apparatus, image processing method, and program
WO2016171089A1 (en) * 2015-04-23 2016-10-27 富士フイルム株式会社 Image processing device, imaging device, image processing method, and program
JPWO2016171089A1 (en) * 2015-04-23 2018-01-18 富士フイルム株式会社 Image processing apparatus, imaging apparatus, image processing method, and program
WO2018037806A1 (en) * 2016-08-25 2018-03-01 富士フイルム株式会社 Image processing device, image processing system, image processing method, and image capturing optical system set
CN109691082A (en) * 2016-08-25 2019-04-26 富士胶片株式会社 Image processing apparatus, image processing system, image processing method and imaging optical system set group
JPWO2018037806A1 (en) * 2016-08-25 2019-07-18 富士フイルム株式会社 Image processing apparatus, image processing system, image processing method, and imaging optical system set
US10817995B2 (en) 2016-08-25 2020-10-27 Fujifilm Corporation Image processing device, image processing system, image processing method, and imaging optical system group
CN109691082B (en) * 2016-08-25 2021-01-15 富士胶片株式会社 Image processing device, image processing system, image processing method, and imaging optical system set
CN108492246A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of image processing method, device and mobile terminal

Also Published As

Publication number Publication date
JP5641751B2 (en) 2014-12-17

Similar Documents

Publication Publication Date Title
JP5641751B2 (en) Image processing apparatus, image processing method, and program
JP4585456B2 (en) Blur conversion device
CN102930506B (en) Image processing apparatus, image processing method, and image pickup apparatus
JP5983373B2 (en) Image processing apparatus, information processing method, and program
US20220261955A1 (en) Image processing apparatus, image capturing apparatus, image processing method, and medium
JP5534832B2 (en) Image processing apparatus, image processing method, and program
US11922598B2 (en) Image processing apparatus, image processing method, and storage medium
JP2011134204A (en) Image processing device, image processing method and program
JP2020042760A (en) Information processing method, information processing device, and program
JP7328096B2 (en) Image processing device, image processing method, and program
US9053552B2 (en) Image processing apparatus, image processing method and non-transitory computer readable medium
JP2011217087A (en) Image processor and imaging apparatus using the same
US10368012B2 (en) Image capture apparatus, image processing system, and control method thereof
US20150161771A1 (en) Image processing method, image processing apparatus, image capturing apparatus and non-transitory computer-readable storage medium
JP2013250946A (en) Image processing apparatus, and image processing method and program
US8849066B2 (en) Image processing apparatus, image processing method, and storage medium
US10339637B2 (en) Image processing apparatus, image pickup apparatus, image processing method, and non-transitory computer-readable storage medium for correcting deterioration of image
US8781242B2 (en) Image processing apparatus, image processing method, and program
US11580620B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
JP2012113398A (en) Image processing device and image processing system
JP2021089654A (en) Image processing apparatus, image processing method, and program
JP2019016222A (en) Image processing apparatus and control method therefor
JP6937722B2 (en) Image processing device and image processing method
WO2019225255A1 (en) Image correction device, image correction method, and image correction program
JP6462996B2 (en) Image processing apparatus, image processing method, control program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140205

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: 20140930

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141028

R151 Written notification of patent or utility model registration

Ref document number: 5641751

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151