Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4877995B2 - Image processing apparatus and electronic apparatus using the same - Google Patents
[go: Go Back, main page]

JP4877995B2 - Image processing apparatus and electronic apparatus using the same - Google Patents

Image processing apparatus and electronic apparatus using the same Download PDF

Info

Publication number
JP4877995B2
JP4877995B2 JP2007075773A JP2007075773A JP4877995B2 JP 4877995 B2 JP4877995 B2 JP 4877995B2 JP 2007075773 A JP2007075773 A JP 2007075773A JP 2007075773 A JP2007075773 A JP 2007075773A JP 4877995 B2 JP4877995 B2 JP 4877995B2
Authority
JP
Japan
Prior art keywords
camera
image processing
camera sensor
signal path
processing apparatus
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.)
Expired - Fee Related
Application number
JP2007075773A
Other languages
Japanese (ja)
Other versions
JP2008236573A (en
Inventor
尚史 江角
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2007075773A priority Critical patent/JP4877995B2/en
Publication of JP2008236573A publication Critical patent/JP2008236573A/en
Application granted granted Critical
Publication of JP4877995B2 publication Critical patent/JP4877995B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、撮像データに所定のエンコード処理及びデコード処理を施す画像処理装置、及び、これを用いた電子機器に関するものである。   The present invention relates to an image processing apparatus that performs predetermined encoding processing and decoding processing on imaging data, and an electronic device using the image processing device.

近年、デジタルカメラやカメラ付きの携帯電話機など、撮像機能を備えた電子機器が広く普及している。このような電子機器において、撮像データを保存する場合には、そのデータ容量を削減するために、JPEG[Joint Photographic Coding Experts Group]圧縮などのエンコード処理を施すことが多い。また、このようなエンコード処理を実現する方式としては、CPU[Central Processing Unit]によるソフトウェアエンコード方式(図3(a)を参照)のほか、専用の画像処理装置(JPEGエンジンなどのペリフェラルエンジン)を用いる方式(図3(b)、(c)を参照)がある。   In recent years, electronic devices having an imaging function such as a digital camera and a mobile phone with a camera have been widely used. In such an electronic device, when image data is stored, encoding processing such as JPEG (Joint Photographic Coding Experts Group) compression is often performed in order to reduce the data capacity. As a method for realizing such an encoding process, in addition to a software encoding method by a CPU [Central Processing Unit] (see FIG. 3A), a dedicated image processing apparatus (peripheral engine such as a JPEG engine) is used. There is a method to be used (see FIGS. 3B and 3C).

なお、上記に関連する従来技術の一例としては、特許文献1に開示・提案された撮像装置を挙げることができる。
特開2004−128583号公報(特に図1)
As an example of the related art related to the above, an imaging apparatus disclosed and proposed in Patent Document 1 can be cited.
Japanese Patent Laid-Open No. 2004-128583 (particularly FIG. 1)

確かに、図3(a)〜(c)の従来方式であれば、撮像データの保存時にそのデータ容量を削減することができるので、撮像データの保存先となるメモリ(半導体メモリなど)の容量を有効に利用することが可能である。   Certainly, with the conventional method shown in FIGS. 3A to 3C, the data capacity can be reduced when image data is stored. Therefore, the capacity of a memory (semiconductor memory or the like) that stores the image data can be reduced. Can be used effectively.

しかしながら、図3(a)の従来方式では、CPUによるエンコード処理に必要なプログラムが必要となる上、撮像データの圧縮保存時には、CPUに大きな負荷が掛かることになるので、処理速度の低下を招くおそれがあった。   However, in the conventional method shown in FIG. 3A, a program necessary for the encoding process by the CPU is required, and a large load is applied to the CPU when the captured image data is compressed and stored, resulting in a decrease in processing speed. There was a fear.

一方、図3(b)の従来方式であれば、カメラセンサとCPUとの間にペリフェラルエンジンが搭載されているので、撮像データの転送用に最適化された既存のカメラインターフェイスを有効に利用して、圧縮処理済みの撮像データ(JPEGコード)をスムーズに受け渡し、これをメモリに保存することができる。従って、図3(b)の従来方式であれば、図3(a)の従来方式に比べて、プログラムの削減やCPUの負荷低減を実現することが可能である。しかしながら、上記従来のペリフェラルエンジンは、あくまで、撮像データの圧縮保存時にしか用いることができず、メモリに圧縮保存された撮像データを伸長してディスプレイ(LCD[Liquid Crystal Display]など)に再生表示する際には、別途デコード処理用のペリフェラルエンジンを搭載するか、CPUによるソフトウェアデコードを行う必要があった。   On the other hand, in the conventional method of FIG. 3B, since the peripheral engine is mounted between the camera sensor and the CPU, the existing camera interface optimized for the transfer of imaging data is effectively used. Thus, the compressed image data (JPEG code) can be smoothly transferred and stored in the memory. Therefore, with the conventional method of FIG. 3B, it is possible to realize a reduction in programs and a load on the CPU as compared with the conventional method of FIG. However, the above-described conventional peripheral engine can be used only when the image data is compressed and stored, and the image data compressed and stored in the memory is expanded and reproduced and displayed on a display (LCD [Liquid Crystal Display] or the like). In this case, it is necessary to separately install a peripheral engine for decoding processing or to perform software decoding by the CPU.

なお、図3(c)の従来方式であれば、単一のペリフェラルエンジンを用いて、圧縮保存時のエンコード処理と再生表示時のデコード処理を共に実施することが可能となるが、反面、CPUとペリフェラルエンジンとの間でデータの入出力頻度が高くなるため、パフォーマンス的に不利であった。   If the conventional method of FIG. 3C is used, it is possible to perform both encoding processing at the time of compression and decoding processing at the time of reproduction display using a single peripheral engine. Since the frequency of data input / output between the system and the peripheral engine increases, it is disadvantageous in terms of performance.

本発明は、上記の問題点に鑑み、演算装置における負荷の増大やパフォーマンスの低下を招くことなく、撮像データのエンコード処理とデコード処理を共に実施することが可能な画像処理装置、及び、これを用いた電子機器を提供することを目的とする。   In view of the above-described problems, the present invention provides an image processing apparatus capable of performing both the encoding process and the decoding process of imaging data without causing an increase in load and a decrease in performance in the arithmetic apparatus, and An object is to provide an electronic device used.

上記目的を達成すべく、本発明に係る画像処理装置は、カメラセンサと演算装置との間に接続される画像処理装置であって、前記カメラセンサから入力される撮像データを前記演算装置に直接出力する第1の信号経路と、前記カメラセンサから入力される撮像データに所定のエンコード処理を施して前記演算装置に出力する第2の信号経路と、前記演算装置から入力されるエンコード処理済みの撮像データに所定のデコード処理を施して前記演算装置に出力する第3の信号経路と、を有して成る構成(第1の構成)とされている。   In order to achieve the above object, an image processing apparatus according to the present invention is an image processing apparatus connected between a camera sensor and an arithmetic device, and directly captures image data input from the camera sensor to the arithmetic device. A first signal path to be output, a second signal path to be subjected to predetermined encoding processing on imaging data input from the camera sensor and output to the arithmetic device, and an encoded processing input from the arithmetic device. And a third signal path that performs predetermined decoding processing on the imaged data and outputs the result to the arithmetic unit (first configuration).

なお、上記第1の構成から成る画像処理装置は、前記演算装置から入力されるカメラクロックを前記カメラセンサに出力する第4の信号経路と、第4の信号経路を導通/遮断するスイッチと、を有して成る構成(第2の構成)にするとよい。   The image processing apparatus having the first configuration includes a fourth signal path for outputting a camera clock input from the arithmetic unit to the camera sensor, a switch for conducting / cutting off the fourth signal path, It is preferable to have a configuration (second configuration).

また、上記第2の構成から成る画像処理装置は、前記カメラクロックを所望の周波数に調整するカメラクロック調整回路を有して成る構成(第3の構成)にするとよい。   The image processing apparatus having the second configuration may have a configuration (third configuration) including a camera clock adjustment circuit that adjusts the camera clock to a desired frequency.

また、上記第3の構成から成る画像処理装置は、第1、第3の信号経路を介して各々入力される撮像データのスケールを調整するイメージスケーラを有して成る構成(第4の構成)にするとよい。   In addition, the image processing apparatus having the third configuration includes an image scaler that adjusts the scale of imaging data input via the first and third signal paths (fourth configuration). It is good to.

また、本発明に係る電子機器は、カメラセンサと、演算装置と、前記カメラセンサと前記演算装置との間に接続される上記第1〜第4いずれかの構成から成る画像処理装置と、を有して成る構成(第5の構成)とされている。   Further, an electronic apparatus according to the present invention includes a camera sensor, an arithmetic device, and an image processing device having any one of the first to fourth configurations connected between the camera sensor and the arithmetic device. It is set as the structure to have (5th structure).

なお、上記第5の構成から成る電子機器において、前記演算装置は、前記カメラセンサから入力される撮像データを表示部でプレビューするときには、第1の信号経路を選択するように、前記カメラセンサから入力される撮像データを記憶部に保存するときには、第2の信号経路を選択するように、前記記憶部に保存された撮像データを前記表示部で再生表示するときには、第3の信号経路を選択するように、前記画像処理装置に対して指示を送る構成(第6の構成)にするとよい。   In the electronic apparatus having the fifth configuration, the arithmetic unit may be configured to select the first signal path from the camera sensor when previewing the imaging data input from the camera sensor on the display unit. When the input imaging data is stored in the storage unit, the second signal path is selected. When the imaging data stored in the storage unit is reproduced and displayed on the display unit, the third signal path is selected. As described above, a configuration (sixth configuration) may be employed in which an instruction is sent to the image processing apparatus.

本発明に係る画像処理装置であれば、演算装置における負荷の増大やパフォーマンスの低下を招くことなく、撮像データのエンコード処理とデコード処理を共に実施することが可能となる。   With the image processing apparatus according to the present invention, it is possible to perform both the encoding process and the decoding process of the imaging data without causing an increase in load or a decrease in performance in the arithmetic device.

まず、本発明に係る電子機器(デジタルカメラやカメラ付き携帯電話機など、撮像機能を備えた電子機器全般)の第1実施形態について、図1を参照しながら詳細に説明する。   First, a first embodiment of an electronic device according to the present invention (generally, an electronic device having an imaging function such as a digital camera or a mobile phone with a camera) will be described in detail with reference to FIG.

図1は、本発明に係る電子機器の第1実施形態を示すブロック図である。   FIG. 1 is a block diagram showing a first embodiment of an electronic apparatus according to the present invention.

本図に示すように、本実施形態の電子機器は、画像処理装置100と、カメラセンサ200と、演算装置300と、表示部400と、記憶部500と、を有して成る。   As shown in the figure, the electronic apparatus of the present embodiment includes an image processing apparatus 100, a camera sensor 200, an arithmetic device 300, a display unit 400, and a storage unit 500.

画像処理装置100は、カメラセンサ200と演算装置300との間に接続され、撮像データに所定のエンコード処理及びデコード処理を施すペリフェラルエンジン(本実施形態では、JPEG方式の圧縮処理/伸長処理を施すJPEGエンジン)である。なお、画像処理装置100の内部構成及び動作については、後ほど詳細な説明を行う。   The image processing apparatus 100 is connected between the camera sensor 200 and the arithmetic unit 300, and is a peripheral engine that performs predetermined encoding processing and decoding processing on the captured image data (in this embodiment, JPEG compression / decompression processing is performed). JPEG engine). The internal configuration and operation of the image processing apparatus 100 will be described in detail later.

