JP2007006017A - Image processing apparatus - Google Patents
Image processing apparatus Download PDFInfo
- Publication number
- JP2007006017A JP2007006017A JP2005182227A JP2005182227A JP2007006017A JP 2007006017 A JP2007006017 A JP 2007006017A JP 2005182227 A JP2005182227 A JP 2005182227A JP 2005182227 A JP2005182227 A JP 2005182227A JP 2007006017 A JP2007006017 A JP 2007006017A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- processing
- image
- register
- register group
- 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
Images
Landscapes
- Studio Devices (AREA)
- Color Television Image Signal Generators (AREA)
Abstract
Description
本発明は、たとえば固体撮像素子による画像を処理する画像処理装置に関するものである。 The present invention relates to an image processing apparatus that processes an image by a solid-state image sensor, for example.
一般的に、固体撮像素子からの画像を処理する画像処理装置では、画質を向上させるために、信号増幅、色空間変換、γ補正、輪郭補正、ノイズリダクション、解像度変換等の処理を行う。 In general, an image processing apparatus that processes an image from a solid-state imaging device performs processing such as signal amplification, color space conversion, γ correction, contour correction, noise reduction, and resolution conversion in order to improve image quality.
画像処理装置において、静止画と動画やサイズの異なる画像等、性質の異なる複数の画像データに対する画像処理を行う場合、処理する画像が変わるたびに、画像処理の内容や程度を変更する必要がある。
簡単に処理する画像に応じて処理の内容や程度を変更するには、それぞれの処理ごとに異なる画像処理部を用意すればよいが、ハードウェア規模が大きくなってしまうという不利益がある。
In an image processing apparatus, when image processing is performed on a plurality of image data having different properties, such as still images, moving images, and images of different sizes, it is necessary to change the content and extent of image processing each time the image to be processed changes. .
In order to change the content and level of processing according to the image to be easily processed, different image processing units may be prepared for each processing, but there is a disadvantage that the hardware scale becomes large.
そこで、画像処理の内容や程度が異なっても基本的には共通する処理内容であることが多いため、処理は単一の画像処理装置で行い、処理内容や程度を保持するレジスタ群を持ち、処理の際にそのレジスタ群の内容を参照して画像処理の内容や程度を決定する手法が一般的である。
レジスタ群の内容は処理する画像に応じてマイクロプロセッサなどの制御装置で書き換える。
Therefore, even if the content and degree of image processing are different, the processing content is basically the same in many cases. Therefore, the processing is performed by a single image processing apparatus, and has a register group that holds the processing content and degree. A general method is to determine the contents and degree of image processing by referring to the contents of the register group during processing.
The contents of the register group are rewritten by a control device such as a microprocessor in accordance with the image to be processed.
また、特許文献1に記載されているようなハイブリットカメラなどの静止画と動画を同時に扱う必要がある機器のような、1フレームより細かい単位で画像の処理内容を切り替える必要がある。
しかしながら、書き換えるレジスタ群の数が多い場合や頻度が多い場合は、十分な処理能力を得るためにマイクロプロセッサの動作を高速にせざるを得なくなるが、それは消費電力やハードウェア規模増大という不利益となる。 However, if the number of register groups to be rewritten is large or the frequency is high, the microprocessor must be operated at high speed in order to obtain sufficient processing capability, but this is disadvantageous in terms of power consumption and hardware scale increase. Become.
フレーム単位での処理の場合であれば、その他の処理を妨害するほどの問題にはならないことが多いが、特許文献1に記載のハイブリットカメラなどの静止画と動画を同時に扱う必要がある機器のような、1フレームより細かい単位で画像の処理内容を切り替える必要がある場合、レジスタ群の設定頻度が多くなり、上述したようなマイクロプロセッサの処理能力が問題となってくる。 In the case of processing in units of frames, there is often no problem that interferes with other processing. However, for devices such as a hybrid camera described in Patent Document 1, it is necessary to handle still images and moving images simultaneously. When it is necessary to switch the processing contents of an image in units smaller than one frame, the register group is frequently set and the processing capability of the microprocessor as described above becomes a problem.
本発明は、画像処理の処理内容を保持したレジスタ群を複数持つことで、制御装置の介在なく処理内容を変更することができる画像処理装置を提供することにある。 It is an object of the present invention to provide an image processing apparatus that can change processing contents without intervention of a control device by having a plurality of register groups that hold processing contents of image processing.
また、本発明は、入力されるデータに属性情報を付加し、画像データに対して行う処理内容を属性情報に応じて処理装置自身で選択することで、1フレームより細かい単位で画像の処理内容を変更しなければならない場合などに、単一の処理装置ですばやく処理を切り替えることができる画像処理装置を提供することにある。 In addition, the present invention adds attribute information to input data and selects the processing content to be performed on the image data by the processing device itself according to the attribute information, thereby processing the image processing content in units smaller than one frame. It is an object of the present invention to provide an image processing apparatus capable of quickly switching processing with a single processing apparatus when it is necessary to change the process.
本発明の第1の観点の画像処理装置は、処理単位ごとに異なる処理を行う処理ブロックと、上記処理ブロックの画像処理内容または/および程度の設定を保持するレジスタ群を複数有するレジスタ部と、処理を行う際に、上記レジスタ部における複数のレジスタ群の中から使用するレジスタ群を選択して画像処理内容または/および程度を切り替える制御手段とを有する。 An image processing apparatus according to a first aspect of the present invention includes a processing block that performs different processing for each processing unit, and a register unit that includes a plurality of register groups that hold image processing contents or / and setting of the processing block. Control means for selecting a register group to be used from among a plurality of register groups in the register unit and switching image processing contents and / or degree when performing processing.
好適には、画像入力を1フレームより細かい処理単位に分割して、前記処理単位ごとに使用するレジスタ群を選択して画像処理を行うことを可能とする。 Preferably, the image input is divided into processing units smaller than one frame, and a register group to be used for each processing unit can be selected to perform image processing.
好適には、上記制御手段は、処理単位ごとにレジスタ群を指定する信号を生成する。 Preferably, the control means generates a signal designating a register group for each processing unit.
好適には、上記制御手段は、入力される処理単位の順番と使用するレジスタ群の対応を保持する記憶部と、上記記憶手段に保持された内容を参照し処理単位の入力される順番に応じて使用するレジスタ群を得る制御部と、を含む。 Preferably, the control means refers to the storage unit that holds the correspondence between the order of the input processing units and the register group to be used, and the content held in the storage means according to the input order of the processing units. And a control unit for obtaining a register group to be used.
好適には、入力画像は、処理単位ごとに識別子を付加して入力され、上記制御手段は、識別子と使用するレジスタ群の対応を保持する記憶部と、上記記憶部に保持された内容を参照し処理単位に付加された識別子から使用するレジスタ群を得る制御部と、を含む。 Preferably, the input image is input with an identifier added for each processing unit, and the control means refers to a storage unit that holds a correspondence between the identifier and a register group to be used, and contents held in the storage unit And a control unit for obtaining a register group to be used from the identifier added to the processing unit.
好適には、入力画像は、処理単位ごとに使用するレジスタ群を指定するデータを付加して入力され、上記制御手段は、処理単位に付加されたレジスタ群を指定するデータにより使用するレジスタ群を得る制御部を、含む。 Preferably, the input image is input with data specifying a register group to be used for each processing unit, and the control means determines a register group to be used by data specifying the register group added to the processing unit. A control unit to obtain.
本発明の第2の観点は、撮像素子からの入力画像を処理する画像処理装置であって、上記撮像素子からの入力画像に対して種々の処理を行う画像処理部を、有し、上記画像処理部は、処理単位ごとに異なる処理を行う処理ブロックと、上記処理ブロックの画像処理内容または/および程度の設定を保持するレジスタ群を複数有するレジスタ部と、処理を行う際に、上記レジスタ部における複数のレジスタ群の中から使用するレジスタ群を選択して画像処理内容または/および程度を切り替える制御手段と、を含む。 A second aspect of the present invention is an image processing apparatus that processes an input image from an image sensor, and includes an image processing unit that performs various processes on the input image from the image sensor. The processing unit includes a processing block that performs different processing for each processing unit, a register unit that includes a plurality of register groups that hold settings of image processing contents and / or degree of the processing block, and the register unit when performing processing. Control means for selecting a register group to be used from among the plurality of register groups and switching the content or / and degree of image processing.
本発明によれば、処理ブロックのレジスタ部に、入力される画像の性質の数だけのレジスタ群を持つことで、静止画や動画だけでなく、複数の性質の画像を処理する場合でも、処理される。 According to the present invention, the register unit of the processing block has as many register groups as the number of properties of the input image, so that not only still images and moving images but also images of multiple properties can be processed. Is done.
本発明によれば、静止画と動画のように性質の異なる画像処理を1フレームより細かい単位で切り替える場合、マイクロプロセッサなどの制御装置の介在なく、処理単位ごとに異なるγ補正、輪郭補正、色補正、ノイズリダクション等の画像処理のパラメータ設定を行うことが可能となる。
また、複数の解像度の画像を1フレーム内で処理するために、1フレームより細かい単位で入力画像を切り替え、解像度変換装置の出力画像サイズ設定パラメータを変更することで、複数の解像度の画像を得ることが可能となる。
According to the present invention, when image processing with different properties such as still images and moving images is switched in units smaller than one frame, different γ correction, contour correction, and color for each processing unit without intervention of a control device such as a microprocessor. Image processing parameters such as correction and noise reduction can be set.
In addition, in order to process a plurality of resolution images within one frame, an input image is switched in units smaller than one frame, and an output image size setting parameter of the resolution converter is changed to obtain a plurality of resolution images. It becomes possible.
以下、本発明の実施形態を図面に関連付けて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本第1の実施形態に係る固体撮像素子からの入力画像を処理する画像処理装置の構成例を示すブロック図である。 FIG. 1 is a block diagram illustrating a configuration example of an image processing apparatus that processes an input image from the solid-state imaging device according to the first embodiment.
本画像処理装置100は、図1に示すように、CCDやCMOSセンサからなる固体撮像素子101、同期信号生成部102、制御部103、画像取込部104、フレームバッファ部105、画像入力部106、画像処理部107、記憶装置108、表示部109、マイクロプロセッサ110、およびプロセッサバス111を有している。
As shown in FIG. 1, the image processing apparatus 100 includes a solid-state imaging device 101 including a CCD or a CMOS sensor, a synchronization
固体撮像素子101は、同期信号生成部102で生成された同期信号S102に従って画像データIMを画像取り込み部104に出力する。
The solid-state imaging device 101 outputs the image data IM to the
同期信号生成部102で生成される同期信号S102は制御部103にも入力され、制御部103は、各部へ動作タイミングを制御する制御信号を出力する。
The synchronization signal S102 generated by the synchronization
画像取込部104は、制御部103からの制御信号に従って固体撮像素子101から出力される画像データIMを受け取りフレームバッファ105に一時保存する。
The
画像入力部106は、同期信号生成部102で生成される同期信号に従って制御部103で生成された制御信号に応じて、一時保存された画像データS106をフレームバッファ105から読み出して画像処理部107に送る。
The
画像処理部107は、入力された画像データS106に様々な画像処理を行い、画像処理の出力信号S107は処理された画像を表示するための表示部109、処理された画像を格納するための記憶装置108に送られる。
画像処理部107の構成及び機能については、後でさらに詳述する。
The
The configuration and function of the
マイクロプロセッサ110は、プロセッサバス111を介して同期信号生成部102、制御部103、画像取込部104、画像処理部107のレジスタ読み書きなどの制御を行うことができる。
The
以下に、本実施形態の画像処理部107の具体的な構成および機能についてさらに詳述する。
Hereinafter, a specific configuration and function of the
本実施形態の画像処理部107は、複数のレジスタ群を有し、複数レジスタ群を持つことで複数の設定を保持し、処理を行う際に使用するレジスタ群を選択することで画像処理内容または程度を切り替えることを可能としている。
画像処理部107は、入力画像S106を1フレームより細かい処理単位に分割して、この処理単位ごとに使用するレジスタ群を選択して画像処理を行う。
画像処理部107は、使用するレジスタ群を選択する機能部として、処理単位ごとにレジスタ群を指定する信号を生成する制御部を有し、使用するレジスタ群を選択する制御機能として、入力される処理単位の順番と使用するレジスタ群の対応を保持する記憶部を有し、記憶部に保持された内容を参照し処理単位の入力される順番に応じて使用するレジスタ群を得る。
The
The
The
まず、画像処理部の一般的な構成例について説明した後、画像処理部の好適な構成例について説明する。 First, a general configuration example of the image processing unit will be described, and then a preferable configuration example of the image processing unit will be described.
図2は、図1の画像処理部107の一般的な構成例を示す図である。
FIG. 2 is a diagram illustrating a general configuration example of the
画像処理部107においては、信号増幅、色空間変換、γ補正、輪郭補正、ノイズリダクション、解像度変換などの処理が行われる。
図2では各処理を処理1(201)、処理2(203)、処理N(205)などのように抽象的にN種類の処理を順次行う画像処理部を表している。
図2においては、処理1の機能ブロックとしてγ補正部201、処理2の機能ブロックとして輝度色差信号生成部203、処理3の機能ブロックとして解像度変換部205として表している。
各処理1〜3はそれぞれレジスタ群(202、204、206)を持ち、その内容にしたがって画像処理の内容や程度を変更する。
レジスタ群202はγ補正部201に対応して設けられ、レジスタ群204は輝度色差信号生成部203に対応して設けられ、レジスタ群206は解像度変換部205に対応して設けられている。
レジスタ群202、204、206の変更はマイクロプロセッサ110等の制御装置によって行われる。
The
FIG. 2 represents an image processing unit that sequentially performs N types of processing in an abstract manner such as processing 1 (201), processing 2 (203), and processing N (205).
In FIG. 2, the function block of process 1 is represented as a
Each process 1 to 3 has a register group (202, 204, 206), and changes the contents and degree of image processing according to the contents.
The
The
画像処理装置100においては、一定のフレームレートで動画像の表示や保存を行う必要がある。
一定のフレームレートにするためには一定間隔で画像を更新する必要があるため、固体撮像素子101の入力から表示・保存までの一連の処理は所定の時間内に行われなければならない。
ここでは、画像の一枚全体を1フレーム、1フレームを更新する一定間隔を1フレーム期間と呼ぶことにする。
In the image processing apparatus 100, it is necessary to display and store a moving image at a constant frame rate.
In order to obtain a constant frame rate, it is necessary to update an image at regular intervals. Therefore, a series of processes from input to display / storage of the solid-state imaging device 101 must be performed within a predetermined time.
Here, the entire interval of one image is referred to as one frame period.
一般的に動画と静止画では、RGBから輝度色差信号への変換係数、γ補正、ノイズリダクション、解像度変換など適用する画像処理の内容や程度が異なるものがある。
たとえば輝度色差信号生成処理では、RGBから輝度色差信号への変換係数、γ補正における階調補正テーブル、ノイズリダクションで除去するノイズ量、解像度変換で出力する画像サイズ、などである。
In general, there are some moving images and still images that have different image processing contents and levels, such as conversion coefficients from RGB to luminance color difference signals, γ correction, noise reduction, and resolution conversion.
For example, in the luminance / chrominance signal generation processing, conversion coefficients from RGB to luminance / chrominance signals, a gradation correction table in γ correction, a noise amount to be removed by noise reduction, an image size to be output by resolution conversion, and the like.
動画像処理中に静止画像を必要とする場合は、フレームバッファ部105に保存した画像を2度読み出し、1度目は動画像用の処理を、2度目は静止画の処理を行い、動画と静止画の処理を行った画像を別々に作成する必要がある。
その際、動画像をリアルタイムに表示をしている場合などは、表示が途切れないために、1フレーム期間内に動画像を処理する必要があり、1フレーム単位で静止画と動画の処理を切り替えていては処理が間に合わない場合が多い。
その場合、画像を1フレームより細かい単位の処理単位に区切ることで、動画の処理の間に静止画を処理単位ごとに複数フレーム期間にわたって処理をすることが可能となる。
その処理の順番を図3に示す。
If still images are required during moving image processing, the image stored in the
At that time, when moving images are displayed in real time, it is necessary to process the moving images within one frame period because the display is not interrupted. Switching between still image and moving image processing in one frame unit In many cases, the processing is not in time.
In that case, by dividing the image into processing units smaller than one frame, it is possible to process a still image over a plurality of frame periods for each processing unit during the processing of a moving image.
The order of the processing is shown in FIG.
図3は、動画の処理の間に静止画を処理単位ごとに複数フレーム期間にわたって処理の順番を示す図である。 FIG. 3 is a diagram illustrating a processing order of a still image over a plurality of frame periods for each processing unit during processing of a moving image.
図3において、画像1(301)は静止画像、画像2(302)は同時刻の動画像、画像3(303)は次時刻の動画像を示している。
1フレームより細かい処理単位304にフレームを区切り、画像2(302)と画像3(303)の動画像は1フレーム期間内で処理し、画像1(301)の静止画像は処理単位304ごとに、数フレームにわたって処理を行っている。
この方法で処理をすることで動画はリアルタイムで処理し、静止画は余った時間で処理を行うことが可能となる。
この場合、マイクロプロセッサ110が動画の処理を行っている期間は動画用の設定をレジスタ群(202、204、206)に書き込み、静止画の処理を行っている期間は静止画用の設定をレジスタ群(202、204、206)に書き込む必要がある。
しかし、1フレームより細かい単位でのレジスタ内容の変更が必要となり、の処理単位304が小さくなればなるほど、またレジスタ群(202、204、206)の数が多ければ多いほど、マイクロプロセッサ110の負担の負担となり、マイクロプロセッサ110の高い処理能力が必要となる。
In FIG. 3, image 1 (301) represents a still image, image 2 (302) represents a moving image at the same time, and image 3 (303) represents a moving image at the next time.
The frame is divided into
By processing in this way, moving images can be processed in real time, and still images can be processed in a surplus time.
In this case, the setting for moving image is written in the register group (202, 204, 206) while the
However, it is necessary to change the register contents in units smaller than one frame. The smaller the
そこで、本実施形態においては、画像処理部107の好適な構成として図4に示す構成を採用している。
Therefore, in this embodiment, the configuration shown in FIG. 4 is adopted as a preferable configuration of the
図4は、本実施形態の画像処理部の好適な構成例を示すブロック図である。
図4において、理解を容易にするために、図2と同一構成部分は同一符号をもって表している。
図4においては、図2と同様に、処理1の機能ブロックとしてγ補正部201、処理2の機能ブロックとして輝度色差信号生成部203、処理3の機能ブロックとして解像度変換部205として表している。
FIG. 4 is a block diagram illustrating a preferred configuration example of the image processing unit of the present embodiment.
4, the same components as those in FIG. 2 are denoted by the same reference numerals for easy understanding.
In FIG. 4, similarly to FIG. 2, a
図4の画像処理部107Aは、γ補正部201、輝度色差信号生成部203、解像度変換部205に加えて、入力される処理単位をカウントするカウンタ401、カウンタ401の数値から使用するレジスタ群を選択する信号S402を生成するレジスタ制御部402、入力される多処理単位の順番とそれに対応するレジスタ群の番号を保持する記憶部403、およびレジスタ部404,405,406を有している。
カウンタ401、レジスタ制御部402、および記憶部403により制御手段が構成される。
In addition to the
The
画像処理部107Aの入力T107には処理単位304ごとに画像データS106が入力される。
画像処理部107Aには処理1(201)、処理2(203)から処理N(205)の画像処理を行うブロックがあり、処理1(201)の設定を保存するためのレジスタ部404、処理2(203)の設定を保存するためのレジスタ部405、処理N(205)の設定を保持するレジスタ部406がある。
Image data S106 is input for each
The
一つのレジスタ部(404〜406)はそれぞれ複数のレジスタ群407、408、409を有しており、それらを選択して出力するセレクタ410を含んで構成されている。
この図では一つのレジスタ部が3つのレジスタ群を持つ例を示しているが、処理の種類によってレジスタ群の数は増減してもよい。
それぞれのレジスタ群の内容はあらかじめマイクロプロセッサ110によって設定されている。
Each register unit (404 to 406) includes a plurality of
Although an example in which one register unit has three register groups is shown in this figure, the number of register groups may be increased or decreased depending on the type of processing.
The contents of each register group are set in advance by the
画像処理部107Aにおいては、カウンタ401で入力される処理単位304を数え、入力された処理単位304の順番とそれに対応するレジスタ群の番号が記憶部403に保持される。
そして、レジスタ制御部402において、カウンタ401の数値から使用するレジスタ群を選択する信号S402が生成され、レジスタ制御部402からそれぞれのレジスタ部404〜406へレジスタ群を指定する番号が信号S402として送られる。
In the
Then, the
図5は、図4の記憶部403のデータ構造を示す図である。
FIG. 5 is a diagram illustrating a data structure of the
記憶部403は、図5に示すように、入力される処理単位の数502とレジスタ群を指定する番号503を一つのエントリ501として、複数のエントリを保持できる。
カウンタ401で数えた処理単位304の数が、記憶部403の先頭のエントリの処理単位の数以内のうちは、先頭のエントリのレジスタ群番号で指定されるレジスタ群を使用する。
カウンタ401で数えた処理単位の数が、記憶部403の先頭のエントリの処理単位の数を超えると、次のエントリを参照し、カウンタ401で数えた処理単位の数がそのエントリの処理単位の数以内の間、そのエントリのレジスタ群番号で指定されるレジスタ群を使用する。
同様に繰り返し、記憶部403の最後のエントリまで参照すると、参照するエントリを先頭のエントリに戻してもよい。
As shown in FIG. 5, the
If the number of
When the number of processing units counted by the
Similarly, when the reference is repeated until the last entry in the
この画像処理部107Aは、入力される処理単位304をカウンタ401で数え、その数えた数と記憶部のエントリと比較して入力される処理単位の画像データの処理に使用するレジスタ群番号S402を得る。
レジスタ群番号S402は各処理のレジスタ部404、405、406に伝えられ、使用するレジスタ群をセレクタ410で選択する。
選択されたレジスタ群を参照して処理1(201)、処理2(203)、処理N(205)は入力される処理単位304の画像データに対して画像処理を行う。
The
The register group number S402 is transmitted to the
With reference to the selected register group, processing 1 (201), processing 2 (203), and processing N (205) perform image processing on the input image data of the
以上のように、本第1の実施形態によれば、静止画や動画だけでなく、複数の性質の画像を処理する場合でも、処理ブロックのレジスタ部に、入力される画像の性質の数だけのレジスタ群を持つことで処理することが可能となる。 As described above, according to the first embodiment, not only a still image and a moving image but also a plurality of properties are processed, the number of properties of the image input to the register unit of the processing block is the same. It is possible to process by having the register group.
図6は、本第2の実施形態に係る画像処理部の構成例を示すブロック図である。
図7は、図6の画像処理部に入力される画像データの処理単位のデータ構造を示す図である。
図6において、図4と同一構成部分は同一符号をもって表している。
また、図6においては、図2と同様に、処理1の機能ブロックとしてγ補正部201、処理2の機能ブロックとして輝度色差信号生成部203、処理3の機能ブロックとして解像度変換部205として表している。
FIG. 6 is a block diagram illustrating a configuration example of the image processing unit according to the second embodiment.
FIG. 7 is a diagram illustrating a data structure of a processing unit of image data input to the image processing unit in FIG.
In FIG. 6, the same components as those in FIG. 4 are denoted by the same reference numerals.
In FIG. 6, similarly to FIG. 2, a
本第2の実施形態においては、図7に示すように、ヘッダ部702に画像データの種類を示す識別子を、データ部703に画像データを格納している。
この実施形態では、画像入力部106はフレームバッファ部105から画像データを処理単位304ごとに読み出して、画像データ703にヘッダ部702を付加して1処理単位701として画像処理部107Bに送る。
In the second embodiment, as shown in FIG. 7, an identifier indicating the type of image data is stored in the
In this embodiment, the
この実施形態の画像処理部107Bは、処理1(201)、処理2(203)から処理N(205)の画像処理を行うブロックがあり、処理1(201)の設定を保存するための複数のレジスタ群407〜409とセレクタ410を含むレジスタ部404、処理2(203)の設定を保存するための複数のレジスタ群407〜409とセレクタ410を含むレジスタ部405、処理N(205)の設定を保持するための複数のレジスタ群407〜409とセレクタ410を含むレジスタ部406を有する。
The image processing unit 107B according to this embodiment includes blocks that perform image processing from processing 1 (201) and processing 2 (203) to processing N (205), and a plurality of blocks for storing the settings of processing 1 (201).
そして、図6の画像処理部107Bは、γ補正部201、輝度色差信号生成部203、解像度変換部205、およびレジスタ部404,405,406に加えて、入力される処理単位701のヘッダ部702に付加された識別子を読み取るヘッダ解析部601、識別子から使用するレジスタ群を選択する番号を生成するレジスタ制御部602、入力された処理単位701の識別子とそれに対応するレジスタ群を指定する番号を保持する記憶部603を有する。
ヘッダ解析部601、レジスタ制御部602、および記憶部603により制御手段が構成される。
In addition to the
The
図8は、図6の記憶部603のデータ構造を示す図である。
FIG. 8 is a diagram illustrating a data structure of the
記憶部603は、図8に示すように、入力される処理単位701に付加されたヘッダ部702の識別子を示す番号802と使用するレジスタ群を指定する番号803を一つのエントリとして、複数のエントリを保持できる。
As shown in FIG. 8, the
画像処理部に処理単位701が入力されると、レジスタ制御部602が、ヘッダ解析部601で読み出された識別子と、記憶部603に保持されたエントリの識別子802で一致するものを探し、識別子が一致したエントリのレジスタ群番号を信号S602として各レジスタ部404、405、406に送る。
レジスタ群番号S602は各処理のレジスタ部404、405、406に伝えられ、使用するレジスタ群をセレクタ410で選択する。
選択されたレジスタ群を参照して処理1(201)、処理2(203)、処理N(205)は入力される処理単位701の画像データに対して画像処理を行う。
When the
The register group number S602 is transmitted to the
With reference to the selected register group, processing 1 (201), processing 2 (203), and processing N (205) perform image processing on the input image data of the
本第2の実施形態によれば、処理単位701ごとにレジスタ群を切り替えることが可能となり、処理単位701ごとに異なる画像処理を行うことが可能となる。
静止画や動画だけでなく、複数の性質の画像を処理する場合でも、処理ブロックのレジスタ部に、入力される画像の性質の数だけのレジスタ群を持つことで処理することが可能となる。
According to the second embodiment, the register group can be switched for each
Even when processing an image having a plurality of properties as well as a still image and a moving image, processing can be performed by having as many register groups as the properties of the input image in the register unit of the processing block.
図9は、本第3の実施形態に係る画像処理部の構成例を示すブロック図である。
図10は、図9の画像処理部に入力される画像データの処理単位のデータ構造を示す図である。
図9において、図4および図6と同一構成部分は同一符号をもって表している。
また、図9においては、図2と同様に、処理1の機能ブロックとしてγ補正部201、処理2の機能ブロックとして輝度色差信号生成部203、処理3の機能ブロックとして解像度変換部205として表している。
FIG. 9 is a block diagram illustrating a configuration example of an image processing unit according to the third embodiment.
FIG. 10 is a diagram illustrating a data structure of a processing unit of image data input to the image processing unit in FIG.
9, the same components as those in FIGS. 4 and 6 are denoted by the same reference numerals.
In FIG. 9, as in FIG. 2, the
本第3の実施形態においては、図10に示すように、一つの処理単位1001のデータ構造で、ヘッダ部1002に画像データに行われる処理ブロックの数だけのレジスタ群番号を付加し、ヘッダ部に続いて304の処理単位の画像データを格納したデータ部1003が続く。
この場合は処理ブロックがNブロックある場合を示している。
この実施形態では画像入力部106はフレームバッファ部105から画像データを処理単位304ごとに読み出して、ヘッダ部1002を画像データ1003に付加した処理単位1001を画像処理部107Cに送る。
In the third embodiment, as shown in FIG. 10, with the data structure of one
In this case, there are N processing blocks.
In this embodiment, the
この実施形態の画像処理部107Cは、処理1(201)、処理2(203)から処理N(205)の画像処理を行うブロックがあり、処理1(201)の設定を保存するための複数のレジスタ群407〜409とセレクタ410を含むレジスタ部404、処理2(203)の設定を保存するための複数のレジスタ群407〜409とセレクタ410を含むレジスタ部405、処理N(205)の設定を保持するための複数のレジスタ群407〜409とセレクタ410を含むレジスタ部406を有する。
The
そして、図9の画像処理部107Cは、γ補正部201、輝度色差信号生成部203、解像度変換部205、およびレジスタ部404,405,406に加えて、入力される処理単位1001のヘッダ部1002に付加されたレジスタ群番号を読み取るヘッダ読取部901、ヘッダに付加されたレジスタ群番号からレジスタ群を選択する信号S902を生成するレジスタ制御部902を有する。
ヘッダ読み取り部901、およびレジスタ制御部902により制御手段が構成される。
In addition to the
The
本第3の実施形態によれば、画像処理部107Cは入力される処理単位1001のヘッダ部1002に付加された処理ブロック毎のレジスタ群番号に従ってレジスタ群を選択して処理を行うことで、処理単位1001ごとの画像処理の内容や程度を切り替えることが可能となる。
また、ヘッダ部にレジスタ群の番号を付加しているので、記憶部が不要となる利点がある。
According to the third embodiment, the
In addition, since the register group number is added to the header portion, there is an advantage that the storage portion is unnecessary.
以上説明したように、本実施形態によれば、静止画と動画のように性質の異なる画像処理を1フレームより細かい単位で切り替える場合、マイクロプロセッサなどの制御装置の介在なく、処理単位ごとに異なるγ補正、輪郭補正、色補正、ノイズリダクション等の画像処理のパラメータ設定を行うことが可能となる。
また、複数の解像度の画像を1フレーム内で処理するために、1フレームより細かい単位で入力画像を切り替え、解像度変換装置の出力画像サイズ設定パラメータを変更することで、複数の解像度の画像を得ることが可能となる。
As described above, according to the present embodiment, when image processing having different properties such as a still image and a moving image is switched in units smaller than one frame, it is different for each processing unit without intervention of a control device such as a microprocessor. It is possible to set image processing parameters such as γ correction, contour correction, color correction, and noise reduction.
Further, in order to process a plurality of resolution images within one frame, an input image is switched in units smaller than one frame, and an output image size setting parameter of the resolution conversion device is changed to obtain a plurality of resolution images. It becomes possible.
100・・・画像処理装置、101・・・固体撮像素子、102・・・同期信号生成部、103・・・制御部、104・・・画像取込部、105・・・フレームバッファ部、106・・・画像入力部、107,107A,107B,107C・・・画像処理部、108・・・記憶装置、109・・・表示部、110・・・マイクロプロセッサ、111・・・プロセッサバス、401・・・カウンタ、402・・・レジスタ制御部、403・・・記憶部、404・・・処理1のレジスタ部、405・・・処理2のレジスタ部、406・・・処理Nのレジスタ部、407・・・レジスタ群1、408・・・レジスタ群2、409・・・レジスタ群3、410・・・セレクタ、601・・・ヘッダ解析部、602・・・レジスタ制御部、603・・・記憶部、901・・・ヘッダ読取部、902・・・レジスタ制御部。
DESCRIPTION OF SYMBOLS 100 ... Image processing apparatus, 101 ... Solid-state image sensor, 102 ... Synchronization signal generation part, 103 ... Control part, 104 ... Image capture part, 105 ... Frame buffer part, 106
Claims (10)
上記処理ブロックの画像処理内容または/および程度の設定を保持するレジスタ群を複数有するレジスタ部と、
処理を行う際に、上記レジスタ部における複数のレジスタ群の中から使用するレジスタ群を選択して画像処理内容または/および程度を切り替える制御手段と
を有する画像処理装置。 A processing block that performs different processing for each processing unit;
A register unit having a plurality of register groups for holding image processing content or / and setting of the degree of the processing block;
An image processing apparatus comprising: a control unit that selects a register group to be used from among a plurality of register groups in the register unit and switches image processing content and / or degree when performing processing.
請求項1記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the image input can be divided into processing units smaller than one frame and image processing can be performed by selecting a register group to be used for each processing unit.
請求項1記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the control unit generates a signal designating a register group for each processing unit.
入力される処理単位の順番と使用するレジスタ群の対応を保持する記憶部と、
上記記憶手段に保持された内容を参照し処理単位の入力される順番に応じて使用するレジスタ群を得る制御部と、を含む
請求項3記載の画像処理装置。 The control means includes
A storage unit that holds the correspondence between the order of input processing units and the register group to be used;
The image processing apparatus according to claim 3, further comprising: a control unit that obtains a register group to be used in accordance with an input order of processing units with reference to contents stored in the storage unit.
上記制御手段は、
識別子と使用するレジスタ群の対応を保持する記憶部と、
上記記憶部に保持された内容を参照し処理単位に付加された識別子から使用するレジスタ群を得る制御部と、を含む
請求項3記載の画像処理装置。 The input image is input by adding an identifier for each processing unit,
The control means includes
A storage unit that holds the correspondence between the identifier and the register group to be used;
The image processing apparatus according to claim 3, further comprising: a control unit that obtains a register group to be used from an identifier added to a processing unit with reference to contents stored in the storage unit.
上記制御手段は、
処理単位に付加されたレジスタ群を指定するデータにより使用するレジスタ群を得る制御部を、含む
請求項3記載の画像処理装置。 The input image is input with data specifying a register group to be used for each processing unit,
The control means includes
The image processing apparatus according to claim 3, further comprising a control unit that obtains a register group to be used by data specifying the register group added to the processing unit.
上記撮像素子からの入力画像に対して種々の処理を行う画像処理部を、有し、
上記画像処理部は、
処理単位ごとに異なる処理を行う処理ブロックと、
上記処理ブロックの画像処理内容または/および程度の設定を保持するレジスタ群を複数有するレジスタ部と、
処理を行う際に、上記レジスタ部における複数のレジスタ群の中から使用するレジスタ群を選択して画像処理内容または/および程度を切り替える制御手段と、を含む
画像処理装置。 An image processing apparatus for processing an input image from an image sensor,
An image processing unit that performs various processes on an input image from the image sensor;
The image processing unit
A processing block that performs different processing for each processing unit;
A register unit having a plurality of register groups for holding image processing content or / and setting of the degree of the processing block;
An image processing apparatus comprising: a control unit that selects a register group to be used from among a plurality of register groups in the register unit and switches image processing content and / or degree when performing processing.
入力される処理単位の順番と使用するレジスタ群の対応を保持する記憶部と、
上記記憶手段に保持された内容を参照し処理単位の入力される順番に応じて使用するレジスタ群を得、処理単位ごとにレジスタ群を指定する信号を生成する制御部と、を含む
請求項7記載の画像処理装置。 The control means includes
A storage unit that holds the correspondence between the order of input processing units and the register group to be used;
A control unit that obtains a register group to be used in accordance with the input order of processing units with reference to the contents held in the storage unit and generates a signal designating the register group for each processing unit. The image processing apparatus described.
上記画像処理部の制御手段は、
識別子と使用するレジスタ群の対応を保持する記憶部と、
上記記憶部に保持された内容を参照し処理単位に付加された識別子から使用するレジスタ群を得、処理単位ごとにレジスタ群を指定する信号を生成する制御部と、を含む
請求項7記載の画像処理装置。 An image input unit that adds an identifier for each processing unit to the input image and inputs the input image to the image processing unit,
The control means of the image processing unit is:
A storage unit that holds the correspondence between the identifier and the register group to be used;
The control part which obtains the register group to be used from the identifier added to the processing unit with reference to the content held in the storage unit, and generates a signal designating the register group for each processing unit. Image processing device.
上記画像処理部の制御手段は、
処理単位に付加されたレジスタ群を指定するデータにより使用するレジスタ群を得、処理単位ごとにレジスタ群を指定する信号を生成する制御部を、含む
請求項7記載の画像処理装置。
An image input unit for adding data for specifying a register group to be used for each processing unit to the input image,
The control means of the image processing unit is:
The image processing apparatus according to claim 7, further comprising: a control unit that obtains a register group to be used by data designating a register group added to a processing unit and generates a signal designating the register group for each processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005182227A JP4618012B2 (en) | 2005-06-22 | 2005-06-22 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005182227A JP4618012B2 (en) | 2005-06-22 | 2005-06-22 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007006017A true JP2007006017A (en) | 2007-01-11 |
JP4618012B2 JP4618012B2 (en) | 2011-01-26 |
Family
ID=37691210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005182227A Expired - Fee Related JP4618012B2 (en) | 2005-06-22 | 2005-06-22 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4618012B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010081112A (en) * | 2008-09-24 | 2010-04-08 | Canon Inc | Image processor, method of controlling the same, and program |
JP2020169958A (en) * | 2019-04-05 | 2020-10-15 | 株式会社キーエンス | Image inspection system and image inspection method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06253147A (en) * | 1992-12-28 | 1994-09-09 | Minolta Camera Co Ltd | Film picture reproduction device |
JP2005142707A (en) * | 2003-11-05 | 2005-06-02 | Matsushita Electric Ind Co Ltd | Imaging apparatus |
-
2005
- 2005-06-22 JP JP2005182227A patent/JP4618012B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06253147A (en) * | 1992-12-28 | 1994-09-09 | Minolta Camera Co Ltd | Film picture reproduction device |
JP2005142707A (en) * | 2003-11-05 | 2005-06-02 | Matsushita Electric Ind Co Ltd | Imaging apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010081112A (en) * | 2008-09-24 | 2010-04-08 | Canon Inc | Image processor, method of controlling the same, and program |
US8335399B2 (en) | 2008-09-24 | 2012-12-18 | Canon Kabushiki Kaisha | Image processing apparatus, control method therefor, and program |
JP2020169958A (en) * | 2019-04-05 | 2020-10-15 | 株式会社キーエンス | Image inspection system and image inspection method |
JP7222796B2 (en) | 2019-04-05 | 2023-02-15 | 株式会社キーエンス | Image inspection system and image inspection method |
Also Published As
Publication number | Publication date |
---|---|
JP4618012B2 (en) | 2011-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7116358B1 (en) | Image processing circuit of image input device | |
US9569703B2 (en) | Data transfer apparatus and method thereof | |
JP4618012B2 (en) | Image processing device | |
US20140153841A1 (en) | Image processing device | |
KR101319535B1 (en) | Device of processing image and method thereof | |
JP5968011B2 (en) | Image processing apparatus and control method thereof | |
JP2004535127A5 (en) | ||
JP6386244B2 (en) | Image processing apparatus and image processing method | |
US8842193B2 (en) | Imaging apparatus | |
US9264609B2 (en) | Image processing apparatus using overlap width data | |
JP2003230045A (en) | Signal processing method and apparatus | |
JP2002010221A (en) | Image format converting device and imaging apparatus | |
JP6435904B2 (en) | Output device, output control method, and program | |
KR20020004169A (en) | Zoom buffer control circuit having function of up/down scaling | |
JP2006020015A (en) | Image processing apparatus | |
CN112312199B (en) | Image processing method, device and equipment | |
JP4424097B2 (en) | Electronic zoom device | |
JP2004153848A5 (en) | ||
JP2019033388A (en) | Signal processor and signal processing method | |
JP2001243446A (en) | Device and method for image input processing | |
JP4802482B2 (en) | Image processing apparatus and image processing method | |
JP3842968B2 (en) | Image data processing device | |
JP2009260788A (en) | Imaging unit | |
JP6412361B2 (en) | Endoscopic imaging device | |
JP2005012494A (en) | Image processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080610 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100527 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100622 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100812 |
|
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: 20100928 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101011 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131105 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131105 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |