JP4158245B2 - Signal processing device - Google Patents

Signal processing device Download PDF

Info

Publication number
JP4158245B2
JP4158245B2 JP33161398A JP33161398A JP4158245B2 JP 4158245 B2 JP4158245 B2 JP 4158245B2 JP 33161398 A JP33161398 A JP 33161398A JP 33161398 A JP33161398 A JP 33161398A JP 4158245 B2 JP4158245 B2 JP 4158245B2
Authority
JP
Japan
Prior art keywords
image data
signal processing
circuit
image
bus
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
JP33161398A
Other languages
Japanese (ja)
Other versions
JP2000092365A (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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP33161398A priority Critical patent/JP4158245B2/en
Publication of JP2000092365A publication Critical patent/JP2000092365A/en
Application granted granted Critical
Publication of JP4158245B2 publication Critical patent/JP4158245B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、静止画撮像装置に用いて好適な信号処理装置に関する。
【0002】
【従来の技術】
ディジタル・スチル・カメラは、CCDイメージセンサで得られた画像データをメモリや記録媒体に取り込み、その後画像データをいわゆるパーソナル・コンピュータ等に転送している。このようなディジタル・スチル・カメラは、今までは、VGA(Video Graphics Array)システム対応型のものがほとんどであった。
【0003】
例えば図16に示すように、かかるディジタル・スチル・カメラ200は、画像信号を生成するCCDイメージセンサ201と、入力処理/画像処理回路202と、画像データの読み出し又は書き込みの処理を行うメモリコントローラ203と、所定の方式の出力画像に変換する出力処理回路204と、撮影時の被写体の状況を表示するファインダ205と、CPUバス206を介して、圧縮された画像データを記録する記録部207と、画像データの圧縮又は伸張処理を行う圧縮/伸張回路208と、画像データを記憶すべく例えばDRAM等からなるメモリ209と、装置全体を制御するCPU210とを備える。
【0004】
被写体の撮影開始前においては、ユーザは、ファインダ205に表示される被写体像を確認する必要がある(ファインダモード)。このとき、CCDイメージセンサ201は、被写体からの撮像光によって光電変換して得られた画像信号を入力処理/画像処理回路202に供給する。入力処理/画像処理回路202は、例えば上記画像信号に相関二重サンプリング処理を行ってディジタル化し、さらにガンマ補正,ニー処理,カメラ処理等の所定の信号処理を行って、メモリコントローラ203に供給する。メモリコントローラ203は、CPU210の制御に応じて、入力処理/画像処理回路202からの画像データを出力処理回路204に供給する。出力処理回路204は、画像データを例えばNTSC(National Television System Committee)方式にエンコードし、さらにアナログ化してファインダ205に供給する。これにより、ファインダ205には、撮影の対象たる被写体が表示される。
【0005】
一方、ユーザが図示しないシャッタボタンを押して記録モードに移行すると、メモリコントローラ203は、入力処理/画像処理回路202から供給される画像データをメモリ209に書き込む。CPU210は、メモリ209から画像データを読み出し、当該画像データを圧縮/伸張回路208において例えばJPEG(Joint Photographic Experts Group)圧縮処理を行って、記録部207に記録する。
【0006】
また、ユーザの所定の操作によって再生モードに移行すると、CPU210は、記録部207から画像データを読み出し、当該画像データを圧縮/伸張回路208においてJPEG伸張処理を行った後、メモリコントローラ203,出力処理回路204を介してファインダ205に供給する。かくして、ファインダ205には、撮影された画像が表示されることになる。
【0007】
【発明が解決しようとする課題】
近年、CCDイメージセンサの飛躍的な技術進歩に伴い、画像データの解像度は100万画素を超えるようになりつつある。これに対して、上述したような構成のディジタル・スチル・カメラ200では、100万画素を超える画像データに十分に対応することができないことが考えられる。
【0008】
例えば、ファインダモードにおいては、リアルタイム性を必要とする画像データのアクセスと、データレートの不確定なCPU210によるデータアクセスとが1つのバス上で行われるため、画像データのデータ量が多くなるとリアルタイム性の確保が困難になる。これにより、CPUバス206が渋滞してしまい、各回路の処理能力が低下する問題が生じている。
【0009】
本発明は、このような実情に鑑みて提案されたものであり、画像データバスの渋滞を防止して効率よく各回路で信号処理を行うことができる信号処理装置を提供することを目的とする。
【0010】
【課題を解決するための手段】
上述の課題を解決するために、本発明に係る信号処理装置は、画像データバスと、上記画像データバスにアクセスして画像データの信号処理を行う複数の第1の信号処理手段と、画像データを記憶する記憶手段と、上記画像データバスを管理し、上記画像データバスを介して供給される画像データを上記記憶手段に書き込み、上記記憶手段に記憶されている画像データを読み出して上記画像データバスに出力する読出し/書込み手段と有する信号処理部と、制御バスと、上記制御バスにアクセスして画像データの信号処理を行う複数の第2の信号処理手段と、上記制御バス内の画像データを管理するとともに、上記各第2の信号処理手段及び上記信号処理部の読出し/書込み手段を制御する制御手段とを備える。
【0011】
上記信号処理装置では、上記読出し/書込み手段は、上記制御手段の制御に従いながら、上記画像データバス内の画像データが所定の転送帯域範囲内になるように上記画像データバスを管理し、上記画像データバスにつながる上記各第1の信号処理手段の間のデータ転送、及び、上記制御バスに対してデータ転送を行い、上記複数の第2の信号処理手段うちのいずれか1つは、画像データを記録する記録手段からなり、上記制御手段は、上記記憶手段に記憶された画像データを読み出して上記画像データバスを介して上記制御バスに供給するように上記読出し/書込み手段を制御し、上記読出し/書込み手段によって読み出された画像データを上記記録手段に記録し、上記記録手段に記録された画像データを上記読出し/書込み手段に供給する制御を行う
【0012】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照しながら説明する。
【0013】
本発明は、例えば図1に示す構成のディジタル・スチル・カメラ1に適用される。
ディジタル・スチル・カメラ1は、画像信号を生成する画像生成部10と、画像データに所定の信号処理を行う信号処理部20と、SDRAMからなるイメージメモリ32と、信号処理部20の制御を行う制御部40とを備える。
【0014】
画像生成部10は、画像信号を生成する個体撮像素子、例えばCCDイメージセンサ11と、上記画像信号にサンプルホールド処理及びディジタル化処理を行って画像データを出力するサンプル/ホールド−アナログ/ディジタル回路(以下、「S/H−A/D回路」という。)12と、タイミング信号を発生するタイミングジェネレータ13とを備える。このタイミングジェネレータ13は、信号処理部20から供給される同期信号に基づいて、画像生成部10の各回路を制御する水平同期信号及び垂直同期信号を発生するものである。
【0015】
CCDイメージセンサ11は、例えば80万画素からなるXGA(eXtended Graphics Array:1024×768)相当の画像データを生成する。CCDイメージセンサ11は、タイミングジェネレータ13からの同期信号に基づいて駆動され、毎秒30フレームの画像信号を出力する。なお、CCDイメージセンサ11は、画像信号の間引き機能を有し、制御部40の制御に従って、画像信号の垂直方向成分を1/2,1/3,1/4・・・に間引いて出力することができる。
【0016】
S/H−A/D回路12も、上記タイミングジェネレータ13からの同期信号に基づき、所定のサンプリング間隔でサンプルホールド及びA/D変換処理を行い、この画像データを信号処理部20に供給する。
【0017】
信号処理回路20は、1個のLSI(Large Scale Integrated circuit)によって構成される。信号処理部20は、画像生成部10からの画像データに入力処理とカメラ処理を行う入力処理回路21と、イメージメモリ32に対する画像データの読み出し/書き込みを制御するメモリコントローラ22と、NTSC/PAL(Phase Alternation by Line) エンコーダ23と、画像データをアナログ化して外部に出力するD/Aコンバータ24と、同期信号を発生してタイミングジェネレータ13に供給するシンク・ジェネレータ26とを備える。
【0018】
また、信号処理部20は、イメージメモリ32のインターフェースであるメモリインターフェース27と、画像データの解像度変換処理を行う解像度変換回路28と、画像データの圧縮/伸張処理を行うJPEG(Joint Photographic Experts Group)エンコーダ/デコーダ29と、JPEGエンコーダ/デコーダ29のインターフェースであるJPEGインターフェース30と、制御部40の後述するCPUとデータの送受信を行うためのインターフェースであるホスト・インターフェース31とを備える。
【0019】
入力処理回路21は、S/H−A/D回路12からの画像データにディジタルクランプ,シェーディング補正,アパーチャ補正、ガンマ補正,色処理等を行って、メモリコントローラ22に供給する。入力処理回路21は、入力データを信号処理してY,Cb,Crに変換する機能を持つ。入力処理回路21は、画像データの解像度が例えばVGA(Video Graphics Array)フォーマットよりも大きいときは、その解像度を低くする処理も行うことができる。また、入力処理回路21は、オート・フォーカス,オート・アイリスの検波処理を行って、そのデータを制御部40に送り、フォーカス機構,アイリス機構の自動調整を行う。さらに、入力処理回路21は、画像データを構成する3原色信号の信号レベルを検出してオートホワイトバランス調整も行う。
【0020】
メモリコントローラ22は、入力処理回路21や他の回路から供給される画像データをメモリインターフェース27を介してイメージメモリ32に書き込み、また、イメージメモリ32の画像データをメモリインターフェース27を介して読み出す制御を行う。このとき、メモリコントローラ22は、イメージメモリ32に記憶された画像データに基づいて、CCDイメージセンサ11に欠陥画素があるかを検出することも行う。
【0021】
メモリコントローラ22は、イメージメモリ32から読み出した画像データを例えばNTSC/PALエンコーダ23に供給する。NTSC/PALエンコーダ23は、メモリコントローラ22から画像データ供給されると、この画像データにNTSC方式又はPAL方式のエンコードを行ってD/Aコンバータ24に供給する。D/Aコンバータ24は、かかる画像データをアナログ化して外部端子25を介して出力する。
【0022】
メモリコントローラ22は、メモリコントローラ22から読み出した画像データを解像度変換回路28に供給して解像度変換処理を行わせ、また、解像度変換回路28が出力する解像度変換済みの画像データをイメージメモリ32に書き込む。
【0023】
メモリコントローラ22は、JPEGインターフェース30を介して画像データをJPEGエンコーダ/デコーダ29に供給して静止画の圧縮処理を行わせ、さらに、JPEGエンコーダ/デコーダ29で伸張処理された画像データをイメージメモリ32に書き込むことも行う。
【0024】
イメージメモリ32は、上述のように画像データを記憶するだけでなく、いわゆるキャラクタジェネレータのデータであるOSD(On Screen Display) データも記憶する。ここにいうOSDデータは、ビットマップデータからなる。メモリコントローラ22は、上記OSDデータの読み出し/書き込みも制御している。なお、画像データとOSDデータとの合成は、NTSC/PALエンコーダ23において行われる。
【0025】
上記制御部40は、信号処理部20の各回路を制御するCPU(Central Processing Unit) 41と、画像データやその他の制御データを一時格納するDRAM(Dynamic Random Access Memory)42と、CPU41の制御プログラムが記憶されているROM(Read Only Memory)43と、例えばフラッシュメモリからなる記録装置51と画像データをやりとりするためのインターフェースであるフラッシュメモリ・インターフェース44と、例えばIrLED からなる通信回路52のインターフェースであるIrDAインターフェース45とを備える。
【0026】
例えば、CPU41は、JPEGエンコーダ/デコーダ29で圧縮された画像データを、フラッシュメモリ・インターフェース44を介してフラッシュメモリからなる記録装置51に書き込み、また、この記録装置51から画像データを読み出してJPEGエンコーダ/デコーダ29に供給する。また、CPU41は、JPEGエンコーダ/デコーダ29からの画像データや記録装置51から読み出した画像データを、IrDAインターフェース45,通信回路52を介して赤外光として外部に出力する。
【0027】
ここで、上記ディジタル・スチル・カメラ1の簡略的な構成を図2に示す。
【0028】
入力処理回路21は、CCDイメージセンサ11からの画像データを画像データバス33を介してイメージメモリ32に供給する。NTSC/PALエンコーダ23は、イメージメモリ32からの画像データを所定のエンコード処理を行ってファインダ36に供給する。これにより、ファインダ36には、被写体の映像が表示される。なお、上記ファインダ36は、VGAフォーマットまでの画像データに対応して画像を表示するものである。
【0029】
また、メモリコントローラ22は、イメージメモリ32と画像データバス33につながる各信号処理回路の間のデータ転送を行う。解像度変換回路28は、イメージメモリ32からの画像データの解像度変換処理を行い、結果をイメージメモリ32に供給する。JPEGエンコーダ/デコーダ29は、イメージメモリ32からの画像データをJPEG方式で圧縮し、CPUバス34を介してCPU41に供給する。CPU41は、かかる圧縮処理済みの画像データをCPUバス34を介して記録装置51に書き込む。また、CPU41は、圧縮処理済みの画像データを、CPUバス34,通信回路52を介して、外部に出力することもできる。
【0030】
図2に示すように、信号処理部20では、各回路は画像データバス33を介して接続されている。
【0031】
信号処理部20において、NTSC/PALエンコーダ23や解像度変換回路28等その他各回路は、画像データを処理を開始する前に、画像データを要求することを示すリクエスト信号(request)をメモリコントローラ22に送信する
。また、これらの各回路は、画像データの処理が終了した後、上記画像データを出力するときもリクエスト信号をメモリコントローラ22に送信する。
【0032】
一方、メモリコントローラ22は、各回路からのリクエスト信号を受信すると、各回路の中から優先順位の高いものを選択し、選択した回路に対してアクノリッジ(acknowledge) 信号を送信する。ここで、アクノリッジ信号とは、当該信号を受信する回路に対して画像データを供給すること又は当該信号を受信した回路が出力する画像データを受け取る準備ができたことを示す信号をいう。そして、メモリコントローラ22は、イメージメモリ32から画像データを読み出し、上記アクノリッジ信号の送信先の回路に対して画像データバス33を介して供給する。また、メモリコントローラ22は、上記アクノリッジ信号の送信先の回路が出力した画像データを受け取って、この画像データをイメージメモリ32に書き込む処理を行う。
【0033】
なお、メモリコントローラ22は、各回路から同時にリクエスト信号を受信したときは、リアルタイムで処理することが必要な回路を優先的に選択することができる。例えば、メモリコントローラ22は、ファインダ36に被写体の映像を表示させるときは、入力処理回路21,NTSC/PALエンコーダ23を優先して選択する。また、メモリコントローラ22は、画像データバス33における画像データのバス占有使用率を判断して、当該占有率に応じて各回路の優先順位を決定してもよい。
【0034】
なお、メモリコントローラ22は、画像データバス33の転送帯域制限内で各回路に画像データを供給することができるのであれば、時分割で各回路にアクノリッジ信号を送信して、各回路がそれぞれ所定の処理を行うように制御してもよい。これにより、メモリコントローラ22は、事実上、各回路に対してリアルタイムでデータアクセスして、各回路からの画像データをイメージメモリ32に書き込んだり、イメージメモリ32の画像データを読み出して各回路に供給することができる。
【0035】
さらに、メモリコントローラ22は、画像データバス33を介して図示しない外部回路とアクセスする場合であっても、当該外部回路が上述したリクエスト信号を送信したりアクノリッジ信号を受信することができるものであれば、画像データバス33の転送帯域制限範囲内で、信号処理部20内の各回路と同様に時分割で同時にアクセスすることができる。すなわち、メモリコントローラ22は、画像データバス33の帯域の範囲内であれば、信号処理部20内の回路や外部回路の数を問わず、これらの各回路に対して時分割で同時にアクセスすることができる。
【0036】
以上のように、メモリコントローラ22は、画像データバス33の調停やイメージメモリ32と各回路間における画像データの書き込み/読み出しの制御、さらに、CPUバス34に対してデータ転送を行っている。
【0037】
次に、上記信号処理部20における画像データの具体的な流れについて、図3を用いて説明する。
【0038】
入力処理回路21は、画像生成部10からの画像データに所定の信号処理を行うCCDインターフェース21aと、CCDインターフェース21aの処理を行うために検波処理を行う検波回路21bと、画像データの変換処理を行うカメラ・ディジタル・シグナル・プロセッサ(以下、「カメラDSP」という。)21cとを備える。
【0039】
CCDインターフェース21aは、図1に示すS/H−A/D回路12からの赤信号,緑信号,青信号(R,G,B)で構成される画像データに対してディジタルクランプ,ホワイトバランス調整,ガンマ補正等の処理を行ったり、必要に応じて画像データの水平方向成分の間引き処理も行う。CCDインターフェース21aは、かかる処理を行った後、画像データをカメラDSP21cに供給したり、画像データバス33を介してメモリコントローラ22に供給する。
【0040】
検波回路21bは、CCDインターフェース21aの画像データからオートフォーカス,オートアイリス,ホワイトバランス調整のための検波処理を行う。
【0041】
カメラDSP21cは、CCDインターフェース21aからのRGBからなる画像データを、輝度信号Y及びクロマ信号(色差信号)Cb,Crからなる画像データに変換する。また、カメラDSP21cは、かかる処理を行うとともに、画像データの解像度を簡易的に変換する簡易解像度変換回路21dを有する。
【0042】
簡易解像度変換回路21dは、CCDイメージセンサ11が生成する画像データの解像度が例えばVGAフォーマットより大きい場合に、画像データの解像度を低く変換するものである。
【0043】
簡易解像度変換回路21dは、具体的には図4に示すように、色差信号の分離を行うB−Y/R−Y分離回路61と、水平方向の補間処理を行う水平方向線形補間回路62と、色差信号の合成を行うB−Y/R−Y合成回路63と、各信号に1水平走査期間(1H期間)の遅延を与える1H遅延回路64と、垂直方向線形補間回路65とを備える。
【0044】
B−Y/R−Y分離回路61は、カメラDSP21cからの画像データからクロマ信号Cb,Crである色差信号B−Y,R−Yをそれぞれ分離して水平方向線形補間回路62に供給する。水平方向線形補間回路62は、輝度信号Y,色差信号B−Y,R−Yにそれぞれ水平方向の補間処理を行って水平方向の解像度を低くして、補間処理済みの輝度信号Y及び色差信号B−Y,R−YをB−Y/R−Y合成回路63に供給する。
【0045】
B−Y/R−Y合成回路63は、色差信号B−Y,R−Yを合成し、水平方向線形補間回路62からの輝度信号Y及び合成された色差信号B−Y,R−Yを1H遅延回路64及び垂直方向線形補間回路65に供給する。1H遅延回路64は、輝度信号Y及び色差信号B−Y,R−Yにそれぞれ1H期間の遅延を与えて垂直方向線形補間回路65に供給する。垂直方向線形補間回路65は、B−Y/R−Y合成回路63及び1H遅延回路64からの輝度信号Y及び色差信号B−Y,R−Yに基づいて垂直方向の線形補間処理を行い、この結果、水平方向及び垂直方向の解像度が低くなった輝度信号Y’及び色差信号(B−Y)’,(R−Y)’からなる画像データを出力する。
【0046】
また、解像度変換回路28は、例えば[p×q]の画像データを[m×n]の画像データに変換する解像度変換処理を行うものである。解像度変換回路28は、主に、CCDイメージセンサ11で生成された画像データが高解像度のときに所定の解像度に抑えるために行う処理であるが、低解像度の画像データを高解像度になるように処理してもよい。
【0047】
解像度変換回路28は、具体的には図5に示すように、画像データバス33から入力される画像データを記憶する入力バッファ71と、入力バッファ71からの画像データを水平方向にバッファリングする水平方向バッファ72と、水平方向バッファ72からの画像データに水平方向の解像度変換処理を行う水平方向変換処理回路73と、水平方向変換処理回路73からの画像データを垂直方向にバッファリングする垂直方向バッファ74と、垂直方向の解像度変換処理を行う垂直方向変換処理回路75と、出力の際にバッファリングをする出力バッファ76とを備える。
【0048】
なお、解像度変換回路28は、画像データの解像度変換を行う準備ができたときは、イメージメモリ32から画像データを読み出すようにメモリコントローラ22に要求する(リード)リクエスト信号を出力し、さらに、画像データの変換処理後に当該画像データをイメージメモリ32に書き込むようにメモリコントローラ22に要求する(ライト)リクエスト信号を出力する。また、解像度変換回路28は、メモリコントローラ22が上記リクエスト信号に応答したことを示すアクノリッジ信号を受信する。
【0049】
一方、上記水平方向バッファ72は、図6に示すように、1画素分の遅延を与える第1の遅延回路81,第2の遅延回路82,第3の遅延回路83を直列に接続して構成される。したがって、第1の遅延回路81は1画素分遅延した画像データを出力し、第2の遅延回路82は2画素分遅延した画像データを出力し、第3の遅延回路83は3画素分遅延した画像データを出力する。
【0050】
水平方向変換処理回路73は、図6に示すように、第1から第4の乗算器84,85,86,87と、第1から第3の加算器88,89,90とを備える。場合によっては、加算器90の後にデータを正規化するための回路が付加される。
【0051】
第1の乗算器84は、入力バッファ71から供給される画像データに所定の係数を乗じて加算器88に供給する。第2の乗算器85は、第1の遅延回路81から供給される画像データに所定の係数を乗じて加算器88に供給する。第3の乗算器86は、第2の遅延回路82から供給される画像データに所定の係数を乗じて加算器89に供給する。第4の乗算器87は、第3の遅延回路83から供給される画像データに所定の係数を乗じて加算器90に供給する。第1の加算器88は、各画像データを合成して第2の加算器89に供給する。第2の加算器89は、各画像データを合成して第3の加算器90に供給する。第3の加算器90は、各画像データを合成し、これを水平方向の解像度変換処理済みの画像データとして垂直方向バッファ74に供給する。
【0052】
以上のように水平方向変換処理回路73は、1画素分ずつ遅延のある画像データにそれぞれ所定の重み付けを行って合成することによって、水平方向の画素間を補ったり又は間引く処理を行ったりして、水平方向の解像度を変換する。
【0053】
垂直方向バッファ74は、例えば図6に示すように、1ライン分の遅延を与える第1から第3のバッファメモリ91,92,93を直列に接続して構成される。したがって、第1のバッファメモリ91は1ライン分遅延した画像データを出力し、第2のバッファメモリ92は2ライン分遅延した画像データを出力し、第3のバッファメモリ93は3ライン分遅延した画像データを出力する。
【0054】
垂直方向変換処理回路75は、図6に示すように、第5から第8の乗算器94,95,96,97と、第4から第6の加算器98,99,100とを備える。場合によっては、加算器90の後にデータを正規化するための回路が付加される。
【0055】
第5の乗算器94は、水平方向変換回路73から供給される画像データに所定の係数を乗じて第4の加算器98に供給する。第6の乗算器95は、第1のラインメモリ91から供給される画像データに所定の係数を乗じて第4の加算器98に供給する。第7の乗算器96は、第2のラインメモリ92から供給される画像データに所定の係数を乗じて第5の加算器99に供給する。第8の乗算器97は、第3のラインメモリ93から供給される画像データに所定の係数を乗じて第6の加算器100に供給する。第4の加算器98は、各画像データを合成して第5の加算器99に供給する。第5の加算器99は、各画像データを合成して第6の加算器100に供給する。第6の加算器100は、各画像データを合成し、これを垂直方向の解像度変換処理済みの画像データとして出力する。
【0056】
以上のように垂直方向変換処理回路75は、1ライン分ずつ遅延のある画像データにそれぞれ所定の重み付けを行って合成することによって、垂直方向の画素間を補う処理を行ったり又は間引く処理を行ったりして、垂直方向の解像度を変換する。
【0057】
なお、解像度変換回路28は、図6において、水平方向の解像度変換処理を行ってから垂直方向の解像度変換処理を行っているが、図7に示すように、垂直方向の解像度変換処理を行ってから水平方向の解像度変換処理を行ってもよい。すなわち、解像度変換回路28は、入力バッファ71からの画像データを垂直方向バッファ74に供給し、垂直方向バッファ74,垂直方向変換処理回路75,水平方向バッファ72,水平方向変換処理回路73の順に各処理を行うような構成にしてもよい。
【0058】
また、垂直方向バッファ74における第1から第3のバッファメモリ91,92,93は、1ライン(1H)分の画像データを記憶することができるとしたが、図8に示すように、1ラインより少ない例えばNピクセル(ピクセル長N)の画像データを記憶することができるものであってもよい。このとき、メモリコントローラ22は、図9に示すように、イメージメモリ32に記憶されている画像データをNピクセル毎に読み出す必要がある。
【0059】
具体的には、メモリコントローラ22は、イメージメモリ32に記憶されている1画面分の画像データを、各ライン毎にNピクセルずつ垂直方向に読み出す。ここで、図10に示すように、1画面はp×q[ピクセル]からなり、左上のピクセルの座標を(1,1)、右上のピクセルの座標を(p,1)、左下のピクセルの座標を(1,q)、右下のピクセルの座標を(p,q)とする。
【0060】
メモリコントローラ22は、図11に示すように、最初に、水平方向にNピクセル分の画像データを、1行目,2行目,・・・q行目の順にライン毎に読み出す。これにより、メモリコントローラ22は、左端からNピクセル分の画像データ、すなわち(1,1)(1,q)(N,q)(N,1)で囲まれる範囲(N×qピクセル分)の画像データ(以下、「画像データ群(1)」という。)を読み出す。
【0061】
メモリコントローラ22は、次に、(N−1,1)(N−1,q)(N−2,q)(N−2,1)で囲まれる範囲の画像データ(以下、「画像データ群(2)」という。以下同様。)を読み出す。ここで、メモリコントローラ22は、列(1)及び画像データ群(2)を読み出すと、(N−1)列目及びN列目の画像データを2度読み出すことになる。
【0062】
この理由は、垂直方向変換処理回路75は、周辺のピクセルから補間処理を行うため、第1から第3のバッファメモリ91,92,93の最初と最後に記憶されているピクセルについては処理結果の対象としないからである。例えば、(N,1)のピクセルは、画像データ群(1)が読み出されたときは、垂直方向の補間処理結果の対象とならない。しかし、この(N,1)のピクセルは、画像データ群(2)が読み出されるときにも読み出され、このときに補間処理結果の対象となる。
【0063】
同様にして、メモリコントローラ22は、直前の画像データ群のうち最後の2列目分の画像データを含むようにして水平方向にNピクセル分の画像データを各ライン毎に読み出し、これにより、画像データ群を解像度変換回路28に供給する。
【0064】
解像度変換回路28の垂直方向バッファ74には、第1から第3のバッファメモリ91,92,93の容量に合致した画像データが各ライン毎に供給される。したがって、第1から第3のバッファメモリ91,92,93には、それぞれ1ラインずつずれた画像データが記憶されることになる。垂直方向変換処理回路75は、垂直方向バッファ74の第1から第3のバッファメモリ91,92,93からの各画像データに基づいて、垂直方向の解像度変換処理を行うことができる。
【0065】
以上のように、メモリコントローラ22は、垂直方向画像度変換に必要なバッファメモリの容量が1ライン分に満たなくても、バッファメモリの容量に合わせて読み出しを行うことによって、解像度変換回路28に垂直方向の解像度変換を行わせることができる。
【0066】
なお、ここでは、画像データ群の間の読み出し重複は2列となっているが重複が2列より大きい場合や、重複がない場合も考えられる。また、解像度変換に限らず、カメラ信号処理等の画像信号処理にも適用される。
【0067】
また、ここでは、バッファメモリが垂直方向の補間処理に用いられている場合を例に挙げて説明したが、バッファメモリが水平方向の補間処理に用いられている場合であっても同様である。
【0068】
すなわち、例えば図12に示すように、解像度変換回路28がNピクセル分の容量のバッファメモリからなる水平方向バッファ72aを用いて水平方向の解像度変換を行う場合であってもよい。メモリコントローラ22は、図13に示すように、垂直方向にNピクセル分の画像データを、1列目,2列目,・・・p行目の順に各列毎に読み出せばよい。なお、メモリコントローラ22は、上述した垂直補間処理の場合と同様に、バッファメモリの最初と最後に記憶される画像データに対しては、水平補間処理の対象になるように2度読み出す必要がある。
【0069】
このように、メモリコントローラ22は、Nピクセル分のデータ容量からなる第1から第3のバッファメモリ91,92,93に対しても、水平方向及び垂直方向の解像度変換処理が行われるように、イメージメモリ32から画像データを読み出すことができる。これにより、水平方向バッファ72及び垂直方向バッファ74の回路規模を小さくして生産コストを削減することができる。
【0070】
NTSC/PALエンコーダ23は、上述したエンコードを行うだけでなく、エンコード処理を行う前に必要に応じて画像データの解像度を高くする簡易解像度変換回路23aを有する。
【0071】
簡易解像度変換回路23aは、イメージメモリ32上の画像データが表示に必要な解像度より低い場合に、ファインダ36の表示規格に合うような解像度変換を行う。
【0072】
簡易解像度変換回路23aは、具体的には図14に示すように、画像データバス33からの画像データを記憶するラインメモリ101と、垂直方向に画像データの補間処理を行う垂直方向線形補間回路(以下、「V方向線形補間回路」という。)102と、水平方向補間回路103とを備える。
【0073】
ラインメモリ81は、入力端子inからの画像データを1ライン分記憶し、かかる画像データを記憶した順に垂直方向線形補間回路82に供給する。垂直方向線形補間回路82は、上記入力端子inからの画像データと垂直方向線形補間回路82からの画像データに所定の重み付けをすることにより垂直方向の線形補間をする。次に水平方向の補間として、Yは7次のフィルタ、Cb,Crは3次のフィルタによる補間を行っており、これは解像度を2倍に上げる補間のみである。そして、画像データを出力端子outを介して出力する。
【0074】
例えば、上記入力端子inから入力される画像データをa、ラインメモリ101から読み出される画像データをb、重み付けを行うための係数をg(0≦g≦1)、V方向線形補間回路102が出力する画像データをcとすると、V方向線形補間回路102は以下の演算を行う。
【0075】
c=g*a+(1−g)*b
なお、出力端子out から出力された画像データは、上述したように、エンコード処理される。
【0076】
以上のように、ディジタル・スチル・カメラ1は、信号処理系においては信号処理部20とCPU41とのいわゆる2チップで構成されている。したがって、各信号処理回路がそれぞれチップ構成となっている複数チップの場合に比べて、基板面積を縮小することができ、さらに消費電力を削減することができる。
【0077】
また、信号処理部20は、CPUを含めたチップ構成となっていないので、CPU41に関わるアプリケーションの変更が生じた場合でもそれに対応して信号処理を行うことができる。すなわち、CPUを含めたチップ構成の場合、当該CPUのアプリケーションの変更が生じたときにはそれに対応してチップの再構成をすることは不可能である。しかし、上記信号処理部20は、アプリケーション毎に最適な構成のCPUを用いて、所定の信号処理を行うことができる。
【0078】
かかる構成のディジタル・スチル・カメラ1は、撮影前に被写体の状態や位置等を確認するためのファインダモード、確認した被写体の映像を撮影する記録モード、撮影された被写体像の写りを確認するための再生モードを有し、各モードに応じて処理を行う。
【0079】
ファインダモードでは、ユーザは、図示しないシャッタボタンを押圧して被写体を撮影する前に、ファインダ36に表示される被写体の様子を観察する必要がある。このファインダモードでは、CPU41は、メモリコントローラ22やその他各回路を以下のように制御する。なお、各モードの説明については主に図3を用い、適宜図15を参照するものとする。
【0080】
上記ファインダモードにおいて、CCDイメージセンサ11は、垂直方向成分を1/3に間引いた画像信号を生成し、S/H−A/D回路12を介してディジタル化された画像データをCCDインターフェース21aに供給する。
【0081】
CCDインターフェース21aは、図15(A)に示すクロックに同期して、信号処理を行う。具体的には、CCDインターフェース21aは、図15(B)に示すように、画像生成部10から供給される画像データの水平方向成分を1/3に間引く処理をし、さらに、ガンマ補正等を行ってカメラDSP21cに供給する。CCDインターフェース21aは、1/3間引きの結果、340×256に変換した画像データをカメラDSP21cに供給する。
【0082】
カメラDSP21cは、図15(C)に示すように、間引き処理後の画像データにデータ変換処理を行って、YCrCbの画像データに変換する。カメラDSP21cは、さらに簡易解像度変換回路21dにおいて画像データの解像度を低くすべく解像度変換をして(340×256→320×240)、かかる変換処理後の画像データを画像データバス33を介してメモリコントローラ22に供給する。
【0083】
ここで、簡易解像度変換回路21dは、後の処理に必要な程度に簡易的に解像度を低くしている。これにより、CCDイメージセンサ11で生成される画像データが高解像度であっても、画像データバス33において上記画像データが占める転送帯域を小さくすることにより画像データバス33の渋滞を回避し、ファインダモードのリアルタイム性を維持することができる。
【0084】
メモリコントローラ22は、上記画像データをイメージメモリ32に書き込み、さらに、図15(D)に示すように、イメージメモリ32から画像データを読み出し、画像データバス33を介してNTSC/PALエンコーダ23に供給する。メモリコントローラ22は、同時に、図15(E)に示すように、イメージメモリ32に記憶されているOSDデータも読み出し、画像データバス33を介してNTSC/PALエンコーダ23に供給する。図15(F)は上記のリアルタイム処理を可能とする画像データバス33上の転送の様子を示す。
【0085】
NTSC/PALエンコーダ23は、画像データバス33から供給される画像データにNTSC方式の場合は320×240→640×240、PAL方式の場合は320×240→640×288の解像度変換処理を行って、変換処理後の画像データをNTSC/PALエンコーダ23に供給する。NTSC/PALエンコーダ23は、さらに、画像データをNTSC方式あるいはPAL方式に変換してOSDデータを合成し、これを図2に示すファインダ36に供給する。これにより、ファインダ36には、被写体の画像及び字幕情報等がリアルタイムで表示される。
【0086】
なお、NTSC/PALエンコーダ23は、解像度が小さいものに対してはそれが大きくなるように解像度変換を行い、例えば320×200の画像データが供給された場合にも、NTSC方式の場合640×240、PAL方式の場合640×288の画像データに変換して出力する。
【0087】
以上のように、ディジタル・スチル・カメラ1は、ファインダモードにおいては、図15(F)に示すタイミングで、CCDイメージセンサ11で生成された画像データの解像度を簡易的に低くしてデータ量を減らし、画像データが画像データバス33の帯域制限内に収まるようにして、さらに表示に必要なだけ出力段階で解像度を高くしてファインダ36に表示している。
【0088】
これにより、ディジタル・スチル・カメラ1は、画像データが高解像度であっても、比較的処理時間を要する大がかりな間引き処理を行うことなく画像データバス33の帯域制限内に抑えることによって、リアルタイムで被写体の画像をファインダ36に表示させることができる。
【0089】
なお、CPU41は、予め優先して処理を行う回路(CCDインターフェース21a,カメラDSP21c,NTSC/PALエンコーダ23)を設定しておき、時分割で、これらの回路の他に他の回路でも信号処理をしている場合には、画像データのデータ量に応じて優先度の高い上記各回路の処理を優先して行うようにしてもよい。
【0090】
また、簡易解像度変換部21dは、CPU41の制御に基づいて、画像データのデータ量が大きいときは、リアルタイムで処理することを優先すべく、画質を多少落として高速にデータ処理を行うようにすることもできる。これにより、ファインダモードでは、画像生成部10で生成される画像データのデータ量が多くても、よりリアルタイムで処理を行うことができる。
【0091】
また、電子ズーム機能を備えるディジタル・スチル・カメラ1の場合には、CPU41は、以下のようにして各回路を制御してもよい。
【0092】
メモリコントローラ22は、CCDインターフェース21a,カメラDSP21cを介して供給される画像データをイメージメモリ32に書き込み、そして、イメージメモリ32から当該画像データを読み出して解像度変換回路28に供給する。解像度変換回路28は、電子ズーム機能によって入力した画像の一部分を拡大した画像データを作成し、イメージメモリ32へ出力する。この画像データをイメージメモリ32から読み出し、NTSC/PALエンコーダ23を介してファインダ36に出力する。これにより、電子的にズーム処理された画像データを生成することができる。
【0093】
上述したように、ファインダモードでは、CPU41は、リアルタイム性を最優先するため、比較的時間のかかる処理を各回路に行わせていない。しかしながら、CPU41は、画像データバス33の転送帯域の許す範囲内であれば、メモリコントローラ22やその他の回路に様々な処理を行わせてもよい。
【0094】
例えば、メモリコントローラ22は、CCDインターフェース21a等から供給された画像データを記憶するイメージメモリ32から、当該画像データを読み出し、画像データバス33を介してNTSC/PALエンコーダ23に供給するとともにJPEGエンコーダ/デコーダ29にも供給してもよい。このとき、ファインダ36はリアルタイムで被写体の映像を表示する一方、JPEGエンコーダ/デコーダ29は画像データのJPEG圧縮処理を行う。
【0095】
JPEGエンコーダ/デコーダ29は、静止画像の圧縮/伸張処理を行うものであり、高画素の画像をリアルタイムで処理をすることはできない。そこで、JPEGエンコーダ/デコーダ29は、画像データバス33から供給される画像データのコマ数(フレーム数又はフィールド数)を所定数ずつ間引いて圧縮処理を行ったり、また、画像の一部を切り取って解像度を低くして圧縮処理を行ってもよい。これにより、コマ落としの静止画像を連続して撮影したり、解像度の低い静止画像を連続して撮影することができる。
【0096】
ユーザは、上述したファインダモードにおいてファインダ36に表示される被写体の様子を観察し、被写体を撮影すると決定すると、次に図示しないシャッタボタンを押圧する。
【0097】
ディジタル・スチル・カメラ1は、上記シャッタボタンが押圧されると、記録モードに移行する。記録モードになると、CPU41は、ファインダモードの制御を行いながら、撮影された被写体の画像を記録装置51に記録すべく、メモリコントローラ22やその他各回路を以下のように制御する。
【0098】
CCDイメージセンサ11は、シャッタボタンの押圧に同期して間引き処理を停止して、XGAフォーマットの画像信号を生成し、S/H−A/D回路12を介してディジタル化された画像データをCCDインターフェース21aに供給する。
【0099】
CCDインターフェース21aは、S/H−A/D回路12から供給される画像データを、カメラDSP21cでなく、画像データバス33を介してメモリコントローラ22に供給する。メモリコントローラ22は、画像データをイメージメモリ32に書き込んだ後、当該画像データを読み出し、画像データバス33を介してカメラDSP21cに供給する。カメラDSP21cは、RGBからなる画像データをY,Cb,Crからなる画像データに変換する。
【0100】
ここで、カメラDSP21cには、イメージメモリ32に一度書き込まれた画像データが供給される。すなわち、カメラDSP21cは、CCDインターフェース21aから直接供給される画像データではなく、イメージメモリ32からの画像データに対してデータ変換処理を行う。したがって、カメラDSP21cは、高速にデータ変換処理を行う必要はなく、画像データバス33が空いているときにかかる処理を実行してもよい。換言すると、記録モードでは、カメラDSP21cは、リアルタイムで処理する必要がないので、画像データに対して処理速度より画質の向上を優先してデータ変換処理を行い、かかる変換処理済みの画像データを画像データバス33を介してメモリコントローラ22に供給する。メモリコントローラ22は、この画像データをイメージメモリ32に書き込む。
【0101】
メモリコントローラ22は、イメージメモリ32から上記画像データを読み出してJPEGエンコーダ/デコーダ29に供給する。JPEGエンコーダ/デコーダ29は、画像データをJPEG圧縮して、CPUバス34を介して、図2に示す記録装置51に書き込む。
【0102】
以上のように、CPU41は、記録モードの時のように、リアルタイムで処理を行う必要のない場合には、一度画像データをイメージメモリ32に書き込んでから所定の処理を行うことによって、回路規模の増大を防ぎつつ画像データバス33の転送帯域を有効に利用して高画素の画像を処理することができる。
【0103】
なお、CPU41は、上記記録モードにおいて、XGAフォーマットの画像データをそのまま記録装置51に記録していたが、解像度変換回路28で画像データの解像度変換を行ってから記録装置51に記録してもよい。具体的には、CPU41は、メモリコントローラ22を介してイメージメモリ32から読み出した画像データを、解像度変換回路28にVGAに対応するように解像度変換を行わせて(1024×768→640×480)、かかる画像データをJPEGエンコーダ/デコーダ29に圧縮させてから記録装置51に記録してもよい。
【0104】
ユーザは、被写体の撮影後、撮影した画像を確認したいときには、撮影した画像を再生すべく、図示しない再生ボタンを押圧する。
【0105】
ディジタル・スチル・カメラ1は、上記再生ボタンが押圧されると、再生モードに移行する。そして、再生モードになると、CPU41は、撮影された被写体の画像データを記録装置51から読み出すべく、各回路を以下のように制御する。
【0106】
CPU41は、上記再生ボタンの押圧を検出すると、記録装置51から画像データを読み出して一時DRAM42に格納した後、CPUバス34を介してJPEGエンコーダ/デコーダ29に供給する。JPEGエンコーダ/デコーダ29は、記録装置51から読み出された画像データにJPEG伸張処理を行ってXGAフォーマットの画像データを得て、画像データバス33を介してメモリコントローラ22に供給する。
【0107】
メモリコントローラ22は、上記画像データをイメージメモリ32に書き込み、さらに、当該画像データをイメージメモリ32から読み出して、画像データバス33を介して解像度変換回路28に供給する。
【0108】
解像度変換回路28は、画像データがVGAフォーマットに対応するように解像度変換を行い(NTSC方式では1024×768→640×480、PAL方式では1024×768→640×576)、画像データバス33を介してメモリコントローラ22に供給する。メモリコントローラ22は、解像度変換処理済みの画像データをイメージメモリ32に書き込み、そして、当該画像データをイメージメモリ32から読み出して、NTSC/PALエンコーダ23を介してファインダ36に供給する。これにより、ファインダ36には、記録装置51に記録されていた画像データに基づく画像が表示される。
【0109】
すなわち、CPU41は、記録装置51に記録されいる画像データの解像度が高いので、この解像度を低くしてから画像データをファインダ36に供給している。
【0110】
また、CPU41は、ファインダモード,記録モード,再生モードの各モードについてそれぞれ優先して処理する回路の優先順位を決定しておき、いずれかのモードに移行した場合に上記優先順位に従って各回路に処理を実行させてもよい。これにより、各モードの処理内容に応じて画像データの信号処理を効率的に行うことができる。
【0111】
上述した実施の形態では、XGA相当の画像データを処理する場合を例に挙げて説明したが、本発明は、これに限定されず、例えば100万画素以上からなる画像データを処理する場合についても適用することができるのは勿論である。
【0112】
【発明の効果】
以上詳細に説明したように、本発明に係る信号処理装置によれば、制御手段が制御バス内の画像データを管理するとともに、各第2の信号処理手段及び信号処理部の読出し/書込み手段を制御し、読出し/書込み手段が制御手段の制御に従いながら画像データバス内の画像データが所定の転送帯域範囲内になるように画像データバスを管理することにより、画像データバスの渋滞を防止して各信号処理手段の信号処理を効率的に行うことができる。
【図面の簡単な説明】
【図1】本発明を適用したディジタル・スチル・カメラの構成を示すブロック図である。
【図2】上記ディジタル・スチル・カメラの概略構成を示すブロック図である。
【図3】上記ディジタル・スチル・カメラの信号処理部における画像データの流れを説明するためのブロック図である。
【図4】上記信号処理部の入力処理回路における簡易解像度変換回路の構成を示すブロック図である。
【図5】上記信号処理部の解像度変換回路の構成を示すブロック図である。
【図6】上記解像度変換回路の水平方向バッファ,水平方向変換処理回路,垂直方向バッファ,垂直方向変換処理回路の具体的な構成を示すブロック図である。
【図7】上記解像度変換回路の他の構成を示すブロック図である。
【図8】上記解像度変換回路の垂直方向バッファの構成を示すブロック図である。
【図9】メモリコントローラがイメージメモリから画像データ読み出すときの手法について説明する図である。
【図10】1画面を構成するピクセルの座標位置を説明する図である。
【図11】メモリコントローラがイメージメモリから画像データ読み出すときの手法について説明する図である。
【図12】上記解像度変換回路の水平方向バッファがラインバッファから構成されているときの構成を示すブロック図である。
【図13】メモリコントローラがイメージメモリから画像データ読み出すときの手法について説明する図である。
【図14】上記信号処理部のNTSC/PALエンコーダにおける簡易解像度変換回路の構成を示すブロック図である。
【図15】ファインダモードにおける各回路の信号処理の内容を説明するタイミングチャートである。
【図16】従来のディジタル・スチル・カメラの構成について説明するブロック図である。
【符号の説明】
1 ディジタル・スチル・カメラ、20 信号処理部、21 入力処理回路、22 メモリコントローラ、23 NTSC/PALエンコーダ、28 解像度変換回路、32 イメージメモリ、33 画像データバス、34 CPUバス、40 制御部、41 CPU
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a signal processing apparatus suitable for use in a still image capturing apparatus.
[0002]
[Prior art]
A digital still camera takes image data obtained by a CCD image sensor into a memory or a recording medium, and then transfers the image data to a so-called personal computer or the like. Until now, most of these digital still cameras are compatible with VGA (Video Graphics Array) systems.
[0003]
For example, as shown in FIG. 16, the digital still camera 200 includes a CCD image sensor 201 that generates an image signal, an input processing / image processing circuit 202, and a memory controller 203 that performs processing for reading or writing image data. An output processing circuit 204 for converting into an output image of a predetermined method, a finder 205 for displaying the state of the subject at the time of shooting, a recording unit 207 for recording compressed image data via the CPU bus 206, A compression / decompression circuit 208 for compressing or decompressing image data, a memory 209 made of, for example, a DRAM or the like for storing image data, and a CPU 210 for controlling the entire apparatus are provided.
[0004]
Prior to the start of photographing the subject, the user needs to check the subject image displayed on the viewfinder 205 (finder mode). At this time, the CCD image sensor 201 supplies an image signal obtained by photoelectric conversion with imaging light from the subject to the input processing / image processing circuit 202. The input processing / image processing circuit 202 digitizes the image signal by performing correlated double sampling processing, for example, further performs predetermined signal processing such as gamma correction, knee processing, camera processing, and the like, and supplies the result to the memory controller 203. . The memory controller 203 supplies the image data from the input processing / image processing circuit 202 to the output processing circuit 204 under the control of the CPU 210. The output processing circuit 204 encodes the image data in, for example, the NTSC (National Television System Committee) system, further converts it to analog, and supplies it to the finder 205. As a result, the subject to be imaged is displayed on the viewfinder 205.
[0005]
On the other hand, when the user presses a shutter button (not shown) to shift to the recording mode, the memory controller 203 writes the image data supplied from the input processing / image processing circuit 202 in the memory 209. The CPU 210 reads out the image data from the memory 209, performs the JPEG (Joint Photographic Experts Group) compression processing, for example, in the compression / expansion circuit 208 and records the image data in the recording unit 207.
[0006]
When the CPU 210 shifts to the reproduction mode by a predetermined operation by the user, the CPU 210 reads the image data from the recording unit 207, performs JPEG expansion processing on the image data in the compression / decompression circuit 208, and then outputs the memory controller 203 and output processing. This is supplied to the finder 205 via the circuit 204. Thus, the photographed image is displayed on the finder 205.
[0007]
[Problems to be solved by the invention]
In recent years, with the rapid technological advancement of CCD image sensors, the resolution of image data is becoming more than 1 million pixels. On the other hand, it is conceivable that the digital still camera 200 configured as described above cannot sufficiently cope with image data exceeding one million pixels.
[0008]
For example, in the finder mode, access to image data that requires real-time property and data access by the CPU 210 with an uncertain data rate are performed on one bus. Therefore, when the data amount of image data increases, real-time property is achieved. It will be difficult to secure. As a result, the CPU bus 206 becomes congested, causing a problem that the processing capability of each circuit is reduced.
[0009]
The present invention has been proposed in view of such a situation, and an object of the present invention is to provide a signal processing apparatus that can efficiently perform signal processing in each circuit by preventing congestion of an image data bus. .
[0010]
[Means for Solving the Problems]
In order to solve the above-described problems, a signal processing device according to the present invention includes an image data bus, a plurality of first signal processing means for accessing the image data bus and performing image data signal processing, and image data And a storage means for storing the image data bus, the image data supplied via the image data bus is written to the storage means, the image data stored in the storage means is read, and the image data is read A signal processing unit having a read / write means for outputting to the bus; a control bus; a plurality of second signal processing means for accessing the control bus to perform signal processing of image data; and image data in the control bus And a control means for controlling each of the second signal processing means and the reading / writing means of the signal processing unit.
[0011]
  In the signal processing device, the read / write means controls the image data bus so that the image data in the image data bus falls within a predetermined transfer band range while following the control of the control means.One of the plurality of second signal processing means that performs data transfer between the first signal processing means connected to the image data bus and data transfer to the control bus. The read / write means includes a recording means for recording image data, and the control means reads the image data stored in the storage means and supplies the read image data to the control bus via the image data bus. The image data read by the reading / writing means is recorded in the recording means, and the image data recorded in the recording means is supplied to the reading / writing means..
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0013]
The present invention is applied to, for example, a digital still camera 1 having the configuration shown in FIG.
The digital still camera 1 controls an image generation unit 10 that generates an image signal, a signal processing unit 20 that performs predetermined signal processing on image data, an image memory 32 that includes an SDRAM, and the signal processing unit 20. And a control unit 40.
[0014]
The image generation unit 10 is a solid-state imaging device that generates an image signal, for example, a CCD image sensor 11, and a sample / hold-analog / digital circuit that performs sample hold processing and digitization processing on the image signal and outputs image data ( (Hereinafter referred to as “S / H-A / D circuit”) 12 and a timing generator 13 for generating a timing signal. The timing generator 13 generates a horizontal synchronization signal and a vertical synchronization signal for controlling each circuit of the image generation unit 10 based on the synchronization signal supplied from the signal processing unit 20.
[0015]
The CCD image sensor 11 generates image data equivalent to, for example, XGA (eXtended Graphics Array: 1024 × 768) composed of 800,000 pixels. The CCD image sensor 11 is driven based on the synchronization signal from the timing generator 13 and outputs an image signal of 30 frames per second. The CCD image sensor 11 has a thinning function of the image signal, and the vertical component of the image signal is thinned out to 1/2, 1/3, 1/4... And output under the control of the control unit 40. be able to.
[0016]
The S / H-A / D circuit 12 also performs sample hold and A / D conversion processing at a predetermined sampling interval based on the synchronization signal from the timing generator 13 and supplies this image data to the signal processing unit 20.
[0017]
The signal processing circuit 20 is configured by a single LSI (Large Scale Integrated circuit). The signal processing unit 20 includes an input processing circuit 21 that performs input processing and camera processing on image data from the image generation unit 10, a memory controller 22 that controls reading / writing of image data to / from the image memory 32, and NTSC / PAL ( Phase Alternation by Line) An encoder 23, a D / A converter 24 that converts image data into analog form and outputs it to the outside, and a sync generator 26 that generates a synchronization signal and supplies it to the timing generator 13.
[0018]
The signal processing unit 20 also includes a memory interface 27 that is an interface of the image memory 32, a resolution conversion circuit 28 that performs resolution conversion processing of image data, and a JPEG (Joint Photographic Experts Group) that performs compression / decompression processing of image data. An encoder / decoder 29, a JPEG interface 30 that is an interface of the JPEG encoder / decoder 29, and a host interface 31 that is an interface for transmitting / receiving data to / from a CPU of the control unit 40 are provided.
[0019]
The input processing circuit 21 performs digital clamping, shading correction, aperture correction, gamma correction, color processing, and the like on the image data from the S / H-A / D circuit 12 and supplies the result to the memory controller 22. The input processing circuit 21 has a function of converting input data into Y, Cb, and Cr by signal processing. When the resolution of the image data is larger than, for example, the VGA (Video Graphics Array) format, the input processing circuit 21 can also perform processing to lower the resolution. The input processing circuit 21 performs auto-focus and auto-iris detection processing, sends the data to the control unit 40, and automatically adjusts the focus mechanism and iris mechanism. Further, the input processing circuit 21 performs auto white balance adjustment by detecting the signal levels of the three primary color signals constituting the image data.
[0020]
The memory controller 22 controls the image data supplied from the input processing circuit 21 and other circuits to be written into the image memory 32 via the memory interface 27 and reads out the image data in the image memory 32 via the memory interface 27. Do. At this time, the memory controller 22 also detects whether there is a defective pixel in the CCD image sensor 11 based on the image data stored in the image memory 32.
[0021]
The memory controller 22 supplies the image data read from the image memory 32 to, for example, the NTSC / PAL encoder 23. When the image data is supplied from the memory controller 22, the NTSC / PAL encoder 23 encodes the image data using the NTSC method or the PAL method and supplies the encoded image data to the D / A converter 24. The D / A converter 24 converts the image data into analog form and outputs it through the external terminal 25.
[0022]
The memory controller 22 supplies the image data read from the memory controller 22 to the resolution conversion circuit 28 to perform resolution conversion processing, and writes the resolution-converted image data output from the resolution conversion circuit 28 into the image memory 32. .
[0023]
The memory controller 22 supplies image data to the JPEG encoder / decoder 29 via the JPEG interface 30 to perform still image compression processing, and further, the image data expanded by the JPEG encoder / decoder 29 is image memory 32. Also write to.
[0024]
The image memory 32 not only stores image data as described above, but also stores OSD (On Screen Display) data which is so-called character generator data. The OSD data referred to here is bitmap data. The memory controller 22 also controls reading / writing of the OSD data. Note that the NTSC / PAL encoder 23 combines the image data and the OSD data.
[0025]
The control unit 40 includes a CPU (Central Processing Unit) 41 that controls each circuit of the signal processing unit 20, a DRAM (Dynamic Random Access Memory) 42 that temporarily stores image data and other control data, and a control program for the CPU 41. Are stored in a ROM (Read Only Memory) 43, a flash memory interface 44 that is an interface for exchanging image data with a recording device 51 that is made of, for example, a flash memory, and a communication circuit 52 that is made of, for example, an IrLED. An IrDA interface 45 is provided.
[0026]
For example, the CPU 41 writes the image data compressed by the JPEG encoder / decoder 29 to the recording device 51 including the flash memory via the flash memory interface 44, and reads the image data from the recording device 51 to read the JPEG encoder. / Supplied to the decoder 29. Further, the CPU 41 outputs the image data from the JPEG encoder / decoder 29 and the image data read from the recording device 51 to the outside as infrared light via the IrDA interface 45 and the communication circuit 52.
[0027]
Here, a simple configuration of the digital still camera 1 is shown in FIG.
[0028]
The input processing circuit 21 supplies the image data from the CCD image sensor 11 to the image memory 32 via the image data bus 33. The NTSC / PAL encoder 23 performs a predetermined encoding process on the image data from the image memory 32 and supplies the image data to the finder 36. As a result, an image of the subject is displayed on the finder 36. The finder 36 displays an image corresponding to the image data up to the VGA format.
[0029]
The memory controller 22 performs data transfer between the signal processing circuits connected to the image memory 32 and the image data bus 33. The resolution conversion circuit 28 performs resolution conversion processing of the image data from the image memory 32 and supplies the result to the image memory 32. The JPEG encoder / decoder 29 compresses the image data from the image memory 32 by the JPEG method and supplies the compressed data to the CPU 41 via the CPU bus 34. The CPU 41 writes the compressed image data into the recording device 51 via the CPU bus 34. The CPU 41 can also output the compressed image data to the outside via the CPU bus 34 and the communication circuit 52.
[0030]
  As shown in FIG.In the signal processing unit 20, each circuit is connected via the image data bus 33.It is connected.
[0031]
In the signal processing unit 20, each other circuit such as the NTSC / PAL encoder 23 and the resolution conversion circuit 28 sends a request signal (request) indicating that image data is requested to the memory controller 22 before processing the image data. Send
. Each of these circuits also transmits a request signal to the memory controller 22 when outputting the image data after the processing of the image data is completed.
[0032]
On the other hand, when the memory controller 22 receives a request signal from each circuit, the memory controller 22 selects a circuit having a higher priority from each circuit, and transmits an acknowledge signal to the selected circuit. Here, the acknowledge signal refers to a signal indicating that image data is supplied to a circuit that receives the signal or that image data output from the circuit that has received the signal is ready to be received. Then, the memory controller 22 reads the image data from the image memory 32 and supplies it to the circuit to which the acknowledge signal is transmitted via the image data bus 33. Further, the memory controller 22 receives the image data output from the circuit to which the acknowledge signal is transmitted and performs a process of writing the image data into the image memory 32.
[0033]
The memory controller 22 can preferentially select a circuit that needs to be processed in real time when receiving a request signal from each circuit simultaneously. For example, the memory controller 22 preferentially selects the input processing circuit 21 and the NTSC / PAL encoder 23 when displaying the subject image on the finder 36. Further, the memory controller 22 may determine the bus occupation usage rate of the image data in the image data bus 33 and determine the priority order of each circuit according to the occupation rate.
[0034]
If the memory controller 22 can supply image data to each circuit within the transfer bandwidth limit of the image data bus 33, the memory controller 22 transmits an acknowledge signal to each circuit in a time division manner, and each circuit has a predetermined value. You may control to perform the process of. As a result, the memory controller 22 effectively accesses the circuits in real time and writes the image data from each circuit to the image memory 32, or reads the image data from the image memory 32 and supplies it to each circuit. can do.
[0035]
Further, even when the memory controller 22 accesses an external circuit (not shown) via the image data bus 33, the external controller can transmit the above-described request signal or receive an acknowledge signal. For example, within the transfer bandwidth limit range of the image data bus 33, it is possible to access simultaneously in a time-sharing manner as with each circuit in the signal processing unit 20. That is, if the memory controller 22 is within the bandwidth of the image data bus 33, the memory controller 22 accesses these circuits simultaneously in a time division manner regardless of the number of circuits in the signal processing unit 20 and the number of external circuits. Can do.
[0036]
As described above, the memory controller 22 performs arbitration of the image data bus 33, control of image data writing / reading between the image memory 32 and each circuit, and data transfer to the CPU bus 34.
[0037]
Next, a specific flow of image data in the signal processing unit 20 will be described with reference to FIG.
[0038]
The input processing circuit 21 performs a CCD interface 21a that performs predetermined signal processing on the image data from the image generation unit 10, a detection circuit 21b that performs detection processing to perform the processing of the CCD interface 21a, and image data conversion processing. And a camera digital signal processor (hereinafter referred to as “camera DSP”) 21c.
[0039]
The CCD interface 21a performs digital clamp and white balance adjustment on the image data composed of the red signal, green signal, and blue signal (R, G, B) from the S / H-A / D circuit 12 shown in FIG. Processing such as gamma correction is performed, and if necessary, horizontal component thinning processing is also performed. After performing such processing, the CCD interface 21 a supplies image data to the camera DSP 21 c or supplies it to the memory controller 22 via the image data bus 33.
[0040]
The detection circuit 21b performs detection processing for autofocus, auto iris, and white balance adjustment from the image data of the CCD interface 21a.
[0041]
The camera DSP 21c converts image data composed of RGB from the CCD interface 21a into image data composed of a luminance signal Y and chroma signals (color difference signals) Cb and Cr. In addition, the camera DSP 21c includes such a simple resolution conversion circuit 21d that performs such processing and simply converts the resolution of the image data.
[0042]
The simple resolution conversion circuit 21d converts the resolution of the image data to be low when the resolution of the image data generated by the CCD image sensor 11 is larger than, for example, the VGA format.
[0043]
Specifically, as shown in FIG. 4, the simple resolution conversion circuit 21d includes a BY / RY separation circuit 61 that separates color difference signals, and a horizontal linear interpolation circuit 62 that performs horizontal interpolation processing. A BY / R-Y combining circuit 63 that combines color difference signals, a 1H delay circuit 64 that gives a delay of one horizontal scanning period (1H period) to each signal, and a vertical linear interpolation circuit 65 are provided.
[0044]
The BY / R-Y separation circuit 61 separates the color difference signals BY and RY, which are chroma signals Cb and Cr, from the image data from the camera DSP 21c, and supplies them to the horizontal linear interpolation circuit 62. The horizontal linear interpolation circuit 62 performs a horizontal interpolation process on the luminance signal Y and the color difference signals BY and RY to reduce the horizontal resolution so that the luminance signal Y and the color difference signal after the interpolation process are performed. BY and RY are supplied to the BY / RY composite circuit 63.
[0045]
The BY / R-Y combining circuit 63 combines the color difference signals BY and RY, and the luminance signal Y from the horizontal linear interpolation circuit 62 and the combined color difference signals BY and RY. The 1H delay circuit 64 and the vertical linear interpolation circuit 65 are supplied. The 1H delay circuit 64 gives a delay of 1H period to the luminance signal Y and the color difference signals BY and RY, respectively, and supplies them to the vertical linear interpolation circuit 65. The vertical linear interpolation circuit 65 performs vertical linear interpolation processing based on the luminance signal Y and the color difference signals BY and RY from the BY / RY synthesis circuit 63 and the 1H delay circuit 64, and As a result, image data composed of the luminance signal Y ′ and the color difference signals (BY) ′ and (R−Y) ′ whose horizontal and vertical resolutions are lowered is output.
[0046]
Further, the resolution conversion circuit 28 performs resolution conversion processing for converting, for example, [p × q] image data into [m × n] image data. The resolution conversion circuit 28 is a process that is performed mainly to suppress the image data generated by the CCD image sensor 11 to a predetermined resolution when the image data is high resolution. It may be processed.
[0047]
Specifically, as shown in FIG. 5, the resolution conversion circuit 28 includes an input buffer 71 for storing image data input from the image data bus 33, and a horizontal buffer for horizontally buffering image data from the input buffer 71. A direction buffer 72, a horizontal direction conversion processing circuit 73 for performing horizontal resolution conversion processing on the image data from the horizontal direction buffer 72, and a vertical direction buffer for buffering image data from the horizontal direction conversion processing circuit 73 in the vertical direction. 74, a vertical direction conversion processing circuit 75 that performs resolution conversion processing in the vertical direction, and an output buffer 76 that performs buffering at the time of output.
[0048]
When the resolution conversion circuit 28 is ready to perform the resolution conversion of the image data, the resolution conversion circuit 28 outputs a (read) request signal that requests the memory controller 22 to read the image data from the image memory 32, and further, After the data conversion process, a request signal (write) requesting the memory controller 22 to write the image data into the image memory 32 is output. Further, the resolution conversion circuit 28 receives an acknowledge signal indicating that the memory controller 22 has responded to the request signal.
[0049]
On the other hand, the horizontal buffer 72 has a configuration in which a first delay circuit 81, a second delay circuit 82, and a third delay circuit 83 that give a delay of one pixel are connected in series as shown in FIG. Is done. Therefore, the first delay circuit 81 outputs image data delayed by one pixel, the second delay circuit 82 outputs image data delayed by two pixels, and the third delay circuit 83 delays by three pixels. Output image data.
[0050]
As shown in FIG. 6, the horizontal direction conversion processing circuit 73 includes first to fourth multipliers 84, 85, 86, and 87 and first to third adders 88, 89, and 90. In some cases, a circuit for normalizing data is added after the adder 90.
[0051]
The first multiplier 84 multiplies the image data supplied from the input buffer 71 by a predetermined coefficient and supplies it to the adder 88. The second multiplier 85 multiplies the image data supplied from the first delay circuit 81 by a predetermined coefficient and supplies the result to the adder 88. The third multiplier 86 multiplies the image data supplied from the second delay circuit 82 by a predetermined coefficient and supplies the result to the adder 89. The fourth multiplier 87 multiplies the image data supplied from the third delay circuit 83 by a predetermined coefficient and supplies the result to the adder 90. The first adder 88 combines the image data and supplies the synthesized image data to the second adder 89. The second adder 89 combines the image data and supplies the synthesized image data to the third adder 90. The third adder 90 synthesizes each image data and supplies it to the vertical buffer 74 as image data that has been subjected to resolution conversion processing in the horizontal direction.
[0052]
As described above, the horizontal direction conversion processing circuit 73 performs a process of compensating for or thinning out the pixels in the horizontal direction by combining the image data having a delay of one pixel with predetermined weighting and combining them. , Convert the horizontal resolution.
[0053]
For example, as shown in FIG. 6, the vertical buffer 74 is configured by connecting first to third buffer memories 91, 92, 93 that give a delay of one line in series. Therefore, the first buffer memory 91 outputs image data delayed by one line, the second buffer memory 92 outputs image data delayed by two lines, and the third buffer memory 93 is delayed by three lines. Output image data.
[0054]
As shown in FIG. 6, the vertical conversion processing circuit 75 includes fifth to eighth multipliers 94, 95, 96, and 97 and fourth to sixth adders 98, 99, and 100. In some cases, a circuit for normalizing data is added after the adder 90.
[0055]
The fifth multiplier 94 multiplies the image data supplied from the horizontal direction conversion circuit 73 by a predetermined coefficient and supplies the result to the fourth adder 98. The sixth multiplier 95 multiplies the image data supplied from the first line memory 91 by a predetermined coefficient and supplies the result to the fourth adder 98. The seventh multiplier 96 multiplies the image data supplied from the second line memory 92 by a predetermined coefficient and supplies the result to the fifth adder 99. The eighth multiplier 97 multiplies the image data supplied from the third line memory 93 by a predetermined coefficient and supplies the result to the sixth adder 100. The fourth adder 98 synthesizes each image data and supplies it to the fifth adder 99. The fifth adder 99 synthesizes each image data and supplies it to the sixth adder 100. The sixth adder 100 synthesizes each image data and outputs it as image data that has been subjected to resolution conversion processing in the vertical direction.
[0056]
As described above, the vertical direction conversion processing circuit 75 performs processing for compensating for or thinning out pixels in the vertical direction by combining image data delayed by one line with predetermined weighting, respectively. Or convert the vertical resolution.
[0057]
In FIG. 6, the resolution conversion circuit 28 performs the resolution conversion process in the vertical direction after performing the resolution conversion process in the horizontal direction. However, as shown in FIG. 7, the resolution conversion circuit 28 performs the resolution conversion process in the vertical direction. Alternatively, horizontal resolution conversion processing may be performed. That is, the resolution conversion circuit 28 supplies the image data from the input buffer 71 to the vertical buffer 74, and in the order of the vertical buffer 74, the vertical conversion processing circuit 75, the horizontal buffer 72, and the horizontal conversion processing circuit 73. You may make it the structure which processes.
[0058]
Further, the first to third buffer memories 91, 92, 93 in the vertical buffer 74 can store image data for one line (1H). However, as shown in FIG. For example, the image data of a smaller number of N pixels (pixel length N) may be stored. At this time, the memory controller 22 needs to read the image data stored in the image memory 32 every N pixels, as shown in FIG.
[0059]
Specifically, the memory controller 22 reads the image data for one screen stored in the image memory 32 in the vertical direction by N pixels for each line. Here, as shown in FIG. 10, one screen is composed of p × q [pixels], the coordinates of the upper left pixel are (1, 1), the coordinates of the upper right pixel are (p, 1), and the lower left pixel is The coordinates are (1, q), and the coordinates of the lower right pixel are (p, q).
[0060]
As shown in FIG. 11, the memory controller 22 first reads image data for N pixels in the horizontal direction for each line in the order of the first row, the second row,. Thereby, the memory controller 22 has N pixels of image data from the left end, that is, a range (N × q pixels) surrounded by (1, 1) (1, q) (N, q) (N, 1). Image data (hereinafter referred to as “image data group (1)”) is read.
[0061]
Next, the memory controller 22 selects image data (hereinafter referred to as “image data group”) in a range surrounded by (N−1,1) (N−1, q) (N−2, q) (N−2,1). (2) "and so on) is read out. Here, when the memory controller 22 reads the column (1) and the image data group (2), the memory controller 22 reads the (N-1) th and Nth column image data twice.
[0062]
This is because the vertical direction conversion processing circuit 75 performs interpolation processing from surrounding pixels, so that the first and third pixels stored in the first to third buffer memories 91, 92, and 93 are processed results. It is because it does not make a target. For example, the pixel (N, 1) is not a target of the vertical interpolation processing result when the image data group (1) is read out. However, this (N, 1) pixel is also read out when the image data group (2) is read out, and becomes an object of the interpolation processing result at this time.
[0063]
Similarly, the memory controller 22 reads out image data for N pixels in the horizontal direction for each line so as to include the image data for the last second column of the immediately preceding image data group, and thereby the image data group Is supplied to the resolution conversion circuit 28.
[0064]
Image data matching the capacity of the first to third buffer memories 91, 92, 93 is supplied to the vertical buffer 74 of the resolution conversion circuit 28 for each line. Therefore, the first to third buffer memories 91, 92, 93 store image data shifted by one line. The vertical direction conversion processing circuit 75 can perform vertical resolution conversion processing based on the image data from the first to third buffer memories 91, 92, 93 of the vertical buffer 74.
[0065]
As described above, the memory controller 22 reads out according to the capacity of the buffer memory even if the capacity of the buffer memory required for the vertical image degree conversion is less than one line, thereby allowing the resolution conversion circuit 28 to read. It is possible to perform resolution conversion in the vertical direction.
[0066]
Here, the read overlap between the image data groups is two columns, but there may be a case where the overlap is larger than two columns or there is no overlap. Further, the present invention is not limited to resolution conversion and is also applied to image signal processing such as camera signal processing.
[0067]
In addition, here, the case where the buffer memory is used for the interpolation process in the vertical direction has been described as an example, but the same applies to the case where the buffer memory is used for the interpolation process in the horizontal direction.
[0068]
That is, for example, as shown in FIG. 12, the resolution conversion circuit 28 may perform horizontal resolution conversion using a horizontal buffer 72a composed of a buffer memory having a capacity of N pixels. As shown in FIG. 13, the memory controller 22 may read image data for N pixels in the vertical direction for each column in the order of the first column, the second column,. As in the case of the vertical interpolation process described above, the memory controller 22 needs to read the image data stored at the beginning and end of the buffer memory twice so as to be the target of the horizontal interpolation process. .
[0069]
As described above, the memory controller 22 performs the resolution conversion processing in the horizontal direction and the vertical direction on the first to third buffer memories 91, 92, 93 having a data capacity of N pixels. Image data can be read from the image memory 32. As a result, the circuit scale of the horizontal buffer 72 and the vertical buffer 74 can be reduced and the production cost can be reduced.
[0070]
The NTSC / PAL encoder 23 not only performs the above-described encoding, but also includes a simple resolution conversion circuit 23a that increases the resolution of the image data as necessary before performing the encoding process.
[0071]
The simple resolution conversion circuit 23a performs resolution conversion that matches the display standard of the finder 36 when the image data on the image memory 32 is lower than the resolution necessary for display.
[0072]
Specifically, as shown in FIG. 14, the simple resolution conversion circuit 23a includes a line memory 101 for storing image data from the image data bus 33, and a vertical linear interpolation circuit (for interpolating image data in the vertical direction). Hereinafter, it is referred to as a “V direction linear interpolation circuit”) 102 and a horizontal direction interpolation circuit 103.
[0073]
The line memory 81 stores image data from the input terminal in for one line, and supplies the image data to the vertical linear interpolation circuit 82 in the order in which the image data is stored. The vertical linear interpolation circuit 82 performs vertical linear interpolation by applying predetermined weights to the image data from the input terminal in and the image data from the vertical linear interpolation circuit 82. Next, as horizontal interpolation, Y is interpolated with a seventh-order filter, and Cb and Cr are interpolated with a third-order filter. This is only interpolation that doubles the resolution. Then, the image data is output via the output terminal out.
[0074]
For example, the image data input from the input terminal in is a, the image data read from the line memory 101 is b, the weighting coefficient is g (0 ≦ g ≦ 1), and the V-direction linear interpolation circuit 102 outputs If the image data to be processed is c, the V-direction linear interpolation circuit 102 performs the following calculation.
[0075]
c = g * a + (1-g) * b
Note that the image data output from the output terminal out is encoded as described above.
[0076]
As described above, the digital still camera 1 is configured by so-called two chips of the signal processing unit 20 and the CPU 41 in the signal processing system. Therefore, the substrate area can be reduced and the power consumption can be further reduced as compared with the case where each signal processing circuit has a chip configuration.
[0077]
In addition, since the signal processing unit 20 does not have a chip configuration including a CPU, even when an application related to the CPU 41 is changed, signal processing can be performed correspondingly. In other words, in the case of a chip configuration including a CPU, it is impossible to reconfigure the chip corresponding to a change in the application of the CPU. However, the signal processing unit 20 can perform predetermined signal processing using a CPU having an optimal configuration for each application.
[0078]
The digital still camera 1 having such a configuration is a finder mode for confirming the state and position of the subject before photographing, a recording mode for photographing the confirmed subject image, and a photograph of the photographed subject image. Playback modes, and processing is performed according to each mode.
[0079]
In the finder mode, the user needs to observe the state of the subject displayed on the finder 36 before shooting the subject by pressing a shutter button (not shown). In the finder mode, the CPU 41 controls the memory controller 22 and other circuits as follows. Note that FIG. 3 is mainly used for the description of each mode, and FIG. 15 is appropriately referred to.
[0080]
In the finder mode, the CCD image sensor 11 generates an image signal in which the vertical component is thinned down to 1/3, and the image data digitized via the S / H-A / D circuit 12 is input to the CCD interface 21a. Supply.
[0081]
The CCD interface 21a performs signal processing in synchronization with the clock shown in FIG. Specifically, as shown in FIG. 15B, the CCD interface 21a performs processing to thin out the horizontal component of the image data supplied from the image generation unit 10 to 1/3, and further performs gamma correction and the like. And supply it to the camera DSP 21c. The CCD interface 21a supplies the image data converted to 340 × 256 as a result of 1/3 decimation to the camera DSP 21c.
[0082]
As shown in FIG. 15C, the camera DSP 21c performs a data conversion process on the image data after the thinning process to convert the image data into YCrCb image data. The camera DSP 21c further converts the resolution of the image data in the simple resolution conversion circuit 21d to reduce the resolution of the image data (340 × 256 → 320 × 240), and the converted image data is stored in the memory via the image data bus 33. This is supplied to the controller 22.
[0083]
Here, the simple resolution conversion circuit 21d simply lowers the resolution to the extent necessary for subsequent processing. As a result, even if the image data generated by the CCD image sensor 11 has a high resolution, the transfer band occupied by the image data in the image data bus 33 is reduced, thereby avoiding the traffic on the image data bus 33 and the viewfinder mode. Real-time performance can be maintained.
[0084]
The memory controller 22 writes the image data into the image memory 32, and further reads the image data from the image memory 32 and supplies it to the NTSC / PAL encoder 23 via the image data bus 33 as shown in FIG. To do. At the same time, the memory controller 22 also reads the OSD data stored in the image memory 32 and supplies it to the NTSC / PAL encoder 23 via the image data bus 33 as shown in FIG. FIG. 15F shows a state of transfer on the image data bus 33 that enables the above-described real-time processing.
[0085]
The NTSC / PAL encoder 23 performs resolution conversion processing on the image data supplied from the image data bus 33 in the case of the NTSC system, 320 × 240 → 640 × 240, and in the case of the PAL system, 320 × 240 → 640 × 288. Then, the converted image data is supplied to the NTSC / PAL encoder 23. The NTSC / PAL encoder 23 further converts the image data into the NTSC system or the PAL system, synthesizes the OSD data, and supplies this to the finder 36 shown in FIG. Thereby, the subject image, subtitle information, and the like are displayed on the finder 36 in real time.
[0086]
Note that the NTSC / PAL encoder 23 performs resolution conversion so as to increase the resolution of a small resolution. For example, even when 320 × 200 image data is supplied, the NTSC / PAL encoder 23 is 640 × 240 in the NTSC format. In the case of the PAL system, the image data is converted into 640 × 288 image data and output.
[0087]
As described above, in the finder mode, the digital still camera 1 simply reduces the resolution of the image data generated by the CCD image sensor 11 at the timing shown in FIG. The image data is within the bandwidth limit of the image data bus 33 and is displayed on the finder 36 with a higher resolution at the output stage as necessary for display.
[0088]
As a result, even if the image data has a high resolution, the digital still camera 1 does not perform a large-scale thinning process that requires a relatively long processing time, and suppresses it within the bandwidth limit of the image data bus 33 in real time. An image of the subject can be displayed on the finder 36.
[0089]
The CPU 41 sets circuits (CCD interface 21a, camera DSP 21c, NTSC / PAL encoder 23) that perform processing with priority in advance, and performs signal processing in other circuits in addition to these circuits in a time-sharing manner. In such a case, the processing of each circuit having a high priority may be performed with priority according to the data amount of the image data.
[0090]
In addition, based on the control of the CPU 41, the simple resolution conversion unit 21d performs high-speed data processing with a slight reduction in image quality in order to give priority to real-time processing when the amount of image data is large. You can also. Thereby, in the finder mode, even if the amount of image data generated by the image generation unit 10 is large, processing can be performed in more real time.
[0091]
In the case of the digital still camera 1 having an electronic zoom function, the CPU 41 may control each circuit as follows.
[0092]
The memory controller 22 writes the image data supplied via the CCD interface 21a and the camera DSP 21c into the image memory 32, reads out the image data from the image memory 32, and supplies it to the resolution conversion circuit 28. The resolution conversion circuit 28 creates image data obtained by enlarging a part of the image input by the electronic zoom function, and outputs the image data to the image memory 32. This image data is read from the image memory 32 and output to the finder 36 via the NTSC / PAL encoder 23. Thereby, it is possible to generate electronically zoomed image data.
[0093]
As described above, in the finder mode, the CPU 41 gives top priority to the real-time property, and therefore does not cause each circuit to perform a process that takes a relatively long time. However, the CPU 41 may cause the memory controller 22 and other circuits to perform various processes as long as the transfer band of the image data bus 33 allows.
[0094]
For example, the memory controller 22 reads out the image data from the image memory 32 that stores the image data supplied from the CCD interface 21 a and the like, supplies the image data to the NTSC / PAL encoder 23 via the image data bus 33, and You may supply also to the decoder 29. FIG. At this time, the finder 36 displays the subject image in real time, while the JPEG encoder / decoder 29 performs JPEG compression processing of the image data.
[0095]
The JPEG encoder / decoder 29 performs compression / decompression processing of still images, and cannot process high-pixel images in real time. Therefore, the JPEG encoder / decoder 29 performs compression processing by thinning out the number of frames (number of frames or fields) of the image data supplied from the image data bus 33 by a predetermined number, or cuts out a part of the image. The compression process may be performed at a lower resolution. Accordingly, it is possible to continuously capture still images with dropped frames or continuously capture still images with low resolution.
[0096]
The user observes the state of the subject displayed on the viewfinder 36 in the above-described viewfinder mode, and determines that the subject is to be photographed, and then presses a shutter button (not shown).
[0097]
When the shutter button is pressed, the digital still camera 1 shifts to the recording mode. In the recording mode, the CPU 41 controls the memory controller 22 and other circuits as follows in order to record the photographed subject image on the recording device 51 while controlling the finder mode.
[0098]
The CCD image sensor 11 stops the thinning process in synchronization with the pressing of the shutter button, generates an XGA format image signal, and converts the digitized image data via the S / H-A / D circuit 12 to the CCD. This is supplied to the interface 21a.
[0099]
The CCD interface 21a supplies the image data supplied from the S / H-A / D circuit 12 to the memory controller 22 via the image data bus 33 instead of the camera DSP 21c. The memory controller 22 writes the image data into the image memory 32, reads the image data, and supplies it to the camera DSP 21 c via the image data bus 33. The camera DSP 21c converts image data composed of RGB into image data composed of Y, Cb, and Cr.
[0100]
Here, the image data once written in the image memory 32 is supplied to the camera DSP 21c. That is, the camera DSP 21c performs a data conversion process on the image data from the image memory 32, not the image data directly supplied from the CCD interface 21a. Therefore, the camera DSP 21c does not need to perform data conversion processing at high speed, and may execute such processing when the image data bus 33 is free. In other words, in the recording mode, since the camera DSP 21c does not need to process in real time, the image data is subjected to data conversion processing prioritizing the improvement of the image quality over the processing speed, and the converted image data is converted into the image data. The data is supplied to the memory controller 22 via the data bus 33. The memory controller 22 writes this image data into the image memory 32.
[0101]
The memory controller 22 reads the image data from the image memory 32 and supplies it to the JPEG encoder / decoder 29. The JPEG encoder / decoder 29 JPEG-compresses the image data and writes it to the recording device 51 shown in FIG.
[0102]
As described above, when it is not necessary to perform the processing in real time as in the recording mode, the CPU 41 writes the image data once in the image memory 32 and then performs a predetermined process to thereby increase the circuit scale. A high pixel image can be processed by effectively using the transfer band of the image data bus 33 while preventing the increase.
[0103]
In the recording mode, the CPU 41 records the image data in the XGA format as it is in the recording device 51. However, the CPU 41 may record the image data in the recording device 51 after converting the resolution of the image data by the resolution conversion circuit 28. . Specifically, the CPU 41 causes the resolution conversion circuit 28 to convert the resolution of the image data read from the image memory 32 via the memory controller 22 so as to correspond to VGA (1024 × 768 → 640 × 480). The image data may be compressed by the JPEG encoder / decoder 29 and then recorded on the recording device 51.
[0104]
When the user wants to check the photographed image after photographing the subject, he / she presses a reproduction button (not shown) to reproduce the photographed image.
[0105]
When the playback button is pressed, the digital still camera 1 shifts to the playback mode. In the playback mode, the CPU 41 controls each circuit as follows in order to read out the image data of the photographed subject from the recording device 51.
[0106]
When the CPU 41 detects the pressing of the playback button, it reads out the image data from the recording device 51 and stores it in the temporary DRAM 42 and then supplies it to the JPEG encoder / decoder 29 via the CPU bus 34. The JPEG encoder / decoder 29 performs JPEG expansion processing on the image data read from the recording device 51 to obtain image data in the XGA format, and supplies the image data to the memory controller 22 via the image data bus 33.
[0107]
The memory controller 22 writes the image data into the image memory 32, reads the image data from the image memory 32, and supplies the image data to the resolution conversion circuit 28 via the image data bus 33.
[0108]
The resolution conversion circuit 28 performs resolution conversion so that the image data corresponds to the VGA format (1024 × 768 → 640 × 480 in the NTSC system, 1024 × 768 → 640 × 576 in the PAL system), and the image data bus 33 is used. To the memory controller 22. The memory controller 22 writes the image data that has undergone resolution conversion processing into the image memory 32, reads out the image data from the image memory 32, and supplies it to the finder 36 via the NTSC / PAL encoder 23. As a result, an image based on the image data recorded in the recording device 51 is displayed on the finder 36.
[0109]
That is, since the resolution of the image data recorded in the recording device 51 is high, the CPU 41 supplies the image data to the finder 36 after reducing this resolution.
[0110]
Further, the CPU 41 determines the priority order of circuits to be processed with priority for each mode of the finder mode, the recording mode, and the reproduction mode, and when shifting to any mode, the CPU 41 processes each circuit according to the priority order. May be executed. Thereby, the signal processing of image data can be efficiently performed according to the processing content of each mode.
[0111]
In the above-described embodiment, the case where image data equivalent to XGA is processed has been described as an example. However, the present invention is not limited to this, and the present invention is not limited to this. Of course, it can be applied.
[0112]
【The invention's effect】
As described above in detail, according to the signal processing apparatus of the present invention, the control unit manages the image data in the control bus, and the second signal processing unit and the reading / writing unit of the signal processing unit are provided. By controlling the image data bus so that the image data in the image data bus falls within a predetermined transfer band range while the read / write unit follows the control of the control unit, the congestion of the image data bus is prevented. Signal processing of each signal processing means can be performed efficiently.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a digital still camera to which the present invention is applied.
FIG. 2 is a block diagram showing a schematic configuration of the digital still camera.
FIG. 3 is a block diagram for explaining a flow of image data in a signal processing unit of the digital still camera.
FIG. 4 is a block diagram showing a configuration of a simple resolution conversion circuit in the input processing circuit of the signal processing unit.
FIG. 5 is a block diagram illustrating a configuration of a resolution conversion circuit of the signal processing unit.
FIG. 6 is a block diagram illustrating a specific configuration of a horizontal buffer, a horizontal conversion processing circuit, a vertical buffer, and a vertical conversion processing circuit of the resolution conversion circuit.
FIG. 7 is a block diagram showing another configuration of the resolution conversion circuit.
FIG. 8 is a block diagram showing a configuration of a vertical buffer of the resolution conversion circuit.
FIG. 9 is a diagram for explaining a method when the memory controller reads image data from the image memory.
FIG. 10 is a diagram for explaining coordinate positions of pixels constituting one screen.
FIG. 11 is a diagram for explaining a method when the memory controller reads image data from the image memory.
FIG. 12 is a block diagram illustrating a configuration when a horizontal buffer of the resolution conversion circuit includes a line buffer.
FIG. 13 is a diagram for explaining a method when the memory controller reads image data from the image memory.
FIG. 14 is a block diagram showing a configuration of a simple resolution conversion circuit in the NTSC / PAL encoder of the signal processing unit.
FIG. 15 is a timing chart for explaining the contents of signal processing of each circuit in the finder mode.
FIG. 16 is a block diagram illustrating a configuration of a conventional digital still camera.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Digital still camera, 20 Signal processing part, 21 Input processing circuit, 22 Memory controller, 23 NTSC / PAL encoder, 28 Resolution conversion circuit, 32 Image memory, 33 Image data bus, 34 CPU bus, 40 Control part, 41 CPU

Claims (4)

画像データバスと、上記画像データバスにアクセスして画像データの信号処理を行う複数の第1の信号処理手段と、画像データを記憶する記憶手段と、上記画像データバスを管理し、上記画像データバスを介して供給される画像データを上記記憶手段に書き込み、上記記憶手段に記憶されている画像データを読み出して上記画像データバスに出力する読出し/書込み手段と有する信号処理部と、
制御バスと、
上記制御バスにアクセスして画像データの信号処理を行う複数の第2の信号処理手段と、
上記制御バス内の画像データを管理するとともに、上記各第2の信号処理手段及び上記信号処理部の読出し/書込み手段を制御する制御手段とを備え、
上記読出し/書込み手段は、上記制御手段の制御に従いながら、上記画像データバス内の画像データが所定の転送帯域範囲内になるように上記画像データバスを管理し、上記画像データバスにつながる上記各第1の信号処理手段の間のデータ転送、及び、上記制御バスに対してデータ転送を行い、
上記複数の第2の信号処理手段うちのいずれか1つは、画像データを記録する記録手段からなり、
上記制御手段は、上記記憶手段に記憶された画像データを読み出して上記画像データバスを介して上記制御バスに供給するように上記読出し/書込み手段を制御し、上記読出し/書込み手段によって読み出された画像データを上記記録手段に記録し、上記記録手段に記録された画像データを上記読出し/書込み手段に供給する制御を行う信号処理装置。
An image data bus, a plurality of first signal processing means for accessing the image data bus to perform image data signal processing, a storage means for storing image data, the image data bus are managed, and the image data A signal processing unit having a read / write unit that writes image data supplied via a bus to the storage unit, reads the image data stored in the storage unit, and outputs the image data to the image data bus;
A control bus;
A plurality of second signal processing means for accessing the control bus and performing signal processing of image data;
Control means for managing the image data in the control bus, and controlling the second signal processing means and the read / write means of the signal processing unit,
The read / write means manages the image data bus so that the image data in the image data bus falls within a predetermined transfer band range, and controls each of the image data buses connected to the image data bus while following the control of the control means. Data transfer between the first signal processing means and data transfer to the control bus,
Any one of the plurality of second signal processing means includes a recording means for recording image data,
The control means controls the read / write means so as to read out the image data stored in the storage means and supply it to the control bus via the image data bus, and the read / write means reads the image data. A signal processing apparatus for controlling the recording of the image data in the recording means and supplying the image data recorded in the recording means to the reading / writing means .
上記複数の第2の信号処理手段うちのいずれか1つは、画像データを圧縮する圧縮手段からなり、
上記制御手段は、上記読出し/書込み手段によって読み出された画像データを上記圧縮手段に圧縮させて上記記録手段に供給する制御を行うこと
を特徴とする請求項記載の信号処理装置。
Any one of the plurality of second signal processing means includes compression means for compressing image data,
It said control means, the signal processing apparatus according to claim 1, wherein the image data read by the read / write means is compressed in the compression unit and performs control for supplying to said recording means.
上記複数の第2の信号処理手段うちのいずれか1つは、圧縮された画像データを伸張する伸張手段からなり、
上記制御手段は、上記記録手段に記録されている画像データを読み出して上記伸張手段に上記画像データに伸張させる制御を行うこと
を特徴とする請求項記載の信号処理装置。
Any one of the plurality of second signal processing means includes decompression means for decompressing the compressed image data,
It said control means, the signal processing apparatus according to claim 1, wherein the reading the image data recorded on said recording means performs control to stretch to the image data to the decompression means.
上記信号処理部は、1の集積回路で構成されること
を特徴とする請求項1記載の信号処理装置。
The signal processing apparatus according to claim 1, wherein the signal processing unit includes one integrated circuit.
JP33161398A 1998-07-17 1998-11-20 Signal processing device Expired - Fee Related JP4158245B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33161398A JP4158245B2 (en) 1998-07-17 1998-11-20 Signal processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-204086 1998-07-17
JP20408698 1998-07-17
JP33161398A JP4158245B2 (en) 1998-07-17 1998-11-20 Signal processing device

