JP6180728B2 - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP6180728B2 JP6180728B2 JP2012265772A JP2012265772A JP6180728B2 JP 6180728 B2 JP6180728 B2 JP 6180728B2 JP 2012265772 A JP2012265772 A JP 2012265772A JP 2012265772 A JP2012265772 A JP 2012265772A JP 6180728 B2 JP6180728 B2 JP 6180728B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- image
- raw data
- region
- image processing
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Color Television Image Signal Generators (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
- Color Image Communication Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、画像処理装置、画像処理方法、およびプログラムに関する。 The present invention relates to an image processing device, an image processing method, and a program.
RAWデータのゲインを調整することによってホワイトバランスを調整するホワイトバランス処理が、RAWデータに対する画像処理の一つとして行われている。RAWデータに対してホワイトバランス処理を行う技術としては、例えば特許文献1に記載の技術が挙げられる。
White balance processing for adjusting white balance by adjusting the gain of RAW data is performed as one of image processing for RAW data. As a technique for performing white balance processing on RAW data, for example, a technique described in
近年、RAWデータ(撮像により得られた未加工の画像であるRAW画像を示すデータ。以下、同様とする。)に対する画像処理を、撮像を行った撮像装置に行わせるのではなく、RAWデータを記録媒体に記録させ、当該記録媒体に記憶されているRAWデータに対する画像処理を、PC(Personal Computer)などのコンピュータに行わせるユーザが、増加している In recent years, instead of causing the imaging device that performed imaging to perform image processing on RAW data (data indicating a RAW image, which is a raw image obtained by imaging, hereinafter the same), RAW data is used. An increasing number of users have recorded on a recording medium and have a computer such as a PC (Personal Computer) perform image processing on RAW data stored in the recording medium.
ここで、RAWデータは、例えば、ホワイトバランス処理やコントラスト調整処理、ノイズ除去処理などの画像処理前の未加工のデータであることから、一般的にサイズが大きい。そのため、RAWデータをより効率よく圧縮して、RAWデータのサイズをより小さくすることができれば、例えば記録媒体へと記録可能な画像数(RAWデータが示す画像の数)を増やすことが可能となる。よって、例えば、RAWデータをより効率よく圧縮することによって、ユーザの利便性の向上を図ることができる。 Here, since the RAW data is raw data before image processing such as white balance processing, contrast adjustment processing, and noise removal processing, for example, the size is generally large. Therefore, if the RAW data can be more efficiently compressed and the size of the RAW data can be reduced, for example, the number of images that can be recorded on the recording medium (the number of images indicated by the RAW data) can be increased. . Therefore, for example, the user convenience can be improved by more efficiently compressing the RAW data.
また、撮像装置においてRAWデータに対して画像処理を行う場合においても、撮像素子から得られたRAWデータを、SDRAM(Synchronous Dynamic Random Access Memory)などのメモリに転送して記録した後に、当該メモリに記憶されたRAWデータに対して画像処理を行うことは、一般的に行われている。 Further, even when image processing is performed on RAW data in the imaging apparatus, the RAW data obtained from the imaging element is transferred to a memory such as an SDRAM (Synchronous Dynamic Random Access Memory) and recorded, and then stored in the memory. It is common to perform image processing on stored RAW data.
上記のように、撮像装置においてRAWデータに対して画像処理を行う場合においても、RAWデータをより効率よく圧縮して、RAWデータのサイズをより小さくすることによって、データ転送により発生する消費電力を抑えることが可能となる。よって、例えば撮像装置がバッテリなどの内部電源によって駆動する場合には、RAWデータのサイズをより小さくすることによって、撮像装置の駆動時間をより長くすることができる。 As described above, even when image processing is performed on RAW data in the imaging apparatus, power consumption generated by data transfer can be reduced by compressing the RAW data more efficiently and reducing the size of the RAW data. It becomes possible to suppress. Therefore, for example, when the imaging device is driven by an internal power source such as a battery, the driving time of the imaging device can be further increased by reducing the size of the RAW data.
よって、RAWデータをより効率よく圧縮することは、ユーザの利便性の向上を図る上で、また、データ転送に係る消費電力を低減する上で、重要である。 Therefore, compressing RAW data more efficiently is important for improving user convenience and reducing power consumption for data transfer.
ここで、例えば特許文献1に記載の技術では、RAWデータに対してホワイトバランス処理を行い、その後、ホワイトバランス処理後の画像を圧縮している。しかしながら、例えば特許文献1に記載の技術では、RAWデータをより効率よく圧縮することについては、何らの考慮もなされていない。よって、例えば特許文献1に記載の技術を用いたとしても、非効率な圧縮となる恐れがある。
Here, for example, in the technique described in
本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、RAWデータをより効率よく圧縮させることが可能な、新規かつ改良された画像処理装置、画像処理方法、およびプログラムを提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a new and improved image processing apparatus, image processing method, and image processing apparatus capable of more efficiently compressing RAW data. And to provide a program.
上記目的を達成するために、本発明の第1の観点によれば、撮像により得られた未加工の画像であるRAW画像を示すRAWデータに基づいて、上記RAW画像に含まれる白とび領域に該当する領域を判定する判定部と、判定された上記白とび領域に該当する領域に対応する上記RAWデータに対して、画像空間周波数の分布変換を選択的に行う変換部と、を備え、上記変換部は、上記白とび領域に該当する領域において、設定されている基準画素以外の画素の輝度変化を小さくする、画像処理装置が提供される。 In order to achieve the above object, according to the first aspect of the present invention, an overexposed region included in the RAW image is generated based on RAW data indicating a RAW image that is a raw image obtained by imaging. A determination unit that determines a corresponding region, and a conversion unit that selectively performs distribution conversion of an image spatial frequency on the RAW data corresponding to the determined region corresponding to the overexposed region, An image processing apparatus is provided in which the conversion unit reduces a luminance change of pixels other than the set reference pixel in an area corresponding to the overexposed area.
かかる構成によって、RAWデータにおける不要な情報を低減することが可能となるので、RAWデータをより効率よく圧縮させることができる。 With this configuration, unnecessary information in the RAW data can be reduced, so that the RAW data can be compressed more efficiently.
また、上記変換部は、上記白とび領域に該当する領域において、上記基準画素以外の画素の輝度変化をゼロにしてもよい。 Further, the conversion unit may set the luminance change of pixels other than the reference pixel to zero in an area corresponding to the overexposure area.
また、上記判定部は、上記基準画素の画素値と所定の閾値との比較結果、および、上記基準画素以外の画素それぞれの画素値と対応するホワイトバランス係数とを乗算した値と、上記所定の閾値との比較結果に基づいて、上記白とび領域に該当する領域を判定してもよい。 In addition, the determination unit multiplies the comparison result between the pixel value of the reference pixel and a predetermined threshold, the pixel value of each pixel other than the reference pixel and the corresponding white balance coefficient, and the predetermined value. An area corresponding to the overexposed area may be determined based on a comparison result with a threshold value.
また、上記画像空間周波数の分布変換が選択的に行われたRAWデータに対して、画像圧縮処理を行う圧縮処理部をさらに備えていてもよい。 The image processing apparatus may further include a compression processing unit that performs an image compression process on the RAW data that has been subjected to the image spatial frequency distribution conversion.
また、上記目的を達成するために、本発明の第2の観点によれば、撮像により得られた未加工の画像であるRAW画像を示すRAWデータに基づいて、上記RAW画像に含まれる白とび領域に該当する領域を判定するステップと、判定された上記白とび領域に該当する領域に対応する上記RAWデータに対して、画像空間周波数の分布変換を選択的に行うステップと、を有し、上記画像空間周波数の分布変換を行うステップでは、上記白とび領域に該当する領域において、設定されている基準画素以外の画素の輝度変化を小さくする、画像処理方法が提供される。 In order to achieve the above object, according to the second aspect of the present invention, the overexposure included in the RAW image is based on the RAW data indicating the RAW image which is a raw image obtained by imaging. A step of determining a region corresponding to a region, and a step of selectively performing distribution transformation of an image spatial frequency on the RAW data corresponding to the determined region corresponding to the overexposed region, In the step of performing the distribution conversion of the image spatial frequency, there is provided an image processing method for reducing a luminance change of pixels other than the set reference pixel in the region corresponding to the overexposed region.
かかる方法を用いることによって、RAWデータにおける不要な情報を低減することが可能となるので、RAWデータをより効率よく圧縮させることができる。 By using such a method, unnecessary information in the RAW data can be reduced, so that the RAW data can be compressed more efficiently.
また、上記目的を達成するために、本発明の第3の観点によれば、撮像により得られた未加工の画像であるRAW画像を示すRAWデータに基づいて、上記RAW画像に含まれる白とび領域に該当する領域を判定する判定手段、判定された上記白とび領域に該当する領域に対応する上記RAWデータに対して、画像空間周波数の分布変換を選択的に行う変換手段、としてコンピュータを機能させ、上記変換手段は、上記白とび領域に該当する領域において、設定されている基準画素以外の画素の輝度変化を小さくする、プログラムが提供される。 In order to achieve the above object, according to the third aspect of the present invention, the overexposure included in the RAW image is based on the RAW data indicating the RAW image which is a raw image obtained by imaging. The computer functions as a determination unit that determines a region corresponding to a region, and a conversion unit that selectively performs distribution conversion of an image spatial frequency on the RAW data corresponding to the determined region corresponding to the overexposed region. The converting means is provided with a program for reducing a change in luminance of pixels other than the set reference pixel in an area corresponding to the overexposed area.
かかるプログラムが用いられることによって、RAWデータにおける不要な情報を低減することが可能となるので、RAWデータをより効率よく圧縮させることができる。 By using such a program, unnecessary information in the RAW data can be reduced, so that the RAW data can be compressed more efficiently.
本発明によれば、RAWデータをより効率よく圧縮させることができる。 According to the present invention, RAW data can be compressed more efficiently.
以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書および図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the present specification and drawings, components having substantially the same functional configuration are denoted by the same reference numerals, and redundant description is omitted.
また、以下では、RAWデータが、ベイヤ配列の撮像素子やカラーフィルタにより得られる、R(Red)画素、G(Green)画素、B(Blue)画素を含む画像データである場合を例に挙げて説明する。なお、本発明の実施形態に係る画像処理方法が適用可能なRAWデータは、ベイヤ配列の撮像素子などにより得られた画像データに限られない。例えば、本発明の実施形態に係る画像処理方法は、“RGB+W”や、“RGB+IR”、“RGB+S”など様々な画像データに適用することが可能である。 In the following, a case where the RAW data is image data including an R (Red) pixel, a G (Green) pixel, and a B (Blue) pixel obtained by a Bayer array image sensor or a color filter will be described as an example. explain. Note that the RAW data to which the image processing method according to the embodiment of the present invention can be applied is not limited to the image data obtained by the Bayer array image sensor or the like. For example, the image processing method according to the embodiment of the present invention can be applied to various image data such as “RGB + W”, “RGB + IR”, and “RGB + S”.
[1]既存の画像圧縮における問題
本発明の実施形態に係る画像処理方法に係る処理を行うことが可能な、本発明の実施形態に係る画像処理装置の構成の一例について説明する前に、まず、RAWデータに対する既存の画像圧縮における問題の一例について説明する。
[1] Problems in Existing Image Compression Before describing an example of a configuration of an image processing apparatus according to an embodiment of the present invention that can perform processing according to an image processing method according to an embodiment of the present invention, first, An example of a problem in existing image compression for RAW data will be described.
図1は、RAWデータに対する既存の画像圧縮における問題の一例を説明するための説明図である。図1に示すAは、ホワイトバランス処理が行われる前のRAWデータの画素値の一例を示しており、図1に示すBは、ホワイトバランス処理が行われた後のRAWデータの画素値の一例を示している。ここで、図1において横軸は光源の強さのレベル(1<2<3<4<5)を示しており、縦軸は画素値を示している。また、図1では、RAWデータが、グレー(1:より黒に近いグレー、…、5:より白に近いグレー)を示す画像である例を示している。また、図1に示す飽和値とは、RAWデータのビット数の上限値(例えば、8ビットであれば、256)を示している。 FIG. 1 is an explanatory diagram for explaining an example of a problem in existing image compression for RAW data. 1 shows an example of pixel values of RAW data before white balance processing is performed, and B shown in FIG. 1 shows an example of pixel values of RAW data after white balance processing is performed. Is shown. Here, in FIG. 1, the horizontal axis indicates the intensity level of the light source (1 <2 <3 <4 <5), and the vertical axis indicates the pixel value. FIG. 1 shows an example in which the RAW data is an image indicating gray (1: gray closer to black,..., 5: gray closer to white). Further, the saturation value shown in FIG. 1 indicates an upper limit value of the number of bits of RAW data (for example, 256 if it is 8 bits).
例えば、図1のAに示すように、RAWデータがグレーを示す画像である場合には、画素値は、“G>R>B”となる特性を有する。上記特性を鑑みて、R画素/G画素/B画素がそれぞれ同じ値となるように、ゲイン係数を乗算する処理が行われることによって、例えば図1のBに示すように、ホワイトバランス処理が実現される。 For example, as shown in FIG. 1A, when the RAW data is an image indicating gray, the pixel value has a characteristic of “G> R> B”. In view of the above characteristics, white balance processing is realized, for example, as shown in FIG. 1B by performing processing of multiplying the gain coefficient so that the R pixel / G pixel / B pixel have the same value. Is done.
撮像素子は、表現可能なレンジが決まっており、ホワイトバランス処理のRAWデータは、例えば図1のAに示す“3”、“4”、“5”に示すように、被写体の輝度がある一定より大きくなると、G画素から飽和する。 The image sensor has a range that can be expressed, and the RAW data of the white balance processing has a constant luminance of the subject as shown in “3”, “4”, and “5” shown in FIG. When it becomes larger, the G pixel is saturated.
ホワイトバランス処理が行われると、例えば、R画素/G画素/B画素それぞれに、ホワイトバランスを調整するためのゲイン係数(以下、「ホワイトバランス係数」と示す場合がある。)が乗算される。その結果、例えば図1のBに示す“3”、“4”、“5”に示すように、R画素/G画素/B画素がそれぞれ飽和する。ここで、例えば図1のBに示す“3”、“4”、“5”に示すように、ホワイトバランス処理後に、R画素/G画素/B画素が飽和している領域は、「白とび領域」とよばれる。 When the white balance processing is performed, for example, each of the R pixel / G pixel / B pixel is multiplied by a gain coefficient for adjusting the white balance (hereinafter sometimes referred to as “white balance coefficient”). As a result, for example, as indicated by “3”, “4”, and “5” shown in FIG. 1B, the R pixel / G pixel / B pixel is saturated. Here, for example, as shown by “3”, “4”, and “5” shown in FIG. 1B, after white balance processing, the area where the R pixel / G pixel / B pixel is saturated is “whiteout”. It is called “Area”.
一般的に、ユーザが鑑賞する画像は、ホワイトバランス処理を含む画像処理後の画像データが示す画像であるため、RAWデータにおける“白とび領域に該当する領域”(ホワイトバランス処理後に、白とび領域となる領域。以下、同様とする。)中の、R画素/B画素の輝度差(画像空間周波数成分)は、不要な情報(データ)であるといえる。 In general, since an image that a user views is an image indicated by image data after image processing including white balance processing, an “area corresponding to a whiteout region” in RAW data (a whiteout region after white balance processing) The luminance difference (image spatial frequency component) of the R pixel / B pixel in the region (hereinafter, the same shall apply) can be said to be unnecessary information (data).
しかしながら、既存の技術に係るRAWデータに対する画像圧縮処理は、上記不要な情報を含めて圧縮を行う。よって、既存の技術に係るRAWデータに対する画像圧縮処理は、非効率な圧縮であるといえる。 However, the image compression processing for RAW data according to the existing technology performs compression including the unnecessary information. Therefore, it can be said that the image compression processing for RAW data according to the existing technology is inefficient compression.
[2]本発明の実施形態に係る画像処理装置
そこで、本発明の実施形態に係る画像処理装置は、本発明の実施形態に係る画像処理方法に係る処理として、RAWデータに基づいて、RAW画像に含まれる白とび領域に該当する領域を判定する(判定処理)。本発明の実施形態に係る判定処理の一例については、後述する。
[2] Image processing apparatus according to an embodiment of the present invention Therefore, an image processing apparatus according to an embodiment of the present invention is a RAW image based on RAW data as a process related to an image processing method according to an embodiment of the present invention. An area corresponding to the overexposed area included in the image is determined (determination process). An example of the determination process according to the embodiment of the present invention will be described later.
また、本発明の実施形態に係る画像処理装置は、上記判定処理において判定された白とび領域に該当する領域に対応するRAWデータに対して、画像空間周波数の分布変換を選択的に行う(変換処理)。より具体的には、本発明の実施形態に係る画像処理装置は、例えば、白とび領域に該当する領域において、設定されている基準画素以外の画素の輝度変化を小さくする。 In addition, the image processing apparatus according to the embodiment of the present invention selectively performs distribution conversion of image spatial frequency on RAW data corresponding to a region corresponding to a whiteout region determined in the determination process (conversion). processing). More specifically, the image processing apparatus according to the embodiment of the present invention reduces the luminance change of pixels other than the set reference pixel in, for example, a region corresponding to a whiteout region.
ここで、本発明の実施形態に係る基準画素としては、例えば、被写体の輝度がある一定より大きくなると最初に飽和する色の画素が挙げられる。例えば図1に示す例では、設定される本発明の実施形態に係る基準画素としては、G画素が挙げられる。なお、本発明の実施形態に係る基準画素は、G画素に限られない。例えば、光源の種類によっては、R画素や、B画素が、設定される本発明の実施形態に係る基準画素となりうる。ここで、本発明の実施形態に係る基準画素は、例えば、予め設定されていてもよいし、ユーザ操作や光源の検出結果などに基づいて、設定(再設定)されてもよい。 Here, as the reference pixel according to the embodiment of the present invention, for example, a pixel of a color that first saturates when the luminance of the subject exceeds a certain level. For example, in the example illustrated in FIG. 1, the reference pixel according to the embodiment of the present invention to be set includes a G pixel. Note that the reference pixel according to the embodiment of the present invention is not limited to the G pixel. For example, depending on the type of light source, the R pixel and the B pixel can be set as the reference pixels according to the embodiment of the present invention. Here, the reference pixel according to the embodiment of the present invention may be set in advance, or may be set (reset) based on a user operation, a light source detection result, or the like.
上記のように、本発明の実施形態に係る画像処理装置は、本発明の実施形態に係る画像処理方法に係る処理として、判定処理および変換処理を行う。ここで、本発明の実施形態に係る画像処理装置は、変換処理において、白とび領域に該当する領域における基準画素以外の画素の輝度変化(情報)を小さくする。よって、本発明の実施形態に係る画像処理装置において変換処理が行われたRAWデータに対して画像圧縮処理を行う場合には、RAWデータにおける上記不要な情報が低減されたRAWデータに対して圧縮を行うことが可能である。 As described above, the image processing apparatus according to the embodiment of the present invention performs determination processing and conversion processing as processing related to the image processing method according to the embodiment of the present invention. Here, the image processing apparatus according to the embodiment of the present invention reduces the luminance change (information) of pixels other than the reference pixel in the area corresponding to the overexposed area in the conversion process. Therefore, when the image compression processing is performed on the RAW data subjected to the conversion processing in the image processing apparatus according to the embodiment of the present invention, the above-described unnecessary information in the RAW data is compressed on the RAW data. Can be done.
したがって、本発明の実施形態に係る画像処理装置は、本発明の実施形態に係る画像処理方法に係る処理(判定処理および変換処理)を行うことによって、RAWデータをより効率よく圧縮させることができる。 Therefore, the image processing apparatus according to the embodiment of the present invention can compress the RAW data more efficiently by performing the process (determination process and conversion process) according to the image processing method according to the embodiment of the present invention. .
なお、本発明の実施形態に係るRAWデータに対する画像圧縮処理は、例えば、本発明の実施形態に係る画像処理装置において行われてもよいし、画像圧縮処理を行うことが可能な外部装置において行われてもよい。 Note that the image compression processing for the RAW data according to the embodiment of the present invention may be performed by, for example, the image processing apparatus according to the embodiment of the present invention or performed by an external apparatus capable of performing the image compression processing. It may be broken.
以下、本発明の実施形態に係る画像処理装置の構成の一例を説明しつつ、本発明の実施形態に係る画像処理方法に係る処理(判定処理および変換処理)について、より具体的に説明する。 Hereinafter, processing (determination processing and conversion processing) according to the image processing method according to the embodiment of the present invention will be described more specifically while describing an example of the configuration of the image processing apparatus according to the embodiment of the present invention.
以下では、G画素が基準画素であり、R画素およびB画素が、基準画素以外の画素である場合を例に挙げて、本発明の実施形態に係る画像処理装置の構成の一例について説明する。なお、上述したように、本発明の実施形態に係る基準画素は、G画素に限られない。 Hereinafter, an example of the configuration of the image processing apparatus according to the embodiment of the present invention will be described by taking as an example the case where the G pixel is a reference pixel and the R pixel and the B pixel are pixels other than the reference pixel. As described above, the reference pixel according to the embodiment of the present invention is not limited to the G pixel.
図2は、本発明の実施形態に係る画像処理装置100の構成の一例を示すブロック図である。画像処理装置100は、例えば、判定部102と、変換部104とを備える。
FIG. 2 is a block diagram showing an example of the configuration of the
ここで、図2では、画像処理装置100が処理するRAWデータ、すなわち、本発明の実施形態に係る画像処理方法に係る処理が行われる前のRAWデータを「入力RAWデータ」と示している。また、図2では、画像処理装置100が処理したRAWデータ、すなわち、本発明の実施形態に係る画像処理方法に係る処理が行われた後のRAWデータを「出力RAWデータ」と示している。
Here, in FIG. 2, RAW data processed by the
本発明の実施形態に係る入力RAWデータとしては、例えば、撮像部(後述する)や外部撮像デバイスから撮像に応じて伝達されるRAWデータが挙げられる。なお、本発明の実施形態に係る入力RAWデータは、上記に限られない。例えば、本発明の実施形態に係る入力RAWデータは、記憶部(後述する)や、ネットワークを介して(あるいは、直接的に)接続された外部装置が備える外部記録媒体などの記録媒体から読み出された、当該記録媒体に記憶されているRAWデータであってもよい。 Examples of the input RAW data according to the embodiment of the present invention include RAW data transmitted in accordance with imaging from an imaging unit (described later) or an external imaging device. Note that the input RAW data according to the embodiment of the present invention is not limited to the above. For example, input RAW data according to an embodiment of the present invention is read from a recording medium such as an external recording medium included in a storage unit (described later) or an external device connected via a network (or directly). RAW data stored in the recording medium may be used.
また、画像処理装置100は、例えば、制御部(図示せず)や、ROM(Read Only Memory。図示せず)、RAM(Random Access Memory。図示せず)、記憶部(図示せず)、ユーザが操作可能な操作部(図示せず)、様々な画面を表示画面に表示する表示部(図示せず)、外部装置と通信を行うための通信部(図示せず)、撮像部(図示せず)などを備えていてもよい。画像処理装置100は、例えば、データの伝送路としてのバスにより上記各構成要素間を接続する。
The
ここで、制御部(図示せず)は、例えば、CPU(Central Processing Unit)や各種処理回路などで構成され、画像処理装置100全体を制御する。また、制御部(図示せず)は、例えば、判定部102および変換部104(または、いずれか一方)の役目を果たしてもよい。なお、判定部102および変換部104は、各部の処理を実現可能な専用の(または汎用の)処理回路で構成されていてもよいことは、言うまでもない。
Here, the control unit (not shown) includes, for example, a CPU (Central Processing Unit) and various processing circuits, and controls the entire
また、制御部(図示せず)は、例えば、出力RAWデータを記憶部(図示せず)に記録する処理や、後述する圧縮処理部に係る処理など、出力RAWデータに対する処理を行う役目を果たしてもよい。 In addition, the control unit (not shown) plays a role of performing processing on the output RAW data, such as processing to record output RAW data in a storage unit (not shown) and processing related to a compression processing unit described later. Also good.
ROM(図示せず)は、制御部(図示せず)が使用するプログラムや演算パラメータなどの制御用データを記憶する。RAM(図示せず)は、制御部(図示せず)により実行されるプログラムなどを一時的に記憶する。 A ROM (not shown) stores control data such as programs and operation parameters used by a control unit (not shown). A RAM (not shown) temporarily stores programs executed by a control unit (not shown).
記憶部(図示せず)は、画像処理装置100が備える記憶手段であり、例えば、画像データや、アプリケーションなど様々なデータを記憶する。ここで、記憶部(図示せず)としては、例えば、ハードディスク(Hard Disk)などの磁気記録媒体や、フラッシュメモリ(flash memory)などの不揮発性メモリ(nonvolatile memory)などが挙げられる。また、記憶部(図示せず)は、画像処理装置100から着脱可能であってもよい。
The storage unit (not shown) is a storage unit included in the
操作部(図示せず)としては、例えば、ボタンや、方向キー、あるいは、これらの組み合わせなどが挙げられる。また、画像処理装置100は、例えば、画像処理装置100の外部装置としての操作入力デバイス(例えば、キーボードやマウスなど)と接続することも可能である。
Examples of the operation unit (not shown) include a button, a direction key, or a combination thereof. Further, the
表示部(図示せず)としては、例えば、液晶ディスプレイ(Liquid Crystal Display)や有機ELディスプレイ(Organic Electro-Luminescence display)などが挙げられる。なお、表示部(図示せず)は、例えばタッチスクリーンなどのように、表示とユーザ操作とが可能なデバイスであってもよい。また、画像処理装置100は、表示部(図示せず)の有無に関わらず、画像処理装置100の外部装置としての表示デバイス(例えば、外部ディスプレイなど)と接続することもできる。
Examples of the display unit (not shown) include a liquid crystal display (Liquid Crystal Display) and an organic EL display (Organic Electro-Luminescence display). The display unit (not shown) may be a device capable of display and user operation, such as a touch screen. The
通信部(図示せず)は、画像処理装置100が備える通信手段であり、ネットワークを介して(あるいは、直接的に)、外部装置と無線/有線で通信を行う。ここで、通信部(図示せず)としては、例えば、通信アンテナおよびRF(Radio Frequency)回路(無線通信)や、IEEE802.15.1ポートおよび送受信回路(無線通信)、IEEE802.11bポートおよび送受信回路(無線通信)、あるいはLAN(Local Area Network)端子および送受信回路(有線通信)などが挙げられる。また、本発明の実施形態に係るネットワークとしては、例えば、LANやWAN(Wide Area Network)などの有線ネットワーク、無線LAN(WLAN;Wireless Local Area Network)や基地局を介した無線WAN(WWAN;Wireless Wide Area Network)などの無線ネットワーク、あるいは、TCP/IP(Transmission Control Protocol/Internet Protocol)などの通信プロトコルを用いたインターネットなどが挙げられる。
A communication unit (not shown) is a communication unit included in the
撮像部(図示せず)は、例えば静止画像を撮像する役目を果たす。撮像部(図示せず)を備える場合には、画像処理装置100は、例えば、撮像部(図示せず)における撮像により生成されたRAWデータを処理することが可能である。
The imaging unit (not shown) serves to capture a still image, for example. When the imaging unit (not shown) is provided, the
ここで、本発明の実施形態に係る撮像部(図示せず)としては、例えば、レンズ/撮像素子が挙げられる。レンズ/撮像素子は、例えば、光学系のレンズと、CMOS(Complementary Metal Oxide Semiconductor)などの撮像素子を複数用いたイメージセンサとで構成される。 Here, as an imaging unit (not shown) according to the embodiment of the present invention, for example, a lens / imaging device can be cited. The lens / imaging device is composed of, for example, an optical lens and an image sensor using a plurality of imaging devices such as CMOS (Complementary Metal Oxide Semiconductor).
判定部102は、本発明の実施形態に係る判定処理を行う役目を果たし、入力RAWデータに基づいて、RAW画像に含まれる白とび領域に該当する領域を判定する。
The
図3は、本発明の実施形態に係る判定部102の構成の一例を示すブロック図である。判定部102は、例えば、画素判定部110A、110B、110Cと、白とび領域判定部112とを備える。
FIG. 3 is a block diagram illustrating an example of the configuration of the
画素判定部110Aには、RAWデータにおけるR画素に対応する画素値(以下、「R−Pixel」または「画素値R−Pixel」と示す場合がある。)と、R画素に対応するホワイトバランス係数(以下、「WB−RGain」、または「ホワイトバランス係数WB−RGain」と示す場合がある。)とが入力される。ここで、ホワイトバランス係数WB−RGainは、例えば、制御部(図示せず)や検波回路において、RAWデータを検波した結果に基づいて決定される。
The
画素判定部110Aは、画素値R−Pixel(基準画素以外の画素の画素値)およびホワイトバランス係数WB−RGain(対応するホワイトバランス係数)を乗算した値と、所定の閾値Full−Rangeとを比較する。
The
ここで、本発明の実施形態に係る所定の閾値Full−Rangeは、例えば、予め設定された固定値であってもよいし、ユーザ操作などによって変更可能な可変値であってもよい。具体例を挙げると、所定の閾値Full−Rangeとしては、例えば、表現可能な最大値(例えば、12bit表現では“4095”、10bit表現では“1023”)が挙げられる。 Here, the predetermined threshold Full-Range according to the embodiment of the present invention may be, for example, a preset fixed value or a variable value that can be changed by a user operation or the like. As a specific example, the predetermined threshold Full-Range includes, for example, a maximum value that can be expressed (for example, “4095” for 12-bit expression and “1023” for 10-bit expression).
また、画素判定部110Aは、例えば、比較結果を示すデータを、白とび領域判定部112に伝達する。ここで、本発明の実施形態に係る比較結果を示すデータとしては、例えば、上記乗算した値が所定の閾値Full−Rangeより大きいか否か(または、上記乗算した値が所定の閾値Full−Range以上であるか否か。以下、同様とする。)を示すフラグR−Pixel_Full_flagが挙げられる。なお、本発明の実施形態に係る比較結果を示すデータが、フラグに限られないことは言うまでもない。
In addition, the pixel determination unit 110 </ b> A transmits, for example, data indicating the comparison result to the overexposed
画素判定部110Bには、RAWデータにおけるB画素に対応する画素値(以下、「B−Pixel」または「画素値B−Pixel」と示す場合がある。)と、B画素に対応するホワイトバランス係数(以下、「WB−BGain」、または「ホワイトバランス係数WB−BGain」と示す場合がある。)とが入力される。ここで、ホワイトバランス係数WB−BGainは、例えば、制御部(図示せず)や検波回路において、RAWデータを検波した結果に基づいて決定される。
The
画素判定部110Bは、画素判定部110Aと同様に、画素値B−Pixel(基準画素以外の画素の画素値)およびホワイトバランス係数WB−BGain(対応するホワイトバランス係数)を乗算した値と、所定の閾値Full−Bangeとを比較する。
Similarly to the
また、画素判定部110Bは、例えば画素判定部110Aと同様に、比較結果を示すデータを、白とび領域判定部112に伝達する。ここで、本発明の実施形態に係る比較結果を示すデータとしては、例えば、上記乗算した値が所定の閾値Full−Rangeより大きいか否かを示すフラグB−Pixel_Full_flagが挙げられる。なお、本発明の実施形態に係る比較結果を示すデータが、フラグに限られないことは言うまでもない。
In addition, the
画素判定部110Cには、RAWデータにおけるG画素に対応する画素値(以下、「G−Pixel」または「画素値G−Pixel」と示す場合がある。)が入力される。
The pixel value corresponding to the G pixel in the RAW data (hereinafter may be referred to as “G-Pixel” or “pixel value G-Pixel”) is input to the
画素判定部110Cは、画素値G−Pixel(基準画素の画素値)と、所定の閾値Full−Rangeとを比較する。そして、画素判定部110Cは、例えば画素判定部110Aと同様に、比較結果を示すデータを、白とび領域判定部112に伝達する。ここで、本発明の実施形態に係る比較結果を示すデータとしては、例えば、画素値G−Pixelが所定の閾値Full−Rangeより大きいか否かを示すフラグG−Pixel_Full_flagが挙げられる。なお、本発明の実施形態に係る比較結果を示すデータが、フラグに限られないことは言うまでもない。
The
白とび領域判定部112は、画素判定部110A、110B、110Cそれぞれから伝達される比較結果を示すデータに基づいて、RAW画像に含まれる白とび領域に該当する領域を判定する。
The whiteout
より具体的には、白とび領域判定部112は、例えば、フラグR−Pixel_F、フラグB−Pixel_F、フラグG−Pixel_Fが、全て、所定の閾値Full−Rangeより大きいことを示す場合に、これらのフラグに対応する画素が、白とび領域に該当する領域に含まれる画素であると判定する。
More specifically, for example, when the whiteout
なお、白とび領域判定部112における処理は、上記に限られない。例えば、白とび領域判定部112は、下記の条件式を満たす場合に、白とび領域に該当する領域に含まれる画素であると判定することも可能である。
条件式:
(G−Pixel==Full−Range)&&
(R−Pixel*WB−RGain>Full−Range)&&
(B−Pixel*WB−BGain>Full−Range)
Note that the processing in the whiteout
Conditional expression:
(G-Pixel == Full-Range) &&
(R-Pixel * WB-RGine> Full-Range) &&
(B-Pixel * WB-BGain> Full-Range)
判定を行うと、白とび領域判定部112は、白とび領域に該当する領域の判定結果を示すデータを、変換部104へ伝達する。ここで、本発明の実施形態に係る判定結果を示すデータとしては、例えば、白とび領域に該当する領域であるか否かを示すフラグFull_flagが挙げられる。なお、本発明の実施形態に係る判定結果を示すデータが、フラグに限られないことは言うまでもない。
When the determination is made, the overexposed
判定部102は、例えば、画素判定部110A、110B、110Cと、白とび領域判定部112とを備えることによって、入力RAWデータに基づいて、白とび領域に該当する領域を判定する。そして、判定部102は、フラグFull_flag(判定結果を示すデータの一例。以下、同様とする。)を変換部104へ伝達する。
The
再度図2を参照して、画像処理装置100の構成の一例について説明する。変換部104は、本発明の実施形態に係る変換処理を行う役目を果たし、伝達されるフラグFull_flagに基づいて、白とび領域に該当する領域に対応するRAWデータに対して、画像空間周波数の分布変換を選択的に行う。より具体的には、変換部104は、例えば、白とび領域に該当する領域において、設定されている基準画素以外の画素の輝度変化を小さくする。
With reference to FIG. 2 again, an example of the configuration of the
図4は、本発明の実施形態に係る変換部104の構成の一例を示すブロック図である。変換部104は、例えば、変換処理部114A、114B、114Cを備える。
FIG. 4 is a block diagram showing an example of the configuration of the
変換処理部114Aは、伝達されるフラグFull_flagに基づいて、選択的に画素値R−Pixelに対して画像空間周波数の分布変換を行う。そして、変換処理部114Aは、選択的に画像空間周波数の分布変換が行われた画素値Routを出力する。
The
より具体的には、変換処理部114Aは、フラグFull_flagが白とび領域に該当する領域であることを示す場合に、画像空間周波数の分布変換を行い、フラグFull_flagが白とび領域に該当する領域であることを示さない場合には、画像空間周波数の分布変換を行わない。図4の例では、フラグFull_flagが“1”を示す場合に、フラグFull_flagが白とび領域に該当する領域であることを示す例を示している。
More specifically, the
ここで、“白とび領域”から“非白とび領域”へ状態が変わるときに、最も輝度変化が少なくなる値となる。よって、変換処理部114Aは、例えば、下記の数式1に示す演算を行うことによって、画素値R−Pixel(基準画素以外の画素の画素値)の輝度変化をゼロにする。
Here, when the state changes from “whiteout region” to “non-whiteout region”, the luminance change is the smallest. Therefore, the
Rout=(Full_Range/WB−RGain)
・・・(数式1)
Rout = (Full_Range / WB-RGine)
... (Formula 1)
図5は、本発明の実施形態に係る画像処理装置100が備える変換処理部114Aの処理の一例を説明するための説明図である。図5に示すAは、変換処理部114Aが処理する前の画素値R−Pixelの一例を示しており、図5に示すBは、変換処理部114Aが処理した後の画素値Routの一例を示している。
FIG. 5 is an explanatory diagram for explaining an example of processing of the
例えば図5のBに示すように、変換処理部114Aは、例えば、白とび領域に該当する領域と判定された画素値を、同一の値へと変換する。つまり、変換処理部114Aは、例えば、白とび領域に該当する領域における不要な輝度変化(情報)を消去する。
For example, as illustrated in B of FIG. 5, the conversion processing unit 114 </ b> A converts, for example, pixel values determined to be areas corresponding to overexposed areas to the same value. That is, the
したがって、変換処理部114Aが、例えば、下記の数式1に示す演算を行うことによって、入力RAWデータにおける上記不要な情報を低減することができる。
Therefore, the unnecessary information in the input RAW data can be reduced by the
なお、変換処理部114Aにおける処理は、上記数式1に示す演算を行う処理に限られない。変換処理部114Aは、画素値R−Pixel(基準画素以外の画素の画素値)の輝度変化を小さくすることが可能な、任意の演算を行うことが可能である。
Note that the processing in the conversion processing unit 114 </ b> A is not limited to the processing for performing the calculation shown in
再度図4を参照して、本発明の実施形態に係る変換部104の構成の一例について説明する。変換処理部114Bは、伝達されるフラグFull_flagに基づいて、選択的に画素値B−Pixelに対して画像空間周波数の分布変換を行う。そして、変換処理部114Bは、選択的に画像空間周波数の分布変換が行われた画素値Boutを出力する。
With reference to FIG. 4 again, an example of the configuration of the
より具体的には、変換処理部114Bは、変換処理部114Aと同様に、フラグFull_flagが白とび領域に該当する領域であることを示す場合に、画像空間周波数の分布変換を行い、フラグFull_flagが白とび領域に該当する領域であることを示さない場合には、画像空間周波数の分布変換を行わない。
More specifically, like the
ここで、“白とび領域”から“非白とび領域”へ状態が変わるときに、最も輝度変化が少なくなる値となる。よって、変換処理部114Bは、例えば、下記の数式2に示す演算を行うことによって、画素値B−Pixel(基準画素以外の画素の画素値)の輝度変化をゼロにする。
Here, when the state changes from “whiteout region” to “non-whiteout region”, the luminance change is the smallest. Therefore, for example, the
Bout=(Full_Range/WB−BGain)
・・・(数式2)
Bout = (Full_Range / WB-BGain)
... (Formula 2)
なお、変換処理部114Bにおける処理は、上記数式2に示す演算を行う処理に限られない。変換処理部114Bは、画素値B−Pixel(基準画素以外の画素の画素値)の輝度変化を小さくすることが可能な、任意の演算を行うことが可能である。
In addition, the process in the
変換処理部114Cは、伝達されるフラグFull_flagによらず、画素値G−Pixel(基準画素の画素値)を画素値Goutとして出力する。
The
変換部104は、例えば、変換処理部114A、114B、114Cを備えることによって、伝達されるフラグFull_flagに基づいて、白とび領域に該当する領域に対応するRAWデータに対して、画像空間周波数の分布変換を選択的に行う。
The
ここで、図5を参照して示したように、変換部104は、例えば、基準画素以外の画素において、白とび領域に該当する領域と判定された画素値を、同一の値へと変換する(輝度変化をゼロにする場合)。つまり、変換部104は、例えば、基準画素以外の画素において、白とび領域に該当する領域における不要な輝度変化を消去する(輝度変化をゼロにする場合)。なお、変換部104における処理は、上記に限られず、変換部104は、例えば、基準画素以外の画素において、白とび領域に該当する領域における不要な輝度変化を小さくしてもよい。
Here, as illustrated with reference to FIG. 5, for example, in the pixels other than the reference pixel, the
よって、変換部104が、本発明の実施形態に係る変換処理を行うことによって、入力RAWデータにおける上記不要な情報を低減することができる。したがって、変換部104が、本発明の実施形態に係る変換処理を行うことによって、RAWデータをより効率よく圧縮させることが可能となる。
Therefore, the
画像処理装置100は、例えば図2に示すように、判定部102と変換部104とを備えることによって、白とび領域に該当する領域を判定し、判定された白とび領域に該当する領域に対応するRAWデータに対して、選択的に画像空間周波数の分布変換を行う。
For example, as illustrated in FIG. 2, the
ここで、画像処理装置100における処理の一例を示す。
Here, an example of processing in the
図6は、本発明の実施形態に係る画像処理装置100における処理の一例を示す流れ図である。ここで、例えば、図6に示すステップS102、S104の処理が、判定部102における処理に該当し、また、図6に示すステップS106、S108の処理が、変換部104における処理に該当する。また、図6は、G画素が基準画素であり、R画素およびB画素が、基準画素以外の画素である場合における処理の一例を示している。
FIG. 6 is a flowchart showing an example of processing in the
画像処理装置100は、入力RAWデータが入力されたか否かを判定する(S100)。ステップS100において入力RAWデータが入力されたと判定されない場合には、画像処理装置100は、処理を進めない。
The
また、ステップS100において入力RAWデータが入力されたと判定された場合には、画像処理装置100は、画素値R−Pixelおよび画素値B−Pixelそれぞれに対して、対応するホワイトバランス係数(WB−RGain、WB−BGain)を乗算する(S102)。ここで、ステップS102の処理は、白とび領域に該当する領域を判定するために用いる画素値を生成する処理に該当する。
If it is determined in step S100 that the input RAW data has been input, the
画像処理装置100は、画素値G−Pixelと、ステップS102において生成した画素値と、所定の閾値Full−Rangeとを用いて、白とび領域に該当する領域を判定する(S104)。
The
ここで、画像処理装置100は、ステップS104において、例えば下記の条件式を満たす場合に、白とび領域に該当する領域であると判定する。
条件式:
(G−Pixel==Full−Range)&&
(R−Pixel*WB−RGain>Full−Range)&&
(B−Pixel*WB−BGain>Full−Range)
Here, in step S104, for example, the
Conditional expression:
(G-Pixel == Full-Range) &&
(R-Pixel * WB-RGine> Full-Range) &&
(B-Pixel * WB-BGain> Full-Range)
なお、ステップS104における処理は、上記条件式を用いる処理に限られない。例えば、画像処理装置100は、上述したように、フラグR−Pixel_F、フラグB−Pixel_F、フラグG−Pixel_Fを用いて、白とび領域に該当する領域であるか否かを判定してもよい。
Note that the process in step S104 is not limited to the process using the conditional expression. For example, as described above, the
ステップS104において白とび領域に該当する領域であると判定された場合には、画像処理装置100は、画像空間周波数の分布変換を行う(S106)。画像処理装置100は、例えば、上記数式1および上記数式2に示す演算を行うことによって、画像空間周波数の分布変換を行う。
If it is determined in step S104 that the region corresponds to the overexposure region, the
また、ステップS104において白とび領域に該当する領域であると判定されない場合には、画像処理装置100は、画像空間周波数の分布変換を行わない(S108)。
On the other hand, if it is not determined in step S104 that the region corresponds to the overexposure region, the
ステップS106の処理またはステップS108の処理が行われると、画像処理装置100は、出力RAWデータ(画像空間周波数の分布変換が選択的に行われたRAWデータ)を出力する(S110)。
When the process of step S106 or the process of step S108 is performed, the
ここで、画像処理装置100は、例えば、RAWデータを記憶することが可能な記録媒体に対して、出力RAWデータを出力してもよいし、RAWデータに対して画像圧縮処理を行うことが可能な圧縮処理部(後述する)や外部装置に対して、出力RAWデータを出力してもよい。
Here, for example, the
画像処理装置100は、例えば、判定部102と変換部104とを備え、図6に示す処理を行うことによって、白とび領域に該当する領域を判定し、判定された白とび領域に該当する領域に対応するRAWデータに対して、選択的に画像空間周波数の分布変換を行う。
The
ここで、上述したように、画像処理装置100は、例えば、基準画素以外の画素において、白とび領域に該当する領域における不要な輝度変化(情報)を、消去、または小さくする。
Here, as described above, for example, the
したがって、画像処理装置100は、入力RAWデータにおける上記不要な情報を低減することが可能であるので、RAWデータをより効率よく圧縮させることができる。
Therefore, since the
図7は、本発明の実施形態に係る画像空間周波数の分布変換が選択的に行われたRAWデータに対する画像圧縮処理の結果の一例を説明するための説明図である。 FIG. 7 is an explanatory diagram for explaining an example of a result of the image compression process on the RAW data in which the distribution conversion of the image spatial frequency according to the embodiment of the present invention is selectively performed.
ここで、図7に示すAは、出力RAWデータ(画像空間周波数の分布変換が選択的に行われたRAWデータ)に対して画像圧縮処理が行われた結果得られる、圧縮後の画像のデータサイズの一例を示している。また、図7に示すBは、図7のAに対する比較例を示している。具体的には、図7に示すBは、画像空間周波数の分布変換が行われていないRAWデータ(すなわち、入力RAWデータに該当するRAWデータ)に対して画像圧縮処理が行われた結果得られる、既存の技術に係る圧縮後の画像のデータサイズの一例を示している。 Here, A shown in FIG. 7 is compressed image data obtained as a result of image compression processing performed on output RAW data (RAW data on which image spatial frequency distribution conversion has been selectively performed). An example of the size is shown. Further, B shown in FIG. 7 shows a comparative example with respect to A of FIG. Specifically, B shown in FIG. 7 is obtained as a result of image compression processing being performed on RAW data that has not been subjected to image spatial frequency distribution conversion (that is, RAW data corresponding to input RAW data). 2 shows an example of the data size of a compressed image according to an existing technique.
また、図7は、白とび領域に該当する領域におけるR画素の画素値、または、白とび領域に該当する領域におけるB画素の画素値を示している。 FIG. 7 shows the pixel value of the R pixel in the region corresponding to the overexposed region or the pixel value of the B pixel in the region corresponding to the overexposed region.
また、図7は、隣接画素との差分値を算出し、ハフマン符号により符号化することによって出力RAWデータが圧縮される場合における、圧縮後の画像のデータサイズの一例を示している。 FIG. 7 shows an example of the data size of the image after compression when the output RAW data is compressed by calculating the difference value with the adjacent pixel and encoding with the Huffman code.
既存の技術では、白とび領域であるか否かによらずに、差分値を算出して符号化が行われる。よって、図7のBに示すように、既存の技術を用いる場合の符号化後のデータサイズは、46bitである。 In the existing technology, encoding is performed by calculating a difference value regardless of whether or not it is an overexposed region. Therefore, as shown in B of FIG. 7, the data size after encoding when using the existing technology is 46 bits.
これに対して、本発明の実施形態に係る出力RAWデータは、変換部104において画像空間周波数の分布変換が選択的に行われたRAWデータである。ここで、変換部104は、上述したように、判定された白とび領域に該当する領域において、基準画素以外の画素の輝度変化を小さくするので、変換部104から伝達される出力RAWデータでは、白とび領域に該当する領域における差分値がより小さくなる。例えば、変換部104が、判定された白とび領域に該当する領域において、基準画素以外の画素の輝度変化をゼロとした場合には、例えば図7のAに示すように、白とび領域に該当する領域における差分値はゼロとなる。
On the other hand, the output RAW data according to the embodiment of the present invention is RAW data in which the distribution conversion of the image spatial frequency is selectively performed in the
よって、図7のAに示すように、出力RAWデータ(画像空間周波数の分布変換が選択的に行われたRAWデータ)に対して画像圧縮処理が行われた結果得られる、符号化後のデータサイズは、例えば8bitとなる。 Therefore, as shown in FIG. 7A, encoded data obtained as a result of image compression processing performed on output RAW data (RAW data on which image spatial frequency distribution conversion has been selectively performed). The size is, for example, 8 bits.
図7のAに示す符号化後のデータサイズと、図7のBに示す符号化後のデータサイズとを比較すれば明らかなように、出力RAWデータ(画像空間周波数の分布変換が選択的に行われたRAWデータ)に対して画像圧縮処理が行われることによって、RAWデータの圧縮効率をより向上させることができる。つまり、出力RAWデータ(画像空間周波数の分布変換が選択的に行われたRAWデータ)に対して画像圧縮処理が行われることによって、圧縮後の画像データのサイズをより小さくすることができる。 As apparent from comparing the encoded data size shown in A of FIG. 7 with the encoded data size shown in B of FIG. 7, output RAW data (the distribution conversion of the image spatial frequency is selectively performed). By performing the image compression process on the RAW data), the RAW data compression efficiency can be further improved. That is, the size of the compressed image data can be further reduced by performing the image compression process on the output RAW data (RAW data on which the distribution conversion of the image spatial frequency is selectively performed).
よって、例えば図7に示すように、画像処理装置100が、本発明の実施形態に係る画像処理方法に係る処理(判定処理および変換処理)を行うことによって、RAWデータをより効率よく圧縮させることができることが分かる。
Therefore, for example, as illustrated in FIG. 7, the
また、画像処理装置100が、本発明の実施形態に係る画像処理方法に係る処理(判定処理および変換処理)を行うことによって、RAWデータをより効率よく圧縮させることが可能となるので、例えば、記録媒体へと記録可能な画像数(RAWデータが示す画像の数)を増やすことが可能となる。よって、画像処理装置100が、本発明の実施形態に係る画像処理方法に係る処理(判定処理および変換処理)を行うことによって、ユーザの利便性の向上を図ることができる。
In addition, since the
また、画像処理装置100が、本発明の実施形態に係る画像処理方法に係る処理(判定処理および変換処理)を行うことによって、RAWデータをより効率よく圧縮させることが可能となるので、例えば、RAWデータのデータ転送により発生する消費電力を抑えることができ、また、RAWデータのデータ転送に要する帯域を低減することができる。
In addition, since the
なお、本発明の実施形態に係る画像処理装置の構成は、図2に示す構成に限られない。 The configuration of the image processing apparatus according to the embodiment of the present invention is not limited to the configuration shown in FIG.
例えば、本発明の実施形態に係る画像処理装置は、変換部104において画像空間周波数の分布変換が選択的に行われたRAWデータ(出力RAWデータ)に対して、画像圧縮処理を行う圧縮処理部(図示せず)をさらに備えていてもよい。
For example, an image processing apparatus according to an embodiment of the present invention includes a compression processing unit that performs image compression processing on RAW data (output RAW data) that has been subjected to image space frequency distribution conversion selectively performed by the
圧縮処理部(図示せず)は、例えば、隣接画素との差分値を算出し、ハフマン符号により符号化することによって、出力RAWデータが示す画像を圧縮する。ここで、上記符号化とは、出現確率の高い情報を短い符号長とし、出現確率の低い情報に対して長い符号長へ変換する処理である。自然画像の場合は、隣接画素の差分値は小さくなるという特徴があるので、差分値“0”を最小の符号長2bitに変換する。また、差分値が大きくなると(出現確率が小さくなると)、変換する符号長は長くなる。 A compression processing unit (not shown) compresses an image indicated by the output RAW data by, for example, calculating a difference value with an adjacent pixel and encoding it with a Huffman code. Here, the encoding is a process for converting information with a high appearance probability into a short code length and converting information with a low appearance probability into a long code length. In the case of a natural image, there is a feature that the difference value between adjacent pixels is small, so the difference value “0” is converted into a minimum code length of 2 bits. Further, when the difference value becomes large (when the appearance probability becomes small), the code length to be converted becomes long.
なお、圧縮処理部(図示せず)における画像圧縮処理は、ハフマン符号により符号化する処理に限られない。圧縮処理部(図示せず)は、例えば、画像を圧縮することが可能な任意の符号化方式を用いて出力RAWデータが示す画像を圧縮することが可能である。 Note that the image compression process in the compression processing unit (not shown) is not limited to the process of encoding with the Huffman code. A compression processing unit (not shown) can compress the image indicated by the output RAW data using, for example, an arbitrary encoding method capable of compressing the image.
以上、本発明の実施形態として画像処理装置を挙げて説明したが、本発明の実施形態は、かかる形態に限られない。本発明の実施形態は、例えば、デジタルカメラなどの撮像装置、PCやサーバなどのコンピュータ、テレビ受像機などの表示装置、携帯電話やスマートフォンなどの通信装置、映像/音楽再生装置(または映像/音楽記録再生装置)、ゲーム機など、RAWデータを処理することが可能な様々な機器に適用することができる。また、本発明の実施形態は、例えば、上記のような機器に組み込むことが可能な、画像処理IC(Integrated Circuit)に適用することもできる。 As described above, the image processing apparatus has been described as an embodiment of the present invention, but the embodiment of the present invention is not limited to such an embodiment. Embodiments of the present invention include, for example, an imaging device such as a digital camera, a computer such as a PC or a server, a display device such as a television receiver, a communication device such as a mobile phone or a smartphone, a video / music playback device (or video / music). The present invention can be applied to various devices capable of processing RAW data, such as a recording / reproducing apparatus and a game machine. The embodiment of the present invention can also be applied to, for example, an image processing IC (Integrated Circuit) that can be incorporated in the above devices.
(本発明の実施形態に係るプログラム)
コンピュータを、本発明の実施形態に係る画像処理装置として機能させるためのプログラム(例えば、コンピュータを、判定部、変換部として機能させることが可能なプログラム)が、コンピュータにおいて実行されることによって、RAWデータをより効率よく圧縮させることができる。
(Program according to an embodiment of the present invention)
A program for causing a computer to function as an image processing apparatus according to an embodiment of the present invention (for example, a program capable of causing a computer to function as a determination unit and a conversion unit) is executed on the computer, thereby causing RAW Data can be compressed more efficiently.
また、コンピュータを、さらに圧縮処理部(図示せず)として機能させることが可能なプログラムが、コンピュータにおいて実行されることによって、RAWデータをより効率よく圧縮して、圧縮後の画像データのサイズをより小さくすることができる。 In addition, a program capable of causing the computer to further function as a compression processing unit (not shown) is executed in the computer, so that the RAW data is more efficiently compressed, and the size of the compressed image data is reduced. It can be made smaller.
以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the example which concerns. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.
例えば、上記では、コンピュータを、本発明の実施形態に係る画像処理装置として機能させるためのプログラム(コンピュータプログラム)が提供されることを示したが、本発明の実施形態は、さらに、上記プログラムを記憶させた記録媒体も併せて提供することができる。 For example, in the above description, it is shown that a program (computer program) for causing a computer to function as the image processing apparatus according to the embodiment of the present invention is provided. However, the embodiment of the present invention further includes the above program. A stored recording medium can also be provided.
100 画像処理装置
102 判定部
104 変換部
110A、110B、110C 画素判定部
112 白とび領域判定部
114A、114B、114C 変換処理部
DESCRIPTION OF
Claims (5)
判定された前記白とび領域に該当する領域に対応する前記RAWデータに対して、画像空間周波数の分布変換を選択的に行う変換部と、
を備え、
前記判定部は、設定されている基準画素の画素値と所定の閾値との比較結果、および、前記基準画素以外の画素それぞれの画素値と対応するホワイトバランス係数とを乗算した値と、前記所定の閾値との比較結果に基づいて、前記白とび領域に該当する領域を判定し、
前記変換部は、前記白とび領域に該当する領域において、前記基準画素以外の画素の輝度変化を小さくすることを特徴とする、画像処理装置。 A determination unit that determines a region corresponding to a whiteout region included in the RAW image based on RAW data indicating a RAW image that is a raw image obtained by imaging;
A conversion unit that selectively performs distribution conversion of an image spatial frequency on the RAW data corresponding to the region corresponding to the determined whiteout region;
With
The determination unit multiplies a comparison result between a pixel value of a set reference pixel and a predetermined threshold value, a white balance coefficient corresponding to each pixel value other than the reference pixel, and the predetermined value. Based on the comparison result with the threshold value of, determine the area corresponding to the overexposed area,
The converting unit, in a region corresponding to the overexposed area, characterized by small changes in luminance of the pixels other than the standard pixel, the image processing apparatus.
判定された前記白とび領域に該当する領域に対応する前記RAWデータに対して、画像空間周波数の分布変換を選択的に行うステップと、
を有し、
前記判定するステップでは、設定されている基準画素の画素値と所定の閾値との比較結果、および、前記基準画素以外の画素それぞれの画素値と対応するホワイトバランス係数とを乗算した値と、前記所定の閾値との比較結果に基づいて、前記白とび領域に該当する領域が判定され、
前記画像空間周波数の分布変換を行うステップでは、前記白とび領域に該当する領域において、前記基準画素以外の画素の輝度変化を小さくすることを特徴とする、画像処理方法。 Determining a region corresponding to a whiteout region included in the RAW image based on RAW data indicating a RAW image that is a raw image obtained by imaging;
Selectively performing image spatial frequency distribution conversion on the RAW data corresponding to the determined area corresponding to the overexposed area;
Have
In the determining step, a comparison result between a pixel value of a set reference pixel and a predetermined threshold value, a value obtained by multiplying a pixel value of each pixel other than the reference pixel and a corresponding white balance coefficient, Based on a comparison result with a predetermined threshold, an area corresponding to the overexposed area is determined,
Wherein in the step of distribution converting the image spatial frequency, in the region corresponding to the overexposed area, characterized by small changes in luminance of the pixels other than the standard pixel, the image processing method.
判定された前記白とび領域に該当する領域に対応する前記RAWデータに対して、画像空間周波数の分布変換を選択的に行う変換手段、
としてコンピュータを機能させ、
前記判定手段は、設定されている基準画素の画素値と所定の閾値との比較結果、および、前記基準画素以外の画素それぞれの画素値と対応するホワイトバランス係数とを乗算した値と、前記所定の閾値との比較結果に基づいて、前記白とび領域に該当する領域を判定し、
前記変換手段は、前記白とび領域に該当する領域において、前記基準画素以外の画素の輝度変化を小さくすることを特徴とする、プログラム。 Determination means for determining an area corresponding to the overexposure area included in the RAW image based on RAW data indicating a RAW image that is a raw image obtained by imaging;
Conversion means for selectively performing distribution conversion of image spatial frequency on the RAW data corresponding to the determined region corresponding to the overexposed region;
Function as a computer
The determination unit multiplies a comparison result between a pixel value of a set reference pixel and a predetermined threshold value, a pixel value of each pixel other than the reference pixel and a corresponding white balance coefficient, and the predetermined value. Based on the comparison result with the threshold value of, determine the area corresponding to the overexposed area,
And the converting means, in the region corresponding to the overexposed area, characterized by small changes in luminance of the pixels other than the standard pixel, program.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012265772A JP6180728B2 (en) | 2012-12-04 | 2012-12-04 | Image processing apparatus, image processing method, and program |
| KR1020130069951A KR101871946B1 (en) | 2012-12-04 | 2013-06-18 | Apparatus, method and program of image processing |
| US14/053,861 US9030572B2 (en) | 2012-12-04 | 2013-10-15 | Apparatus, method, and program for processing image |
| CN201310585546.3A CN103856768B (en) | 2012-12-04 | 2013-11-19 | Apparatus, method, and program for processing image |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012265772A JP6180728B2 (en) | 2012-12-04 | 2012-12-04 | Image processing apparatus, image processing method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014110623A JP2014110623A (en) | 2014-06-12 |
| JP6180728B2 true JP6180728B2 (en) | 2017-08-16 |
Family
ID=51030991
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012265772A Active JP6180728B2 (en) | 2012-12-04 | 2012-12-04 | Image processing apparatus, image processing method, and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6180728B2 (en) |
| KR (1) | KR101871946B1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7037346B2 (en) * | 2017-03-10 | 2022-03-16 | キヤノン株式会社 | Image processing equipment and image processing methods, programs, storage media |
| KR102789597B1 (en) | 2021-04-09 | 2025-04-03 | 에스케이하이닉스 주식회사 | Image sensing device and operating method thereof |
| KR20240053886A (en) | 2022-10-18 | 2024-04-25 | 에스케이하이닉스 주식회사 | Image processing device and image correcting method |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000354250A (en) * | 1999-06-11 | 2000-12-19 | Ricoh Co Ltd | Imaging device |
| JP2004159170A (en) * | 2002-11-07 | 2004-06-03 | Fuji Photo Film Co Ltd | Digital camera, pick-up image data recording method and image signal processing method |
| JP2004328564A (en) * | 2003-04-28 | 2004-11-18 | Olympus Corp | Color correction device, color correction method, color correction program, and digital camera using color correction device |
| JP3839429B2 (en) * | 2003-09-29 | 2006-11-01 | 三菱電機株式会社 | Imaging processing device |
| JP4822773B2 (en) * | 2004-09-13 | 2011-11-24 | キヤノン株式会社 | Color noise reduction circuit and imaging apparatus using the same |
| JP4932504B2 (en) * | 2007-01-18 | 2012-05-16 | 富士フイルム株式会社 | Image processing method, apparatus, program, and imaging apparatus |
| JP5457687B2 (en) * | 2009-02-04 | 2014-04-02 | 株式会社日立国際電気 | Color camera and noise removal method |
| JP5103678B2 (en) | 2011-04-27 | 2012-12-19 | 株式会社メガチップス | Continuous imaging method for single-lens reflex digital camera |
| US8861851B2 (en) * | 2011-05-13 | 2014-10-14 | Dolby Laboratories Licensing Corporation | Color highlight reconstruction |
-
2012
- 2012-12-04 JP JP2012265772A patent/JP6180728B2/en active Active
-
2013
- 2013-06-18 KR KR1020130069951A patent/KR101871946B1/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| KR20140071867A (en) | 2014-06-12 |
| KR101871946B1 (en) | 2018-06-27 |
| JP2014110623A (en) | 2014-06-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8941757B2 (en) | Apparatus and method for adjusting white balance | |
| US20110026591A1 (en) | System and method of compressing video content | |
| CN111510698A (en) | Image processing method, device, storage medium and mobile terminal | |
| US9609328B2 (en) | Electronic device and method | |
| US8493480B2 (en) | Image capturing method and apparatus for efficiently processing a digital image | |
| CN110463206B (en) | Image filtering method, apparatus and computer readable medium | |
| JPWO2013187132A1 (en) | Image processing apparatus, imaging apparatus, computer, image processing method and program | |
| US9030572B2 (en) | Apparatus, method, and program for processing image | |
| US8704909B2 (en) | Systems and methods for efficiently coding and processing image data | |
| KR102287127B1 (en) | Method for detecting saturated pixels in an image | |
| JP6180728B2 (en) | Image processing apparatus, image processing method, and program | |
| US20110310264A1 (en) | Candidate image presenting method using thumbnail image and image signal processing device and imaging device performing the same | |
| US11006119B1 (en) | Compression encoding of images | |
| US11501412B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and image processing program | |
| JP2013110528A (en) | Image processing apparatus, image processing method, and program | |
| US10757426B2 (en) | Method and apparatus for processing image data | |
| KR102015585B1 (en) | Image processing apparatus and image processing method | |
| JP2018507618A (en) | Method and apparatus for encoding and decoding color pictures | |
| JP2015195526A (en) | Image processing apparatus and image processing method | |
| US20200294211A1 (en) | Image display apparatus, image supply apparatus, and control method thereof | |
| WO2022151054A1 (en) | Image processing method and apparatus, and storage medium | |
| CN119232901B (en) | Color correction methods, color correction devices, media and electronic equipment | |
| US11283938B2 (en) | Communication apparatus communicating with another communication apparatus based on performance, control method, and storage medium | |
| JP2012238099A (en) | Image processing device, image processing method, and program | |
| US20230102663A1 (en) | Skin tone protection using a dual-core geometric skin tone model built in device-independent space |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20151007 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161020 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161101 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170130 |
|
| 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: 20170620 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170719 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6180728 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |