JP2015035775A - Image processing system and image processing method - Google Patents

Image processing system and image processing method Download PDF

Info

Publication number
JP2015035775A
JP2015035775A JP2013166854A JP2013166854A JP2015035775A JP 2015035775 A JP2015035775 A JP 2015035775A JP 2013166854 A JP2013166854 A JP 2013166854A JP 2013166854 A JP2013166854 A JP 2013166854A JP 2015035775 A JP2015035775 A JP 2015035775A
Authority
JP
Japan
Prior art keywords
reduction
image
noise
pixel
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013166854A
Other languages
Japanese (ja)
Inventor
駿 松井
Shun Matsui
駿 松井
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 JP2013166854A priority Critical patent/JP2015035775A/en
Publication of JP2015035775A publication Critical patent/JP2015035775A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system, an image processing method, etc., that can reduce a noise amount more as an image size is smaller even when reduction processing on image data is performed at a reduction rate which is not an integral submultiple.SOLUTION: A reduction rate determination part 301 determines a reduction rate. A sampling phase determination part 302 determines a sampling phase after reduction processing according to the reduction rate determined by the reduction rate determination part 301. An LPF part 303 selects a pre-filter according to the reduction rate determined by the reduction rate determination part 301, and uses the pre-filter so as to perform pre-filter processing on image data output from an image conversion part 201. A thinning-out and interpolation processing part 304 reduces the image data output from the LPF part 303 through thinning-out or interpolation processing according to the sampling phase determined by the sampling phase determination part 302.

Description

本発明は、画像データの縮小処理等を行う画像処理装置及び画像処理方法等に関する。   The present invention relates to an image processing apparatus and an image processing method that perform image data reduction processing and the like.

従来、画像データの縮小処理を行う際には、画像信号の折返りを防ぐために、帯域制限のためのプレフィルタをかけた後に画素サンプリング数を減らしている。縮小率に応じたプレフィルタをかけることにより、縮小処理後の画像の折返り及び解像感をコントロールすることができる。縮小率は、縮小処理後の画像データのサイズが縮小処理前の画像データのサイズのどの程度の割合となっているかを示す。   Conventionally, when image data reduction processing is performed, the number of pixel sampling is reduced after applying a pre-filter for band limitation in order to prevent aliasing of the image signal. By applying a pre-filter according to the reduction ratio, it is possible to control the folding and resolution of the image after the reduction process. The reduction ratio indicates how much the size of the image data after the reduction processing is the ratio of the size of the image data before the reduction processing.

例えば、1/2(50%)、1/3(33%)、1/4(25%)のように1/整数倍で画像を縮小する場合、縮小率が小さいときほど強い帯域制限フィルタをかけ、縮小処理前の画像のサンプリング点上から画素を間引いている。強い帯域制限フィルタほど、加重平均において周辺画素値の重みが大きくなるため、縮小率が小さい場合ほど、ノイズ量が低減された画像が得られる。従って、1/整数倍で画像を縮小する場合、画像サイズが小さくなるほど、解像度及びノイズ量が低減される。   For example, when an image is reduced by 1 / integer multiple such as 1/2 (50%), 1/3 (33%), and 1/4 (25%), a stronger band limiting filter is used as the reduction ratio is smaller. The pixels are thinned out from the sampling points of the image before the reduction process. The stronger the band limiting filter, the greater the weight of the neighboring pixel values in the weighted average. Therefore, an image with a reduced noise amount is obtained as the reduction rate is smaller. Therefore, when the image is reduced by 1 / integer multiple, the resolution and the amount of noise are reduced as the image size is reduced.

しかし、1/整数倍でない縮小率で画像を縮小する場合、縮小処理後の画像の画素サンプリング位置が、縮小処理前の画像の画素サンプリング位置と一致する画素、及び一致しない画素が存在する。画素サンプリング位置が縮小処理前の位置と一致しない画素については、補間処理で画素値が決定される。従って、画素によりノイズ量が異なる。   However, when an image is reduced at a reduction ratio other than 1 / integer multiple, there are pixels where the pixel sampling position of the image after reduction processing matches or does not match the pixel sampling position of the image before reduction processing. For pixels whose pixel sampling position does not match the position before the reduction process, the pixel value is determined by the interpolation process. Therefore, the amount of noise varies depending on the pixel.

このようなノイズ量のばらつきを抑制することを目的とした方法が特許文献1に記載されている。   Japanese Patent Application Laid-Open No. H10-228667 describes a method aimed at suppressing such noise amount variation.

特開2001−43356号公報JP 2001-43356 A 特開2009−177244号公報JP 2009-177244 A

しかしながら、従来の技術では、1/整数倍でない縮小率で画像データの縮小処理を行う場合に、画像サイズが小さくなってもノイズ量が低減されないことがある。特許文献1に記載された方法でも同様である。   However, in the conventional technique, when the image data is reduced at a reduction ratio other than 1 / integer multiple, the amount of noise may not be reduced even if the image size is reduced. The same applies to the method described in Patent Document 1.

本発明は、1/整数倍でない縮小率で画像データの縮小処理を行う場合でも、画像サイズが小さくなるほどノイズ量を低減することができる画像処理装置及び画像処理方法等を提供することを目的とする。   An object of the present invention is to provide an image processing apparatus, an image processing method, and the like that can reduce the amount of noise as the image size is reduced even when image data is reduced at a reduction ratio other than 1 / integer multiple. To do.

本発明に係る画像処理装置は、画像データの縮小処理を行う縮小手段と、前記縮小処理における画素サンプリングの位相を決定するサンプリング位相決定手段と、を有し、前記縮小手段は、前記縮小処理前の画像の画素の間引き処理及び補間処理の少なくともいずれかを行うことにより前記縮小処理後の画像の画素値を決定し、前記サンプリング位相決定手段は、前記縮小手段により行われる縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理後のノイズ量が、縮小率が大きい縮小処理後のノイズ量以下となるように前記画素サンプリングの位相を決定することを特徴とする。   An image processing apparatus according to the present invention includes a reduction unit that performs a reduction process of image data, and a sampling phase determination unit that determines a phase of pixel sampling in the reduction process. The pixel value of the image after the reduction process is determined by performing at least one of the pixel thinning process and the interpolation process of the image of the image, and the sampling phase determination means is an arbitrary one with different reduction ratios performed by the reduction means The phase of the pixel sampling is determined so that the noise amount after the reduction process with a small reduction ratio is equal to or less than the noise amount after the reduction process with a large reduction ratio between the two reduction processes.

本発明に係る画像処理方法は、画像データの縮小処理を行う縮小ステップと、前記縮小処理における画素サンプリングの位相を決定するサンプリング位相決定ステップと、を有し、前記縮小ステップは、前記縮小処理前の画像の画素の間引き処理及び補間処理の少なくともいずれかを行うことにより前記縮小処理後の画像の画素値を決定するステップを有し、前記サンプリング位相決定ステップは、前記縮小ステップにおいて行う縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理後のノイズ量が、縮小率が大きい縮小処理後のノイズ量以下となるように前記画素サンプリングの位相を決定するステップを有することを特徴とする。   The image processing method according to the present invention includes a reduction step for performing reduction processing of image data, and a sampling phase determination step for determining a phase of pixel sampling in the reduction processing, wherein the reduction step is performed before the reduction processing. Determining a pixel value of the image after the reduction processing by performing at least one of pixel thinning processing and interpolation processing of the image, and the sampling phase determination step has a reduction rate performed in the reduction step. A step of determining the phase of the pixel sampling so that a noise amount after a reduction process with a small reduction ratio is equal to or less than a noise amount after a reduction process with a high reduction ratio between any two different reduction processes; It is characterized by.

本発明によれば、1/整数倍でない縮小率で画像データの縮小処理を行う場合でも、画像サイズが小さくなるほどノイズ量を低減することができる。   According to the present invention, the amount of noise can be reduced as the image size is reduced even when image data is reduced at a reduction ratio other than 1 / integer multiple.

本発明の実施形態に係る画像処理装置を示すブロック図である。1 is a block diagram illustrating an image processing apparatus according to an embodiment of the present invention. 画像処理部104の構成を示すブロック図である。3 is a block diagram illustrating a configuration of an image processing unit 104. FIG. 第1の実施形態における縮小処理部202の構成を示すブロック図である。It is a block diagram which shows the structure of the reduction process part 202 in 1st Embodiment. 第1の実施形態における縮小処理部202の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the reduction process part 202 in 1st Embodiment. 縮小処理時の画素サンプリングの位相を表す図である。It is a figure showing the phase of pixel sampling at the time of a reduction process. 第1の実施形態における画素サンプリングの位相の変化を示す図である。It is a figure which shows the change of the phase of pixel sampling in 1st Embodiment. 第2の実施形態における縮小処理部202の構成を示すブロック図である。It is a block diagram which shows the structure of the reduction process part 202 in 2nd Embodiment. 第2の実施形態における縮小処理部202の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the reduction process part 202 in 2nd Embodiment. ノイズ評価値算出部705及びサンプリング位相決定部702の動作を示すフローチャートである。6 is a flowchart illustrating operations of a noise evaluation value calculation unit 705 and a sampling phase determination unit 702. 第2の実施形態における画素サンプリングの位相の変化を示す図である。It is a figure which shows the change of the phase of pixel sampling in 2nd Embodiment. フィルタの周波数特性及び周波数の重み関数を示す図である。It is a figure which shows the frequency characteristic and frequency weighting function of a filter. 第4の実施形態における縮小処理部202の構成を示すブロック図である。It is a block diagram which shows the structure of the reduction process part 202 in 4th Embodiment. 第4の実施形態における縮小処理部202の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the reduction process part 202 in 4th Embodiment. 第4の実施形態における縮小処理部202の動作の他の例を示すフローチャートである。It is a flowchart which shows the other example of operation | movement of the reduction process part 202 in 4th Embodiment.

以下、本発明の実施形態について添付の図面を参照して具体的に説明する。   Hereinafter, embodiments of the present invention will be specifically described with reference to the accompanying drawings.

(第1の実施形態)
先ず、第1の実施形態について説明する。第1の実施形態に係る画像処理装置は、例えば、撮影した画像の縮小処理を行うデジタルカメラである。図1は、本発明の第1の実施形態に係る画像処理装置を示すブロック図である。図1に示すように、第1の実施形態に係る画像処理装置には、光学系101、撮像素子102、A/D変換部103、画像処理部104、記録部105、制御部106、操作部107及び表示部108が含まれている。
(First embodiment)
First, the first embodiment will be described. The image processing apparatus according to the first embodiment is, for example, a digital camera that performs reduction processing of a captured image. FIG. 1 is a block diagram showing an image processing apparatus according to the first embodiment of the present invention. As shown in FIG. 1, the image processing apparatus according to the first embodiment includes an optical system 101, an image sensor 102, an A / D conversion unit 103, an image processing unit 104, a recording unit 105, a control unit 106, and an operation unit. 107 and a display unit 108 are included.

光学系101には、フォーカスレンズ、絞り及びシャッターが含まれる。光学系101は、撮影時に、フォーカスレンズを駆動して被写体のピント合わせを行い、絞り及びシャッターを制御して露光量を調節する。撮像素子102は、例えばCCD(charge-coupled device)イメージセンサ又はCMOS(complementary metal oxide semiconductor)イメージセンサ等の光電変換素子である。撮像素子102は、光電変換によって、光学系101において結像された被写体の光量からアナログの電気信号を生成する。A/D(analog/digital)変換部103は、入力されたアナログの電気信号をデジタル化する。画像処理部104はA/D変換部103によりデジタル化された信号の処理を行い、JPEG(joint photographic experts group)等の所定の画像形式の画像データを生成する。この処理には、例えば縮小処理及びノイズ低減処理等が含まれる。記録部105は、画像処理部104による処理後の画像データを記録する。   The optical system 101 includes a focus lens, a diaphragm, and a shutter. At the time of shooting, the optical system 101 drives the focus lens to focus the subject, and controls the aperture and shutter to adjust the exposure amount. The imaging element 102 is a photoelectric conversion element such as a charge-coupled device (CCD) image sensor or a complementary metal oxide semiconductor (CMOS) image sensor. The image sensor 102 generates an analog electrical signal from the amount of light of the subject imaged in the optical system 101 by photoelectric conversion. The A / D (analog / digital) conversion unit 103 digitizes the input analog electric signal. The image processing unit 104 processes the signal digitized by the A / D conversion unit 103 to generate image data in a predetermined image format such as JPEG (joint photographic experts group). This processing includes, for example, reduction processing and noise reduction processing. The recording unit 105 records the image data processed by the image processing unit 104.

制御部106は、本実施形態の画像処理装置の全体の動作を制御する。操作部107は、ユーザが画像処理装置に対して操作の指示を行う部分である。表示部108は、例えばカメラ背面に設置された液晶ディスプレイ等である。表示部108は、撮像素子102で撮影され画像処理部104で処理された画像、及び記録部105に保存されている画像等を表示する。   The control unit 106 controls the overall operation of the image processing apparatus according to the present embodiment. The operation unit 107 is a part where the user gives an operation instruction to the image processing apparatus. The display unit 108 is, for example, a liquid crystal display installed on the back of the camera. The display unit 108 displays an image captured by the image sensor 102 and processed by the image processing unit 104, an image stored in the recording unit 105, and the like.

次に、画像処理部104について更に詳細に説明する。図2は、画像処理部104の構成を示すブロック図である。図2に示すように、画像処理部104には、画像変換部201、縮小処理部202、ノイズ低減部203、エッジ強調部204及び画像変換部205が含まれている。   Next, the image processing unit 104 will be described in more detail. FIG. 2 is a block diagram illustrating a configuration of the image processing unit 104. As shown in FIG. 2, the image processing unit 104 includes an image conversion unit 201, a reduction processing unit 202, a noise reduction unit 203, an edge enhancement unit 204, and an image conversion unit 205.

画像変換部201は、A/D変換部103から入力された画像データの変換処理を行う。この変換処理には、例えば各画素にRGBいずれかの信号値を持つベイヤー信号に対し、補間処理により各画素にRGB値を持たせるような処理が含まれる。縮小処理部202は、画像変換部201から出力された画像データの縮小処理を行う。ノイズ低減部203は、縮小処理部202から出力された画像データのノイズ低減処理を行う。エッジ強調部204は、ノイズ低減部203から出力された画像データのエッジ強調処理を行う。画像変換部205は、エッジ強調部204から出力された画像データをJPEG等の所定の画像形式に変換する。   The image conversion unit 201 performs a conversion process on the image data input from the A / D conversion unit 103. This conversion process includes, for example, a process in which each pixel has an RGB value by an interpolation process with respect to a Bayer signal having any RGB signal value in each pixel. The reduction processing unit 202 performs a reduction process on the image data output from the image conversion unit 201. The noise reduction unit 203 performs noise reduction processing on the image data output from the reduction processing unit 202. The edge enhancement unit 204 performs edge enhancement processing on the image data output from the noise reduction unit 203. The image conversion unit 205 converts the image data output from the edge enhancement unit 204 into a predetermined image format such as JPEG.

次に、縮小処理部202について更に詳細に説明する。図3は、第1の実施形態における縮小処理部202の構成を示すブロック図である。図3に示すように、縮小処理部202には、縮小率決定部301、サンプリング位相決定部302、LPF部303及び間引き・補間処理部304が含まれている。   Next, the reduction processing unit 202 will be described in more detail. FIG. 3 is a block diagram showing a configuration of the reduction processing unit 202 in the first embodiment. As illustrated in FIG. 3, the reduction processing unit 202 includes a reduction rate determination unit 301, a sampling phase determination unit 302, an LPF unit 303, and a thinning / interpolation processing unit 304.

縮小率決定部301は縮小率を決定する。縮小率決定部301は、例えばユーザの入力に基づいて縮小率を決定してもよく、何らかの方法でユーザの入力を考慮せずに自動的に決定してもよい。サンプリング位相決定部302は、縮小率決定部301により決定された縮小率に応じて、縮小処理後のサンプリング位相を決定する。LPF(low pass filter)部303は、縮小率決定部301により決定された縮小率に応じてプレフィルタを選択し、このプレフィルタを用いて、画像変換部201から出力された画像データのプレフィルタ処理を行う。このプレフィルタ処理は、例えば低域フィルタ処理であり、画像データの縮小処理前の帯域制限処理の一例である。間引き・補間処理部304は、サンプリング位相決定部302により決定されたサンプリング位相に応じて、間引き処理又は補間処理によって、LPF部303から出力された画像データを縮小する。   The reduction rate determination unit 301 determines the reduction rate. The reduction rate determination unit 301 may determine the reduction rate based on, for example, a user input, or may automatically determine without considering the user input by some method. The sampling phase determination unit 302 determines the sampling phase after the reduction process according to the reduction rate determined by the reduction rate determination unit 301. An LPF (low pass filter) unit 303 selects a pre-filter according to the reduction rate determined by the reduction rate determination unit 301 and uses this pre-filter to pre-filter the image data output from the image conversion unit 201. Process. This pre-filter process is, for example, a low-pass filter process, and is an example of a band limiting process before the image data reduction process. The thinning / interpolation processing unit 304 reduces the image data output from the LPF unit 303 by thinning processing or interpolation processing according to the sampling phase determined by the sampling phase determination unit 302.

次に、縮小処理部202の動作の概要について説明する。図4は、第1の実施形態における縮小処理部202の動作を示すフローチャートである。   Next, an outline of the operation of the reduction processing unit 202 will be described. FIG. 4 is a flowchart showing the operation of the reduction processing unit 202 in the first embodiment.

先ず、ステップS401において、縮小率決定部301が縮小率を決定する。前述のように、縮小率決定部301は、ユーザの入力に基づいて縮小率を決定してもよく、何らかの方法でユーザの入力を考慮せずに自動的に決定してもよい。次いで、ステップS402において、LPF部303が、ステップS401において決定された縮小率に応じたプレフィルタを選択する。更に、ステップS403において、サンプリング位相決定部302が、ステップS401において決定された縮小率に応じた画素サンプリング位相を決定する。その後、ステップS404において、LPF部303が、ステップS402で選択したプレフィルタを用いて、画像変換部201から出力された画像データ、つまり縮小処理部202への入力画像データのプレフィルタ処理を行う。続いて、ステップS405において、間引き・補間処理部304が、ステップS401において決定された縮小率及びステップS403において決定された画素サンプリング位相に基づき画像データを縮小する。ステップS403の処理は、ステップS401からステップS405までの間であれば、ステップS402とステップS404との間以外のタイミングで行われてもよい。   First, in step S401, the reduction rate determination unit 301 determines the reduction rate. As described above, the reduction rate determination unit 301 may determine the reduction rate based on the user's input, or may automatically determine without considering the user's input by some method. Next, in step S402, the LPF unit 303 selects a pre-filter according to the reduction ratio determined in step S401. In step S403, the sampling phase determination unit 302 determines a pixel sampling phase corresponding to the reduction ratio determined in step S401. Thereafter, in step S404, the LPF unit 303 performs prefiltering of the image data output from the image conversion unit 201, that is, input image data to the reduction processing unit 202, using the prefilter selected in step S402. Subsequently, in step S405, the thinning / interpolation processing unit 304 reduces the image data based on the reduction rate determined in step S401 and the pixel sampling phase determined in step S403. The process of step S403 may be performed at a timing other than between step S402 and step S404 as long as it is between step S401 and step S405.

ここで、LPF部303によるプレフィルタ処理について説明する。ここでは、全画素にRGB値を持つ画像データを3/5倍に縮小する場合の動作、及び全画素にRGB値を持つ画像データを1/2倍に縮小する場合の動作を例に挙げる。また、折返り及び解像度を考慮した上で、LPF部303が持つプレフィルタのうちで、3/5倍の縮小率に最も適切なプレフィルタのプレフィルタ係数が[1 2 1]であるとする。同様に、折返り及び解像度を考慮した上で、LPF部303が持つプレフィルタのうちで、1/2倍の縮小率に最も適切なプレフィルタのプレフィルタ係数が[1 4 6 4 1]であるとする。なお、水平方向におけるプレフィルタ処理について、プレフィルタ係数が[1 2 1]であれば、着目画素の左に隣接する画素値、着目画素の画素値、着目画素の右に隣接する画素値のそれぞれを、1対2対1の比率で加算平均することを示す。同様に、水平方向におけるプレフィルタ処理について、プレフィルタ係数が[1 4 6 4 1]であれば、着目画素を中心とする水平方向に並んだ5つの画素に対して、それぞれの画素値を、1対4対6対4対1の比率で加算平均することを示す。   Here, the prefiltering process by the LPF unit 303 will be described. Here, an operation for reducing image data having RGB values for all pixels to 3/5 times and an operation for reducing image data having RGB values for all pixels to 1/2 times will be described as examples. Further, it is assumed that the pre-filter coefficient of the pre-filter most suitable for the reduction ratio of 3/5 times is [1 2 1] among the pre-filters included in the LPF unit 303 in consideration of aliasing and resolution. . Similarly, in consideration of aliasing and resolution, the prefilter coefficient of the prefilter that is most suitable for a reduction ratio of ½ of the prefilters that the LPF unit 303 has is [1 4 6 4 1]. Suppose there is. In the horizontal prefiltering process, if the prefilter coefficient is [1 2 1], each of the pixel value adjacent to the left of the pixel of interest, the pixel value of the pixel of interest, and the pixel value adjacent to the right of the pixel of interest Are averaged at a ratio of 1: 2: 1. Similarly, for the prefiltering process in the horizontal direction, if the prefilter coefficient is [1 4 6 4 1], the respective pixel values are set for five pixels arranged in the horizontal direction centered on the pixel of interest. Indicates that the averaging is performed at a ratio of 1: 4: 6: 4: 1.

プレフィルタ係数をai、そのプレフィルタ係数がかかる画素のノイズの分散をσiとし、各画素のノイズの分散が独立であるとき、各画素にプレフィルタ係数をかけて足した後のノイズの分散は、誤差伝搬の法則より(1)式のように表される。なお、ノイズの分布はガウス分布に従うという仮定である。 When the pre-filter coefficient is a i and the noise variance of the pixel to which the pre-filter coefficient is applied is σ i and the noise variance of each pixel is independent, the noise after adding the pre-filter coefficient to each pixel is added. The variance is expressed as in equation (1) from the law of error propagation. It is assumed that the noise distribution follows a Gaussian distribution.

Figure 2015035775
Figure 2015035775

また、プレフィルタ処理後のノイズの標準偏差σpは、プレフィルタ係数の正規化も考慮すると、(2)式のようになる。 In addition, the noise standard deviation σ p after the pre-filter processing is expressed by equation (2) when normalization of the pre-filter coefficient is taken into consideration.

Figure 2015035775
Figure 2015035775

更に、各画素のノイズの標準偏差が(3)式の関係のとき、プレフィルタ処理前後のノイズ量の比α1は式(4)のよう表すことができる。つまり、 Furthermore, when the standard deviation of the noise of each pixel is in the relation of the expression (3), the noise amount ratio α 1 before and after the pre-filter process can be expressed as the expression (4). That means

Figure 2015035775
Figure 2015035775

Figure 2015035775
Figure 2015035775

この比α1は、プレフィルタ処理によるノイズの低減率を表している。つまり、比α1は、ノイズが何倍まで低減されたかを示している。縮小率が3/5倍でプレフィルタ係数が[1 2 1]のプレフィルタ処理を行うとき、比α1は約0.612となり、縮小率が1/2倍でプレフィルタ係数が[1 4 6 4 1]のプレフィルタ処理を行うとき、比α1は約0.523となる。つまり、(4)式でノイズ量を評価する場合、プレフィルタ係数が[1 4 6 4 1]のプレフィルタ処理を行ったときの方が、ノイズが低減される。なお、(4)式は画像全体のノイズの低減率を統計的に表したものであり、局所的に見たときには画像の場所によりこのノイズの低減率は異なる。 This ratio α 1 represents the noise reduction rate due to the prefiltering process. That is, the ratio α 1 indicates how many times the noise has been reduced. When performing prefiltering with a reduction ratio of 3/5 and a prefilter coefficient of [1 2 1], the ratio α 1 is about 0.612, and the reduction ratio is ½ and the prefilter coefficient is [1 4 When the pre-filter process of 6 4 1] is performed, the ratio α 1 is about 0.523. That is, when the noise amount is evaluated by the expression (4), the noise is reduced when the prefiltering process with the prefilter coefficient [1 4 6 4 1] is performed. Equation (4) is a statistical representation of the noise reduction rate of the entire image, and when viewed locally, this noise reduction rate varies depending on the location of the image.

このように、LPF部303は、LPF部303自身が持つプレフィルタのうちで、縮小率決定部301により決定された縮小率に最も適切なプレフィルタを用いたプレフィルタ処理を実行する。そして、このプレフィルタ処理におけるノイズ低減率は画像サイズの順に並ぶ。   As described above, the LPF unit 303 executes prefiltering using a prefilter most suitable for the reduction rate determined by the reduction rate determination unit 301 among the prefilters of the LPF unit 303 itself. The noise reduction rates in this prefiltering are arranged in the order of image size.

ここで、参考のために、単純な間引き・補間処理について説明する。図5は、画像を3/5倍、1/2倍に縮小する際のサンプリングの位相を示す図である。   Here, for reference, a simple decimation / interpolation process will be described. FIG. 5 is a diagram illustrating a sampling phase when an image is reduced to 3/5 times or 1/2 times.

画像を1/2倍に縮小する場合、縮小処理後の画像の全ての画素サンプリング位置は、縮小処理前の画像の画素サンプリング位置と一致する。このため、間引き処理のみによって、画像を縮小することが可能である。   When the image is reduced by a factor of 2, all the pixel sampling positions of the image after the reduction process coincide with the pixel sampling positions of the image before the reduction process. For this reason, it is possible to reduce the image only by the thinning process.

一方、画像を3/5倍に縮小する場合、縮小処理後の画像の画素サンプリング位置が、縮小処理前の画像の画素サンプリング位置と一致する画素、及び一致しない画素が混在する。このため、縮小処理後の画像の画素サンプリング位置が縮小処理前の画像の画素サンプリング位置と一致しない画素についての、縮小処理前の画像の近傍画素からの補間処理が行われる。従って、3/5倍の縮小では、3画素周期で間引く画素及び補間処理により決定される画素が混在する。縮小処理後の画像の画素の重心が等間隔になるように画素値を決定する方法としては、例えば、近傍画素値を距離の比で重みづけをして平均値をとる方法が挙げられる。この方法では、3/5倍縮小の場合、補間処理で決定される画素のサンプリング位置は、図5に示すように、縮小処理前の画像のサンプリング間隔を1:2に内分した点となる。このため、例えばバイリニア補間を1:2の重みづけで行うことにより、画素値が決定される。このような重みづけは補間係数の一例である。この補間処理により、フィルタ係数が[1 2]のフィルタ処理を行った場合と同様にノイズが低減される。フィルタ係数が[1 2]のフィルタ処理では、(4)式により求められる比α1(ノイズ低減率)は約0.745である。1周期3画素の内、1画素が間引き、2画素が補間処理によって画素値が決定されるため、画像全体としてのノイズ低減率を平均値として求めると、約0.830となる。なお、間引き処理のみにより縮小を行う場合、ノイズ低減率は1となる。 On the other hand, when the image is reduced to 3/5 times, the pixel sampling position of the image after the reduction process is mixed with the pixel that matches the pixel sampling position of the image before the reduction process and the pixel that does not match. For this reason, an interpolation process is performed on the pixels whose pixel sampling position of the image after the reduction process does not coincide with the pixel sampling position of the image before the reduction process from the neighboring pixels of the image before the reduction process. Therefore, in the reduction of 3/5 times, pixels to be thinned out in a three-pixel cycle and pixels determined by the interpolation process are mixed. As a method of determining the pixel value so that the centers of gravity of the pixels of the image after the reduction processing are equally spaced, for example, a method of taking an average value by weighting neighboring pixel values by a distance ratio can be mentioned. In this method, in the case of 3/5 reduction, the sampling position of the pixel determined by the interpolation processing is a point obtained by internally dividing the sampling interval of the image before the reduction processing by 1: 2, as shown in FIG. . For this reason, for example, the pixel value is determined by performing bilinear interpolation with a weight of 1: 2. Such weighting is an example of an interpolation coefficient. By this interpolation processing, noise is reduced as in the case where the filter processing with the filter coefficient of [12] is performed. In the filtering process with a filter coefficient of [12], the ratio α 1 (noise reduction rate) obtained by the equation (4) is about 0.745. Of the three pixels in one cycle, one pixel is thinned out, and two pixels are determined by interpolation processing. Therefore, when the noise reduction rate of the entire image is obtained as an average value, it is about 0.830. Note that when the reduction is performed only by the thinning process, the noise reduction rate is 1.

そして、LPF部303によるプレフィルタ処理におけるノイズ低減率k1として比α1を用い、その後の間引き処理におけるノイズ低減率をk2とすると、これら両処理によるノイズ低減率αは、(5)式のように表される。従って、ノイズ低減率αは、縮小処理前の画像の1画素あたりの平均ノイズ量を分母に、縮小処理後の画像の1画素あたりの平均ノイズ量を分子とした値に関連している。 When the ratio α 1 is used as the noise reduction rate k 1 in the prefiltering process by the LPF unit 303 and the noise reduction rate in the subsequent thinning process is k 2 , the noise reduction rate α by both these processes is expressed by the following equation (5). It is expressed as Therefore, the noise reduction rate α is related to a value in which the average noise amount per pixel of the image before the reduction process is used as a denominator and the average noise amount per pixel of the image after the reduction process is a numerator.

Figure 2015035775
Figure 2015035775

従って、単純な間引き・補間処理が行われた場合には、3/5倍縮小でのノイズ低減率αは約0.508(=0.612×0.830)となり、1/2倍縮小でのノイズ低減率αは約0.523となる。このように、プレフィルタ処理後の時点ではノイズ低減率が画像サイズの順に並んでいたにも拘わらず、その後に単純な間引き・補間処理による縮小が行われると、ノイズ低減率αの逆転が生じることがある。   Accordingly, when simple thinning / interpolation processing is performed, the noise reduction rate α at 3/5 reduction is about 0.508 (= 0.612 × 0.830), and at 1/2 reduction. The noise reduction rate α is about 0.523. As described above, when the noise reduction rates are arranged in the order of the image size at the time after the pre-filter processing, if the reduction is performed by simple thinning / interpolation processing thereafter, the noise reduction rate α is reversed. Sometimes.

そこで、本実施形態では、間引き・補間処理部304が、上記のような単純な間引き・補間処理ではなく、サンプリング位相決定部302により決定されたサンプリング位相に応じた間引き・補間処理を行う。   Therefore, in this embodiment, the thinning / interpolation processing unit 304 performs thinning / interpolation processing according to the sampling phase determined by the sampling phase determination unit 302 instead of the simple thinning / interpolation processing as described above.

例えば1/2倍の縮小を行う場合には、サンプリング位相決定部302が、間引き・補間処理部304に対して画素サンプリング位相を縮小処理前の画素サンプリングに対して1/2画素だけ位相をずらすよう指示する。この場合の縮小処理後の画像の画素サンプリング位置を図6に示す。縮小処理後の画像の全ての画素が、縮小処理前の画像の画素サンプリング位置の中間に存在するため、間引き・補間処理部304は1:1の重みづけで補間処理を行う。このとき、間引き・補間処理部304による処理におけるノイズ低減率k2は約0.707となり、縮小処理部202全体でのノイズ低減率αは約0.370(=0.523×0.707)となる。従って、3/5倍の縮小を行ったときよりもノイズが低減される。 For example, in the case of performing reduction of 1/2 times, the sampling phase determination unit 302 shifts the pixel sampling phase with respect to the thinning / interpolation processing unit 304 by 1/2 pixel with respect to the pixel sampling before the reduction processing. Instruct. FIG. 6 shows pixel sampling positions of the image after reduction processing in this case. Since all the pixels of the image after the reduction process exist in the middle of the pixel sampling position of the image before the reduction process, the thinning / interpolation processing unit 304 performs the interpolation process with a weight of 1: 1. At this time, the noise reduction rate k 2 in the processing by the thinning / interpolation processing unit 304 is about 0.707, and the noise reduction rate α in the entire reduction processing unit 202 is about 0.370 (= 0.523 × 0.707). It becomes. Therefore, noise is reduced as compared with the case where the reduction is performed 3/5 times.

上述のように、当該画像処理装置が備える縮小率及びLPF部303のプレフィルタ係数から、単純な間引き・補間処理が行われた場合の縮小率毎のノイズ低減率αが求められる。このため、間引き・補間処理部304におけるサンプリング位相のずれをどの程度とすればノイズ低減率αが画像サイズ順に並ぶかは、このノイズ低減率αに基づいて予め求めておくことができる。つまり、サンプリング位相のずれをどの程度とすれば、縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理後のノイズ量が、縮小率が大きい縮小処理後のノイズ量以下となるかは、このノイズ低減率αに基づいて予め求めておくことができる。このノイズ低減率αはノイズ評価値の一例である。サンプリング位相決定部302は、このようなずれ量が生じるようなサンプリング位相を決定する。つまり、サンプリング位相決定部302は、予め決定しておいた縮小率とサンプリング位相との関係に基づいて、サンプリング位相を決定するのである。また、このノイズ評価値は間引き・補間処理部304における補間係数及び縮小率に関連している。このノイズ評価値は、更にLPF部303における帯域制限処理によるノイズ量の変化にも関連している。そして、本実施形態では、縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理におけるノイズ評価値が、縮小率が大きい縮小処理におけるノイズ評価値以下となる。   As described above, the noise reduction rate α for each reduction rate when simple decimation / interpolation processing is performed is obtained from the reduction rate of the image processing apparatus and the prefilter coefficient of the LPF unit 303. Therefore, it is possible to determine in advance based on the noise reduction rate α how much the sampling phase shift in the thinning / interpolation processing unit 304 is to be arranged in order of image size. That is, what is the deviation of the sampling phase, and between any two reduction processes with different reduction ratios, the noise amount after the reduction process with a small reduction ratio is less than the noise amount after the reduction process with a large reduction ratio Can be determined in advance based on the noise reduction rate α. This noise reduction rate α is an example of a noise evaluation value. The sampling phase determination unit 302 determines a sampling phase in which such a deviation amount occurs. That is, the sampling phase determination unit 302 determines the sampling phase based on a predetermined relationship between the reduction rate and the sampling phase. The noise evaluation value is related to the interpolation coefficient and the reduction ratio in the thinning / interpolation processing unit 304. This noise evaluation value is further related to a change in the amount of noise due to the band limiting process in the LPF unit 303. In this embodiment, between any two reduction processes with different reduction ratios, the noise evaluation value in the reduction process with a small reduction ratio is equal to or less than the noise evaluation value in the reduction process with a large reduction ratio.

そして、本実施形態によれば、1/整数倍以外の縮小率で縮小処理を行う場合であっても、縮小処理の際のサンプリング位相をずらすことにより、画像サイズ順にノイズ量が並ぶようにすることができる。   According to the present embodiment, even when reduction processing is performed at a reduction ratio other than 1 / integer multiple, the amount of noise is arranged in order of image size by shifting the sampling phase at the time of reduction processing. be able to.

なお、本実施形態では、プレフィルタ処理によるノイズ低減率を(4)式のように表しているが、別のノイズ評価法を用いてノイズ低減率を表してもよい。また、本実施形態では補間処理をバイリニア補間としているが、他の補間処理法を用いてもよい。   In the present embodiment, the noise reduction rate by the prefiltering process is expressed as in equation (4), but the noise reduction rate may be expressed using another noise evaluation method. In this embodiment, the interpolation processing is bilinear interpolation, but other interpolation processing methods may be used.

更に、本実施形態ではノイズ量が画像サイズ順になるよう画素のサンプリング位相をずらしているが、ノイズ量が同等、又は画像サイズとノイズ量と関係の逆転が目立たない程度になるよう画素サンプリングの位相をずらしてもよい。   Further, in this embodiment, the pixel sampling phase is shifted so that the noise amount is in the order of the image size, but the pixel sampling phase is such that the noise amount is the same or the reversal of the relationship between the image size and the noise amount is not noticeable. May be shifted.

(第2の実施形態)
次に、第2の実施形態について説明する。第2の実施形態では、縮小処理部202の構成が第1の実施形態と相違している。他の構成は第1の実施形態と同様である。図7は、第2の実施形態における縮小処理部202の構成を示すブロック図である。図7に示すように、縮小処理部202には、縮小率決定部701、サンプリング位相決定部702、LPF部703、間引き・補間処理部704及びノイズ評価値算出部705が含まれている。
(Second Embodiment)
Next, a second embodiment will be described. In the second embodiment, the configuration of the reduction processing unit 202 is different from that of the first embodiment. Other configurations are the same as those of the first embodiment. FIG. 7 is a block diagram illustrating a configuration of the reduction processing unit 202 in the second embodiment. As shown in FIG. 7, the reduction processing unit 202 includes a reduction rate determination unit 701, a sampling phase determination unit 702, an LPF unit 703, a thinning / interpolation processing unit 704, and a noise evaluation value calculation unit 705.

縮小率決定部701、LPF部703及び間引き・補間処理部704は、第1の実施形態の縮小率決定部301、LPF部303及び間引き・補間処理部304と同様の動作を行う。ノイズ評価値算出部705は、縮小処理における所定のノイズ評価値、例えばノイズ低減率を算出する。サンプリング位相決定部702は、縮小率決定部701により決定された縮小率及びノイズ評価値算出部705により算出されたノイズ評価値、例えばノイズ低減率に応じて、縮小処理後のサンプリング位相を決定する。   The reduction rate determination unit 701, the LPF unit 703, and the thinning / interpolation processing unit 704 perform the same operations as the reduction rate determination unit 301, the LPF unit 303, and the thinning / interpolation processing unit 304 of the first embodiment. The noise evaluation value calculation unit 705 calculates a predetermined noise evaluation value in the reduction process, for example, a noise reduction rate. The sampling phase determination unit 702 determines the sampling phase after the reduction process according to the reduction rate determined by the reduction rate determination unit 701 and the noise evaluation value calculated by the noise evaluation value calculation unit 705, for example, the noise reduction rate. .

次に、縮小処理部202の動作の概要について説明する。図8は、第2の実施形態における縮小処理部202の動作を示すフローチャートである。   Next, an outline of the operation of the reduction processing unit 202 will be described. FIG. 8 is a flowchart showing the operation of the reduction processing unit 202 in the second embodiment.

先ず、ステップS801において、縮小率決定部701が縮小率を決定する。縮小率決定部701は、縮小率決定部301と同様に、ユーザの入力に基づいて縮小率を決定してもよく、何らかの方法でユーザの入力を考慮せずに自動的に決定してもよい。次いで、ステップS802において、LPF部703が、ステップS801において決定された縮小率に応じたプレフィルタを選択する。その後、ステップS803において、ノイズ評価値算出部705が、ステップS801において決定された縮小率に応じたノイズ評価値を算出する。更に、サンプリング位相決定部702が、このノイズ評価値及びステップS801において決定された縮小率に応じた画素サンプリング位相を決定する。続いて、ステップS804において、LPF部703が、ステップS802で選択したプレフィルタを用いて、画像変換部201から出力された画像データ、つまり縮小処理部202への入力画像データのプレフィルタ処理を行う。そして、ステップS805において、間引き・補間処理部704が、ステップS801において決定された縮小率及びステップS803において決定された画素サンプリング位相に基づき画像データを縮小する。ステップS803の処理は、ステップS801からステップS805までの間であれば、ステップS802とステップS804との間以外のタイミングで行われてもよい。   First, in step S801, the reduction rate determination unit 701 determines a reduction rate. Similar to the reduction rate determination unit 301, the reduction rate determination unit 701 may determine the reduction rate based on the user's input, or may automatically determine it without considering the user's input in some way. . Next, in step S802, the LPF unit 703 selects a prefilter corresponding to the reduction ratio determined in step S801. Thereafter, in step S803, the noise evaluation value calculation unit 705 calculates a noise evaluation value corresponding to the reduction ratio determined in step S801. Further, the sampling phase determination unit 702 determines a pixel sampling phase according to the noise evaluation value and the reduction ratio determined in step S801. Subsequently, in step S804, the LPF unit 703 performs prefiltering of the image data output from the image conversion unit 201, that is, input image data to the reduction processing unit 202, using the prefilter selected in step S802. . In step S805, the thinning / interpolation processing unit 704 reduces the image data based on the reduction rate determined in step S801 and the pixel sampling phase determined in step S803. The process of step S803 may be performed at a timing other than between step S802 and step S804 as long as it is between step S801 and step S805.

次に、ステップS803におけるノイズ評価値算出部705及びサンプリング位相決定部702の動作について説明する。図9は、ステップS803におけるノイズ評価値算出部705及びサンプリング位相決定部702の動作を示すフローチャートである。   Next, the operations of the noise evaluation value calculation unit 705 and the sampling phase determination unit 702 in step S803 will be described. FIG. 9 is a flowchart illustrating operations of the noise evaluation value calculation unit 705 and the sampling phase determination unit 702 in step S803.

先ず、ステップS901において、ノイズ評価値算出部705が位相ステップ値βを決定する。次いで、ステップS902において、ノイズ評価値算出部705が、「0」を位相ずらし量の初期値と設定し、ステップS903において、ノイズ評価値算出部705がノイズ評価値、例えば第1の実施形態におけるノイズ低減率αを算出する。その後、ステップS904において、ノイズ評価値算出部705が、画像サイズとノイズ評価値との関係がある所定の条件を満たすか否かを判定する。ある所定の条件とは、例えば縮小率が小さいほど縮小処理後のノイズ低減率αが同等になるか、又は低減されるという条件である。そして、この条件が満たされていない場合には、ノイズ評価値算出部705が、ステップS905において、位相ずらし量を位相ステップ値βだけ増やし、ステップS903に戻って、再度、ノイズ評価値を算出する。一方、上記の条件が満たされていれば、サンプリング位相決定部702が、ステップS906において、そのときの位相ずらし量を、縮小の際のサンプリング位相と決定する。つまり、ステップS903〜S905までの処理が、上記の条件が満たされるまで行われ、条件が満たされたときの位相ずらし量が縮小の際のサンプリング位相として決定される。   First, in step S901, the noise evaluation value calculation unit 705 determines the phase step value β. Next, in step S902, the noise evaluation value calculation unit 705 sets “0” as the initial value of the phase shift amount, and in step S903, the noise evaluation value calculation unit 705 sets the noise evaluation value, for example, in the first embodiment. The noise reduction rate α is calculated. Thereafter, in step S904, the noise evaluation value calculation unit 705 determines whether or not a predetermined condition that has a relationship between the image size and the noise evaluation value is satisfied. The certain predetermined condition is, for example, a condition that the noise reduction rate α after the reduction process is equalized or reduced as the reduction rate is smaller. If this condition is not satisfied, the noise evaluation value calculation unit 705 increases the phase shift amount by the phase step value β in step S905, returns to step S903, and calculates the noise evaluation value again. . On the other hand, if the above condition is satisfied, the sampling phase determination unit 702 determines the phase shift amount at that time as the sampling phase at the time of reduction in step S906. That is, the processing from step S903 to S905 is performed until the above condition is satisfied, and the phase shift amount when the condition is satisfied is determined as the sampling phase at the time of reduction.

このように、本実施形態では、ノイズ評価値算出部705が、縮小処理時の位相をあるステップ値毎にずらしていき、それぞれの位相ずらし量におけるノイズ評価値を算出し、所定の条件を満たすものを求める。なお、ノイズ評価値としては、例えば第1の実施形態におけるノイズ低減率αを用いてもよく、特許文献2(特開2009−177244号公報)にノイズ評価値として挙げられているS/N等の他の変数を用いてもよい。   As described above, in this embodiment, the noise evaluation value calculation unit 705 shifts the phase during the reduction process for each step value, calculates the noise evaluation value for each phase shift amount, and satisfies a predetermined condition. Ask for things. As the noise evaluation value, for example, the noise reduction rate α in the first embodiment may be used, and S / N and the like listed as noise evaluation values in Patent Document 2 (Japanese Unexamined Patent Application Publication No. 2009-177244). Other variables may be used.

ここで、ノイズ評価値算出部705及びサンプリング位相決定部702の動作の具体例について説明する。ここでも、画像データを3/5倍に縮小する場合の動作、及び1/2倍に縮小する場合の動作を例に挙げる。また、位相ステップ値βが1/8画素であり、ノイズ評価値として第1の実施形態のノイズ低減率αが用いられるとする。   Here, a specific example of the operations of the noise evaluation value calculation unit 705 and the sampling phase determination unit 702 will be described. Here again, an example of the operation when the image data is reduced to 3/5 times and the operation when the image data is reduced to 1/2 times will be described. Further, it is assumed that the phase step value β is 1/8 pixel, and the noise reduction rate α of the first embodiment is used as the noise evaluation value.