Publications (2)

Publication Number Publication Date
JP2000092365A JP2000092365A (en) 2000-03-31
JP4158245B2 true JP4158245B2 (en) 2008-10-01

Family

ID=26514273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33161398A Expired - Fee Related JP4158245B2 (en) 1998-07-17 1998-11-20 Signal processing device

Country Status (1)

Country Link
JP (1) JP4158245B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4253881B2 (en) 1998-07-17 2009-04-15 ソニー株式会社 Imaging device
JP2000092375A (en) 1998-07-17 2000-03-31 Sony Corp Signal processing unit and its control method
JP4131052B2 (en) 1998-07-17 2008-08-13 ソニー株式会社 Imaging device
JP4028694B2 (en) * 2001-04-27 2007-12-26 松下電器産業株式会社 CAMERA DEVICE AND ELECTRONIC DEVICE HAVING THE CAMERA DEVICE
KR100453071B1 (en) 2003-01-18 2004-10-15 삼성전자주식회사 Apparatus and method for connecting processor to bus
JP5402329B2 (en) * 2009-07-08 2014-01-29 株式会社ニコン Imaging unit, electronic camera

Also Published As

Publication number Publication date
JP2000092365A (en) 2000-03-31

Similar Documents

Publication Publication Date Title
JP4131052B2 (en) Imaging device
JP4253881B2 (en) Imaging device
US6784941B1 (en) Digital camera with video input
US8194155B2 (en) Information processing apparatus, buffer control method, and computer program
JP3822380B2 (en) Image signal processing device
JP2000092375A (en) Signal processing unit and its control method
US20050253878A1 (en) Image display device
JP4158245B2 (en) Signal processing device
JP5820720B2 (en) Imaging device
JP4264602B2 (en) Image processing device
KR100687454B1 (en) Imaging apparatus and recording/reproducing apparatus
JP2001197346A (en) Electronic camera
JP2001197348A (en) Electronic camera
JP2003087640A (en) Imaging apparatus, signal processor, and control method
CN100583955C (en) Imaging apparatus and image data processing method
JP3745605B2 (en) Electronic still camera
JPH11168690A (en) Signal processor for digital still camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080526

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

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

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

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130725

Year of fee payment: 5

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