JP6073403B2 - Image data generation method and image data generation apparatus - Google Patents

Image data generation method and image data generation apparatus Download PDF

Info

Publication number
JP6073403B2
JP6073403B2 JP2015085456A JP2015085456A JP6073403B2 JP 6073403 B2 JP6073403 B2 JP 6073403B2 JP 2015085456 A JP2015085456 A JP 2015085456A JP 2015085456 A JP2015085456 A JP 2015085456A JP 6073403 B2 JP6073403 B2 JP 6073403B2
Authority
JP
Japan
Prior art keywords
photosensitive
image data
luminance
distribution range
data generation
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
Application number
JP2015085456A
Other languages
Japanese (ja)
Other versions
JP2016116207A (en
Inventor
鄒嘉駿
林品▲傑▼
許佳微
Original Assignee
由田新技股▲ふん▼有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 由田新技股▲ふん▼有限公司 filed Critical 由田新技股▲ふん▼有限公司
Publication of JP2016116207A publication Critical patent/JP2016116207A/en
Application granted granted Critical
Publication of JP6073403B2 publication Critical patent/JP6073403B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はイメージ処理のメカニズムに関し、特にイメージデータ生成方法及び装置に関する。   The present invention relates to an image processing mechanism, and more particularly to an image data generation method and apparatus.

科学技術の発展に伴い、現在の生活ではデジタルカメラが生活において不可欠な電気製品となっている。デジタルカメラは感光センサーを利用して光線を電荷信号に変換するものである。デジタルカメラの感光センサーは、光線がレンズを通過した後の画像に対してサンプリング動作を行うので、サンプリングしたいターゲットが密集しており且つ重複する図形或いは線を具備するパターンの時であって、感光センサーの空間解像度(Spatial Resolution)がちょうど足りない時、サンプリングのターゲットを有効に解析することができず、このため、生成されたイメージにおいて元々は肉眼では発見されない干渉縞等のイメージの歪み現象が見られる。   With the development of science and technology, digital cameras have become indispensable electrical products in daily life. A digital camera uses a photosensitive sensor to convert a light beam into a charge signal. Since the photosensitive sensor of the digital camera performs a sampling operation on the image after the light beam passes through the lens, the target to be sampled is dense and has a pattern with overlapping figures or lines. When the spatial resolution of the sensor (Spatial Resolution) is not enough, the sampling target cannot be analyzed effectively, and as a result, image distortion phenomena such as interference fringes that are not originally found with the naked eye in the generated image. It can be seen.

デジタルカメラ製造メーカーはこの問題を解決するため、デジタルカメラの中にローパスフィルタ(Low-Pass Filter,LPF)を設け、ローパスフィルタによって空間周波数(spatial frequency)がとても高い光線が感光センサーに進入するのを遮断し、干渉縞の生成を低減させる。しかし、ローパスフィルタは画像の詳細を減損させるので、画像の鮮鋭さが低下する。   In order to solve this problem, digital camera manufacturers install a low-pass filter (LPF) in the digital camera, and light with a very high spatial frequency enters the photosensitive sensor by the low-pass filter. And the generation of interference fringes is reduced. However, the low-pass filter detracts from the details of the image, thus reducing the sharpness of the image.

特開2009−271058号公報JP 2009-271058 A

本発明はイメージデータ生成方法及び装置を提供し、原画像における影の現象を低減させる。   The present invention provides a method and apparatus for generating image data, and reduces the phenomenon of shadows in an original image.

本発明は上述の課題を解決するため以下の構成を備える。
感光センサーにより原画像を獲得し、前記感光センサーは複数の感光ユニットを具備し、各前記感光ユニットは複数の感光画素を具備し、各前記感光ユニットで検出された複数の輝度値により前記原画像における表示画素を形成するイメージデータ生成方法であって、
各前記感光ユニットの前記原画像における対応する最大輝度分布範囲を獲得し、
複数の色光がそれぞれ対応する前記最大輝度分布範囲内の前記輝度値を加算することにより、各前記感光ユニットの前記色光毎の加算後の輝度値を獲得し、
各前記感光ユニットの前記色光毎の前記加算後の輝度値を、調整後のイメージが対応する表示画素の画素データであると設定する。
The present invention has the following configuration in order to solve the above-described problems.
An original image is acquired by a photosensitive sensor, the photosensitive sensor includes a plurality of photosensitive units, each of the photosensitive units includes a plurality of photosensitive pixels, and the original image is determined by a plurality of luminance values detected by each of the photosensitive units. An image data generation method for forming display pixels in
Obtaining a corresponding maximum luminance distribution range in the original image of each photosensitive unit;
By adding the luminance values within the maximum luminance distribution range to which each of a plurality of color lights corresponds, a luminance value after addition for each color light of each photosensitive unit is obtained,
The luminance value after addition for each color light of each photosensitive unit is set as pixel data of a display pixel corresponding to the adjusted image.

前記色光は赤色光、緑色光、及び青色光を含み、各前記感光ユニットはN1×N2個の前記感光画素を含み、N1とN2は正の整数であり、
各前記感光ユニットの前記原画像における対応する前記最大輝度分布範囲を獲得するステップは、
各前記感光ユニットのN1個の感光画素列における前記複数の輝度値の最高のM個の感光画素列を読み取り、前記最大輝度分布範囲は前記M個の感光画素列であると設定し、前記M個の感光画素列はM×N2個の前記感光画素を含み、N1が3の倍数の時、MはN1/3であると設定され、N1が3の倍数ではない時、MはN1/3の最小整数xより小さくなく或いはMはx+1の整数に設定されることを含む。
The colored light includes red light, green light, and blue light, each of the photosensitive units includes N1 × N2 photosensitive pixels, and N1 and N2 are positive integers,
Obtaining the corresponding maximum luminance distribution range in the original image of each photosensitive unit;
The highest M photosensitive pixel rows of the plurality of luminance values in the N1 photosensitive pixel rows of each of the photosensitive units are read, the maximum luminance distribution range is set to be the M photosensitive pixel rows, and the M Each photosensitive pixel row includes M × N2 photosensitive pixels. When N1 is a multiple of 3, M is set to N1 / 3. When N1 is not a multiple of 3, M is N1 / 3. Or M is set to an integer of x + 1.

前記最大輝度分布範囲は前記M個の感光画素列であると設定するステップは、
各前記色光に対して、各前記感光ユニットにおいて各前記感光画素列の前記輝度値を加算し、
前記輝度値を加算後の値における最高の前記M個の感光画素列を前記最大輝度分布範囲であると設定することを含む。
The step of setting the maximum luminance distribution range to be the M photosensitive pixel rows,
For each color light, add the luminance value of each photosensitive pixel column in each photosensitive unit,
Setting the highest M photosensitive pixel columns in the value after adding the luminance values to be within the maximum luminance distribution range.

前記最大輝度分布範囲は前記M個の感光画素列であると設定するステップは、
各前記色光に対して、各前記感光ユニットにおいて各前記感光画素列の前記輝度値を加算した後平均し、
前記輝度値を加算後に平均した値における最高のM個の感光画素列を前記最大輝度分布範囲であると設定することを含む。
The step of setting the maximum luminance distribution range to be the M photosensitive pixel rows,
For each color light, after adding the luminance value of each photosensitive pixel row in each photosensitive unit, it is averaged,
Setting the highest M photosensitive pixel columns in the averaged value after adding the luminance values to be within the maximum luminance distribution range.

前記最大輝度分布範囲は前記M個の感光画素列であると設定するステップは、
各前記色光に対して、各前記感光ユニットで各前記感光画素列において半数を超えた前記輝度値が閾値より大きいか否かを判断し、
半数を超えた前記輝度値が閾値より大きい前記M個の感光画素列を前記最大輝度分布範囲であると設定する。
The step of setting the maximum luminance distribution range to be the M photosensitive pixel rows,
For each of the color lights, it is determined whether or not the luminance value that exceeds half of each photosensitive pixel column in each photosensitive unit is greater than a threshold value,
The M number of photosensitive pixel rows in which the luminance value exceeding half is larger than the threshold value is set as the maximum luminance distribution range.

イメージデータ生成装置において、
複数の感光ユニットを含み、各前記感光ユニットは複数の感光画素を含み、各前記感光ユニットによって検出された複数の輝度値によって原画像における表示画素を形成する感光センサーと、
複数のモジュールを含む記憶ユニットと、
前記感光センサー及び前記記憶ユニットに結合され、且つ前記感光センサーによって前記原画像を形成するためイメージデータを獲得した後、前記複数のモジュールにより調整後のイメージを生成する処理ユニットと、
前記複数のモジュールは、
各前記感光ユニットが前記原画像における対応する最大輝度分布範囲を獲得する輝度検出モジュールと、
複数の色光がそれぞれ対応する前記最大輝度分布範囲内の前記複数の輝度値を加算することにより、各前記感光ユニットの前記色光毎の加算後の輝度値を獲得する輝度加算モジュールと、
各前記感光ユニットの前記色光毎の前記加算後の輝度値を前記調整後のイメージが対応する表示画素の画素データであると設定するイメージ生成モジュールと、
を備える。
In the image data generation device,
A plurality of photosensitive units, each photosensitive unit including a plurality of photosensitive pixels, and a photosensitive sensor that forms display pixels in an original image according to a plurality of luminance values detected by each of the photosensitive units;
A storage unit including a plurality of modules;
A processing unit coupled to the photosensitive sensor and the storage unit, and obtaining image data for forming the original image by the photosensitive sensor and generating an adjusted image by the plurality of modules;
The plurality of modules are:
A luminance detection module in which each photosensitive unit obtains a corresponding maximum luminance distribution range in the original image;
A luminance addition module that obtains a luminance value after addition for each color light of each of the photosensitive units by adding the plurality of luminance values within the maximum luminance distribution range to which a plurality of color lights respectively correspond;
An image generation module that sets the luminance value after addition for each color light of each of the photosensitive units as pixel data of a display pixel corresponding to the adjusted image;
Is provided.

上述のように、本発明の調整後のイメージは、原画像において具備する干渉縞等の影の現象を大幅に低減することができ、調整後のイメージのシャープネスを向上させ、後続する各イメージ処理、イメージ分析を支援することができる。   As described above, the adjusted image of the present invention can greatly reduce the shadow phenomenon such as interference fringes included in the original image, improve the sharpness of the adjusted image, and perform each subsequent image processing. Can support image analysis.

本発明の一実施例に基づいたイメージデータ生成装置のブロック図である。1 is a block diagram of an image data generation device according to an embodiment of the present invention. 本発明の一実施例に基づいた感光ユニットの模式図である。It is a schematic diagram of the photosensitive unit based on one Example of this invention. 本発明の一実施例に基づいた記憶ユニットのブロック図である。It is a block diagram of the storage unit based on one Example of this invention. 本発明の一実施例に基づいたイメージデータの生成方法のフローチャートである。4 is a flowchart of a method for generating image data according to an embodiment of the present invention. 本発明の一実施例に基づいた単一の感光ユニットに対する最大輝度分布範囲の模式図である。FIG. 6 is a schematic diagram of a maximum luminance distribution range for a single photosensitive unit according to an embodiment of the present invention. 本発明の一実施例に基づいた単一の感光ユニットに対する最大輝度分布範囲の模式図である。FIG. 6 is a schematic diagram of a maximum luminance distribution range for a single photosensitive unit according to an embodiment of the present invention. 本発明の一実施例に基づいた単一の感光ユニットに対する最大輝度分布範囲の模式図である。FIG. 6 is a schematic diagram of a maximum luminance distribution range for a single photosensitive unit according to an embodiment of the present invention.

本発明は上述の特徴と利点をより分かり易くするため、以下実施例を挙げて、図面と共に詳細に説明する。   In order to make the above features and advantages easier to understand, the present invention will be described in detail with reference to the following examples.

図1は本発明の一実施例に基づいたイメージデータ生成装置のブロック図である。図1を参照すると、イメージデータ生成装置100は例えばデジタルカメラ、デジタルビデオカメラ、スマートフォン等の画像取得機能を有する電気装置である。ここで、イメージデータ生成装置100は感光センサー110、処理ユニット120、及び記憶ユニット130を含む。処理ユニット120は、感光センサー110及び記憶ユニット130に結合される。感光センサー110を利用してレンズ(図示せず)を介した光線をキャプチャして光線を電荷信号に変換する。その後、処理ユニット120は電荷信号を受信して、電荷信号に対してサンプリングおよびデジタル化を行なって、デジタル化されたイメージデーターを獲得し、その後、イメージデータを記憶ユニット130に記憶する。   FIG. 1 is a block diagram of an image data generation apparatus according to an embodiment of the present invention. Referring to FIG. 1, the image data generation device 100 is an electric device having an image acquisition function such as a digital camera, a digital video camera, or a smartphone. Here, the image data generation apparatus 100 includes a photosensitive sensor 110, a processing unit 120, and a storage unit 130. The processing unit 120 is coupled to the photosensitive sensor 110 and the storage unit 130. The photosensitive sensor 110 is used to capture a light beam through a lens (not shown) and convert the light beam into a charge signal. Thereafter, the processing unit 120 receives the charge signal, samples and digitizes the charge signal to obtain digitized image data, and then stores the image data in the storage unit 130.

感光センサー110は、例えば電荷結合デバイス(Charge coupled device,CCD)或いは相補型金属酸化物トランジスタ(Complementary metal oxide semiconductor transistors,CMOS)である。処理ユニット120は、例えば中央処理ユニット(Central Processing Unit,CPU)、マイクロプロセッサー(microprocessor)、デジタルシグナルプロセッサー(digital signal processor,DSP)等である。記憶ユニット130は、不揮発性メモリ(Non-volatile memory)、ランダムアクセスメモリ(Random Access Memory,RAM)或いはハードディスクドライブ等である。   The photosensitive sensor 110 is, for example, a charge coupled device (CCD) or a complementary metal oxide semiconductor transistor (CMOS). The processing unit 120 is, for example, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), or the like. The storage unit 130 is a non-volatile memory, a random access memory (RAM), a hard disk drive, or the like.

具体的には、図2は本発明の一実施例に基づいた感光ユニットの模式図である。ここで、感光センサー110は複数の感光ユニットU(すなわち、図2において太い黒い線で示した範囲)を含む。それぞれの感光ユニットUはN1×N2個の感光画素SPを含み、図2において破線で描かれた円形枠内に拡大図が示される。上述したN1とN2は正の整数であり、N1はN2と等しくても良く、或いはN1はN2と異なっても良い。説明を容易にするため、本実施例では感光センサー110は5×6セットの感光ユニットUを含むように設定し、且つ1つの感光ユニットUは5×5個の感光画像SPを含むものとする。   Specifically, FIG. 2 is a schematic view of a photosensitive unit based on an embodiment of the present invention. Here, the photosensitive sensor 110 includes a plurality of photosensitive units U (that is, a range indicated by a thick black line in FIG. 2). Each photosensitive unit U includes N1 × N2 photosensitive pixels SP, and an enlarged view is shown in a circular frame drawn by a broken line in FIG. N1 and N2 described above are positive integers, and N1 may be equal to N2, or N1 may be different from N2. For ease of explanation, in this embodiment, the photosensitive sensor 110 is set to include 5 × 6 sets of photosensitive units U, and one photosensitive unit U includes 5 × 5 photosensitive images SP.

本実施例において、1つの感光画素SPは赤色、緑色、青色の3色光の波長強度を検出することができる。つまり、本実施例における原画像のそれぞれの表示画素は、5×5個の感光画素SPが検出した5×5セットのRGB輝度値により構成されるものである。   In this embodiment, one photosensitive pixel SP can detect the wavelength intensities of red, green, and blue three-color light. That is, each display pixel of the original image in the present embodiment is configured by 5 × 5 sets of RGB luminance values detected by 5 × 5 photosensitive pixels SP.

本実施例はプログラムコードによって実現されるものである。例えば、記憶ユニット130は複数のコードスニペットを記憶し、上述したコードスニペットは実装された後、処理ユニット120によって実施される。例えば、記憶ユニット130においては複数のモジュールを含み、これらのモジュールによってそれぞれ複数の機能が実行され、各モジュールは1つ或いは複数のコードスニペットによって構成されるものである。   This embodiment is realized by a program code. For example, the storage unit 130 stores a plurality of code snippets, and the code snippets described above are implemented by the processing unit 120 after being implemented. For example, the storage unit 130 includes a plurality of modules, each of which performs a plurality of functions, and each module is configured by one or a plurality of code snippets.

図3は発明の一実施例に基づいた記憶ユニットのブロック図である。図3を参照すると、記憶ユニット130は輝度検出モジュール301、輝度加算モジュール303、及びイメージ生成モジュール305を含む。輝度検出モジュール301は、感光ユニットU毎の各色光に含まれる複数の輝度値に基づいて、感光ユニットU毎の各色光が対応する最大輝度分布範囲を獲得する。輝度加算モジュール303は、各感光ユニットUの各色光が対応する最大輝度分布範囲内の複数の輝度値を加算して、各感光ユニットUの各色光の加算後の輝度値を獲得する。イメージ生成モジュール305は、感光ユニットU毎の各色光の加算後の輝度値を、調整後のイメージが対応する表示画素の画素データであると設定する。   FIG. 3 is a block diagram of a storage unit according to one embodiment of the invention. Referring to FIG. 3, the storage unit 130 includes a luminance detection module 301, a luminance addition module 303, and an image generation module 305. The luminance detection module 301 acquires a maximum luminance distribution range corresponding to each color light for each photosensitive unit U based on a plurality of luminance values included in each color light for each photosensitive unit U. The luminance addition module 303 adds a plurality of luminance values within the maximum luminance distribution range corresponding to each color light of each photosensitive unit U, and obtains a luminance value after addition of each color light of each photosensitive unit U. The image generation module 305 sets the luminance value after addition of each color light for each photosensitive unit U as pixel data of the display pixel corresponding to the adjusted image.

図4は本発明の一実施例に基づいたイメージデータの生成方法のフローチャートである。図1〜図4を参照し、本実施例において、処理ユニット120は感光センサー110により原画像を形成するためイメージデータを獲得する。感光センサー110が検出したイメージデータにおいては複数の色光の輝度値が含まれている。上述色光は赤色光、緑色光、及び青色光が含まれる。   FIG. 4 is a flowchart of a method for generating image data according to an embodiment of the present invention. 1 to 4, in this embodiment, the processing unit 120 acquires image data for forming an original image by the photosensitive sensor 110. The image data detected by the photosensitive sensor 110 includes luminance values of a plurality of color lights. The color light includes red light, green light, and blue light.

ステップS410では、処理ユニット120が輝度検出モジュール301により各感光ユニットUの原画像における対応する最大輝度分布範囲を獲得する。すなわち、輝度検出モジュール301は原画像の各表示画素において、各色光が含む複数の輝度値に基づいて、各感光ユニットUの各色光が対応する最大輝度分布範囲を獲得する。   In step S <b> 410, the processing unit 120 acquires the corresponding maximum luminance distribution range in the original image of each photosensitive unit U by the luminance detection module 301. That is, the luminance detection module 301 acquires the maximum luminance distribution range corresponding to each color light of each photosensitive unit U based on a plurality of luminance values included in each color light in each display pixel of the original image.

具体的には、輝度検出モジュール301は感光ユニットU毎のN1個の感光画素列において、輝度値が最高のM個の感光画素列を読み出し、最大輝度分布範囲はM個の感光画素列であると設定し、すなわち、M×N2個の感光画素SPと設定する。N1が3の倍数のとき、MはN1/3であると設定され、N1が3の倍数ではないとき、MはN1/3の最小整数xより小さくないと設定され、或いはMはx+1と設定される。   Specifically, the luminance detection module 301 reads M photosensitive pixel columns having the highest luminance value among N1 photosensitive pixel columns for each photosensitive unit U, and the maximum luminance distribution range is M photosensitive pixel columns. That is, M × N2 photosensitive pixels SP. When N1 is a multiple of 3, M is set to be N1 / 3, and when N1 is not a multiple of 3, M is set to be less than the minimum integer x of N1 / 3, or M is set to x + 1 Is done.

例えば、N1が3の倍数であるとき、6×6個の感光画素SPにとっては、Mは2であると設定される。すなわち、最大輝度分布範囲は2×6個の感光画素SPに設定される。また、N1が3の倍数ではない時、5×5個の感光画素SPにとっては、Mは5/3の最小整数xより小さくないと設定され、即ち2、或いはMは3であると設定される。すなわち、最大輝度分布範囲は2×5個の感光画素SPに設定され、或いは3×5個の感光画素SPであると設定される。   For example, when N1 is a multiple of 3, M is set to 2 for 6 × 6 photosensitive pixels SP. That is, the maximum luminance distribution range is set to 2 × 6 photosensitive pixels SP. When N1 is not a multiple of 3, for 5 × 5 photosensitive pixels SP, M is set not to be smaller than the minimum integer x of 5/3, that is, 2 or M is set to 3. The That is, the maximum luminance distribution range is set to 2 × 5 photosensitive pixels SP, or 3 × 5 photosensitive pixels SP.

輝度検出モジュール301は、各色光に対して、各感光ユニットの最大輝度分布範囲を検出する。例えば、赤色光を例にとると、輝度検出モジュール301は、その中の1つの感光ユニットUが検出した赤色光のN1×N2個の輝度値を先ず取得し、その後、これらの輝度値に基づいて最大輝度のM列の感光画素列を探し出す。緑色光と青色光もこれと同様の方法で行なう。   The luminance detection module 301 detects the maximum luminance distribution range of each photosensitive unit for each color light. For example, taking red light as an example, the luminance detection module 301 first obtains N1 × N2 luminance values of red light detected by one photosensitive unit U, and then based on these luminance values. Thus, the M photosensitive pixel rows having the maximum luminance are searched. Green light and blue light are also processed in the same manner.

最大輝度のM列の感光画素列を探し出すには以下の様に幾つかの方法がある。輝度検出モジュール301は、各色光に対して、感光ユニットU毎に、各感光画素列の輝度値を加算し、且つこれらの輝度値の加算後の値における最高のM個の感光画素列を最大輝度分布範囲であると設定する。或いは、輝度検出モジュール301は各色光に対して、感光ユニットU毎において、各感光画素列の最大輝度値を加算した後平均し、且つ加算後に平均した値における最高のM個の感光画素列を最大輝度分布範囲であると設定する。また、輝度検出モジュール301も各色光に対して、感光ユニットU毎に、各感光画素列において半数を超えた輝度値が閾値より大きいか否かを判断し、且つ半数を超えた輝度値が閾値より大きいM個の感光画素列を最大輝度分布範囲であると設定する。しかし、上述した内容は例にすぎず、本発明はこれに限られるものではない。   There are several methods for finding the M pixel photosensitive pixel columns having the maximum luminance as follows. The luminance detection module 301 adds the luminance value of each photosensitive pixel column to each color light for each photosensitive unit U, and maximizes the highest M photosensitive pixel columns in the value after addition of these luminance values. Set to be in the luminance distribution range. Alternatively, the luminance detection module 301 adds the maximum luminance value of each photosensitive pixel column for each color light unit after adding the maximum luminance value, and calculates the highest M photosensitive pixel columns in the averaged value after the addition. Set to be the maximum luminance distribution range. In addition, the luminance detection module 301 also determines, for each photosensitive unit U, whether or not the luminance value that exceeds half of each photosensitive pixel column is greater than the threshold for each color light, and the luminance value that exceeds half is the threshold. The larger M photosensitive pixel columns are set to be within the maximum luminance distribution range. However, the above description is only an example, and the present invention is not limited to this.

以下例を挙げて単一の感光ユニットの最大輝度分布範囲を説明する。   The maximum luminance distribution range of a single photosensitive unit will be described below with an example.

図5A〜図5Cは本発明の一実施例に基づいた単一の感光ユニットに対する最大輝度分布範囲の模式図である。本実施例において、原画像における表示画素が対応する感光ユニットU1を例として、感光ユニットU1は、5×5個の感光画素を含む。ただし、これは例を挙げたにすぎず、本発明はこれに限られるものではない。   5A to 5C are schematic diagrams of a maximum luminance distribution range for a single photosensitive unit according to an embodiment of the present invention. In this embodiment, taking the photosensitive unit U1 corresponding to the display pixel in the original image as an example, the photosensitive unit U1 includes 5 × 5 photosensitive pixels. However, this is merely an example, and the present invention is not limited to this.

ここで、感光ユニットU1におけるその中の一種の色光の最大輝度分布範囲は、例えば2×5個の感光画素SPであり、例えば図5A〜図5Cに示された最大輝度分布範囲501〜503の中の一種のようになる。ただし、これは例を挙げたにすぎず、実際の分布状況に応じて変化する。その他の実施例において、最大輝度分布は3×5個の感光画素SPでも差し支えない。最大輝度分布の含む感光画素列は連接されて一体となる。   Here, the maximum luminance distribution range of one kind of color light in the photosensitive unit U1 is, for example, 2 × 5 photosensitive pixels SP. For example, the maximum luminance distribution range 501 to 503 shown in FIGS. Like a kind of inside. However, this is just an example and changes according to the actual distribution situation. In other embodiments, the maximum luminance distribution may be 3 × 5 photosensitive pixels SP. The photosensitive pixel rows including the maximum luminance distribution are connected and integrated.

感光ユニット毎における各色光の最大輝度分布範囲を獲得した後、ステップS415において、処理ユニット120は輝度加算モジュール303により感光ユニット毎における各色光が対応する最大輝度分布範囲内の輝度値を加算することにより、感光ユニット毎における各色光の加算後の輝度値を獲得する。   After obtaining the maximum luminance distribution range of each color light for each photosensitive unit, in step S415, the processing unit 120 adds the luminance value within the maximum luminance distribution range corresponding to each color light for each photosensitive unit by the luminance addition module 303. Thus, the luminance value after addition of each color light in each photosensitive unit is obtained.

ステップS420において、処理ユニット120はイメージ生成モジュール305により、感光ユニット毎の各色光の加算後の輝度値を、調整後のイメージが対応する表示画素の画素データであると設定する。   In step S420, the processing unit 120 uses the image generation module 305 to set the luminance value after addition of each color light for each photosensitive unit as the pixel data of the display pixel corresponding to the adjusted image.

図5A〜図5Cの感光ユニットを例として、図5Aで示したのが、赤色光の最大輝度分布範囲501であるとしたならば、図5Bで示したのが緑色光の最大輝度分布範囲502であり、図5Cで示したのが青色光の最大輝度分布範囲503である。ただし、これらは説明を容易にするためのものであり、本発明はこれらに限定されるものではない。輝度加算モジュール303は、最大輝度分布範囲501が含む輝度値を加算することによって加算後の輝度値R−Sumを獲得し、最大輝度分布範囲502が含む輝度値を加算することによって加算後の輝度値G−Sumを獲得し、最大輝度分布範囲503が含む輝度値を加算することによって、加算後の輝度値B−Sumを獲得する。このため、輝度加算モジュール303は、感光ユニットU1に対応する1セットの新たな画素データ(R-Sum, G-Sum, B-Sum)を獲得することができる。   Taking the photosensitive unit of FIGS. 5A to 5C as an example, if the maximum luminance distribution range 501 of red light is shown in FIG. 5A, the maximum luminance distribution range 502 of green light is shown in FIG. 5B. The maximum luminance distribution range 503 for blue light is shown in FIG. 5C. However, these are for ease of explanation, and the present invention is not limited to these. The luminance addition module 303 obtains the luminance value R-Sum after addition by adding the luminance values included in the maximum luminance distribution range 501 and adds the luminance value included in the maximum luminance distribution range 502 to obtain the luminance after addition. The value G-Sum is acquired, and the luminance value B-Sum after the addition is acquired by adding the luminance values included in the maximum luminance distribution range 503. For this reason, the luminance addition module 303 can acquire one set of new pixel data (R-Sum, G-Sum, B-Sum) corresponding to the photosensitive unit U1.

その後、イメージ生成モジュール305は原画像の画素の寸法に基づいて調整後のイメージを生成し、且つ輝度加算モジュール303が獲得した新たな画素データ(R-Sum, G-Sum, B-Sum)を調整後のイメージにおける感光ユニットU1に対応する表示画素の画素データであると設定する。これに類推する方法で、上述した方法により調整後のイメージにおける各表示画素のイメージデータを逐一設定しても良い。   Thereafter, the image generation module 305 generates an adjusted image based on the pixel dimensions of the original image, and the new pixel data (R-Sum, G-Sum, B-Sum) acquired by the luminance addition module 303 is obtained. The pixel data of the display pixel corresponding to the photosensitive unit U1 in the adjusted image is set. By analogy with this, the image data of each display pixel in the adjusted image may be set one by one by the above-described method.

原画像における各RGBデータは24ビット(bit)を使用して表示する(即ち、1色光は8ビットを使用する)とした場合、原画像における1つの表示画素はN1×N2個の24ビットのメモリ空間を使用する。調整後のイメージにおけるRGBデータ毎に例えば48ビットを使用して表示する(即ち、1色光は16ビットを使用する)とした場合、調整後のイメージにおける1つの表示画素は48ビットのメモリ空間を使用するのみである。   When each RGB data in the original image is displayed using 24 bits (that is, one color light uses 8 bits), one display pixel in the original image is N1 × N2 24 bits. Use memory space. For example, when each RGB data in the adjusted image is displayed using 48 bits (that is, one color light uses 16 bits), one display pixel in the adjusted image has a 48-bit memory space. Only use.

以上の様に、エネルギーの角度から分析すると、感光ユニットの大きさと配置方式の相違は、感光ユニットが出力するイメージデータが影の現象を生成することになるけれども、サンプリングしたいターゲット全体により、感光ユニットに投射されるエネルギーは、イメージのエネルギーと輝度を実際に反映したものとすることができる。各色光の最大輝度分布を探し出すことにより、感光ユニットにおける散乱によって検出された輝度値をフィルタリングすることができ、これにより、イメージとサンプリングしたいターゲットの間の輝度の類似度を復元することができ、更に干渉縞の生成を低減させることができ、イメージの詳細な表限度を更に向上させることができる。   As described above, when analyzed from the angle of energy, the difference in the size and arrangement method of the photosensitive unit is that the image data output from the photosensitive unit generates a shadow phenomenon, but depending on the entire target to be sampled, The energy projected onto the image can actually reflect the energy and brightness of the image. By finding the maximum luminance distribution of each color light, it is possible to filter the luminance values detected by scattering in the photosensitive unit, thereby restoring the luminance similarity between the image and the target to be sampled, Further, the generation of interference fringes can be reduced, and the detailed table limit of the image can be further improved.

本発明は実施例の如く説明したが、この実施例は本発明の範囲を限定するものではなく、以下なり技術における通常の知識を具備する者が、本発明の精神と範囲を逸脱しない範囲で、変更・附加が許されるものであり、本発明の保護範囲は均等の範囲にも及ぶものとする。   Although the present invention has been described as an embodiment, this embodiment does not limit the scope of the present invention, and those who have ordinary knowledge in the art will not depart from the spirit and scope of the present invention. Modifications and additions are permitted, and the protection scope of the present invention shall cover an equivalent range.

100 イメージデータ生成装置
110 感光センサー
120 処理ユニット
130 記憶ユニット
301 輝度検出モジュール
303 輝度加算モジュール
305 イメージ生成モジュール
501〜503 最大輝度分布範囲
SP 感光画素
U、U1 感光ユニット
S410〜S420 イメージデータ生成方法の各ステップ
100 Image data generation device 110 Photosensitive sensor 120 Processing unit 130 Storage unit 301 Luminance detection module 303 Luminance addition module 305 Image generation modules 501 to 503 Maximum luminance distribution range SP Photosensitive pixels U and U1 Photosensitive units S410 to S420 Each of the image data generation methods Step

Claims (10)

感光センサーにより原画像を獲得し、前記感光センサーは複数の感光ユニットを具備し、前記感光ユニットで検出された複数の輝度値により前記原画像における表示画素を形成し、各前記感光ユニットはN1×N2個の感光画素を含み、N1とN2は正の整数であるイメージデータ生成方法であって、
各前記感光ユニットの前記原画像における対応する最大輝度分布範囲を獲得し、
各前記感光ユニットの前記原画像における対応する前記最大輝度分布範囲を獲得するステップは、
各前記感光ユニットのN1個の感光画素列における前記複数の輝度値の最高のM個の前記感光画素列を読み取り、前記M個の感光画素列はM×N2個の前記感光画素を含み、N1が3の倍数の時、MはN1/3であると設定され、N1が3の倍数ではない時、Mは整数xまたはx+1であると設定され、xはN1/3で得られる商の値に1を加えた数に等しく、
前記M個の感光画素列が前記最大輝度分布範囲であると設定することを含み、
複数の色光がそれぞれ対応する前記最大輝度分布範囲内の前記輝度値を加算することにより、各前記感光ユニットの前記色光毎の加算後の輝度値を獲得し、
各前記感光ユニットの前記色光毎の前記加算後の輝度値を、調整後のイメージが対応する表示画素の画素データであると設定する、
ことを特徴とするイメージデータ生成方法。
Acquiring an original image by the photosensitive sensor, the photosensitive sensor comprises a plurality of photosensitive units, the substrates to form a display pixel in the original image by a plurality of luminance values detected by each of the photosensitive units, each of the photosensitive units N1 × includes the N2 photosensitive pixels, N1 and N2 is a positive integer der Ru image data generating method,
Obtaining a corresponding maximum luminance distribution range in the original image of each photosensitive unit;
Obtaining the corresponding maximum luminance distribution range in the original image of each photosensitive unit;
The M photosensitive pixel rows having the highest luminance value in the N1 photosensitive pixel rows of each of the photosensitive units are read, and the M photosensitive pixel rows include M × N2 photosensitive pixels, and N1 When N is a multiple of 3, M is set to be N1 / 3, and when N1 is not a multiple of 3, M is set to be an integer x or x + 1, where x is the value of the quotient obtained at N1 / 3 Equals 1 plus 1
Setting the M photosensitive pixel rows to be within the maximum luminance distribution range,
By adding the luminance values within the maximum luminance distribution range to which each of a plurality of color lights corresponds, a luminance value after addition for each color light of each photosensitive unit is obtained,
The luminance value after addition for each color light of each photosensitive unit is set as pixel data of a display pixel corresponding to the adjusted image.
An image data generation method characterized by the above.
前記色光は赤色光、緑色光、及び青色光を含
ことを特徴とする請求項1に記載のイメージデータ生成方法。
The colored light is red light, green light, and including blue light,
The image data generation method according to claim 1, wherein:
前記M個の感光画素列が前記最大輝度分布範囲であると設定するステップは、
各前記色光に対して、各前記感光ユニットにおいて各前記感光画素列の前記輝度値を加算し、
前記輝度値を加算後の値における最高の前記M個の感光画素列を前記最大輝度分布範囲であると設定することを含む、
ことを特徴とする請求項に記載のイメージデータの生成方法。
The step of setting that the M photosensitive pixel rows are within the maximum luminance distribution range includes:
For each color light, add the luminance value of each photosensitive pixel column in each photosensitive unit,
Setting the highest M photosensitive pixel columns in the value after adding the luminance values to be within the maximum luminance distribution range,
The method of generating image data according to claim 1 , wherein:
前記M個の感光画素列が前記最大輝度分布範囲であると設定するステップは、
各前記色光に対して、各前記感光ユニットにおいて各前記感光画素列の前記輝度値を加算した後平均し、
前記輝度値を加算後に平均した値における最高のM個の感光画素列を前記最大輝度分布範囲であると設定することを含む、
ことを特徴とする請求項1から3の何れか1項に記載のイメージデータ生成方法。
The step of setting that the M photosensitive pixel rows are within the maximum luminance distribution range includes:
For each color light, after adding the luminance value of each photosensitive pixel row in each photosensitive unit, it is averaged,
Setting the highest M photosensitive pixel columns in the averaged value after adding the luminance values to be the maximum luminance distribution range,
The image data generation method according to claim 1, wherein the image data generation method is an image data generation method according to claim 1 .
前記M個の感光画素列が前記最大輝度分布範囲であると設定するステップは、
各前記色光に対して、各前記感光ユニットで各前記感光画素列において半数を超えた前記輝度値が閾値より大きいか否かを判断し、
半数を超えた前記輝度値が閾値より大きい前記M個の感光画素列を前記最大輝度分布範囲であると設定する、
ことを特徴とする請求項から4いずれか一項に記載のイメージデータ生成方法。
The step of setting that the M photosensitive pixel rows are within the maximum luminance distribution range includes:
For each of the color lights, it is determined whether or not the luminance value that exceeds half of each photosensitive pixel column in each photosensitive unit is greater than a threshold value,
Setting the M photosensitive pixel rows whose luminance values exceeding half are larger than a threshold value to be within the maximum luminance distribution range;
The image data generation method according to claim 1, wherein the image data generation method is an image data generation method.
イメージデータ生成装置において、
複数の感光ユニットを含み、前記感光ユニットによって検出された複数の輝度値によって原画像における表示画素を形成し、各前記感光ユニットはN1×N2個の感光画素を含み、N1とN2は正の整数である感光センサーと、
複数のモジュールを含む記憶ユニットと、
前記感光センサー及び前記記憶ユニットに結合され、且つ前記感光センサーによって前記原画像を形成するためイメージデータを獲得した後、前記複数のモジュールにより調整後のイメージを生成する処理ユニットと、
前記複数のモジュールは、
各前記感光ユニット前記原画像における対応する最大輝度分布範囲を獲得する輝度検出モジュールと、
複数の色光がそれぞれ対応する前記最大輝度分布範囲内の前記複数の輝度値を加算することにより、各前記感光ユニットの前記色光毎の加算後の輝度値を獲得する輝度加算モジュールと、
各前記感光ユニットの前記色光毎の前記加算後の輝度値を前記調整後のイメージが対応する表示画素の画素データであると設定するイメージ生成モジュールと、
を備え
前記輝度検出モジュールは、各前記感光ユニットのN1個の感光画素列における前記複数の輝度値の最高のM個の前記感光画素列を読み取り、前記最大輝度分布範囲は前記M個の感光画素列であると設定し、前記M個の感光画素列はM×N2個の前記感光画素を含み、N1が3の倍数の時、MはN1/3であると設定され、N1が3の倍数ではない時、Mは整数xまたはx+1であると設定され、xはN1/3で得られる商の値に1を加えた数に等しいことを特徴とするイメージデータ生成装置。
In the image data generation device,
Includes a plurality of photosensitive units, to form a display pixel in the original image by a plurality of luminance values detected by each of said photosensitive units, each of the photosensitive unit includes a N1 × N2 pieces of photosensitive pixels, N1 and N2 are positive and a light-sensitive sensor Ru integer der,
A storage unit including a plurality of modules;
A processing unit coupled to the photosensitive sensor and the storage unit, and obtaining image data for forming the original image by the photosensitive sensor and generating an adjusted image by the plurality of modules;
The plurality of modules are:
A brightness detection module to acquire the maximum luminance distribution range corresponding in the original image of each of said photosensitive units,
A luminance addition module that obtains a luminance value after addition for each color light of each of the photosensitive units by adding the plurality of luminance values within the maximum luminance distribution range to which a plurality of color lights respectively correspond;
An image generation module that sets the luminance value after addition for each color light of each of the photosensitive units as pixel data of a display pixel corresponding to the adjusted image;
Equipped with a,
The luminance detection module reads the M photosensitive pixel columns having the highest luminance value in the N1 photosensitive pixel columns of each of the photosensitive units, and the maximum luminance distribution range is the M photosensitive pixel columns. The M photosensitive pixel columns include M × N2 photosensitive pixels, and when N1 is a multiple of 3, M is set to N1 / 3, and N1 is not a multiple of 3. And M is set to be an integer x or x + 1, where x is equal to the quotient obtained by N1 / 3 plus one .
前記複数の色光は赤色光、緑色光、及び青色光を含ことを特徴とする請求項6に記載のイメージデータ生成装置。 Wherein the plurality of color light red light, green light, and an image data generating apparatus according to the blue light in claim 6, characterized in including it. 前記輝度検出モジュールは、各前記色光に対して、各前記感光ユニットにおいて各前記感光画素列の前記輝度値を加算し、
前記輝度値を加算後の値における最高の前記M個の感光画素列を前記最大輝度分布範囲であると設定する、
ことを特徴とする請求項に記載のイメージデータ生成装置。
The luminance detection module adds the luminance value of each photosensitive pixel column in each photosensitive unit to each color light,
The highest M photosensitive pixel rows in the value after adding the luminance values are set as the maximum luminance distribution range;
The image data generation apparatus according to claim 6 .
前記輝度検出モジュールは、各前記色光に対して、各前記感光ユニットにおいて各前記感光画素列の前記輝度値を加算した後平均し、
前記輝度値を加算後に平均した値における最高のM個の感光画素列を前記最大輝度分布範囲であると設定する、
ことを特徴とする請求項6から8の何れか1項に記載のイメージデータ生成装置。
The luminance detection module averages the color light after adding the luminance values of the photosensitive pixel columns in the photosensitive units,
Setting the highest M photosensitive pixel rows in the value averaged after adding the luminance values as the maximum luminance distribution range;
The image data generation apparatus according to claim 6 , wherein the image data generation apparatus is an image data generation apparatus.
前記輝度検出モジュールは、各前記色光に対して、各前記感光ユニットで各前記感光画素列において半数を超えた前記輝度値が閾値より大きいか否かを判断し、
半数を超えた前記複数の輝度値が閾値より大きい前記M個の感光画素列を前記最大輝度分布範囲であると設定する、
ことを特徴とする請求項から9いずれか一項に記載のイメージデータ生成装置。
The luminance detection module determines, for each of the color lights, whether or not the luminance value that exceeds half of each photosensitive pixel column in each photosensitive unit is greater than a threshold value.
Setting the M photosensitive pixel rows in which the plurality of luminance values exceeding half are larger than a threshold value to be within the maximum luminance distribution range;
The image data generation apparatus according to claim 6 , wherein the image data generation apparatus is an image data generation apparatus.
JP2015085456A 2014-12-17 2015-04-17 Image data generation method and image data generation apparatus Active JP6073403B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW103144104A TW201624421A (en) 2014-12-17 2014-12-17 Method and apparatus for generating image data
TW103144104 2014-12-17

Publications (2)

Publication Number Publication Date
JP2016116207A JP2016116207A (en) 2016-06-23
JP6073403B2 true JP6073403B2 (en) 2017-02-01

Family

ID=56142429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015085456A Active JP6073403B2 (en) 2014-12-17 2015-04-17 Image data generation method and image data generation apparatus

Country Status (3)

Country Link
JP (1) JP6073403B2 (en)
CN (1) CN105991979B (en)
TW (1) TW201624421A (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101305398B (en) * 2005-10-12 2013-03-27 银冠投资控股有限公司 Method for forming synthesis image based on a plurality of image frames
JP4631966B2 (en) * 2008-12-22 2011-02-16 ソニー株式会社 Image processing apparatus, image processing method, and program
JP5220777B2 (en) * 2010-01-21 2013-06-26 オリンパス株式会社 Image processing apparatus, imaging apparatus, program, and image processing method
JP5469537B2 (en) * 2010-01-26 2014-04-16 日本放送協会 Viewfinder video generator
US8736766B2 (en) * 2010-10-15 2014-05-27 Sharp Kabushiki Kaisha Image processing device, image processing method, image processing program, and recording medium, each capable of correcting luminance of image so that the local deterioration of grey scales is unlikely to occur
JP5271346B2 (en) * 2010-12-27 2013-08-21 株式会社日立製作所 Imaging apparatus, image processing apparatus, image processing method, and image processing program

Also Published As

Publication number Publication date
JP2016116207A (en) 2016-06-23
CN105991979A (en) 2016-10-05
CN105991979B (en) 2018-02-02
TW201624421A (en) 2016-07-01

Similar Documents

Publication Publication Date Title
CN109076169B (en) Method, apparatus and computer readable medium for capturing color image data
US10742889B2 (en) Image photographing method, image photographing apparatus, and terminal
TW201916672A (en) Electronic device and automatic exposure convergence method
US20150103200A1 (en) Heterogeneous mix of sensors and calibration thereof
US8970742B2 (en) Image processing apparatus and method capable of performing correction process speedily and easily
JP2017112401A (en) Imaging device, apparatus and method for image processing, and program
US20120236175A1 (en) Methods and Systems for Flicker Correction
US20110310014A1 (en) Image pickup apparatus and projection type image display apparatus
JP2010074240A (en) Image capturing apparatus and defective pixel detection method
JP2012151528A (en) Image processing device, image processing method, and program
US8711245B2 (en) Methods and systems for flicker correction
CN102737365A (en) Image processing apparatus, imaging apparatus, storage medium storing image processing program, and image processing method
TW202032500A (en) Method and system for image blurring processing
JP2017005644A (en) Image processing apparatus, image processing method and imaging device
US10924683B2 (en) Image processing method and imaging device
US20160277721A1 (en) Color filtered area processing method for improving image processing
JP6073403B2 (en) Image data generation method and image data generation apparatus
JP6331258B2 (en) Imaging apparatus and method
US20200092452A1 (en) Image generating method and electronic apparatus
JP2007306325A (en) Imaging device and its light source estimating device
GB2565544A (en) Image processing
JP2012191595A (en) Imaging apparatus
JP2015162706A (en) Image processing device and method, and program
US20150156382A1 (en) Multi-channel glare-suppression device of a digital image system
TW201436579A (en) Imaging systems with clear filter pixels

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161004

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170104

R150 Certificate of patent or registration of utility model

Ref document number: 6073403

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