先ず、ステップS901において、位相ステップ値βの値が1/8と決定される。次いで、ステップS902において、位相ずらし量が初期値「0」に設定され、ステップS903において、位相ずらし量が0の場合のノイズ評価値が算出される。第1の実施形態において説明したように、位相ずらし量が0の場合のノイズ低減率αは、縮小率が3/5倍のとき約0.508、縮小率が1/2倍のとき約0.523である。つまり、画像サイズ順にノイズ低減率αが並んでいない。このため、ステップS904での判断は「No」となり、ステップS905において、縮小率が1/2倍のときのサンプリング位相について位相ステップ値が、図10に示すように、1/8画素だけずらされる。そして、再びステップS903においてノイズ評価値の算出が行われる。このときのノイズ低減率は(4)式及び(5)式より約0.462となる。つまり、画像サイズ順にノイズ低減率αが並ぶ。このため、ステップS904での判断は「Yes」となり、ステップS906において、1/8画素の位相ずらし量を伴うサンプリング位相が、縮小処理時のサンプリング位相に決定される。   First, in step S901, the phase step value β is determined to be 1/8. Next, in step S902, the phase shift amount is set to an initial value “0”, and in step S903, a noise evaluation value when the phase shift amount is 0 is calculated. As described in the first embodiment, the noise reduction rate α when the phase shift amount is 0 is about 0.508 when the reduction rate is 3/5, and is about 0 when the reduction rate is 1/2. .523. That is, the noise reduction rates α are not arranged in order of image size. Therefore, the determination in step S904 is “No”, and in step S905, the phase step value is shifted by 1/8 pixel as shown in FIG. 10 for the sampling phase when the reduction ratio is ½. . In step S903, the noise evaluation value is calculated again. The noise reduction rate at this time is about 0.462 from the equations (4) and (5). That is, the noise reduction rates α are arranged in order of image size. Therefore, the determination in step S904 is “Yes”, and in step S906, the sampling phase with the phase shift amount of 1/8 pixel is determined as the sampling phase during the reduction process.

このように、第2の実施形態では、ノイズ評価値算出部705が行う計算により、自動的に縮小処理時のサンプリング位相を決定することができる。   As described above, in the second embodiment, the sampling phase at the time of the reduction process can be automatically determined by the calculation performed by the noise evaluation value calculation unit 705.

この第2の実施形態では、画像サイズ順にノイズ評価値が並んだ時点でサンプリング位相を決定している。しかしながら、これに限られず、位相ずらし量が1画素となるまでノイズ評価値を算出し、ノイズ評価値が最小値となるときの位相ずらし量を縮小処理時のサンプリング位相と決定してもよい。例えば縮小率が1/2倍の場合、図10に示すように、ノイズ低減率が最も低くなるのは、1/2画素だけサンプリングの位相をずらしたときである。   In the second embodiment, the sampling phase is determined when the noise evaluation values are arranged in the order of the image size. However, the present invention is not limited to this, and the noise evaluation value may be calculated until the phase shift amount becomes one pixel, and the phase shift amount when the noise evaluation value becomes the minimum value may be determined as the sampling phase during the reduction process. For example, when the reduction ratio is ½, as shown in FIG. 10, the noise reduction ratio is lowest when the sampling phase is shifted by ½ pixel.

(第3の実施形態)
次に、第3の実施形態について説明する。第3の実施形態では、上記の比α1とは異なる値をプレフィルタ処理のノイズ低減率k1として用いる。他の構成は第1の実施形態と同様である。第3の実施形態では、プレフィルタ処理によるノイズ低減率として、フィルタの周波数特性を用いて表したものを用いる。図11は、フィルタの周波数特性及び周波数の重み関数を示す図である。例えば、プレフィルタ処理によるノイズ低減率k1は、フィルタの周波数特性をg(x)、縮小処理後の画像のナイキスト周波数をfnとしたとき、(6)式のように表すことができる。
(Third embodiment)
Next, a third embodiment will be described. In the third embodiment, a value different from the ratio α 1 is used as the noise reduction rate k 1 of the prefilter process. Other configurations are the same as those of the first embodiment. In the third embodiment, the noise reduction rate by the prefiltering process is expressed using the frequency characteristics of the filter. FIG. 11 is a diagram illustrating a frequency characteristic of a filter and a frequency weighting function. For example, the noise reduction rate k 1 by the prefiltering process can be expressed as the following expression (6), where g (x) is the frequency characteristic of the filter and fn is the Nyquist frequency of the image after the reduction process.

Figure 2015035775
Figure 2015035775

(6)式により得られるノイズ低減率k1は、図11(a)における領域Aの面積を、領域Aの面積及び領域Bの面積の和で除して得られた値に相当する。即ち、このノイズ低減率k1は、ナイキスト周波数までのすべての周波数のゲインの平均値である。 The noise reduction rate k 1 obtained by the equation (6) corresponds to a value obtained by dividing the area of the region A in FIG. 11A by the sum of the area of the region A and the area of the region B. That is, the noise reduction rate k 1 is an average value of gains of all frequencies up to the Nyquist frequency.

また、特定の周波数のゲインのみを考慮し、ノイズ低減率k1を(7)式のように表すこともできる。 In addition, the noise reduction rate k 1 can be expressed as in equation (7), taking into account only the gain of a specific frequency.

Figure 2015035775
Figure 2015035775

(7)式により得られるノイズ低減率k1は、図11(b)における領域A´の面積を、領域A´の面積及び領域B´の面積の和で除して得られた値に相当する。 The noise reduction rate k 1 obtained by the equation (7) corresponds to a value obtained by dividing the area of the region A ′ in FIG. 11B by the sum of the area of the region A ′ and the area of the region B ′. To do.

また、周波数ごとに重みを決め、フィルタの周波数特性との乗算値の平均値をノイズ低減率k1として用いてもよい。この場合、周波数の重み関数をw(x)とすると、ノイズ低減率k1は(8)式のように表すことができる。 Alternatively, a weight may be determined for each frequency, and an average value of multiplication values with the frequency characteristics of the filter may be used as the noise reduction rate k 1 . In this case, when the frequency weighting function is w (x), the noise reduction rate k 1 can be expressed as shown in Equation (8).

Figure 2015035775
Figure 2015035775

以上のように、プレフィルタの特性からノイズ低減率k1を表すことが可能であり、縮小処理部202のノイズ低減率の計算にこれを用いてもよい。周波数の重み関数w(x)は、例えば人間の目につきやすいノイズの周波数に大きい重み与えればよい。 As described above, it is possible to represent the noise reduction rate k 1 from the characteristics of the prefilter, and this may be used for calculation of the noise reduction rate of the reduction processing unit 202. For the frequency weighting function w (x), for example, a large weight may be given to a frequency of noise that is easily noticeable by human eyes.

(第4の実施形態)
次に、第4の実施形態について説明する。第4の実施形態では、縮小処理部202の構成が第1の実施形態と相違している。他の構成は第1の実施形態と同様である。図12は、第4の実施形態における縮小処理部202の構成を示すブロック図である。図12に示すように、縮小処理部202には、縮小率決定部1201、サンプリング位相決定部1202、LPF部1203、間引き・補間処理部1204及び感度情報取得部1205が含まれている。
(Fourth embodiment)
Next, a fourth embodiment will be described. In the fourth embodiment, the configuration of the reduction processing unit 202 is different from that of the first embodiment. Other configurations are the same as those of the first embodiment. FIG. 12 is a block diagram illustrating a configuration of the reduction processing unit 202 in the fourth embodiment. As illustrated in FIG. 12, the reduction processing unit 202 includes a reduction rate determination unit 1201, a sampling phase determination unit 1202, an LPF unit 1203, a thinning / interpolation processing unit 1204, and a sensitivity information acquisition unit 1205.

縮小率決定部1201、LPF部1203及び間引き・補間処理部1204は、第1の実施形態の縮小率決定部1201、LPF部1203及び間引き・補間処理部1204と同様の動作を行う。感度情報取得部1205は、撮像素子102から制御部106を通じて撮影時の感度情報、つまり画像データの取得時の感度情報を取得し、サンプリング位相決定部1202に感度情報を入力する。サンプリング位相決定部1202は、縮小率決定部701により決定された縮小率及び感度情報取得部1205から入力された感度情報に応じて、縮小処理後のサンプリング位相を決定する。   The reduction rate determination unit 1201, the LPF unit 1203, and the thinning / interpolation processing unit 1204 perform the same operations as the reduction rate determination unit 1201, the LPF unit 1203, and the thinning / interpolation processing unit 1204 of the first embodiment. The sensitivity information acquisition unit 1205 acquires sensitivity information at the time of shooting, that is, sensitivity information at the time of acquisition of image data, from the image sensor 102 through the control unit 106, and inputs the sensitivity information to the sampling phase determination unit 1202. The sampling phase determination unit 1202 determines the sampling phase after the reduction process according to the reduction rate determined by the reduction rate determination unit 701 and the sensitivity information input from the sensitivity information acquisition unit 1205.

低感度で撮影を行う場合、縮小処理部202に入力される画像に含まれるノイズ量は少量であり、画像サイズ順にノイズ量が並んでいないという問題が画像に現れにくい。一方で、撮影が高感度で行われるほど、縮小処理部202に入力される画像に含まれるノイズ量は多くなり、画像サイズ順にノイズ量が並んでいないという問題が顕著になる。このため、例えば、ノイズが少量の画像に対しても第1、第2の実施形態のように位相ずらしの処理を行うと、解像感が落ちただけのように見えることもある。従って、位相ずらしの処理を行わない方がよい場合もある。そこで、本実施形態では、取得した感度に応じて、サンプリング位相決定部1202の動作を変更する。   When shooting with low sensitivity, the amount of noise included in the image input to the reduction processing unit 202 is small, and the problem that the amount of noise is not arranged in order of image size is unlikely to appear in the image. On the other hand, as the shooting is performed with higher sensitivity, the amount of noise included in the image input to the reduction processing unit 202 increases, and the problem that the amounts of noise are not arranged in the order of image size becomes significant. For this reason, for example, when a phase shift process is performed on an image with a small amount of noise as in the first and second embodiments, it may appear that the resolution is only reduced. Therefore, it may be better not to perform the phase shifting process. Therefore, in the present embodiment, the operation of the sampling phase determination unit 1202 is changed according to the acquired sensitivity.

ここで、縮小処理部202の動作の概要について説明する。図13は、第4の実施形態における縮小処理部202の動作を示すフローチャートである。   Here, an outline of the operation of the reduction processing unit 202 will be described. FIG. 13 is a flowchart illustrating the operation of the reduction processing unit 202 according to the fourth embodiment.

先ず、ステップS1301において、縮小率決定部1201が縮小率を決定する。縮小率決定部1201は、縮小率決定部301と同様に、ユーザの入力に基づいて縮小率を決定してもよく、何らかの方法でユーザの入力を考慮せずに自動的に決定してもよい。次いで、ステップS1302において、LPF部1203が、ステップS1301において決定された縮小率に応じたプレフィルタを選択する。その後、感度情報取得部1205が、ステップS1303において感度情報を取得し、ステップS1304において感度がしきい値以上かどうかを判断する。このしきい値はユーザの操作部107からの入力により決定してもよく、シーンに応じて画像処理装置が自動的に決定してもよい。   First, in step S1301, the reduction rate determination unit 1201 determines the reduction rate. Similar to the reduction rate determination unit 301, the reduction rate determination unit 1201 may determine the reduction rate based on the user's input, or may automatically determine it without considering the user's input by any method. . Next, in step S1302, the LPF unit 1203 selects a prefilter according to the reduction ratio determined in step S1301. Thereafter, the sensitivity information acquisition unit 1205 acquires sensitivity information in step S1303, and determines in step S1304 whether the sensitivity is equal to or higher than a threshold value. This threshold value may be determined by an input from the user operation unit 107, or may be automatically determined by the image processing apparatus according to the scene.

そして、感度がしきい値以上の場合、ステップS1305へと進み、サンプリング位相決定部1202が第1の実施形態と同様にして画素サンプリング位相を決定する。次いで、ステップS1306において、LPF部1203が、ステップS1302で選択したプレフィルタを用いて、画像変換部201から出力された画像データ、つまり縮小処理部202への入力画像データのプレフィルタ処理を行う。そして、ステップS1307において、間引き・補間処理部1204が、ステップS1301において決定された縮小率及びステップS1305において決定された画素サンプリング位相に基づき画像データを縮小する。   If the sensitivity is equal to or greater than the threshold value, the process advances to step S1305, and the sampling phase determination unit 1202 determines the pixel sampling phase in the same manner as in the first embodiment. In step S1306, the LPF unit 1203 performs prefiltering of the image data output from the image conversion unit 201, that is, input image data to the reduction processing unit 202, using the prefilter selected in step S1302. In step S1307, the thinning / interpolation processing unit 1204 reduces the image data based on the reduction ratio determined in step S1301 and the pixel sampling phase determined in step S1305.

一方、感度がしきい値未満の場合には、ステップS1308へと進み、ステップS1308において、LPF部1203が、ステップS1302で選択したプレフィルタを用いて、画像変換部201から出力された画像データのプレフィルタ処理を行う。そして、ステップS1309において、間引き・補間処理部1204が、ステップS1301において決定された縮小率に基づき画像データを縮小する。つまり、間引き・補間処理部1204は画素サンプリング位相を変更することなく、画像データを縮小する。   On the other hand, if the sensitivity is less than the threshold value, the process proceeds to step S1308. In step S1308, the LPF unit 1203 uses the prefilter selected in step S1302 to output the image data output from the image conversion unit 201. Perform prefiltering. In step S1309, the thinning / interpolation processing unit 1204 reduces the image data based on the reduction ratio determined in step S1301. That is, the thinning / interpolation processing unit 1204 reduces the image data without changing the pixel sampling phase.

このような第4の実施形態によれば、撮影時の感度情報に応じて、サンプリング位相決定部1202の動作が変更され、適切に画素サンプリング位相の変更の有無を切り替えることができる。   According to the fourth embodiment, the operation of the sampling phase determination unit 1202 is changed according to the sensitivity information at the time of shooting, and whether or not the pixel sampling phase is changed can be appropriately switched.

なお、第4の実施形態では、感度のしきい値に応じてサンプリング位相決定部1202の動作の有無が切り替えられるが、感度に応じてサンプリング位相のずらし量を変更してもよい。この場合の縮小処理部202の動作を図14に示す。   In the fourth embodiment, whether or not the sampling phase determination unit 1202 operates is switched according to the sensitivity threshold value, but the sampling phase shift amount may be changed according to the sensitivity. The operation of the reduction processing unit 202 in this case is shown in FIG.

この場合、先ず、ステップS1401において、縮小率決定部1201が縮小率を決定する。次いで、ステップS1402において、LPF部1203が、ステップS1301において決定された縮小率に応じたプレフィルタを選択する。その後、ステップS1403において、感度情報取得部1205が感度情報を取得し、サンプリング位相決定部1202に入力する。続いて、ステップS1404において、サンプリング位相決定部1202が、ステップS1403において入力された感度情報及びステップS1401において決定された縮小率に応じた画素サンプリング位相を決定する。サンプリング位相決定部1202は、例えば、高感度で撮影が行われている場合は1/2倍縮小において最もノイズ量が最も低減される1/2画素位相ずらしを行い、低感度での撮影ほど、位相ずらし量を減少させるように画素サンプリング位相を決定する。縮小率、感度、ずらすサンプリング位相の関係は、例えば(4)式及び(5)式を用いて算出したノイズ低減率に基づき、前もって決めておけばよい。そして、ステップS1405において、LPF部1203が縮小処理部202への入力画像データのプレフィルタ処理を行い、ステップS1307において、間引き・補間処理部1204が画像データを縮小する。   In this case, first, in step S1401, the reduction rate determination unit 1201 determines the reduction rate. Next, in step S1402, the LPF unit 1203 selects a pre-filter according to the reduction ratio determined in step S1301. Thereafter, in step S1403, the sensitivity information acquisition unit 1205 acquires sensitivity information and inputs the sensitivity information to the sampling phase determination unit 1202. Subsequently, in step S1404, the sampling phase determination unit 1202 determines the pixel sampling phase according to the sensitivity information input in step S1403 and the reduction ratio determined in step S1401. For example, when shooting is performed with high sensitivity, the sampling phase determination unit 1202 performs a 1/2 pixel phase shift in which the amount of noise is reduced most in 1/2 reduction, and as the shooting with low sensitivity is performed, The pixel sampling phase is determined so as to reduce the phase shift amount. The relationship between the reduction ratio, sensitivity, and shifted sampling phase may be determined in advance based on, for example, the noise reduction ratio calculated using Expressions (4) and (5). In step S1405, the LPF unit 1203 performs pre-filter processing on the input image data to the reduction processing unit 202. In step S1307, the thinning / interpolation processing unit 1204 reduces the image data.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

本発明の各工程は、ネットワーク又は各種記憶媒体を介して取得したソフトウェア(プログラム)をパーソナルコンピュータ等の処理装置(CPU、プロセッサ)にて実行することでも実現できる。   Each process of the present invention can also be realized by executing software (program) acquired via a network or various storage media by a processing device (CPU, processor) such as a personal computer.

301、701、1201:縮小率決定部 302、702、1202:サンプリング位相決定部 303、703、1203:LPF部 304、704、1204:間引き・補間処理部 705:ノイズ評価値算出部 1205:感度情報取得部   301, 701, 1201: Reduction rate determination unit 302, 702, 1202: Sampling phase determination unit 303, 703, 1203: LPF unit 304, 704, 1204: Decimation / interpolation processing unit 705: Noise evaluation value calculation unit 1205: Sensitivity information Acquisition department

Claims (12)

画像データの縮小処理を行う縮小手段と、
前記縮小処理における画素サンプリングの位相を決定するサンプリング位相決定手段と、
を有し、
前記縮小手段は、前記縮小処理前の画像の画素の間引き処理及び補間処理の少なくともいずれかを行うことにより前記縮小処理後の画像の画素値を決定し、
前記サンプリング位相決定手段は、前記縮小手段により行われる縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理後のノイズ量が、縮小率が大きい縮小処理後のノイズ量以下となるように前記画素サンプリングの位相を決定することを特徴とする画像処理装置。
Reduction means for reducing the image data;
Sampling phase determining means for determining a phase of pixel sampling in the reduction processing;
Have
The reduction means determines a pixel value of the image after the reduction process by performing at least one of a pixel thinning process and an interpolation process of the image before the reduction process,
The sampling phase determining means is configured such that, between any two reduction processes with different reduction ratios performed by the reduction means, the noise amount after the reduction process with a small reduction ratio is equal to or less than the noise amount after the reduction process with a large reduction ratio. An image processing apparatus that determines a phase of the pixel sampling so that
前記サンプリング位相決定手段は、前記縮小処理の前後のノイズ量の関係を表すノイズ評価値に基づいて、前記画素サンプリングの位相を決定することを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the sampling phase determination unit determines a phase of the pixel sampling based on a noise evaluation value that represents a relationship between noise amounts before and after the reduction process. 前記サンプリング位相決定手段は、前記ノイズ評価値が縮小率の順に並ぶように前記画素サンプリングの位相を決定することを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the sampling phase determination unit determines the phase of the pixel sampling so that the noise evaluation values are arranged in order of reduction ratios. 前記サンプリング位相決定手段は、縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理におけるノイズ評価値が、縮小率が大きい縮小処理におけるノイズ評価値以下となるように前記画素サンプリングの位相を決定することを特徴とする請求項2に記載の画像処理装置。   The sampling phase determining means is configured to select the pixel so that a noise evaluation value in a reduction process with a small reduction ratio is equal to or less than a noise evaluation value in a reduction process with a high reduction ratio between any two reduction processes with different reduction ratios. The image processing apparatus according to claim 2, wherein a phase of sampling is determined. 前記ノイズ評価値は、前記縮小処理前の画像の1画素あたりの平均ノイズ量を分母に、前記縮小処理後の画像の1画素あたりの平均ノイズ量を分子とした値であることを特徴とする請求項2乃至4のいずれか1項に記載の画像処理装置。   The noise evaluation value is a value obtained by using an average noise amount per pixel of the image before the reduction process as a denominator and an average noise amount per pixel of the image after the reduction process as a numerator. The image processing apparatus according to claim 2. 前記ノイズ評価値は、前記縮小手段による補間処理における補間係数又は縮小率に関連していることを特徴とする請求項2乃至5のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the noise evaluation value is related to an interpolation coefficient or a reduction rate in the interpolation processing by the reduction unit. 前記縮小処理の前に前記画像データの帯域制限処理を行う低域フィルタ処理手段を有し、
前記ノイズ評価値は、前記帯域制限処理によるノイズ量の変化に関連していることを特徴とする請求項2乃至6のいずれか1項に記載の画像処理装置。
Low-pass filter processing means for performing band limiting processing of the image data before the reduction processing;
The image processing apparatus according to claim 2, wherein the noise evaluation value is related to a change in noise amount due to the band limitation process.
前記縮小処理の前に前記画像データの帯域制限処理を行う低域フィルタ処理手段を有し、
前記ノイズ評価値は、前記帯域制限処理に用いられるフィルタの係数又は周波数特性に関連していることを特徴とする請求項2乃至7のいずれか1項に記載の画像処理装置。
Low-pass filter processing means for performing band limiting processing of the image data before the reduction processing;
The image processing apparatus according to claim 2, wherein the noise evaluation value is related to a coefficient or a frequency characteristic of a filter used for the band limitation process.
前記縮小処理の前に前記画像データの帯域制限処理を行う低域フィルタ処理手段を有し、
前記ノイズ評価値は、前記帯域制限処理に用いられるフィルタの周波数特性、及び当該フィルタの周波数ごとに異なる重みを与える重み関数に関連していることを特徴とする請求項2乃至8のいずれか1項に記載の画像処理装置。
Low-pass filter processing means for performing band limiting processing of the image data before the reduction processing;
9. The noise evaluation value according to claim 2, wherein the noise evaluation value is related to a frequency characteristic of a filter used for the band limiting process and a weight function that gives a different weight for each frequency of the filter. The image processing apparatus according to item.
前記画像データの取得時の感度情報を取得する感度情報取得手段を有し、
前記ノイズ評価値は、前記感度情報に関連していることを特徴とする請求項2乃至9のいずれか1項に記載の画像処理装置。
Sensitivity information acquisition means for acquiring sensitivity information at the time of acquisition of the image data,
The image processing apparatus according to claim 2, wherein the noise evaluation value is related to the sensitivity information.
画像データの縮小処理を行う縮小ステップと、
前記縮小処理における画素サンプリングの位相を決定するサンプリング位相決定ステップと、
を有し、
前記縮小ステップは、前記縮小処理前の画像の画素の間引き処理及び補間処理の少なくともいずれかを行うことにより前記縮小処理後の画像の画素値を決定するステップを有し、
前記サンプリング位相決定ステップは、前記縮小ステップにおいて行う縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理後のノイズ量が、縮小率が大きい縮小処理後のノイズ量以下となるように前記画素サンプリングの位相を決定するステップを有することを特徴とする画像処理方法。
A reduction step for reducing the image data;
A sampling phase determining step for determining a phase of pixel sampling in the reduction processing;
Have
The reduction step includes a step of determining a pixel value of the image after the reduction process by performing at least one of a pixel thinning process and an interpolation process of the image before the reduction process,
In the sampling phase determination step, between any two reduction processes with different reduction ratios performed in the reduction step, a noise amount after the reduction process with a small reduction ratio is equal to or less than a noise amount after the reduction process with a large reduction ratio. An image processing method comprising a step of determining a phase of the pixel sampling so as to become.
コンピュータに、
画像データの縮小処理を行う縮小ステップと、
前記縮小処理における画素サンプリングの位相を決定するサンプリング位相決定ステップと、
を実行させ、
前記縮小ステップは、前記縮小処理前の画像の画素の間引き処理及び補間処理の少なくともいずれかを行うことにより前記縮小処理後の画像の画素値を決定するステップを有し、
前記サンプリング位相決定ステップは、前記縮小ステップにおいて行う縮小率が異なる任意の2つの縮小処理の間で、縮小率が小さい縮小処理後のノイズ量が、縮小率が大きい縮小処理後のノイズ量以下となるように前記画素サンプリングの位相を決定するステップを有することを特徴とするプログラム。
On the computer,
A reduction step for reducing the image data;
A sampling phase determining step for determining a phase of pixel sampling in the reduction processing;
And execute
The reduction step includes a step of determining a pixel value of the image after the reduction process by performing at least one of a pixel thinning process and an interpolation process of the image before the reduction process,
In the sampling phase determination step, between any two reduction processes with different reduction ratios performed in the reduction step, a noise amount after the reduction process with a small reduction ratio is equal to or less than a noise amount after the reduction process with a large reduction ratio. A program comprising the step of determining the phase of the pixel sampling so as to become.
JP2013166854A 2013-08-09 2013-08-09 Image processing system and image processing method Pending JP2015035775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013166854A JP2015035775A (en) 2013-08-09 2013-08-09 Image processing system and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013166854A JP2015035775A (en) 2013-08-09 2013-08-09 Image processing system and image processing method

Publications (1)

Publication Number Publication Date
JP2015035775A true JP2015035775A (en) 2015-02-19

Family

ID=52543989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013166854A Pending JP2015035775A (en) 2013-08-09 2013-08-09 Image processing system and image processing method

Country Status (1)

Country Link
JP (1) JP2015035775A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115767287A (en) * 2021-09-03 2023-03-07 荣耀终端有限公司 Image processing method and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115767287A (en) * 2021-09-03 2023-03-07 荣耀终端有限公司 Image processing method and electronic equipment
WO2023030135A1 (en) * 2021-09-03 2023-03-09 荣耀终端有限公司 Image processing method and electronic device
CN115767287B (en) * 2021-09-03 2023-10-27 荣耀终端有限公司 Image processing method and electronic equipment

Similar Documents

Publication Publication Date Title
JP4646146B2 (en) Image processing apparatus, image processing method, and program
US9066034B2 (en) Image processing apparatus, method and program with different pixel aperture characteristics
JP5766077B2 (en) Image processing apparatus and image processing method for noise reduction
JP2010049610A (en) Image processor, imaging apparatus, image processing method, and program
US10853926B2 (en) Image processing device, imaging device, and image processing method
JP6071419B2 (en) Image processing apparatus and image processing method
JP6714078B2 (en) Image processing apparatus, image processing method, and image processing program
JP2014021928A (en) Image processor, image processing method and program
GB2547842A (en) Image processing device and method, image pickup device, program, and recording medium
JP2008077501A (en) Image processing device and image processing control program
JP5765893B2 (en) Image processing apparatus, imaging apparatus, and image processing program
CN114170073A (en) Image processing method, image processing apparatus, learning method, learning apparatus, and storage medium
JP2012090146A (en) Image processing device, image processing method, and program
JP2011199407A (en) Imaging device, image processor, and image processing method
JP2015035775A (en) Image processing system and image processing method
JP6938282B2 (en) Image processing equipment, image processing methods and programs
JP2012095341A (en) Imaging apparatus
JP5024300B2 (en) Image processing apparatus, image processing method, and program
JP2014074777A (en) Focus evaluation value generation device, focus evaluation value generation method, and focus evaluation value generation program
JP2013235456A (en) Image processing apparatus, and control method and program of the same
JP2012244252A (en) Image processing apparatus, image processing method, and image processing program
JP6245847B2 (en) Image processing apparatus and image processing method
JP2020092288A (en) Image processing device, image processing method, and program
US9648232B2 (en) Image processing apparatus, image capturing apparatus, control method and recording medium
JP6584173B2 (en) Image processing apparatus and image processing method