JP2011186678A - Image processing apparatus and image processing program - Google Patents
Image processing apparatus and image processing program Download PDFInfo
- Publication number
- JP2011186678A JP2011186678A JP2010049907A JP2010049907A JP2011186678A JP 2011186678 A JP2011186678 A JP 2011186678A JP 2010049907 A JP2010049907 A JP 2010049907A JP 2010049907 A JP2010049907 A JP 2010049907A JP 2011186678 A JP2011186678 A JP 2011186678A
- Authority
- JP
- Japan
- Prior art keywords
- luminance
- block
- blocks
- image
- expansion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 82
- 238000000034 method Methods 0.000 claims description 38
- 238000004364 calculation method Methods 0.000 claims description 29
- 238000003672 processing method Methods 0.000 claims description 16
- 230000006870 function Effects 0.000 description 23
- 238000010586 diagram Methods 0.000 description 8
- 238000011112 process operation Methods 0.000 description 6
- 230000000903 blocking effect Effects 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
本発明は、カメラで撮影した画像を入力画像として扱う輝度伸張処理機能を有する画像処理装置およびカメラ映像の輝度伸張アルゴリズムに特徴をもつ画像処理プログラムに関する。 The present invention relates to an image processing apparatus having a luminance expansion processing function for handling an image captured by a camera as an input image, and an image processing program characterized by a luminance expansion algorithm for camera video.
単眼カメラの映像を用いた動物体の追跡処理技術において、カメラで撮影し入力した入力画像の画面全体の一部エリアを注目エリアとして、当該注目エリアから動物体(オブジェクト画像)を検出し追跡処理する画像認識処理技術が存在する(特許文献1参照)。 In the tracking processing technology for moving objects using monocular camera images, a tracking area is used to detect moving objects (object images) from the area of interest using a partial area of the entire screen of the input image captured and input by the camera as the area of interest. There is an image recognition processing technology to perform (see Patent Document 1).
また、カメラで撮影し入力した入力画像をその明暗に応じて予め設定した所定の輝度変換特性(特性曲線)に従い輝度変換する輝度変換方式も、例えば非線形曲線、シグモイド関数曲線等を用いた種々の輝度変換方式が提案され実装されている(特許文献2、3参照)。
In addition, there are various brightness conversion methods for converting the brightness of an input image photographed and input by a camera according to a predetermined brightness conversion characteristic (characteristic curve) set in advance according to the brightness of the input image, using various nonlinear curves, sigmoid function curves, etc. A luminance conversion method has been proposed and implemented (see
上記した画像処理技術においては、輝度伸張パラメータを、画面全体の注目エリアから抽出し決定している。このため、カメラから入力された伸張処理対象画像が明暗両方を含む画像の場合、注目エリア全体の輝度に依存して輝度伸張処理が実施され、従って注目エリア内における部分画像の明暗の双方を鮮明に表示することができないという問題があった。 In the image processing technique described above, the luminance expansion parameter is extracted and determined from the attention area of the entire screen. For this reason, if the image to be stretched input from the camera is an image including both light and dark, the brightness stretching process is performed depending on the brightness of the entire area of interest, and therefore both the brightness and darkness of the partial image in the area of interest are sharp. There was a problem that could not be displayed.
また、画像をブロック化して、そのブロックを単位に輝度情報(ヒストグラムなど)を収集する方法も種々の技術が提案されている(特許文献4参照)。 Various techniques have also been proposed for making an image into blocks and collecting luminance information (such as a histogram) in units of the blocks (see Patent Document 4).
しかしながら、この種、ブロック単位で画素情報を収集しパラメータを求める方法は、ブロック内部に含まれる輝度値のみを利用して、ブロック単位でパラメータを求めていることから、上記した画像認識処理技術に適用した場合、ブロックの境目でシャギーが発生することや、明るさが極端に異なるブロックが隣り合わせになると不自然な画像になるという問題がある。 However, this type of method for collecting pixel information in units of blocks and determining parameters uses only luminance values included in the blocks to determine parameters in units of blocks. When it is applied, there is a problem that shaggy occurs at the boundary between blocks, and that when blocks having extremely different brightness are adjacent to each other, an unnatural image is formed.
上述したように従来では、カメラから入力された伸張処理対象画像が画面全体の一部エリアに明暗の両方を含む場合、エリア内における部分画像の明暗の双方を鮮明に表示することができないという問題があった。 As described above, in the related art, when the image to be stretched input from the camera includes both light and dark in a partial area of the entire screen, it is not possible to clearly display both the light and dark of the partial image in the area. was there.
本発明は上記実情に鑑みなされたもので、画面全体の一部に明暗の画像が存在しても、その明暗の各画像部分を鮮明に表示出力できる輝度伸張処理機能を実現可能な画像処理装置および画像処理プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an image processing apparatus capable of realizing a luminance expansion processing function capable of clearly displaying and outputting each bright and dark image portion even when a bright and dark image exists in a part of the entire screen. An object of the present invention is to provide an image processing program.
本発明は、輝度伸張処理の対象となる入力画像について、設定された注目エリアを複数のブロックに分割し、分割したブロック各々について、周囲のブロックの輝度値を畳み込んだ複数のブロックの輝度値をもとにブロック単位の輝度伸張パラメータを算出し、当該輝度伸張パラメータをもとにブロック単位の輝度変換テーブルを作成するブロック処理手段と、前記ブロック処理手段により作成されたブロック単位の輝度変換テーブルをもとに、分割したブロック各々の各画素について、ブロック毎に、周囲のブロックの輝度変換テーブルを参照してバイリニア補間を実施する補間処理手段と、前記補間処理手段によりバイリニア補間を施した前記各ブロックの画素をもとに前記入力画像に対する輝度伸張出力画像を作成する画像変換手段と、を具備した画像処理装置を特徴とする。 The present invention divides a set attention area into a plurality of blocks for an input image to be subjected to luminance expansion processing, and the luminance values of a plurality of blocks obtained by convolving the luminance values of surrounding blocks for each of the divided blocks A block processing unit for calculating a luminance expansion parameter for each block based on the block and creating a luminance conversion table for each block based on the luminance expansion parameter, and a luminance conversion table for each block generated by the block processing unit Based on the above, for each pixel of each of the divided blocks, for each block, the interpolation processing means for performing bilinear interpolation with reference to the luminance conversion table of the surrounding block, and the bilinear interpolation performed by the interpolation processing means Image conversion means for creating a luminance expanded output image for the input image based on the pixels of each block; Wherein the image processing apparatus provided with the.
また、前記画像処理装置において、前記ブロック処理手段は、分割したブロックのうち、処理対象となる注目ブロックAについて、隣接する上下左右のブロックBと、隣接する斜め方向のブロックCとを用い、A>B>Cの重み付けにより前記畳み込みの処理手段を具備し、さらに前記ブロック処理手段は、外部から指定されたブロックサイズに従い、前記注目エリアの画像を複数のブロックに分割するブロック分割手段と、前記ブロック分割手段が分割したブロック各々についてブロック毎の輝度総和を算出し、算出したブロック毎の輝度総和を用いて、前記ブロック毎に、当該ブロックとその周囲のブロックを含む前記重み付けおよび畳み込み処理した全ブロックの輝度総和を算出する輝度総和算出手段と、前記輝度総和算出手段が算出した輝度総和を用いて、前記ブロック毎に、当該ブロックの輝度平均を算出する輝度平均算出手段と、前記輝度平均算出手段が算出したブロックの輝度平均をもとに、前記ブロック毎に、輝度伸張パラメータを算出する輝度伸張パラメータ算出手段と、前記輝度伸張パラメータ算出手段が算出した輝度伸張パラメータをもとに、前記ブロック毎に、輝度伸張用の輝度変換テーブルを作成する輝度変換テーブル作成手段と、を具備したことを特徴とする。 In the image processing apparatus, the block processing means uses, for the target block A to be processed among the divided blocks, the adjacent upper, lower, left, and right blocks B and the adjacent diagonal blocks C, and The convolution processing means by weighting> B> C, and the block processing means further divides the image of the area of interest into a plurality of blocks according to a block size designated from the outside; For each block divided by the block dividing means, the luminance sum for each block is calculated, and using the calculated luminance sum for each block, the weight and convolution processing including the block and the surrounding blocks are performed for each block. Luminance total calculation means for calculating the luminance sum of the blocks, and the luminance total calculation means For each block, the luminance average calculating means for calculating the luminance average of the block using the luminance sum total, and the luminance expansion for each block based on the luminance average of the block calculated by the luminance average calculating means. A luminance expansion parameter calculating means for calculating a parameter, a luminance conversion table generating means for generating a luminance conversion table for luminance expansion for each block based on the luminance expansion parameter calculated by the luminance expansion parameter calculating means, It is characterized by comprising.
また、本発明は、カメラで撮影した入力画像を画像バッファに保持し、前記画像バッファ上で前記入力画像についてガンマ補正を行う処理装置に、輝度伸張処理の対象となる入力画像について設定された注目エリアを複数のブロックに分割し、分割したブロック各々について、周囲のブロックの輝度値を畳み込んだ複数のブロックの輝度値をもとにブロック単位の輝度伸張パラメータを算出し、当該輝度伸張パラメータをもとにブロック単位の輝度変換テーブルを作成する機能と、前記作成されたブロック単位の輝度変換テーブルをもとに、分割したブロック各々の各画素について、ブロック毎に、周囲のブロックの輝度変換テーブルを参照してバイリニア補間を実施する機能と、前記バイリニア補間を施した前記各ブロックの画素をもとに前記入力画像に対する輝度伸張出力画像を作成する機能と、を実現させるための画像処理プログラムを特徴とする。 In the present invention, an input image captured by a camera is held in an image buffer, and a processing device that performs gamma correction on the input image on the image buffer is set with respect to an input image to be subjected to luminance expansion processing. The area is divided into a plurality of blocks, and for each of the divided blocks, a luminance expansion parameter for each block is calculated based on the luminance values of the plurality of blocks obtained by convolving the luminance values of the surrounding blocks, and the luminance expansion parameter is calculated. Based on the function of creating a brightness conversion table for each block and the created brightness conversion table for each block, the brightness conversion table of the surrounding blocks for each pixel of each divided block. Based on the function of performing bilinear interpolation with reference to the pixel of each block subjected to the bilinear interpolation Wherein the image processing program for realizing a function of creating a luminance decompression output image, the relative fill power image.
本発明によれば、画面全体の一部に明暗の画像が存在しても、その明暗の各画像を鮮明に表示出力できる輝度伸張処理機能を実現可能な画像処理装置を提供できる。 According to the present invention, it is possible to provide an image processing apparatus capable of realizing a luminance expansion processing function capable of clearly displaying and outputting each light and dark image even when a light and dark image exists in a part of the entire screen.
以下図面を参照して本発明の実施形態を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
本発明に係る画像処理装置は、画像を複数にブロック分割し、重なりあうブロックで抽出されたパラメータを総合して伸張パラメータを決定し、明暗の双方を自動的に鮮明化する機能を提供するもので、注目ブロックに含まれる輝度値以外に、その周囲8近傍のブロックの輝度値も重み付けして含み輝度伸張パラメータを求める処理手段aと、この処理手段で求めた輝度伸張パラメータを複数利用して(注目画素が含まれるブロックと周囲ブロックのパラメータを利用して)注目画素の伸張後の値を求める処理手段bとを具備する。 The image processing apparatus according to the present invention provides a function of dividing an image into a plurality of blocks, determining a decompression parameter by combining parameters extracted from overlapping blocks, and automatically sharpening both light and dark Then, in addition to the luminance value included in the target block, the luminance value of the block in the vicinity of the surrounding 8 is also weighted to include a luminance expansion parameter, and a plurality of luminance expansion parameters calculated by the processing unit are used. Processing means b for obtaining a value after expansion of the target pixel (using parameters of the block including the target pixel and surrounding blocks).
処理手段aでは画像ブロック単位の輝度伸張パラメータと輝度変換テーブルを求め、処理手段bでは周囲ブロックを利用したバイリニア補間で変換輝度値を求める。 The processing means a obtains a luminance expansion parameter and a luminance conversion table for each image block, and the processing means b obtains a converted luminance value by bilinear interpolation using surrounding blocks.
なお、上記した輝度伸張パラメータおよび輝度変換テーブルは、カメラで撮影し入力した入力画像をその明暗に応じて予め設定した所定の輝度変換特性(特性曲線)に従い輝度変換する輝度伸張処理方式に依存して生成されるもので、例えば非線形曲線(凸曲線、凹曲線)を用いた非線形輝度伸張処理方式に適用される輝度伸張パラメータおよび輝度変換テーブル、若しくはシグモイド関数曲線を用いた輝度伸張処理に適用される輝度伸張パラメータおよび輝度変換テーブル等、いずれの輝度伸張処理方式に適用される輝度伸張パラメータおよび輝度変換テーブルであってもよい。 The luminance expansion parameter and the luminance conversion table described above depend on a luminance expansion processing method for converting the luminance of an input image captured and input by a camera according to a predetermined luminance conversion characteristic (characteristic curve) set in advance according to the brightness. For example, it is applied to luminance expansion parameters and luminance conversion tables applied to nonlinear luminance expansion processing methods using nonlinear curves (convex curves, concave curves), or luminance expansion processing using sigmoid function curves. The luminance expansion parameter and the luminance conversion table applied to any of the luminance expansion processing methods such as the luminance expansion parameter and the luminance conversion table.
本発明の実施形態に係る画像処理装置の要部の構成要素を図1に示す。
図1に示す輝度伸張処理部1は、単眼カメラで撮影した画像を入力画像として、当該入力画像について輝度伸張処理(ガンマ補正)を施し、上記入力画像を当該入力画像の輝度値の分布状態から最適な階調に変換する。ここでは、QVGA(320画素×240画素)の0〜255階調の入力画像を対象に設定された注目エリアの画像を輝度伸張処理する。
The components of the main part of the image processing apparatus according to the embodiment of the present invention are shown in FIG.
The luminance
この輝度伸張処理部1における輝度伸張処理では、ガンマ(γ)補正の理論を参考にし、ガンマ補正に必要とする輝度伸張のための輝度伸張パラメータを、入力画像における注目エリアを複数のブロックに分割したブロック単位の画像の平均輝度値をもとに自動算出する手段を具備した。
In the luminance expansion processing in the luminance
輝度伸張処理部1は、輝度伸張処理の対象となる入力画像について、設定された注目エリアを複数のブロックに分割し、分割したブロック各々について、周囲のブロックの輝度値を畳み込んだ複数のブロックの輝度値をもとにブロック単位の輝度伸張パラメータを算出し、当該輝度伸張パラメータをもとにブロック単位の輝度変換テーブルを作成するブロック処理手段と、このブロック処理手段により作成されたブロック単位の輝度変換テーブルをもとに、分割したブロック各々の各画素について、ブロック毎に、周囲のブロックの輝度変換テーブルを参照してバイリニア補間を実施する補間処理手段と、上記補間処理手段によりバイリニア補間を施した上記各ブロックの画素をもとに上記入力画像に対する輝度伸張出力画像を作成する画像変換手段とを具備して構成される。
The luminance
図1に示す輝度伸張処理部1の輝度伸張処理動作について、図2乃至図7を参照して説明する。図2は上記輝度伸張処理部1の輝度伸張処理動作を説明するための動作説明図、図3および図4はそれぞれ上記したブロック処理手段における輝度伸張処理の動作原理を説明するための動作説明図、図5および図6はそれぞれ上記したブロック処理手段における畳み込み処理の動作原理を説明するための動作説明図、図7は上記した補間処理手段におけるバイリニア補間処理の動作原理を説明するための動作説明図である。
The luminance expansion processing operation of the luminance
図2に示す、輝度伸張処理部1のブロック処理手段4aは、先ず、単眼カメラで撮影した入力画像(320画素×240画素)2について、予め設定された注目エリア3を複数のブロックに分割する。具体例を挙げると、入力画像を32×32画素単位、若しくは16×16画素単位、若しくは8×8画素単位等に分割し、注目エリア3を複数のブロックに分割する。例えば注目エリア3の画面を16×16画素単位のブロック(20×15ブロック)に分割する。このブロック分割領域それぞれについて、周囲ブロックの輝度値を可変要素に、平均輝度を求める。
The block processing means 4a of the luminance
この動作原理を図3乃至図6に示している。ここでは、図3および図4に示すように、画面をブロック分割した16×16画素のパターンを、1/2ブロック(8×8画素)分シフトしたブロック4パターンから1つの小ブロックの値を考える。ここでは、1/2ブロックシフトで、4パターンのブロックが重なったブロック(8×8画素)について、重なったブロックの輝度の平均、さらには輝度二乗の平均等を求め、この値をもとに、予め設定された輝度伸張処理方式に適用される輝度伸張用の輝度変換テーブルをブロック単位に作成する。さらにブロック処理手段4aは、分割したブロック各々について、ブロック毎の輝度総和を算出し、算出したブロック毎の輝度総和を用いて、前記ブロック毎に、当該ブロックとその周囲のブロックを含む重み付けおよび畳み込み処理した全ブロックの輝度総和を算出して、各ブロックの平均輝度を算出する。この際の畳み込み計数および畳み込み処理のイメージを図5および図6に示している。ここでは、図5に示すように、平均輝度の算出対象となる注目ブロックに対して「4」、注目ブロックの周囲8近傍のブロックのうち、上下左右の4ブロックに対してそれぞれ「2」、斜め4方向の各ブロックに対してそれぞれ「1」の畳み込み計数をもたせて、図6に示すデータの積み上げイメージで、上記各ブロックの輝度値を畳み込み、畳み込み演算することで、注目ブロックの輝度平均を求めることができる。このブロック毎の平均輝度値をもとに、予め設定された輝度伸張処理方式に適用されるブロック単位の輝度伸張パラメータおよび輝度変換テーブルを作成する。
This operation principle is shown in FIGS. Here, as shown in FIG. 3 and FIG. 4, the 16 × 16 pixel pattern obtained by dividing the screen into blocks is changed to a value of one small block from the
つぎに、輝度伸張処理部1の補間処理手段4bにおいて、上記ブロック単位で求めた輝度伸張パラメータに従う輝度変換テーブルを用いた各ブロックの画素について、上記した補間手段により、ブロック毎に、当該ブロックと、その周囲4ブロックの輝度変換テーブルを用いてバイリニア補間を実施する。このバイリニア補間は図7に示すように、注目画素の変換値を、周囲4ブロック(A,B,C,D)の変換値の線形補間(バイリニア補間)にて決定し設定する。ここでは、注目画素が位置するブロック位置、および注目画素の当該ブロックとの位置差を小数点で求めて、当該ブロックと周囲ブロックの輝度変換テーブルの値に、ブロック位置差の係数を掛け、線形補間(バイリニア補間)の原理で輝度の変換値を求める。
Next, in the
上記補間処理手段4bによりバイリニア補間を施した各ブロックの画素をもとに上記入力画像に対する輝度伸張出力画像5を作成する。
Based on the pixels of each block subjected to bilinear interpolation by the
このように、輝度伸張処理部1のブロック処理手段4aにおいて、画像ブロック単位の輝度伸張パラメータと輝度変換テーブルを求め、輝度伸張処理部1の補間処理手段4bにおいて、周囲ブロックを利用したバイリニア補間で変換輝度値を求めて、バイリニア補間を施した(周囲ブロックの輝度伸張パラメータを反映した)各ブロックの画素をもとに上記入力画像に対する輝度伸張出力画像5を作成する構成としたことにより、ブロック境界に輝度差が生じることなく、注目エリア内の一部に局所的に存在する明暗の各画像をそれぞれ明瞭に階調表示することができる。
As described above, the
上記実施形態をより具現化した一例を図8乃至図18に示している。
図8は本発明の実施形態に係る画像処理装置の構成を示すブロック図、図9は同実施形態に係る前置画像処理部に設けられた輝度伸張処理部の構成を示すブロック図、図10は上記輝度伸張処理部の処理手順を示すフローチャート、図11乃至図18は上記輝度伸張処理部の処理手順をより詳細に示すフローチャートである。なお、ここでは、画像処理装置の前置画像処理部に、本発明の要旨とするところの輝度伸張処理機能部を設けた構成を例示するが、上記輝度伸張処理機能部は図8に示す構成の画像処理装置に限らず、例えば、単にカメラ映像に対して輝度伸張処理を施す画像処理装置等、種々の画像処理装置に適用可能である。
An example that further embodies the above embodiment is shown in FIGS.
FIG. 8 is a block diagram showing the configuration of the image processing apparatus according to the embodiment of the present invention, FIG. 9 is a block diagram showing the configuration of the luminance expansion processing unit provided in the front image processing unit according to the embodiment, and FIG. FIG. 11 to FIG. 18 are flowcharts showing the processing procedure of the luminance expansion processing unit in more detail. Here, the configuration in which the luminance expansion processing function unit as the gist of the present invention is provided in the front image processing unit of the image processing apparatus is illustrated, but the luminance expansion processing function unit is configured as shown in FIG. For example, the present invention can be applied to various image processing apparatuses such as an image processing apparatus that simply performs luminance expansion processing on camera video.
本発明の実施形態に係る画像処理装置は、図8に示すように、カメラ11と、キャプチャ部12と、前置画像処理部13と、画像処理部14と、表示部15とを具備して構成される。
As shown in FIG. 8, the image processing apparatus according to the embodiment of the present invention includes a
カメラ11は、レンズユニットとレンズユニットの結像位置に設けられた撮像素子(例えばCCD固体撮像素子、若しくはCMOSイメージセンサ)とを具備して、屋外若しくは屋内の動きを伴う被写体(動物体)を対象に、撮像した一画面分の画像を所定の画素単位(例えば1フレーム320×240画素=QVGA)で出力する。
The
キャプチャ部12は、カメラ11が撮像したフレーム単位の画像を取り込み、前置画像処理部13内の画像バッファ21に保持する処理機能をもつ。
The
前置画像処理部13は、キャプチャ部12がカメラ11から取り込んだフレーム単位の画像を輝度伸張処理の対象となる入力画像として保持する画像バッファ21と、上述した図1に示す輝度伸張処理部1と同様の処理機能をもつ輝度伸張処理部22とを具備して構成される。この前置画像処理部13の内部構成要素については図9を参照して後述する。
The front
画像処理部14は、前置画像処理部13の画像バッファ21に保持された輝度伸張処理後の画像を取り込み、例えば時間差をもつ画像の差分二値化処理、ノイズ除去、変化画素を含む矩形領域の抽出および変化画素領域の追跡処理等の一連の画像処理を行う。表示部15は上記画像処理部14で処理した、例えば動物体領域の画像を表示出力する。
The
上記図8に示す前置画像処理部13に設けられた輝度伸張処理部22の構成要素を図9に示す。
この輝度伸張処理部22は、上述したブロック処理手段(4a)の機能と補間処理手段(4b)の機能を備え、ブロック処理機能により画像ブロック単位の輝度伸張パラメータと輝度変換テーブルを生成し、補間処理機能により周囲ブロックを利用したバイリニア補間で各ブロックの画素の変換輝度値を求めている。
FIG. 9 shows components of the luminance
The luminance
なお、図9に示す構成は、本願発明の実施形態に係るブロック分割輝度伸張処理機能を、非線形曲線(凸曲線、凹曲線)を用いた非線形輝度伸張処理方式に適用した例を示している。 The configuration shown in FIG. 9 shows an example in which the block division luminance expansion processing function according to the embodiment of the present invention is applied to a nonlinear luminance expansion processing method using a nonlinear curve (convex curve, concave curve).
この非線形輝度伸張処理方式では、後述する平均輝度算出部222が算出した平均輝度値が256階調の中心輝度値(127)以下であるか超えているかを判定し、中心輝度値以下であるとき、凸曲線による参照テーブルを入力画像に対する輝度伸張用の輝度変換テーブルとして作成し、中心輝度値を超えるとき、凹曲線による参照テーブルを入力画像に対する輝度伸張用の輝度変換テーブルとして作成する。この非線形輝度伸張処理機能は、既に公知の特許第4340303号による非線形輝度伸張処理方式に適用したもので、その要旨は後述する。 In this nonlinear luminance expansion processing method, it is determined whether an average luminance value calculated by an average luminance calculation unit 222 described later is equal to or less than the central luminance value (127) of 256 gradations, and when it is equal to or less than the central luminance value A reference table with a convex curve is created as a luminance conversion table for luminance expansion for the input image. When the central luminance value is exceeded, a reference table with a concave curve is created as a luminance conversion table for luminance expansion for the input image. This nonlinear luminance expansion processing function is applied to the already-known nonlinear luminance expansion processing method according to Japanese Patent No. 4340303, and the gist thereof will be described later.
図9に示す前置画像処理部13において、前置画像処理部13に設けられた輝度伸張処理部22は、ブロック参照輝度設定部221と、平均輝度算出部222と、累乗パラメータ算出部223と、参照テーブル判定部224と、画像変換部225と、線形補間(バイリニア補間)算出部226とを有する。
In the front
ブロック参照輝度設定部221は、カメラ11で撮影し入力した入力画像の注目エリアを、外部より指定されたブロックサイズに従い、複数のブロックに分割し、ブロック毎に、各ブロックの輝度値の総和を算出する。ここでは、8×8画素、16×16画素、24×24画素、32×32画素のうちのいずれかのブロックサイズ(例えば16×16画素)が指定され、その指定サイズに従い、入力画像の注目エリアがブロック分割される。なお、入力画像のエッジ部分に指定ブロックサイズより小さい端数画素分の領域が生じた場合は、当該領域を輝度伸張処理対象から外すかまたは他の輝度伸張処理手段を適用するものとする。
The block reference
平均輝度算出部222は、ブロック参照輝度設定部221がブロック分割し、ブロック毎に算出した輝度総和をもとに、ブロック毎に、当該ブロックとその周囲のブロックを含む重み付けおよび畳み込み処理した全ブロックの輝度総和を算出してブロック単位の画像の平均輝度値(=M)を算出する。
The average luminance calculation unit 222 divides the block into blocks by the block reference
累乗パラメータ算出部223は、上記した非線形輝度伸張処理方式において適用されるもので、平均輝度算出部222が算出した平均輝度をもとに、後述する(1)式に従い、入力画像(注目エリア)に対する輝度伸張処理のための累乗パラメータを算出する。 The power parameter calculation unit 223 is applied in the above-described nonlinear luminance expansion processing method. Based on the average luminance calculated by the average luminance calculation unit 222, an input image (attention area) according to the equation (1) described later. A power parameter for the luminance expansion processing for is calculated.
参照テーブル判定部224は、上記平均輝度値が上記中心輝度値(127)以下であるか上記中心輝度値(127)を超えているかを判定し、上記平均輝度値が上記中心輝度値(127)以下であるとき、テーブル作成部231により、上記累乗パラメータを用いて後述する(2)式に従う凸曲線による参照テーブルを入力画像に対する輝度伸張用の輝度変換テーブル(参照テーブル)232として作成し、上記平均輝度値が上記中心輝度(127)を超えるとき、テーブル作成部231により、上記累乗パラメータを用いて後述する(3)式に従う凹曲線による参照テーブルを入力画像に対する輝度伸張用の輝度変換テーブル232として作成する。
The reference
画像変換部225は、参照テーブル判定部225が作成した輝度変換テーブル(参照テーブル)232を用いて、画像バッファ21に保持された入力画像(注目エリア)に輝度変換処理を施し、入力輝度に対して出力輝度を変換した画像を画像バッファ21に書き戻すことによって画像バッファ21上に輝度伸張画像を作成する。
The image conversion unit 225 uses the luminance conversion table (reference table) 232 created by the reference table determination unit 225 to perform a luminance conversion process on the input image (attention area) held in the
線形補間算出部226は、図7に示したように、ブロック単位で求めた輝度伸張パラメータに従う輝度変換テーブルを用いた各ブロックの画素について、ブロック毎に、当該ブロックと、その周囲4ブロックの輝度変換テーブルを用いてバイリニア補間を実施する。
As shown in FIG. 7, the linear
上記した輝度伸張処理部22の処理手順を図10に示している。
FIG. 10 shows a processing procedure of the luminance
輝度伸張処理部22は、カメラ11が撮像したフレーム単位の入力画像がキャプチャ部12を介して画像バッファ21に保持される毎に図10に示す処理を実行する。
The luminance
画像バッファ21に輝度伸張処理の対象となる入力画像が保持されると、ブロック参照輝度設定部221は、カメラ11で撮影し入力した入力画像の注目エリアを、外部より指定されたブロックサイズ(例えば16×16画素)に従い、複数のブロック(20×15ブロック)に分割し、ブロック毎に各ブロックの輝度値の総和を求めて当該ブロック単位の輝度総和を注目ブロックの輝度情報として平均輝度算出部222に送出する(ステップS11)。
When the input image to be subjected to the luminance expansion processing is held in the
平均輝度算出部222は、ブロック参照輝度設定部221から注目ブロックの輝度情報(ブロック単位の輝度総和)を入力すると、この輝度情報をもとに、図5および図6に示したように、ブロック毎に、当該ブロックとその周囲のブロックを含む重み付けおよび畳み込み処理した全ブロックの輝度総和を算出してブロック単位(注目ブロック)の画像の平均輝度値を算出し、当該注目ブロックの画像の平均輝度値を累乗パラメータ算出部223と参照テーブル判定部224に送出する(ステップS12)。
When the average luminance calculation unit 222 receives the luminance information of the block of interest (total luminance in units of blocks) from the block reference
累乗パラメータ算出部223は、平均輝度算出部222が算出した平均輝度値をもとに、後述する(1)式に従い、入力画像(注目エリア)に対する輝度伸張処理のための累乗パラメータを算出し、当該パラメータを参照テーブル判定部224に送出する。
The power parameter calculation unit 223 calculates a power parameter for luminance expansion processing for the input image (area of interest) according to the equation (1) described below based on the average luminance value calculated by the average luminance calculation unit 222, The parameter is sent to the reference
参照テーブル判定部224は、平均輝度算出部222から入力した平均輝度値と累乗パラメータ算出部223から入力した累乗パラメータを輝度伸張パラメータとして、当該輝度伸張パラメータに従う輝度変換テーブルを作成する。ここでは、上記平均輝度値が上記中心輝度値(127)以下であるか上記中心輝度値(127)を超えているかを判定し、上記平均輝度値が上記中心輝度値(127)以下であるとき、テーブル作成部231により、上記累乗パラメータを用いて後述する(2)式に従う凸曲線による参照テーブルを入力画像に対する輝度伸張用の輝度変換テーブル(参照テーブル)232として作成し、上記平均輝度値が上記中心輝度(127)を超えるとき、テーブル作成部231により、上記累乗パラメータを用いて後述する(3)式に従う凹曲線による参照テーブルを入力画像に対する輝度伸張用の輝度変換テーブル232として作成する(ステップS13)。
The reference
ここで、上記した凸曲線および凹曲線を用いた非線形輝度伸張処理方式における輝度伸張処理について記述する。 Here, the luminance expansion processing in the nonlinear luminance expansion processing method using the convex curve and the concave curve described above will be described.
累乗パラメータ算出部223は、注目エリアの平均輝度をもとに輝度伸張用の累乗パラメータγを下式(1)により自動的に算出する。 The power parameter calculation unit 223 automatically calculates a power parameter γ for luminance expansion based on the average luminance of the area of interest using the following equation (1).
γ=(α/Bmed2)×(Iave−Bmed)2+1.0・・・・式(1)
(ただし、αは固定値、Bmedは輝度中央値、Iaveは入力画像注目エリアの平均輝度)
上記平均輝度と上記入力画像の輝度階調範囲の中心輝度とを比較し、累乗パラメータγを用いて自動的に下式(2)又は下式(3)を切り替えて、凸曲線および凹曲線の輝度変換テーブルを作成する。
γ = (α / Bmed 2 ) × (Iave−Bmed) 2 +1.0 (1)
(Where α is a fixed value, Bmed is the median brightness, Iave is the average brightness of the input image area of interest)
The average luminance is compared with the central luminance of the luminance gradation range of the input image, and the following equation (2) or (3) is automatically switched using the power parameter γ, and the convex curve and the concave curve are Create a brightness conversion table.
I’=Bmax-((Bmax-I)/Bmax)γ×Bmax:Iave≦Bmed・・・・式(2)凸曲線
I’=I/Bmaxγ×Bmax:Iave>Bmed ・・・・式(3)凹曲線
(だたし、I’は出力輝度、Iは入力輝度、Bmedは輝度中央値、Bmaxは輝度最大値、Iaveは入力画像注目エリアの平均輝度)
この参照テーブル判定部224で作成された凸曲線および凹曲線の輝度変換テーブル232は画像変換部225に送出される(ステップS13)。
I ′ = Bmax − ((Bmax−I) / Bmax) γ × Bmax: Iave ≦ Bmed (2) Convex curve
I ′ = I / Bmax γ × Bmax: Iave> Bmed (3) Concave curve (where I ′ is the output luminance, I is the input luminance, Bmed is the median luminance, and Bmax is the maximum luminance value) , Iave is the average brightness of the input image attention area)
The convex curve and concave curve luminance conversion table 232 created by the reference
画像変換部225は、参照テーブル判定部225が作成した輝度変換テーブル(参照テーブル)232を用いて、画像バッファ21に保持された入力画像(注目エリア)に輝度変換処理を施す。このブロック単位で輝度伸張された注目ブロックの各画素に対して、線形補間算出部226より、図7に示したように、注目ブロックと、その周囲4ブロックの輝度変換テーブルを用いて画素位置の距離差に応じたバイリニア補間が実施され、このバイリニア補間で輝度変換された画像が画像バッファ21に書き戻されることによって画像バッファ21上にブロック間のバイリニア補間を施した輝度伸張画像が作成される(ステップS14,S15)。
The image conversion unit 225 uses the luminance conversion table (reference table) 232 created by the reference table determination unit 225 to perform luminance conversion processing on the input image (attention area) held in the
上記した処理のより詳細な手順を図11乃至図18に示している。なお、図中、widthは、画面の幅であり、ここでは、320画素とする。heightは、画面の高さであり、ここでは、240画素とする。BRIGHTNESS_MAXは輝度の最大値、ここでは、輝度値=255とする。BRIGHTNESS_MIEDIANは、輝度の中央値であり、ここでは、輝度値=128とする。 A more detailed procedure of the above processing is shown in FIGS. In the figure, width is the width of the screen, and here it is 320 pixels. The height is the height of the screen, and is 240 pixels here. BRIGHTNESS_MAX is the maximum value of luminance, here, luminance value = 255. BRIGHTNESS_MIEDIAN is a median value of luminance, and here, luminance value = 128.
図11に示すステップS111〜S116において、輝度伸張画像を格納するメモリ領域の確保および初期化(p_TempImg)、累積画像、総和画像(ブロック単位)を格納するメモリ領域の確保および初期化、輝度平均を求める変数の初期化(0にする)、累積総和画像の作成および格納等の各処理を実行する。図12に示すステップS117〜S119において、ブロック単位の輝度の総和を求め、格納する。 In steps S111 to S116 shown in FIG. 11, securing and initializing a memory area for storing the luminance expanded image (p_TempImg), securing and initializing a memory area for storing the cumulative image and the summed image (block unit), and averaging the luminance are performed. Each processing such as initialization (to 0) of a variable to be obtained and creation and storage of a cumulative total image are executed. In steps S117 to S119 shown in FIG. 12, the sum of luminance in units of blocks is obtained and stored.
図13に示すステップS121〜S123において、ブロック単位の総和の畳み込み処理を実行する。ブロック数分ループし、以下の図14に示す処理を実行する。ただし、注目ブロックが画面端ブロックの場合は、1ブロック内部にシフトしたブロックを注目ブロックとする。 In steps S121 to S123 shown in FIG. 13, a convolution process for the sum of blocks is executed. A loop is performed for the number of blocks, and the following processing shown in FIG. 14 is executed. However, if the block of interest is a screen edge block, the block shifted into one block is the block of interest.
図14および図15に示すステップS131〜S135において、注目ブロックの輝度平均値tempMeanを算出し、格納し、輝度平均値をもとに、当該ブロックのガンマ値を求める。 In steps S131 to S135 shown in FIGS. 14 and 15, the luminance average value tempMean of the block of interest is calculated and stored, and the gamma value of the block is obtained based on the luminance average value.
gamma=
(a/(BRIGHTNESS_MEDIAN* BRIGHTNESS_MEDIAN)) * (powpow((tempMean−BRIGHTNESS_MEDIAN),2))+1
(ただし、αは固定値)
図16に示すステップS136〜S138において、輝度値分ループし、当該ブロックの変換テーブルを作成する。平均輝度値が輝度値範囲の中央値以下の時、以下の式で変換輝度値を求める。
gamma =
(A / (BRIGHTNESS_MEDIAN * BRIGHTNESS_MEDIAN)) * (powpow ((tempMean-BRIGHTNESS_MEDIAN), 2)) + 1
(Where α is a fixed value)
In steps S136 to S138 shown in FIG. 16, a loop is performed for the luminance value, and a conversion table for the block is created. When the average luminance value is less than or equal to the median value of the luminance value range, the converted luminance value is obtained by the following formula.
(変換後の輝度値)=
BRIGHTNESS_MAX−(pow((BRIGHTNESS_MAX−入力画像輝度値)/BRIGHTNESS_MAX、ガンマ値))×BRIGHNESS_MAX
平均輝度値が輝度値範囲の中央値より大きいとき、以下の式で変換輝度値を求める。
(Luminance value after conversion) =
BRIGHTNESS_MAX− (pow ((BRIGHTNESS_MAX−input image luminance value) / BRIGHTNESS_MAX, gamma value)) × BRIGHTNESS_MAX
When the average luminance value is larger than the median value of the luminance value range, the converted luminance value is obtained by the following formula.
(変換後の輝度値)=
(pow((入力画像輝度値)/BRIGHTNESS_MAX、ガンマ値))×BRIGHNESS_MAX
図17に示すステップS141〜S145において、全画面分ループし、以下処理を実行する。
(Luminance value after conversion) =
(Pow ((input image brightness value) / BRIGHTNESS_MAX, gamma value)) × BRIGHTNESS_MAX
In steps S141 to S145 shown in FIG. 17, the entire screen is looped and the following processing is executed.
注目画素が位置するブロック位置(小数点)を求める。注目画素の当該ブロックとの位置差を小数点で求める。注目ブロックが画面端ブロックの場合は、1ブロック内部にシフトしたブロックを注目ブロックとする。当該ブロックと周囲ブロック(右、下、右下ブロックを含む4ブロック)の輝度変換テーブルの値に、ブロック位置差の係数を掛け線形補間の原理で変換値を求める。求めた変換値の最小、最大チェックを行い最終結果として格納する。 The block position (decimal point) where the pixel of interest is located is obtained. The position difference of the pixel of interest from the block is obtained with a decimal point. When the block of interest is a screen end block, the block shifted into one block is set as the block of interest. The value of the luminance conversion table of the block and the surrounding blocks (4 blocks including the right, lower, and lower right blocks) is multiplied by the coefficient of the block position difference to obtain a conversion value by the principle of linear interpolation. Check the minimum and maximum of the obtained conversion value and store it as the final result.
図18に示すステップS146〜S148において、不要となったメモリ領域の解放し、p_TempImgのメモリ領域を解放する。 In steps S146 to S148 shown in FIG. 18, the memory area that is no longer needed is released, and the memory area of p_TempImg is released.
上記したように、本発明の実施形態によれば、画像ブロック単位の輝度伸張パラメータと輝度変換テーブルを求め、輝度伸張処理部1の補間処理手段4bにおいて、周囲ブロックを利用したバイリニア補間で変換輝度値を求めて、バイリニア補間を施した(周囲ブロックの輝度伸張パラメータを反映した)各ブロックの画素をもとに上記入力画像に対する輝度伸張出力画像5を作成する構成としたことにより、ブロック境界に輝度差が生じることなく、画面全体の一部に明暗の画像が存在しても、その明暗の各画像を鮮明に表示出力できる輝度伸張処理機能を実現可能な画像処理装置を実現できる。
As described above, according to the embodiment of the present invention, the luminance expansion parameter and the luminance conversion table for each image block are obtained, and the conversion luminance is obtained by bilinear interpolation using surrounding blocks in the interpolation processing means 4b of the luminance
なお、上記した実施形態では、QVGA(320画素×240画素)の0〜255階調のカメラ映像を輝度伸張処理の対象となる入力画像としたが、これに限らず、例えばVGA等の画像を扱う画像処理装置に於いても本発明に係る輝度伸張処理機能部を適用することができる。また、上記実施形態において、輝度伸張処理機能を実現する輝度伸張処理部22の構成要素(ブロック参照輝度設定部221、平均輝度算出部222、累乗パラメータ算出部223、参照テーブル判定部224、画像変換部225、線形補間算出部226等)について、その一部機能若しくはすべての機能をソフトウェア処理により実現可能である。
In the above-described embodiment, the camera image of 0 to 255 gradations of QVGA (320 pixels × 240 pixels) is used as the input image to be subjected to the luminance expansion processing. However, the present invention is not limited to this, and an image such as VGA is used. The luminance expansion processing function unit according to the present invention can also be applied to an image processing apparatus to be handled. In the above embodiment, the components of the luminance
また、上記した実施形態では、ブロック毎に各ブロックの輝度値の総和を求め、注目ブロックとその周囲のブロックを含む重み付けおよび畳み込み処理した全ブロックの輝度総和を算出してブロック単位(注目ブロック)の画像の平均輝度値を算出しているが、これに限らず、例えば、ブロック毎に輝度平均を算出し、このブロック毎の平均輝度を用いて重み付けおよび畳み込み処理を実施することも可能である。 In the embodiment described above, the sum of the luminance values of each block is obtained for each block, and the sum of the luminance of all blocks subjected to weighting and convolution processing including the target block and its surrounding blocks is calculated to be a block unit (target block). However, the present invention is not limited to this. For example, it is also possible to calculate a luminance average for each block and perform weighting and convolution processing using the average luminance for each block. .
また、上記した実施形態では、本願発明の実施形態に係るブロック分割輝度伸張処理機能を、非線形曲線(凸曲線、凹曲線)を用いた非線形輝度伸張処理方式に適用した例を示しているが、これに限らず、例えばシグモイド関数曲線を利用した輝度伸張処理方式や、その他の各種輝度伸張処理方式に適用可能である。 In the embodiment described above, the block division luminance expansion processing function according to the embodiment of the present invention is applied to a nonlinear luminance expansion processing method using a non-linear curve (convex curve, concave curve). For example, the present invention is applicable to a luminance expansion processing method using a sigmoid function curve and other various luminance expansion processing methods.
また、上記した実施形態による輝度伸張処理では、注目エリアの画面全てに対して輝度伸張処理を実施していることから、CPUパフォーマンスを大幅に必要とする(ブロックサイズが小さくなればなるほど必要パフォーマンスは大きくなる)が、ブロック分割した複数のブロックを1つのエリアとして定義し、その中を順次シフトしてテーブルの更新を行うことにより、また、変化が大きい輝度集合を保有するブロックと判断した場合にのみ、その8近傍周囲ブロックの更新を実施することにより、処理の高速化を図る(CPUの処理負荷を軽減する)ことができる。 Further, in the luminance expansion processing according to the above-described embodiment, since the luminance expansion processing is performed on all the screens of the area of interest, the CPU performance is significantly required (the smaller the block size, the more necessary performance is However, if multiple blocks divided into blocks are defined as one area, and the table is updated by sequentially shifting the area, or if it is determined that the block has a large luminance set However, it is possible to increase the processing speed (reduce the processing load on the CPU) by updating the 8-neighboring surrounding blocks.
1…輝度伸張処理部、2…単眼カメラで撮影した画像(入力画像)、3…注目エリア対象画像、4a…ブロック処理手段、4b…補間処理手段、5…輝度伸張出力画像、11…カメラ、12…キャプチャ部、13…前置画像処理部、14…画像処理部、15…表示部、21…画像バッファ、22…輝度伸張処理部、221…ブロック参照輝度設定部、222…平均輝度算出部、223…累乗パラメータ算出部、224……参照テーブル判定部、225…画像変換部、226…輝度伸張出力画像、231…テーブル作成部、232…輝度変換用テーブル(参照テーブル)。
DESCRIPTION OF
Claims (8)
前記ブロック処理手段により作成されたブロック単位の輝度変換テーブルをもとに、分割したブロック各々の各画素について、ブロック毎に、周囲のブロックの輝度変換テーブルを参照してバイリニア補間を実施する補間処理手段と、
前記補間処理手段によりバイリニア補間を施した前記各ブロックの画素をもとに前記入力画像に対する輝度伸張出力画像を作成する画像変換手段と、
を具備したことを特徴とする画像処理装置。 For an input image that is subject to luminance expansion processing, the set area of interest is divided into a plurality of blocks, and for each divided block, the luminance values of the surrounding blocks are convolved with the luminance values of the plurality of blocks. Block processing means for calculating a luminance expansion parameter in units of blocks and creating a luminance conversion table in units of blocks based on the luminance expansion parameters;
Interpolation processing for performing bilinear interpolation with reference to the luminance conversion table of the surrounding block for each pixel for each pixel of each divided block based on the luminance conversion table in block units created by the block processing means Means,
Image conversion means for creating a luminance expansion output image for the input image based on the pixels of each block subjected to bilinear interpolation by the interpolation processing means;
An image processing apparatus comprising:
外部から指定されたブロックサイズに従い、前記注目エリアの画像を複数のブロックに分割するブロック分割手段と、
前記ブロック分割手段が分割したブロック各々についてブロック毎の輝度総和を算出し、算出したブロック毎の輝度総和を用いて、前記ブロック毎に、当該ブロックとその周囲のブロックを含む前記重み付けおよび畳み込み処理した全ブロックの輝度総和を算出する輝度総和算出手段と、
前記輝度総和算出手段が算出した輝度総和を用いて、前記ブロック毎に、当該ブロックの輝度平均を算出する輝度平均算出手段と、
前記輝度平均算出手段が算出したブロックの輝度平均をもとに、前記ブロック毎に、輝度伸張パラメータを算出する輝度伸張パラメータ算出手段と、
前記輝度伸張パラメータ算出手段が算出した輝度伸張パラメータをもとに、前記ブロック毎に、輝度伸張用の輝度変換テーブルを作成する輝度変換テーブル作成手段と、
を具備したことを特徴とする請求項2に記載の画像処理装置。 The block processing means includes
Block dividing means for dividing the image of the area of interest into a plurality of blocks according to a block size designated from the outside;
The luminance sum for each block is calculated for each of the blocks divided by the block dividing means, and the weighting and convolution processing including the block and its surrounding blocks is performed for each block using the calculated luminance sum for each block. A luminance sum calculation means for calculating the luminance sum of all blocks;
Using the luminance sum calculated by the luminance sum calculating means, for each block, the luminance average calculating means for calculating the luminance average of the block;
Luminance expansion parameter calculation means for calculating a luminance expansion parameter for each block based on the luminance average of the block calculated by the luminance average calculation means;
Based on the luminance expansion parameter calculated by the luminance expansion parameter calculating unit, a luminance conversion table creating unit that creates a luminance conversion table for luminance expansion for each block;
The image processing apparatus according to claim 2, further comprising:
輝度伸張処理の対象となる入力画像について設定された注目エリアを複数のブロックに分割し、分割したブロック各々について、周囲のブロックの輝度値を畳み込んだ複数のブロックの輝度値をもとにブロック単位の輝度伸張パラメータを算出し、当該輝度伸張パラメータをもとにブロック単位の輝度変換テーブルを作成する機能と、
前記作成されたブロック単位の輝度変換テーブルをもとに、分割したブロック各々の各画素について、ブロック毎に、周囲のブロックの輝度変換テーブルを参照してバイリニア補間を実施する機能と、
前記バイリニア補間を施した前記各ブロックの画素をもとに前記入力画像に対する輝度伸張出力画像を作成する機能と、
を実現させるための画像処理プログラム。 A processing device that holds an input image captured by a camera in an image buffer and performs gamma correction on the input image on the image buffer.
The area of interest set for the input image that is subject to luminance expansion processing is divided into a plurality of blocks, and each divided block is divided into blocks based on the luminance values of the plurality of blocks obtained by convolving the luminance values of surrounding blocks. A function for calculating a luminance expansion parameter in units and creating a luminance conversion table in block units based on the luminance expansion parameters;
Based on the created block-by-block luminance conversion table, for each pixel of each divided block, for each block, a function to perform bilinear interpolation with reference to the luminance conversion table of the surrounding blocks;
A function of creating a luminance expansion output image for the input image based on the pixels of each block subjected to the bilinear interpolation;
An image processing program for realizing
前記分割したブロックのうち、処理対象となる注目ブロックAについて、隣接する上下左右のブロックBと、隣接する斜め方向のブロックCとを用い、A>B>Cの重み付けにより前記畳み込みの処理を実施する機能と、
前記分割したブロック各々についてブロック毎の輝度総和を算出し、算出したブロック毎の輝度総和を用いて、前記ブロック毎に、当該ブロックとその周囲のブロックを含む前記重み付けおよび畳み込み処理した全ブロックの輝度総和を算出する機能と、
前記算出した輝度総和を用いて、前記ブロック毎に、当該ブロックの輝度平均を算出する機能と、
前記算出したブロックの輝度平均をもとに、前記ブロック毎に、輝度伸張パラメータを算出する機能と、
前記算出した輝度伸張パラメータをもとに、前記ブロック毎に、輝度伸張用の輝度変換テーブルを作成する機能と、
を実現させるための請求項6に記載の画像処理プログラム。 The function of creating the luminance conversion table for each block is as follows:
Among the divided blocks, with respect to the target block A to be processed, the convolution processing is performed using the adjacent upper, lower, left, and right blocks B and the adjacent diagonal blocks C and weighting A>B> C. Function to
A luminance sum for each block is calculated for each of the divided blocks, and the luminance of all blocks subjected to the weighting and convolution processing including the block and its surrounding blocks is calculated for each block using the calculated luminance sum for each block. A function to calculate the sum,
A function for calculating an average luminance of the block for each block using the calculated luminance sum;
A function for calculating a luminance expansion parameter for each block based on the calculated average luminance of the block;
A function of creating a luminance conversion table for luminance expansion for each block based on the calculated luminance expansion parameter;
The image processing program according to claim 6 for realizing the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010049907A JP5486963B2 (en) | 2010-03-05 | 2010-03-05 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010049907A JP5486963B2 (en) | 2010-03-05 | 2010-03-05 | Image processing apparatus and image processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011186678A true JP2011186678A (en) | 2011-09-22 |
JP5486963B2 JP5486963B2 (en) | 2014-05-07 |
Family
ID=44792881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010049907A Active JP5486963B2 (en) | 2010-03-05 | 2010-03-05 | Image processing apparatus and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5486963B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140070795A (en) * | 2012-11-27 | 2014-06-11 | 엘지디스플레이 주식회사 | Timing controller, driving method thereof, and display device using the same |
WO2024023955A1 (en) * | 2022-07-27 | 2024-02-01 | 株式会社日立ハイテク | Length measurement system, model creation system, and length measurement method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001243463A (en) * | 2000-02-28 | 2001-09-07 | Minolta Co Ltd | Recording medium and device and method for image processing |
JP2003256830A (en) * | 2002-03-04 | 2003-09-12 | Mitsubishi Electric Corp | Contrast emphasizing system |
JP2008263313A (en) * | 2007-04-10 | 2008-10-30 | Toshiba Teli Corp | Image processing apparatus and image processing program |
-
2010
- 2010-03-05 JP JP2010049907A patent/JP5486963B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001243463A (en) * | 2000-02-28 | 2001-09-07 | Minolta Co Ltd | Recording medium and device and method for image processing |
JP2003256830A (en) * | 2002-03-04 | 2003-09-12 | Mitsubishi Electric Corp | Contrast emphasizing system |
JP2008263313A (en) * | 2007-04-10 | 2008-10-30 | Toshiba Teli Corp | Image processing apparatus and image processing program |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140070795A (en) * | 2012-11-27 | 2014-06-11 | 엘지디스플레이 주식회사 | Timing controller, driving method thereof, and display device using the same |
KR102005760B1 (en) | 2012-11-27 | 2019-08-02 | 엘지디스플레이 주식회사 | Timing controller, driving method thereof, and display device using the same |
WO2024023955A1 (en) * | 2022-07-27 | 2024-02-01 | 株式会社日立ハイテク | Length measurement system, model creation system, and length measurement method |
Also Published As
Publication number | Publication date |
---|---|
JP5486963B2 (en) | 2014-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5909540B2 (en) | Image processing display device | |
JP5887067B2 (en) | Omnidirectional image processing system | |
CN108668093B (en) | HDR image generation method and device | |
US7983511B1 (en) | Methods and apparatus for noise reduction in digital images | |
JP2022036179A (en) | Image processing apparatus and control method therefor and program | |
JP6352547B2 (en) | Image processing apparatus and image processing method | |
JPWO2010098054A1 (en) | Image correction apparatus and image correction method | |
JP2015060012A (en) | Image processing system, image processing device, image processing method and image processing program as well as display system | |
JP5765893B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
JP5866146B2 (en) | Omnidirectional monitoring image display processing system | |
JP2007104249A (en) | Image correcting apparatus, image correcting method, program and recording medium | |
JP4340303B2 (en) | Image processing apparatus and image processing program | |
JP5486963B2 (en) | Image processing apparatus and image processing program | |
JP6624061B2 (en) | Image processing method, image processing device, and recording medium for storing image processing program | |
JP5927265B2 (en) | Image processing apparatus and program | |
JP5537995B2 (en) | Image processing apparatus and image processing program | |
Venkatesh et al. | Image Enhancement and Implementation of CLAHE Algorithm and Bilinear Interpolation | |
JP6857006B2 (en) | Imaging device | |
Shen et al. | Recovering high dynamic range by Multi-Exposure Retinex | |
EP2631871B1 (en) | Virtual image generation | |
JP4292219B2 (en) | Image processing apparatus and image processing program | |
TWI754334B (en) | Image correction method and device | |
KR20220013290A (en) | Auto-focus compensation method and auto-focus compensation device | |
JP2016170637A (en) | Image processing device and image processing method | |
JP2020064456A (en) | Image processing device, image processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130128 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130920 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131018 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131022 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131213 |
|
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: 20140128 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140224 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5486963 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |
|
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 |