カメラセンサ200は、レンズ群や撮像素子(CMOS[Complementary Metal Oxide Semiconductor]センサやCCD[Charge Coupled Devices]センサ)を備えて成り、撮像素子の撮像面に結像された光学像を電気信号に変換して、各種の信号処理(自動ゲイン調整処理、相関二重サンプリング処理、アナログ/デジタル変換処理など)を施し、所望の撮像データDAT1を生成して、これを画像処理装置100に出力する手段である。   The camera sensor 200 includes a lens group and an imaging device (CMOS [Complementary Metal Oxide Semiconductor] sensor or CCD [Charge Coupled Devices] sensor), and converts an optical image formed on the imaging surface of the imaging device into an electrical signal. Then, various signal processing (automatic gain adjustment processing, correlated double sampling processing, analog / digital conversion processing, etc.) is performed, and desired imaging data DAT1 is generated and output to the image processing apparatus 100. is there.

なお、カメラセンサ200の撮像動作は、演算装置300から直接入力される制御信号CTRL1に基づいてオン/オフ制御されるものであり、被写体の撮像動作中には、演算装置300から画像処理装置100を介して入力されるカメラクロックCLK1に同期して、例えば30[fps]のフレームレートで、SXGA[Super eXtended Graphics Array]サイズ(1280ピクセル×1024ピクセル)の撮像データDAT1が出力される。その際、カメラセンサ200は、撮像データDAT1とともに、フレームの構築に必要な水平同期信号Hs、垂直同期信号Vs、及び、カメラピクセルクロックCPCLKを画像処理装置100に出力する。   The imaging operation of the camera sensor 200 is on / off controlled based on a control signal CTRL1 directly input from the arithmetic device 300. During the imaging operation of the subject, the arithmetic device 300 to the image processing device 100 In synchronization with the camera clock CLK1 input via the, image data DAT1 of SXGA [Super eXtended Graphics Array] size (1280 pixels × 1024 pixels) is output at a frame rate of 30 [fps], for example. At that time, the camera sensor 200 outputs the horizontal synchronization signal Hs, the vertical synchronization signal Vs, and the camera pixel clock CPCLK necessary for constructing the frame to the image processing apparatus 100 together with the imaging data DAT1.

演算装置300は、カメラインターフェイスや汎用の入出力ポート(GIO[General Purpose Input/Output])を備えたCPU(デジタルベースバンドプロセッサ:DBB)であり、画像処理装置100、カメラセンサ200、表示部400、及び、記憶部500など、電子機器各部の動作を統括的に制御する手段である。   The arithmetic device 300 is a CPU (digital baseband processor: DBB) having a camera interface and general-purpose input / output ports (GIO [General Purpose Input / Output]), and includes an image processing device 100, a camera sensor 200, and a display unit 400. And means for comprehensively controlling the operation of each part of the electronic device such as the storage unit 500.

表示部400は、演算装置300の指示に基づいて、被写体のプレビュー表示(リアルタイム表示)や撮影済み画像の再生表示を行う手段(本実施形態ではLCD)である。   The display unit 400 is a unit (LCD in the present embodiment) that performs subject preview display (real-time display) and captured image reproduction display based on instructions from the arithmetic device 300.

記憶部500は、演算装置300の指示に基づいて、撮影済み画像を保存する手段(本実施形態では半導体メモリ)である。   The storage unit 500 is a unit (semiconductor memory in the present embodiment) that stores a captured image based on an instruction from the arithmetic device 300.

次に、画像処理装置100の内部構成について、詳細な説明を行う。   Next, the internal configuration of the image processing apparatus 100 will be described in detail.

図2に示すように、本実施形態の画像処理装置100は、カメラインターフェイス101(以下、カメラI/F101と呼ぶ)と、クリップラインバッファ102と、JPEGエンコーダ103と、シリアルインターフェイス104(以下、シリアルI/F105と呼ぶ)と、コードバッファ105と、JPEGデコーダ106と、フレーム制御部107と、出力スイッチ108と、スイッチ109と、を有して成る。   As shown in FIG. 2, an image processing apparatus 100 according to the present embodiment includes a camera interface 101 (hereinafter referred to as camera I / F 101), a clip line buffer 102, a JPEG encoder 103, and a serial interface 104 (hereinafter referred to as serial). I / F 105), a code buffer 105, a JPEG decoder 106, a frame control unit 107, an output switch 108, and a switch 109.

カメラI/F101は、被写体の撮像動作中にカメラセンサ200から入力される撮像データDAT1、水平同期信号Hs、垂直同期信号Vs、及び、カメラピクセルクロックCPCLKを受け取り、これをクリップラインバッファ102や出力スイッチ108に出力する手段である。   The camera I / F 101 receives the imaging data DAT1, the horizontal synchronization signal Hs, the vertical synchronization signal Vs, and the camera pixel clock CPCLK that are input from the camera sensor 200 during the imaging operation of the subject, and outputs them to the clip line buffer 102 and the output. Means for outputting to the switch 108.

クリップラインバッファ102は、カメラセンサ200から入力される撮像データDAT1をライン毎に一時格納し、これをJPEGエンコーダ103に出力する手段である。   The clip line buffer 102 is means for temporarily storing the imaging data DAT1 input from the camera sensor 200 for each line and outputting the data to the JPEG encoder 103.

JPEGエンコーダ103は、クリップラインバッファ102から入力される撮像データDAT1に所定のエンコード処理(JPEG圧縮処理)を施して、圧縮撮像データDAT2(JPEGコード)を生成し、これを出力スイッチ108に出力する手段である。   The JPEG encoder 103 performs predetermined encoding processing (JPEG compression processing) on the imaging data DAT1 input from the clip line buffer 102, generates compressed imaging data DAT2 (JPEG code), and outputs this to the output switch 108. Means.

シリアルI/F104は、演算装置300から入力される制御信号CTRL2(動作モード切替信号)と、デコード処理の対象となる圧縮撮像データDAT2を順次シリアルに受け取る手段である。なお、基板配線の本数削減やICのピン数削減を鑑みると、圧縮撮像データDAT2の伝送経路としては、シリアルI/Fや高速のI2Cバスを用いるとよい。ただし、圧縮撮像データDAT2は、制御信号CTRL1、CTRL2に比べて、データ量が大きいので、できるだけ高速のインターフェイスを用いることが望ましい。   The serial I / F 104 is a unit that sequentially receives the control signal CTRL2 (operation mode switching signal) input from the arithmetic unit 300 and the compressed imaging data DAT2 that is the object of decoding processing in sequence. In view of the reduction in the number of substrate wirings and the reduction in the number of IC pins, a serial I / F or a high-speed I2C bus may be used as the transmission path for the compressed imaging data DAT2. However, since the compressed image data DAT2 has a larger data amount than the control signals CTRL1 and CTRL2, it is desirable to use a high-speed interface as much as possible.

コードバッファ105は、JPEGデコーダ106でのデコード処理(JPEG伸長処理)に最低限必要なデータ量の圧縮撮像データDAT2(JPEGコード)をバッファする手段である。   The code buffer 105 is a means for buffering the compressed image data DAT2 (JPEG code) having a minimum data amount necessary for the decoding process (JPEG decompression process) in the JPEG decoder 106.

JPEGデコーダ106は、コードバッファ105から入力される圧縮撮像データDAT2に所定のデコード処理(JPEG伸長処理)を施して、伸長撮像データDAT3を生成し、これを出力スイッチ108に出力する手段である。   The JPEG decoder 106 is a unit that performs predetermined decoding processing (JPEG decompression processing) on the compressed imaging data DAT2 input from the code buffer 105, generates decompressed imaging data DAT3, and outputs this to the output switch 108.

フレーム制御部107は、カメラセンサ200からの入力信号に依ることなく、伸長撮像データDAT3のフレーム構築に必要な水平同期信号Hs、垂直同期信号Vs、及び、ピクセルクロックPCLKをIC内部で独自に生成し、これを出力スイッチ108に出力する手段である。このようなフレーム制御部107を有する構成であれば、演算装置300から入力される圧縮撮像データDAT2のデコード処理に際して、カメラセンサ200の動作を停止させても、何ら支障を生じることなく伸長撮像データDAT3のフレーム構築を行うことが可能となる。   The frame control unit 107 independently generates the horizontal synchronization signal Hs, the vertical synchronization signal Vs, and the pixel clock PCLK necessary for constructing the frame of the expanded imaging data DAT3 independently of the input signal from the camera sensor 200. This is means for outputting this to the output switch 108. With such a configuration having the frame control unit 107, the decompressed imaging data is not affected even if the operation of the camera sensor 200 is stopped during the decoding process of the compressed imaging data DAT2 input from the arithmetic device 300. It is possible to construct a DAT3 frame.

出力スイッチ108は、カメラI/F101から撮像データDAT1が直接入力される第1の信号経路、JPEGエンコーダ103から圧縮撮像データDAT2が入力される第2の信号経路、並びに、JPEGデコーダ106から伸長撮像データDAT3が入力される第3の信号経路のうち、いずれか一を介して得られる撮像データ(ここでは撮像データDATと表記する)とともに、そのフレーム構築に必要な水平同期信号Hs、垂直同期信号Vs、及び、ピクセルクロックPCLKを演算装置300に出力する手段である。   The output switch 108 includes a first signal path through which the imaging data DAT1 is directly input from the camera I / F 101, a second signal path through which the compressed imaging data DAT2 is input from the JPEG encoder 103, and decompression imaging from the JPEG decoder 106. Along with imaging data obtained through any one of the third signal paths to which the data DAT3 is input (herein referred to as imaging data DAT), a horizontal synchronization signal Hs and a vertical synchronization signal necessary for the frame construction. This is means for outputting Vs and the pixel clock PCLK to the arithmetic unit 300.

スイッチ109は、演算装置300から入力されるカメラクロックCLK1をカメラセンサ200に出力する第4の信号経路を導通/遮断する手段である。このように、カメラクロックCLK1を演算装置300からカメラセンサ200に直接入力するのではなく、画像処理装置100に一旦入力し、これを画像処理装置100の駆動クロックとして用いる一方、カメラセンサ200に対するカメラクロックCLK1の供給可否を任意に切り替える構成であれば、演算装置300から入力される圧縮撮像データDAT2のデコード処理に際して、カメラセンサ200を駆動させることなく、画像処理装置100だけ駆動させることが可能となる。すなわち、圧縮撮像データDAT2のデコード処理時には、画像処理装置100がカメラセンサ200の代わりをするように動作するので、カメラセンサ200で不必要に電力を消費せずに済む。   The switch 109 is means for conducting / interrupting the fourth signal path for outputting the camera clock CLK1 input from the arithmetic unit 300 to the camera sensor 200. In this way, the camera clock CLK1 is not directly input from the arithmetic unit 300 to the camera sensor 200, but is once input to the image processing apparatus 100 and used as a drive clock for the image processing apparatus 100, while the camera for the camera sensor 200 is used. If the configuration is such that the availability of the clock CLK1 can be switched arbitrarily, it is possible to drive only the image processing apparatus 100 without driving the camera sensor 200 in the decoding process of the compressed imaging data DAT2 input from the arithmetic unit 300. Become. In other words, when the compressed image data DAT2 is decoded, the image processing apparatus 100 operates to replace the camera sensor 200, so that the camera sensor 200 does not need to consume power unnecessarily.

次に、上記構成から成る画像処理装置100の動作について、詳細な説明を行う。   Next, the operation of the image processing apparatus 100 having the above configuration will be described in detail.

まず、画像処理装置100のプレビューモードについて説明する。   First, the preview mode of the image processing apparatus 100 will be described.

この場合、画像処理装置100は、演算装置300からの指示(制御信号CTRL2)に基づき、カメラセンサ200から入力される撮像データDAT1に対して、何ら画像処理を施すことなく、第1の信号経路(カメラI/F101→出力スイッチ108)を介して、これを演算回路300にスルーする。従って、表示部300では、被写体をリアルタイムにモニタすることが可能となる。   In this case, the image processing apparatus 100 performs the first signal path without performing any image processing on the imaging data DAT1 input from the camera sensor 200 based on an instruction (control signal CTRL2) from the arithmetic apparatus 300. This is passed through the arithmetic circuit 300 via (camera I / F 101 → output switch 108). Therefore, the display unit 300 can monitor the subject in real time.

次に、画像処理装置100のエンコードモードについて説明する。   Next, the encoding mode of the image processing apparatus 100 will be described.

この場合、画像処理装置100は、演算装置300からの指示(制御信号CTRL2)に基づき、第2の信号経路(カメラI/F101→クリップラインバッファ102→JPEGエンコーダ103→出力スイッチ108)を介して、カメラセンサ200から入力される撮像データDAT1に所定のエンコード処理(JPEG圧縮処理)を施して、圧縮撮像データDAT2(JPEGコード)を生成し、これを演算回路300に出力する。従って、撮像データの保存時にそのデータ容量を削減することができるので、記憶部500の容量を有効に利用することが可能である。   In this case, the image processing apparatus 100 is based on an instruction (control signal CTRL2) from the arithmetic apparatus 300 via the second signal path (camera I / F 101 → clip line buffer 102 → JPEG encoder 103 → output switch 108). The image data DAT1 input from the camera sensor 200 is subjected to a predetermined encoding process (JPEG compression process) to generate compressed image data DAT2 (JPEG code), which is output to the arithmetic circuit 300. Accordingly, since the data capacity can be reduced at the time of saving the imaging data, the capacity of the storage unit 500 can be used effectively.

次に、画像処理装置100のデコードモードについて説明する。   Next, the decoding mode of the image processing apparatus 100 will be described.

この場合、画像処理装置100は、演算装置300からの指示(制御信号CTRL2)に基づき、第3の信号経路(シリアルI/F104→コードバッファ105→JPEGデコーダ106→出力スイッチ108)を介して、演算装置300から入力される圧縮撮像データDAT2(JPEGコード)に所定のデコード処理(JPEG伸長処理)を施して伸長撮像データDAT3を生成し、これを演算回路300に出力する。従って、表示部300では、記憶部500に保存された撮像済み画像を再生表示することが可能となる。   In this case, the image processing apparatus 100, based on an instruction (control signal CTRL2) from the arithmetic apparatus 300, via the third signal path (serial I / F 104 → code buffer 105 → JPEG decoder 106 → output switch 108). The compressed image data DAT2 (JPEG code) input from the arithmetic unit 300 is subjected to a predetermined decoding process (JPEG expansion process) to generate expanded image data DAT3, which is output to the arithmetic circuit 300. Accordingly, the display unit 300 can reproduce and display the captured image stored in the storage unit 500.

上記のように、本実施形態の画像処理装置100は、カメラセンサ200と演算装置300との間に接続される画像処理装置であって、カメラセンサ200から入力される撮像データDAT1を演算装置300に直接出力する第1の信号経路(101→108)と、カメラセンサ200から入力される撮像データDAT1に所定のエンコード処理を施して演算装置300に出力する第2の信号経路(101→102→103→108)と、演算装置300から入力される圧縮撮像データDAT2に所定のデコード処理を施して演算装置300に出力する第3の信号経路(104105106108)と、を有して成る構成とされている。 As described above, the image processing apparatus 100 according to the present embodiment is an image processing apparatus connected between the camera sensor 200 and the arithmetic apparatus 300, and uses the imaging data DAT <b> 1 input from the camera sensor 200 as the arithmetic apparatus 300. in a first signal path for outputting directly (101 → 108), a second signal path for outputting the arithmetic unit 300 in the imaging data DAT1 input from the camera sensor 200 performs a predetermined encoding process (101 → 102 → 103 → 108 ) and a third signal path ( 104105106108 ) for performing a predetermined decoding process on the compressed imaging data DAT2 input from the arithmetic device 300 and outputting the result to the arithmetic device 300 It is set as the composition which consists of.

このような構成とすることにより、演算装置300における負荷の増大やパフォーマンスの低下を招くことなく、カメラセンサ200から入力される撮像データDAT1のエンコード処理と、演算装置300から入力される圧縮撮像データDAT2のデコード処理を共に実施することが可能となる。   With such a configuration, the encoding processing of the imaging data DAT1 input from the camera sensor 200 and the compressed imaging data input from the arithmetic device 300 are performed without causing an increase in load or a decrease in performance in the arithmetic device 300. Both DAT2 decoding processes can be performed.

特に、本実施形態の画像処理装置100は、カメラセンサ200と演算装置300との間に接続され、撮像データDATの転送用に最適化された既存のカメラインターフェイスを有効に利用することができるので、カメラセンサ200から入力される撮像データDAT1や、JPEGエンコーダ103で得られる圧縮撮像データDAT2だけでなく、JPEGデコーダ106で得られる伸長撮像データDAT3についても、演算装置300との間でスムーズに受け渡すことが可能となる。   In particular, the image processing apparatus 100 of the present embodiment is connected between the camera sensor 200 and the arithmetic device 300, and can effectively use the existing camera interface optimized for transferring the imaging data DAT. In addition to the imaging data DAT1 input from the camera sensor 200 and the compressed imaging data DAT2 obtained by the JPEG encoder 103, the decompressed imaging data DAT3 obtained by the JPEG decoder 106 is also received smoothly with the arithmetic device 300. It becomes possible to pass.

続いて、本発明に係る電子機器の第2実施形態について、図2を参照しながら詳細に説明する。   Next, a second embodiment of the electronic device according to the present invention will be described in detail with reference to FIG.

図2は、本発明に係る電子機器の第2実施形態を示すブロック図である。   FIG. 2 is a block diagram showing a second embodiment of the electronic apparatus according to the present invention.

本図に示すように、本実施形態の電子機器は、先述の第1実施形態とほぼ同様の構成から成り、画像処理装置100にカメラクロック調整回路110とイメージスケーラ111を設けたことを特徴としている。そこで、第1実施形態と同様の部分については、図1と同一の符号を付すことで詳細な説明を省略し、以下では、本実施形態の特徴部分についてのみ、重点的な説明を行うことにする。   As shown in the figure, the electronic apparatus of the present embodiment has substantially the same configuration as that of the first embodiment, and is characterized in that a camera clock adjustment circuit 110 and an image scaler 111 are provided in the image processing apparatus 100. Yes. Therefore, the same parts as those of the first embodiment are denoted by the same reference numerals as those in FIG. 1, and detailed description thereof will be omitted. Hereinafter, only the characteristic parts of the present embodiment will be mainly described. To do.

カメラクロック調整回路110は、演算装置300から入力されるカメラクロックCLK1を所望の周波数に調整(逓倍・分周)してカメラクロックCLK2を生成し、これをカメラセンサ200に出力する手段である。なお、カメラクロック調整回路110としては、PLL回路などを用いればよい。   The camera clock adjustment circuit 110 is a unit that adjusts (multiplies and divides) the camera clock CLK1 input from the arithmetic unit 300 to a desired frequency, generates the camera clock CLK2, and outputs this to the camera sensor 200. Note that a PLL circuit or the like may be used as the camera clock adjustment circuit 110.

このように、画像処理装置100にカメラクロック調整回路110を設けた構成であれば、例えばVGA[Video Graphics Array]サイズ(640ピクセル×480ピクセル)のカメラインターフェイスしか持たず、12[MHz]程度のカメラクロックCLK1しか出力することができない演算装置300を用いた場合であっても、カメラクロック調整回路110を用いて、より高い周波数(例えば、4逓倍の48[MHz])のカメラクロックCLK2を生成し、これをカメラセンサ200に供給することができるので、よりピクセル数の大きいカメラセンサ200(例えばSXGAサイズのカメラセンサ)を接続することが可能となる。   As described above, if the camera clock adjustment circuit 110 is provided in the image processing apparatus 100, for example, it has only a camera interface of VGA [Video Graphics Array] size (640 pixels × 480 pixels), and is about 12 [MHz]. Even when the arithmetic device 300 that can output only the camera clock CLK1 is used, the camera clock adjustment circuit 110 is used to generate the camera clock CLK2 having a higher frequency (for example, 48 [MHz] multiplied by 4). Since this can be supplied to the camera sensor 200, a camera sensor 200 having a larger number of pixels (for example, a camera sensor having an SXGA size) can be connected.

イメージスケーラ111は、第1の信号経路を介して入力される撮像データDAT1、及び、第3の信号経路を介して入力される伸長撮像データDAT3のスケールを演算装置300のカメラインターフェイスに入力可能なサイズ(上記の例では、VGAサイズ)に調整する手段である。   The image scaler 111 can input the imaging data DAT1 input via the first signal path and the scale of the expanded imaging data DAT3 input via the third signal path to the camera interface of the arithmetic device 300. It is means for adjusting the size (in the above example, VGA size).

このように、画像処理装置100にイメージスケーラ111を設けた構成であれば、演算装置300の処理能力を超えるピクセル数のカメラセンサ200を用いた場合であっても、画像処理装置100のプレビューモードやデコードモードにおいて、撮像データDATを支障なく演算装置300に渡すことが可能となる。一方、画像処理装置100のエンコードモードにおいては、カメラセンサ200から入力される撮像データDAT1に対して、何らスケール調整を施すことなく、圧縮撮像データDAT2を生成し、これを演算装置300に渡すことができるので、カメラセンサ200の能力を最大限に活用することが可能となる。   Thus, if the image scaler 111 is provided in the image processing apparatus 100, the preview mode of the image processing apparatus 100 can be used even when the camera sensor 200 having a number of pixels exceeding the processing capability of the arithmetic apparatus 300 is used. In the decoding mode, the imaging data DAT can be passed to the arithmetic device 300 without any trouble. On the other hand, in the encoding mode of the image processing apparatus 100, the compressed image data DAT 2 is generated without performing any scale adjustment on the image data DAT 1 input from the camera sensor 200, and is passed to the arithmetic device 300. Therefore, the capability of the camera sensor 200 can be fully utilized.

なお、イメージスケーラ111のスケール調整に関しては、演算装置300のカメラインターフェイスに入力可能なサイズではなく、表示部400での出力に適したより小さいサイズ(上記の例では、VGA以下のサイズ)に調整する構成としても構わない。このような構成とすることにより、演算装置300でのリサイズ処理を省くことが可能となる。   Note that the scale of the image scaler 111 is adjusted not to a size that can be input to the camera interface of the arithmetic device 300 but to a smaller size suitable for output on the display unit 400 (in the above example, a size equal to or smaller than VGA). It does not matter as a configuration. With such a configuration, the resizing process in the arithmetic device 300 can be omitted.

また、本発明の構成は、上記実施形態のほか、発明の主旨を逸脱しない範囲で種々の変更を加えることが可能である。   The configuration of the present invention can be variously modified within the scope of the present invention in addition to the above embodiment.

本発明は、デジタルカメラやカメラ付き携帯電話機など、撮像機能を備えた電子機器全般に広く利用可能な技術である。   The present invention is a technique that can be widely used for all electronic devices having an imaging function, such as a digital camera and a mobile phone with a camera.

は、本発明に係る電子機器の第1実施形態を示すブロック図である。These are block diagrams which show 1st Embodiment of the electronic device which concerns on this invention. は、本発明に係る電子機器の第2実施形態を示すブロック図である。These are block diagrams which show 2nd Embodiment of the electronic device which concerns on this invention. は、撮像機能を備えた電子機器の一従来例を示すブロック図である。These are block diagrams which show the prior art example of the electronic device provided with the imaging function.

符号の説明Explanation of symbols

100 画像処理装置(JPEGエンジン)
101 カメラインターフェイス
102 クリップラインバッファ
103 JPEGエンコーダ
104 シリアルインターフェイス
105 コードバッファ
106 JPEGデコーダ
107 フレーム制御部
108 出力スイッチ
109 スイッチ
110 カメラクロック調整回路(PLL回路)
111 イメージスケーラ
200 カメラセンサ
300 演算装置(DBB)
400 表示部(液晶ディスプレイ)
500 記憶部(半導体メモリ)
DAT1 撮像データ
DAT2 圧縮撮像データ(JPEGコード)
DAT3 伸長撮像データ
Hs 水平同期信号
Vs 垂直同期信号
CLK1 カメラクロック
CLK2 カメラクロック
CPCLK カメラピクセルクロック
PCLK ピクセルクロック
CTRL1 制御信号
CTRL2 制御信号
100 Image processing device (JPEG engine)
DESCRIPTION OF SYMBOLS 101 Camera interface 102 Clip line buffer 103 JPEG encoder 104 Serial interface 105 Code buffer 106 JPEG decoder 107 Frame control part 108 Output switch 109 Switch 110 Camera clock adjustment circuit (PLL circuit)
111 Image Scaler 200 Camera Sensor 300 Computing Device (DBB)
400 Display (liquid crystal display)
500 Storage unit (semiconductor memory)
DAT1 imaging data DAT2 compressed imaging data (JPEG code)
DAT3 Decompressed imaging data Hs Horizontal synchronization signal Vs Vertical synchronization signal CLK1 Camera clock CLK2 Camera clock CPCLK Camera pixel clock PCLK Pixel clock CTRL1 Control signal CTRL2 Control signal

Claims (6)

カメラセンサと演算装置との間に接続される画像処理装置であって、
前記画像処理装置は、前記カメラセンサから入力される撮像データを前記演算装置に直接出力する第1の信号経路と、前記カメラセンサから入力される撮像データに所定のエンコード処理を施して前記演算装置に出力する第2の信号経路と、前記演算装置から入力されるエンコード処理済みの撮像データに所定のデコード処理を施して前記演算装置に出力する第3の信号経路と、を有して成り
第1の信号経路と第2の信号経路には、各々に共通して前記カメラセンサから入力される撮像データを受け取る第1のカメラインターフェイスが含まれており、
第1〜第3の信号経路を介して前記画像処理装置の内部を伝達される撮像データは、前記演算装置に備えられた第2のカメラインターフェイスに向けて外部出力されることを特徴とする画像処理装置。
An image processing device connected between a camera sensor and a computing device,
The image processing device includes a first signal path that directly outputs imaging data input from the camera sensor to the arithmetic device, and a predetermined encoding process performed on the imaging data input from the camera sensor. A second signal path that outputs to the computing device, and a third signal path that performs a predetermined decoding process on the encoded imaging data input from the computing device and outputs the processed data to the computing device ,
The first signal path and the second signal path each include a first camera interface that receives image data input from the camera sensor in common.
Image data transmitted through the image processing apparatus via the first to third signal paths is output to the second camera interface provided in the arithmetic unit. Processing equipment.
前記演算装置から入力されるカメラクロックを前記カメラセンサに出力する第4の信号経路と、第4の信号経路を導通/遮断するスイッチと、を有して成ることを特徴とする請求項1に記載の画像処理装置。   2. The apparatus according to claim 1, further comprising: a fourth signal path that outputs a camera clock input from the arithmetic unit to the camera sensor; and a switch that conducts / cuts off the fourth signal path. The image processing apparatus described. 前記カメラクロックを所望の周波数に調整するカメラクロック調整回路を有して成ることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, further comprising a camera clock adjustment circuit that adjusts the camera clock to a desired frequency. 第1、第3の信号経路を介して各々入力される撮像データのスケールを調整するイメージスケーラを有して成ることを特徴とする請求項3に記載の画像処理装置。   The image processing apparatus according to claim 3, further comprising an image scaler that adjusts a scale of imaging data input via the first and third signal paths. カメラセンサと、演算装置と、前記カメラセンサと前記演算装置との間に接続される請求項1〜請求項4のいずれかに記載の画像処理装置と、を有して成ることを特徴とする電子機器。   It has a camera sensor, a calculating device, and the image processing apparatus in any one of Claims 1-4 connected between the said camera sensor and the said calculating device, It is characterized by the above-mentioned. Electronics. 前記演算装置は、前記カメラセンサから入力される撮像データを表示部でプレビューするときには、第1の信号経路を選択するように、前記カメラセンサから入力される撮像データを記憶部に保存するときには、第2の信号経路を選択するように、前記記憶部に保存された撮像データを前記表示部で再生表示するときには、第3の信号経路を選択するように、前記画像処理装置に対して指示を送ることを特徴とする請求項5に記載の電子機器。   When the image data input from the camera sensor is previewed on the display unit and the image data input from the camera sensor is stored in the storage unit so as to select the first signal path when previewing the image data input from the camera sensor on the display unit, When the image data stored in the storage unit is reproduced and displayed on the display unit so as to select the second signal path, the image processing apparatus is instructed to select the third signal path. The electronic device according to claim 5, wherein the electronic device is sent.
JP2007075773A 2007-03-23 2007-03-23 Image processing apparatus and electronic apparatus using the same Expired - Fee Related JP4877995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007075773A JP4877995B2 (en) 2007-03-23 2007-03-23 Image processing apparatus and electronic apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007075773A JP4877995B2 (en) 2007-03-23 2007-03-23 Image processing apparatus and electronic apparatus using the same

Publications (2)

Publication Number Publication Date
JP2008236573A JP2008236573A (en) 2008-10-02
JP4877995B2 true JP4877995B2 (en) 2012-02-15

Family

ID=39908768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007075773A Expired - Fee Related JP4877995B2 (en) 2007-03-23 2007-03-23 Image processing apparatus and electronic apparatus using the same

Country Status (1)

Country Link
JP (1) JP4877995B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5654775B2 (en) * 2010-05-26 2015-01-14 パナソニックIpマネジメント株式会社 Image sensor
JP6565462B2 (en) 2015-08-10 2019-08-28 株式会社リコー Information processing apparatus and data transfer method
JP6743427B2 (en) 2016-03-08 2020-08-19 株式会社リコー Information processing apparatus, imaging system, and data transfer method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3765503B2 (en) * 1994-08-31 2006-04-12 カシオ計算機株式会社 Electronic imaging device
JP4131052B2 (en) * 1998-07-17 2008-08-13 ソニー株式会社 Imaging device
JP2001268454A (en) * 2000-03-17 2001-09-28 Olympus Optical Co Ltd IC device for imaging device
JP4223702B2 (en) * 2001-09-18 2009-02-12 株式会社リコー Imaging device
JP3956360B2 (en) * 2002-09-30 2007-08-08 株式会社リコー Imaging apparatus and image processing method

Also Published As

Publication number Publication date
JP2008236573A (en) 2008-10-02

Similar Documents

Publication Publication Date Title
US10313648B2 (en) Image capturing apparatus and image capturing method
JP5788198B2 (en) Architecture for video processing, high-speed still image processing, and high-quality still image processing
US9082205B2 (en) Image processing apparatus for processing image data to produce compressed image data and display data
US20110205398A1 (en) Imaging processing system and digital camera
US20090041363A1 (en) Image Processing Apparatus For Reducing JPEG Image Capturing Time And JPEG Image Capturing Method Performed By Using Same
CN102082911A (en) Image capturing apparatus and image capturing method
JP4805596B2 (en) Camera device
KR100821407B1 (en) Image Information Processing System and Image Information Processing Method
US20130308014A1 (en) Moving-image capturing apparatus and electronic zoom method for moving image
WO2009002074A1 (en) Image processing apparatus and method for displaying captured image without time delay and computer readable medium stored thereon computer executable instructions for performing the method
US9609215B2 (en) Moving-image recording/reproduction apparatus
JP4877995B2 (en) Image processing apparatus and electronic apparatus using the same
JP4102228B2 (en) Image processing apparatus and camera
KR100579044B1 (en) Apparatus, system and method for compressing rotated images
US20050285813A1 (en) Display controller, electronic equipment, and image data supplying method
JP2009171311A (en) Imaging apparatus
US8031245B2 (en) Imaging apparatus and methods, and storing medium having computer program to perform the methods
JP2008219738A (en) Imaging device
JP2009296046A (en) Imaging apparatus
JP2004140613A (en) Image processing device, image processing method, and communication terminal device
JP2005142699A (en) Image companding apparatus
JP4439746B2 (en) Information processing device
JP2006134030A (en) Image processor
JP2004356974A (en) Imaging signal processing device
JP2005159596A (en) Digital camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110713

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4877995

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D03

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

LAPS Cancellation because of no payment of annual fees