JP3513833B2 - Electronic camera - Google Patents

Electronic camera

Info

Publication number
JP3513833B2
JP3513833B2 JP22905398A JP22905398A JP3513833B2 JP 3513833 B2 JP3513833 B2 JP 3513833B2 JP 22905398 A JP22905398 A JP 22905398A JP 22905398 A JP22905398 A JP 22905398A JP 3513833 B2 JP3513833 B2 JP 3513833B2
Authority
JP
Japan
Prior art keywords
image
data
image data
output
cpu
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 - Lifetime
Application number
JP22905398A
Other languages
Japanese (ja)
Other versions
JPH11136561A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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
Priority claimed from JP5138499A external-priority patent/JPH06350888A/en
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP22905398A priority Critical patent/JP3513833B2/en
Publication of JPH11136561A publication Critical patent/JPH11136561A/en
Application granted granted Critical
Publication of JP3513833B2 publication Critical patent/JP3513833B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は撮像素子から抽出し
た原画データを外部電子機器に出力する電子カメラに関
する。 【0002】 【従来の技術】従来、電子カメラは、撮影時にAE機構
による露出制御が行われ、例えば画面の中央付近にある
被写体の明るさが所定の値になるようにシャッタスピー
ド、絞り値を設定し撮影を実行する。こうして取り込ん
だ画像の一部を読み出す場合、切り出された部分にある
被写体が撮影時に露出を合わせた被写体と異なるため、
出力される画像は適性露出ではなくなってしまうという
欠点があった。 【0003】 【発明が解決しようとする課題】最近では、電子スチル
カメラを画像入力端末として、様々な外部電子機器に接
続して画像を取り込む事が考えられている。しかし、外
部電子機器毎で画像処理能力が事なるために、電子スチ
ルカメラの仕様で入力される画像データを効率よく処理
できない。 【0004】例えば、画像データを2値化して出力する
場合、外部電子機器で使用するディスプレイ装置の特
性、原画像の種類さらには出力画像の用途によって最適
な誤差の拡散のさせかたは異なってくる。 【0005】また、外部電子機器のメモリ容量や表示サ
イズの違い等により外部電子機器が必要とする画像デー
タ量が異なる。さらに、外部電子機器により画像データ
の一部を切り出して出力する時、その切り出し画像デー
タの露出値は、切り出し画像データが撮影した被写体画
像と異なるため、撮影時に設定した適正露出値とは異な
る。 【0006】上述した理由により、電子スチルカメラに
接続される外部電子機器により必要とする画像データが
異なるという問題点が生じる。本発明は上記の実情に鑑
みてなされたもので、取り込んだ画像の一部を読み出す
場合、切り出された部分にある被写体が適性露出となる
よう露出補正を施して出力するようにした電子カメラを
提供することを目的とする。 【0007】 【課題を解決するための手段】上記目的を達成するため
に本発明の電子カメラは、撮像素子と、これを駆動し画
像を撮影する撮影手段と、上記撮像素子の出力をデジタ
ル値に変換する手段と、変換したデータを蓄積するメモ
リと、蓄積したデータを処理するCPUと、外部機器を
接続し、上記CPUを外部機器からの指定に基づいて
御するとともに処理したデータを前記外部機器へ出力す
るための通信手段と、を有し、上記撮影手段は露出制御
手段を有し、上記CPUは得られたデータを基に適正露
出となるようこれを制御するとともに、前記外部機器
からの指定に基づいて、原画データの任意の部分を切り
出して該外部機器へ出力する機能を有するとともに、切
り出された画像データに対して利得補正制御を施して適
正露出とほぼ同等な状態に出力するようにしたことを特
徴とするものである。 【0008】本発明は、外部から入力される画像形態に
対応させ撮像した画像データをを可変することにより、
外部機器に対応させた画像形態で画像データを出力でき
る。例えば外部機器に対応してメモリに蓄積された原画
データに対して誤差拡散法を用いた2値化処理を行うた
め、外部機器に使用するディスプレイ装置の特性や原画
の種類、さらには出力画像の用途によって最適な2値化
処理を行うことができ、特にドットの分散のさせ方を外
部機器からの指示に応じて、2値化しきい値と拡散係数
を変化させ、任意に調整できる。 【0009】又、撮像画像データの所定の領域を所定の
データ量に変換して出力するため、撮像画像データの任
意の部分を任意の画素数で出力することができるので、
様々な仕様の外部機器に対応可能に構成でき、外部機器
側のメモリ容量や表示サイズ等に対応したデータ量に変
換することができる。 【0010】又、適正露出の撮像画像データの所定の部
分を切り出した画像データに対して利得補正を施して適
正露出と同等な状態にして出力するため、ビューエリア
内の画像データを利得補正することができ、切り出し画
像を撮影時の適正露出と同等な状態にして出力でき、特
にズームイン/アウトや縦/横スクロールなどによって
ビューエリアが刻々変化するときにも常に適切な画像を
出力できるので、高機能化が図れる。 【0011】 【発明の実施の形態】以下図面を参照して本発明の実施
形態例を詳細に説明する。図1は本発明の電子スチルカ
メラのブロック構成図である。この図において、電子ス
チルカメラは、A/Dコンバータ31、CDS回路3
2、メモリ制御部33、タイミング発生器34、レジス
タ35、積分処理回路36、カウンタ37、タイマ3
8、CPU39、パラレルI/O 40、ROM41、
RAM42、I/Oポート43、割込処理部44、シリ
アルI/O 45、及びシステムックロック発生部46
により構成され、メモリ制御部33、レジスタ35、カ
ウンタ37、タイマ38、CPU39、パラレルI/O
40、ROM41、RAM42、I/Oポート43、
割込処理部44及びシリアルI/O 45は、バス47
に接続される。 【0012】A/Dコンバータ31は、タイミング発生
器34から入力される処理タイミング信号によりA/D
変換処理タイミングが制御され、CCD11からアンプ
51により増幅されて出力される画像信号を所定のデジ
タル画像信号に変換してCDS回路32に出力する。 【0013】CDS回路32は、タイミング発生器34
から入力されるサンプリング・タイミング信号及びレジ
スタ35を介して入力される所定の制御信号により制御
され、A/Dコンバータ31から入力されるデジタル画
像信号に、CCD11の出力部で重畳されるランダム性
のリセットノイズや1/fノイズ等を除去する相関2重
サンプリング処理を行い、そのノイズを除去したデジタ
ル画像信号を、画像データとしてメモリ制御部33及び
積分処理回路36に出力する。 【0014】メモリ制御部33は、タイミング発生器3
4から入力されるアクセス・タイミング信号及びレジス
タ35から入力される所定のアクセス要求信号により制
御され、CDS回路32から入力される画像データを外
部に接続するSRAM52に転送して書込むとともに、
SRAM52から画像データを読み出してバス47を介
してパラレルI/O 40、I/Oポート43及びシリ
アルI/O 45に転送する。 【0015】タイミング発生器34は、マスタークロッ
ク発生器46から入力されるマスタークロック信号に基
づいてA/Dコンバータ31用の処理タイミング信号、
CDS回路32用のサンプリング・タイミング信号、メ
モリ制御部33用のアクセス・タイミング信号及び積分
処理回路36用の積分処理タイミング信号等の画像処理
回路30内の各種処理タイミングを制御する各種タイミ
ング信号を生成すると共に、外部に接続するCCDドラ
イバ53におけるCCD11の動作タイミングを制御す
るための所定のタイミング信号を出力する。 【0016】レジスタ35は、バス47を介してCPU
39から入力される各種制御信号を一時的に格納し、タ
イミング発生器34から入力されるタイミング信号に従
ってその各種制御信号をCDS回路32、メモリ制御部
33、積分処理回路36に出力する。 【0017】積分処理回路36は、タイミング発生器3
4から入力される積分処理タイミング信号に従ってCD
S回路32から入力される画像データを積分処理し、そ
の積分結果をカウンタ37に出力する。 【0018】カウンタ37は、積分処理回路36から入
力される積分結果に基づいてカウントアップし、そのカ
ウント値をバス47を介してCPU39に通知する。タ
イマ38は、画像撮影時のシャッタ動作の遅延時間等を
設定し、その設定時間をバス47を介して割込処理部4
4に通知する。 【0019】CPU39は、ROM41内に格納された
所定のプログラムに基づいて画像データの誤差拡散処理
等を実行して、2値画像データを生成すると共に、後述
するCCD11内の蓄積電荷を転送する転送タイミング
制御処理を実行し、CCD11における電子シャッタ動
作を制御する。 【0020】パラレルI/O 40は、外部に接続する
電子機器のパラレルI/Oとの間で、所定のパラレルデ
ータ通信手順に従って画像データ、制御データ等を送受
信する。ROM41は、CPU39が実行するプログラ
ム等を格納し、RAM42は、CPU39が誤差拡散処
理等を実行する際のデータを一時的に格納するデータエ
リアを形成する。 【0021】I/Oポート43は、外部の電子機器等の
I/Oポートと接続し、画像データの授受を所定のデー
タ通信制御手順に従って制御する。割込処理部44は、
タイマ38により設定され遅延時間に応じてシャッタ遅
延動作等の割込処理を実行する。 【0022】シリアルI/O 45は、バス47を介し
て外部に接続する電子機器のシリアルI/Oとの間で、
所定のシリアル通信手順(例えば、RS232C)に従
って画像データ、制御データ等を送受信する。 【0023】SRAM52は、メモリ制御部33により
画像データを一時的に格納するメモリエリアを形成す
る。CCDドライバ53は、タイミング発生器34から
入力されるタイミング信号に応じてCCD11内の光電
変換・蓄積期間及び蓄積電荷の転送タイミング等の動作
を制御するためのフレームシフトパルス信号及びライン
転送パルス信号を生成してCCD11に出力する。 【0024】前記電子スチルカメラが各I/Oポートを
介して外部電子機器に接続され、この外部電子機器から
出力画像形態を受信することにより、CPU39がその
受信した出力画像形態に基づいて撮像画像データを最適
化する。 【0025】まず、誤差拡散処理の最適化について説明
する。図2(a)は誤差拡散法の一例を示す原理図であ
り、ある画素を2値化したとき元の輝度との差分を周囲
の未処理の画素に拡散する方法である。ここで原画デー
タのビット幅は8ビット(256階調)である。即ち、
画素Xを2値化しきい値Tにより2値化X0 し、X<T
ならX0 =0(黒)、X≧TならX0 =255(白)と
すると、X−X0 が誤差成分となる。これを周囲の画素
に所定の比率で拡散する。本実施例では誤差成分に拡散
係数Kを乗じ拡散量を制御する。図2(b)の誤差拡散
フィルタに示すように4方向に対して拡散を実行し、周
囲の画素D(n)の拡散後の値D′(n)は、対応する
誤差拡散フィルタの係数をβ(n)とすると、 D′(n)=D(n)+β(n)** (X−X0 ) となり、この画素D′(n)を2値化する際には誤差を
含んだ値D′(n)に対して同様な処理を施すことで原
画の濃度勾配に近い自然な画像が得られる。図2(b)
の誤差拡散フィルタの例では画素Xで行われた2値化の
誤差を各比率7/16,1/16,5/16,3/16
で周囲の画素に加える。 【0026】しかして、前記しきい値Tを変化させると
出力画像全体の明暗が変化し、しきい値Tが小さいほど
明るく、大きいほど暗い画像となる。また、拡散係数K
(0≦K≦1)を変化させると、拡散の全体量が増減し
出力画像のトーンが変化する。K=0とすると誤差拡散
を行わない全くの2値化画像となり、拡散係数Kを増加
させるに従い中間調画像に近くなって行くが、しきい値
Tと拡散係数Kを、図3に示すように互いに関係付けて
変化させると、この変化をより自然に見せることができ
る。このように、しきい値Tを拡散係数Kに連動させて
変化するようにしたので画像のハーフトーン調節がより
自然に行えるという利点があり、与えるパラメータは1
つで済むので、簡単な操作でハーフトーン調節が実現で
きる。 【0027】つまり、電子スチルカメラ1のROM41
内に図3に示すようなテーブルを持っていれば、外部電
子機器は、しきい値Tあるいは拡散係数Kのどちらかを
受信すればよい。 【0028】以上のように、撮像した画像データに対し
て誤差拡散処理をする場合、外部電子機器から入力され
たしきい値あるいは拡散係数に基づいて誤差拡散処理を
するようにしたので、外部電子機器のディスプレイ装置
の特性、原画像の種類、出力画像の用途に関係なく最適
な画像データを外部電子機器に出力できる。 【0029】なお、本実施例では、疑似中間調処理を誤
差拡散処理により実現したがこれに限ることなく、ディ
ザ処理等の疑似中間調処理でもよい。この場合、所定サ
イズのディザマトリクスのしきい値、ディザマトリクス
のサイズ等を外部電子機器から入力する。 【0030】次に、原画の全部または一部を出力する際
のデータ量を外部電子機器からの指定により、任意に変
えられるようにした電子スチルカメラについて説明す
る。外部電子機器は、予め、水平画素数H,垂直画素数
V,ビューポイント(Cx,Cy ),アスペクト比A,
倍率Zを指定しておき、CPU39はこれらのパラメー
タを基に外部電子機器が必要とする部分の画像データを
必要とするデータ量に変換し、各I/Oポートを介して
外部機器に送り出す。 【0031】この操作の基本は、図4(a),(b)に
示すような画素補間演算である。即ち、図4(a)に示
すように、補間データSは2画素のデータP,Qの直線
近似により求める。 【0032】S=(1−d)P+dQ しかして、図4(b)に示すように、近傍4画素のデー
タA,B,C,Dから域内1点の補間データSを求める
には、まず水平方向の2点の補間データP,Qを求め、 P=(1−x)A+xB Q=(1−x)C+xD 次に、垂直方向に同様な演算を行い、目的の補間データ
Sを得る。 【0033】S=(1−y)P+yQ 本実施例では画素間を256分割し、原画データの有効
画素数240* 120から61440* 30720画素
の仮想空間を生成している。 【0034】次に、図5に示すように、この仮想空間の
ビューポイント(Cx ,Cy )を中心とする領域Kx *
y をH* V画素に変換し、出力する画像空間の切り出
しについて説明する。出力画面の左上端から水平方向を
主走査方向、垂直方向を副走査方向としてデータ送出を
行うものとすると、最初の送出データD(0,0)は、
仮想空間上の点(Cx −Kx /2,Cy −Ky /2)で
あり、次の送出データD(1,0)は、Kx /H画素右
のデータとなる。垂直方向も同様であるから、送出デー
タD(i,j)は、 D(i,j)=(Cx −Kx /2+i*x /H, C
y −Ky /2+j*y /V) で表される。ここで、Kx ,Ky を前述のアスペクト比
Aと倍率Zを用いて Kx =k** H/Z Ky =k** V/Z k:定数 と与える。ただし、アスペクト比Aは、水平方向の画素
ピッチをpx,垂直方向の画素ピッチをpyとしたとき
A=px/pyで定義する。式中のaはCCD自体のア
スペクト比である。 【0035】尚、倍率Zを変化させるとズームイン/ア
ウトが、ビューポイントCx ,Cyを変化させると縦/
横スクロールが簡単に実現できる。以上のように、原画
データの任意の部分を任意の画素数で出力することがで
きるので、様々な仕様の外部電子機器に対応可能な電子
カメラが構成できる。 【0036】次に、取り込んだ画像の一部を読み出す場
合、切り出された部分にある被写体が適正露出となるよ
う露出補正を施して出力するようにした電子スチルカメ
ラについて説明する。即ち、図6に示すように、CPU
39は、撮影した原画データの中央部分AE演算領域の
平均値Aを算出し、この平均値Aが所定の適正露出値に
等しくなるように露出制御を行う。この適正露出により
露出制御された画像データに対して、図7に示すよう
に、指定されたビューエリア内の原画データを必要に応
じて拡大/縮小し、切り出し画像として出力するとき、
切り出されたビューエリアに対して、撮影時と同様にビ
ューエリア内の中央部分AE演算領域の平均値Bを算出
する。前記ビューエリア内の画像データをA/B倍に利
得補正することによって、切り出し画像を前記適正露出
と同等な状態にして出力することができる。この場合、
極端な明暗によって画像が不自然にならないように利得
にリミッタをかける。 【0037】以上のように、ビューエリア内の画像デー
タを利得補正する機能を設けたので、切り出し画像を適
正露出と同等な状態にして出力できる利点があり、ズー
ムイン/アウトや縦/横スクロールなどによってビュー
エリアが刻々変化するときにも常に適切な画像を出力で
きるので、電子スチルカメラの高機能化が図れる。 【0038】図8は、本発明の電子スチルカメラ1をラ
ベルプリンタ61に接続した例を示したものである。同
図において、ラベルプリンタ61は、電子スチルカメラ
1から入力した画像データ、ラベルプリンタ61の操作
状態等を表示する液晶表示画面62、この液晶表示画面
62の明るさを調整するコントラストダイヤル63、ラ
ベルのプリント操作、電子スチルカメラ1との通信操作
等を入力する操作キー部64、文字を入力する文字入力
部65及び電源のオン/オフをする電源キー部66等か
ら構成されている。そして、本発明の電子スチルカメラ
1にケーブルにより接続されている。 【0039】上記構成において、液晶表示画面62の液
晶パネル(ディスプレイ装置)の特性、原画像の種類
(例えば自然画像)さらに出力画像の用途により誤差拡
散係数Kを、また、ラベルプリンタ61の画像メモリの
容量や液晶表示画面62の液晶パネルに表示できる表示
サイズ、画像データとして必要な領域等に基づいてビュ
ーポイント(Cx ,Cy )、領域(Kx ,Ky ),アス
ペクト比A、倍率Z等をケーブルを介して電子スチルカ
メラ1に入力し、この入力データに基づいて、電子スチ
ルカメラ1は、上述したように誤差拡散係数Kに基づい
てラベルプリンタ61に最適な誤差拡散処理、ビューポ
イント(Cx ,Cy )、領域(Kx ,Ky),アスペク
ト比A、倍率Zに基づいて最適データ量及び最適露出値
の出力画像データを出力することができる。 【0040】図9、図10は、本発明の電子スチルカメ
ラ1を電子手帳67、69に接続したものであり、図9
は、電子スチルカメラ1が電子手帳67に一体的に形成
されているものであり、図10は、電子スチルカメラ1
が電子手帳69にケーブルにより接続されているもので
ある。この実施例においても、上述したように液晶表示
パネル68,70の特性、原画像の種類(例えば自然画
像)さらに出力画像の用途により誤差拡散係数Kを、ま
た、電子手帳67、69の画像メモリの容量や液晶表示
パネル68,70に表示できる表示サイズ、画像データ
として必要な領域等に基づいてビューポイント(Cx
y )、領域(Kx ,Ky ),アスペクト比A、倍率Z
等を直接あるいはケーブルを介して電子スチルカメラ1
に入力し、この入力データに基づいて、電子スチルカメ
ラ1は、上述したように誤差拡散係数Kに基づいて電子
手帳67、69に最適な誤差拡散処理、ビューポイント
(Cx ,Cy )、領域(Kx ,Ky ),アスペクト比
A、倍率Zに基づいて最適データ量及び最適露出値の出
力画像データを出力することができる。このように、本
発明の電子スチルカメラ1は、外部電子機器に対して、
一体的あるいは着脱可能に形成してもよい。 【0041】 【発明の効果】以上述べたように本発明によれば、ビュ
ーエリア内のデータを利得補正する機能を設けたので、
切り出し画像を適性露出と同等な状態にして出力できる
利点があり、ズームイン/アウトや縦/横スクロールな
どによってビューエリアが刻々変化するときにも常に適
切な画像を出力できるので、電子カメラの高機能化が図
れる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic camera for outputting original image data extracted from an image sensor to an external electronic device. 2. Description of the Related Art Conventionally, in an electronic camera, exposure control is performed by an AE mechanism at the time of photographing. For example, a shutter speed and an aperture value are set so that the brightness of a subject near the center of a screen becomes a predetermined value. Set and execute shooting. When reading out a part of the image captured in this way, the subject in the cut out part is different from the subject whose exposure was adjusted at the time of shooting,
There is a drawback that the output image is not properly exposed. Recently, it has been considered to connect an electronic still camera as an image input terminal to various external electronic devices and take in images. However, since image processing capability differs for each external electronic device, image data input according to the specifications of the electronic still camera cannot be efficiently processed. For example, when image data is output after being binarized, an optimal error diffusion method differs depending on the characteristics of a display device used in an external electronic device, the type of an original image, and the use of an output image. Further, the amount of image data required by the external electronic device differs depending on the memory capacity and display size of the external electronic device. Further, when a part of the image data is cut out and output by the external electronic device, the exposure value of the cut out image data is different from the proper exposure value set at the time of shooting because the cut out image data is different from the photographed subject image. For the reasons described above, there arises a problem that required image data differs depending on the external electronic device connected to the electronic still camera. The present invention has been made in view of the above circumstances, and in the case of reading out a part of a captured image, there is provided an electronic camera which performs exposure correction so that a subject in a cut out part has proper exposure and outputs the image. The purpose is to provide. In order to achieve the above object, an electronic camera according to the present invention comprises: an image pickup device; photographing means for driving the image pickup device to take an image; and outputting an output of the image pickup device to a digital value. A memory for storing the converted data, a CPU for processing the stored data, and an external device.
Connect has a communication means for outputting the data processed with braking <br/> Gosuru based on specification of the CPU from an external device to the external device, the above photographing means exposure control means has, to control this as above the CPU to appropriate exposure based on the obtained data, based on the designation from the external device <br/>, external cut out any portion of the original image data In addition to having a function of outputting to a device , the cut-out image data is subjected to gain correction control to output the image data in a state substantially equivalent to the proper exposure. According to the present invention, by changing image data taken corresponding to an image form inputted from the outside,
Image data can be output in an image format corresponding to an external device. For example, in order to perform a binarization process using an error diffusion method on the original image data stored in the memory corresponding to the external device, the characteristics of the display device used for the external device, the type of the original image, and the output image Optimum binarization processing can be performed depending on the application. In particular, how to distribute dots can be arbitrarily adjusted by changing the binarization threshold value and the diffusion coefficient in accordance with an instruction from an external device. Also, since a predetermined area of the captured image data is converted into a predetermined data amount and output, an arbitrary portion of the captured image data can be output with an arbitrary number of pixels.
It can be configured to be compatible with external devices of various specifications, and can be converted into a data amount corresponding to the memory capacity and display size of the external device. [0010] Further, in order to perform gain correction on image data obtained by cutting out a predetermined portion of the appropriately exposed captured image data and output the image data in a state equivalent to the appropriate exposure, the image data in the view area is gain corrected. Since the cropped image can be output in a state equivalent to the proper exposure at the time of shooting, and especially when the view area changes every moment due to zooming in / out, vertical / horizontal scroll, etc., an appropriate image can always be output. High functionality can be achieved. Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of an electronic still camera according to the present invention. In this figure, an electronic still camera includes an A / D converter 31, a CDS circuit 3,
2, memory control unit 33, timing generator 34, register 35, integration processing circuit 36, counter 37, timer 3
8, CPU 39, parallel I / O 40, ROM 41,
RAM 42, I / O port 43, interrupt processing unit 44, serial I / O 45, and system clock generating unit 46
, A memory controller 33, a register 35, a counter 37, a timer 38, a CPU 39, a parallel I / O
40, ROM 41, RAM 42, I / O port 43,
The interrupt processing unit 44 and the serial I / O 45 are connected to a bus 47
Connected to. The A / D converter 31 receives an A / D signal from a processing timing signal input from a timing generator 34.
The conversion processing timing is controlled, and the image signal amplified and output from the CCD 11 by the amplifier 51 is converted into a predetermined digital image signal and output to the CDS circuit 32. The CDS circuit 32 includes a timing generator 34
Is controlled by a sampling timing signal input from the A / D converter and a predetermined control signal input via the register 35, and is superimposed on a digital image signal input from the A / D converter 31 at the output unit of the CCD 11. Correlation double sampling processing for removing reset noise, 1 / f noise, and the like is performed, and the digital image signal from which the noise has been removed is output to the memory control unit 33 and the integration processing circuit 36 as image data. The memory control unit 33 includes the timing generator 3
The image data input from the CDS circuit 32 is controlled by an access timing signal input from the input terminal 4 and a predetermined access request signal input from the register 35.
The image data is read from the SRAM 52 and transferred to the parallel I / O 40, the I / O port 43, and the serial I / O 45 via the bus 47. The timing generator 34 generates a processing timing signal for the A / D converter 31 based on the master clock signal input from the master clock generator 46,
Various timing signals for controlling various processing timings in the image processing circuit 30, such as a sampling timing signal for the CDS circuit 32, an access timing signal for the memory control unit 33, and an integration processing timing signal for the integration processing circuit 36, are generated. At the same time, it outputs a predetermined timing signal for controlling the operation timing of the CCD 11 in the CCD driver 53 connected to the outside. The register 35 is connected to the CPU via a bus 47.
Various control signals input from 39 are temporarily stored, and the various control signals are output to the CDS circuit 32, the memory control unit 33, and the integration processing circuit 36 according to the timing signal input from the timing generator 34. The integration processing circuit 36 includes the timing generator 3
4 according to the integration processing timing signal input from
The image data input from the S circuit 32 is integrated, and the integration result is output to the counter 37. The counter 37 counts up based on the integration result input from the integration processing circuit 36, and notifies the CPU 39 of the count value via the bus 47. The timer 38 sets a delay time of a shutter operation at the time of image capturing and the like, and sets the set time via the bus 47 to the interrupt processing unit 4.
Notify 4. The CPU 39 executes error diffusion processing of image data and the like based on a predetermined program stored in the ROM 41 to generate binary image data, and transfers the accumulated charges in the CCD 11 described later. A timing control process is executed to control an electronic shutter operation in the CCD 11. The parallel I / O 40 transmits and receives image data and control data to and from a parallel I / O of an externally connected electronic device in accordance with a predetermined parallel data communication procedure. The ROM 41 stores a program executed by the CPU 39 and the like, and the RAM 42 forms a data area for temporarily storing data when the CPU 39 executes an error diffusion process and the like. The I / O port 43 is connected to an I / O port of an external electronic device or the like, and controls transfer of image data according to a predetermined data communication control procedure. The interrupt processing unit 44
An interrupt process such as a shutter delay operation is executed according to the delay time set by the timer 38. The serial I / O 45 is connected to a serial I / O of an electronic device connected to the outside via a bus 47.
Image data and control data are transmitted and received according to a predetermined serial communication procedure (for example, RS232C). The SRAM 52 forms a memory area for temporarily storing image data by the memory control unit 33. The CCD driver 53 outputs a frame shift pulse signal and a line transfer pulse signal for controlling operations such as a photoelectric conversion / accumulation period and a transfer timing of accumulated charges in the CCD 11 in accordance with a timing signal input from the timing generator 34. It is generated and output to the CCD 11. The electronic still camera is connected to an external electronic device through each I / O port, and receives an output image form from the external electronic device, so that the CPU 39 can take a captured image based on the received output image form. Optimize your data. First, optimization of the error diffusion process will be described. FIG. 2A is a principle diagram showing an example of the error diffusion method, and is a method in which when a certain pixel is binarized, a difference from the original luminance is diffused to surrounding unprocessed pixels. Here, the bit width of the original image data is 8 bits (256 gradations). That is,
Pixel X is binarized X 0 by binarization threshold T, and X <T
If X 0 = 0 (black) if X ≧ T and X 0 = 255 (white) if X ≧ T, then X−X 0 is the error component. This is diffused to surrounding pixels at a predetermined ratio. In this embodiment, the diffusion amount is controlled by multiplying the error component by the diffusion coefficient K. Diffusion is performed in four directions as shown in the error diffusion filter of FIG. 2B, and the value D ′ (n) of the surrounding pixels D (n) after diffusion is obtained by calculating the coefficient of the corresponding error diffusion filter. Assuming β (n), D ′ (n) = D (n) + β (n) * K * (X−X 0 ), and an error is included when binarizing the pixel D ′ (n). By performing the same processing on the value D '(n), a natural image close to the density gradient of the original image can be obtained. FIG. 2 (b)
In the example of the error diffusion filter, the error of the binarization performed at the pixel X is calculated by using the ratios 7/16, 1/16, 5/16, and 3/16.
To add to surrounding pixels. When the threshold value T is changed, the brightness of the entire output image changes. The smaller the threshold value T, the brighter the image. Also, the diffusion coefficient K
When (0 ≦ K ≦ 1) is changed, the total amount of diffusion increases or decreases and the tone of the output image changes. When K = 0, the image becomes a completely binary image without error diffusion, and becomes closer to a halftone image as the diffusion coefficient K increases. However, the threshold value T and the diffusion coefficient K are set as shown in FIG. The change can be made to look more natural by changing the relation with each other. As described above, since the threshold value T is changed in conjunction with the diffusion coefficient K, there is an advantage that the halftone adjustment of the image can be performed more naturally.
Since half-tone adjustment can be achieved with a simple operation. That is, the ROM 41 of the electronic still camera 1
If there is a table as shown in FIG. 3, the external electronic device may receive either the threshold value T or the diffusion coefficient K. As described above, when error diffusion processing is performed on captured image data, error diffusion processing is performed based on a threshold value or a diffusion coefficient input from an external electronic device. Optimal image data can be output to an external electronic device regardless of the characteristics of the display device of the device, the type of the original image, and the use of the output image. In this embodiment, the pseudo halftone processing is realized by the error diffusion processing. However, the present invention is not limited to this. Pseudo halftone processing such as dither processing may be used. In this case, the threshold value of the dither matrix of a predetermined size, the size of the dither matrix, and the like are input from the external electronic device. Next, a description will be given of an electronic still camera in which the data amount for outputting all or a part of the original image can be arbitrarily changed according to designation from an external electronic device. The external electronic device has a horizontal pixel number H, a vertical pixel number V, a viewpoint (C x , C y ), an aspect ratio A,
The CPU 39 converts the image data of a portion required by the external electronic device into a required data amount based on these parameters, and sends the image data to the external device via each I / O port. The basis of this operation is pixel interpolation calculation as shown in FIGS. 4 (a) and 4 (b). That is, as shown in FIG. 4A, the interpolation data S is obtained by linear approximation of the data P and Q of two pixels. S = (1−d) P + dQ Therefore, as shown in FIG. 4B, in order to obtain the interpolation data S of one point in the area from the data A, B, C, and D of the four neighboring pixels, first, Interpolation data P and Q at two points in the horizontal direction are obtained, and P = (1−x) A + xB Q = (1−x) C + xD Next, a similar operation is performed in the vertical direction to obtain target interpolation data S. S = (1−y) P + yQ In the present embodiment, the space between pixels is divided into 256, and a virtual space of 61440 * 30720 pixels is generated from the effective pixel number 240 * 120 of the original image data. Next, as shown in FIG. 5, an area K x * centered on the viewpoint (C x , C y ) in this virtual space .
The extraction of an image space to be output after converting Ky to H * V pixels will be described. Assuming that the horizontal direction is the main scanning direction and the vertical direction is the sub-scanning direction from the upper left end of the output screen, data transmission is performed. The first transmission data D (0,0) is as follows.
A point on the virtual space (C x -K x / 2, C y -K y / 2), the next transmission data D (1, 0) becomes K x / H pixels right of the data. Because the vertical direction is the same, transmission data D (i, j) is, D (i, j) = (C x -K x / 2 + i * K x / H, C
represented by y -K y / 2 + j * K y / V). Providing a constant: where, K x, K the K y with the aspect ratio A and the magnification Z mentioned above x = k * A * H / Z K y = k * a * V / Z k. However, the aspect ratio A is defined as A = px / py when the horizontal pixel pitch is px and the vertical pixel pitch is py. A in the equation is the aspect ratio of the CCD itself. When the magnification Z is changed, zoom-in / out is performed. When the view points C x and C y are changed, vertical / zoom-out is performed.
Horizontal scrolling can be easily realized. As described above, an arbitrary portion of the original image data can be output with an arbitrary number of pixels, so that an electronic camera capable of supporting external electronic devices of various specifications can be configured. Next, a description will be given of an electronic still camera in which when a part of a captured image is read out, the subject in the cut out part is subjected to exposure correction so as to be properly exposed and output. That is, as shown in FIG.
39 calculates an average value A of the central portion AE calculation area of the photographed original image data, and performs exposure control so that the average value A becomes equal to a predetermined appropriate exposure value. As shown in FIG. 7, the original image data in the designated view area is enlarged / reduced as necessary with respect to the image data subjected to the exposure control by the proper exposure, and is output as a cut-out image.
For the cut-out view area, the average value B of the central portion AE calculation area in the view area is calculated in the same manner as at the time of shooting. By performing gain correction of the image data in the view area by A / B times, the cut-out image can be output in a state equivalent to the proper exposure. in this case,
Limit the gain so that the image is not unnatural due to extreme light and darkness. As described above, since the function for correcting the gain of the image data in the view area is provided, there is an advantage that the cut-out image can be output in a state equivalent to the proper exposure, such as zoom-in / out and vertical / horizontal scroll. Accordingly, an appropriate image can be always output even when the view area changes every moment, so that the electronic still camera can be enhanced in function. FIG. 8 shows an example in which the electronic still camera 1 of the present invention is connected to a label printer 61. In the figure, a label printer 61 includes a liquid crystal display screen 62 for displaying image data input from the electronic still camera 1, an operation state of the label printer 61, a contrast dial 63 for adjusting the brightness of the liquid crystal display screen 62, and a label. An operation key unit 64 for inputting a print operation, a communication operation with the electronic still camera 1 and the like, a character input unit 65 for inputting characters, a power key unit 66 for turning on / off the power, and the like. And it is connected to the electronic still camera 1 of the present invention by a cable. In the above configuration, the error diffusion coefficient K depends on the characteristics of the liquid crystal panel (display device) of the liquid crystal display screen 62, the type of the original image (for example, a natural image) and the use of the output image, and the image memory of the label printer 61. (C x , C y ), area (K x , K y ), aspect ratio A, magnification based on the capacity of the liquid crystal panel, the display size that can be displayed on the liquid crystal panel of the liquid crystal display screen 62, the area required as image data, and the like. Z and the like are input to the electronic still camera 1 via a cable, and based on the input data, the electronic still camera 1 performs optimal error diffusion processing and view processing for the label printer 61 based on the error diffusion coefficient K as described above. point (C x, C y), the area (K x, K y), the aspect ratio a, the output image data of the optimum data amount and the optimum exposure value based on the ratio Z It is possible to force. FIGS. 9 and 10 show the electronic still camera 1 of the present invention connected to electronic notebooks 67 and 69.
FIG. 10 shows an electronic still camera 1 formed integrally with an electronic organizer 67. FIG.
Is connected to the electronic organizer 69 by a cable. Also in this embodiment, as described above, the error diffusion coefficient K according to the characteristics of the liquid crystal display panels 68 and 70, the type of the original image (for example, a natural image) and the use of the output image, and the image memories of the electronic notebooks 67 and 69 Of the viewpoint (C x , C x) based on the capacity of the
C y ), area (K x , K y ), aspect ratio A, magnification Z
Electronic still camera 1 directly or via a cable
, And based on the input data, the electronic still camera 1 performs the optimal error diffusion processing for the electronic notebooks 67 and 69 based on the error diffusion coefficient K as described above, the view points (C x , C y ), Output image data having an optimal data amount and an optimal exposure value can be output based on the area ( Kx , Ky ), the aspect ratio A, and the magnification Z. Thus, the electronic still camera 1 of the present invention can
It may be formed integrally or detachably. As described above, according to the present invention, the function of correcting the gain of the data in the view area is provided.
This has the advantage that the cropped image can be output in the same state as the appropriate exposure, and the appropriate image can always be output even when the view area changes every moment due to zooming in / out, vertical / horizontal scrolling, etc. Can be achieved.

【図面の簡単な説明】 【図1】本発明の一実施例を示す構成説明図である。 【図2】本発明に係る誤差拡散法の一例を示す構成説明
図である。 【図3】本発明に係る拡散係数としきい値の関係の一例
を示す特性図である。 【図4】本発明に係る画素補間演算の一例を示す説明図
である。 【図5】本発明に係る画素空間の切り出しの一例を示す
説明図である。 【図6】本発明に係るAE演算領域の一例を示す説明図
である。 【図7】本発明に係る画素空間の切り出しの他の例を示
す説明図である。 【図8】本発明の電子スチルカメラをラベルプリンタに
接続した例を示す構成図である。 【図9】本発明の他の使用例として電子手帳に一体的に
接続した例を示す構成図である。 【図10】本発明の他の使用例として電子手帳にケーブ
ルにより接続した例を示す構成図である。 【符号の説明】 1…電子スチルカメラ、11…フレームトランスファー
型CCD、31…A/Dコンバータ、32…CDS回
路、33…メモリ制御部、34…タイミング発生器、3
5…レジスタ、36…積分処理回路、37…カウンタ、
38…タイマ、39…CPU、40…パラレルI/O、
41…ROM、42…RAM、43…I/Oポート、4
4…割込処理回路、45…シリアルI/O、46…シス
テムックロック発生部、47…バス、51…アンプ、5
2…SRAM、53…CCDドライバ。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration explanatory view showing one embodiment of the present invention. FIG. 2 is an explanatory diagram illustrating an example of an error diffusion method according to the present invention. FIG. 3 is a characteristic diagram showing an example of a relationship between a diffusion coefficient and a threshold according to the present invention. FIG. 4 is an explanatory diagram showing an example of a pixel interpolation calculation according to the present invention. FIG. 5 is an explanatory diagram showing an example of clipping a pixel space according to the present invention. FIG. 6 is an explanatory diagram showing an example of an AE calculation area according to the present invention. FIG. 7 is an explanatory diagram showing another example of cutting out a pixel space according to the present invention. FIG. 8 is a configuration diagram showing an example in which the electronic still camera of the present invention is connected to a label printer. FIG. 9 is a configuration diagram showing an example in which the present invention is connected to an electronic organizer as another example of use of the present invention. FIG. 10 is a configuration diagram showing an example in which a cable is connected to an electronic organizer as another use example of the present invention. [Description of Signs] 1 ... Electronic still camera, 11 ... Frame transfer type CCD, 31 ... A / D converter, 32 ... CDS circuit, 33 ... Memory control unit, 34 ... Timing generator, 3
5 register, 36 integration circuit, 37 counter
38 timer, 39 CPU, 40 parallel I / O,
41 ROM, 42 RAM, 43 I / O port, 4
4 interrupt processing circuit, 45 serial I / O, 46 system clock generator, 47 bus, 51 amplifier, 5
2 ... SRAM, 53 ... CCD driver.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 5/228 H04N 5/225 H04N 5/243 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 5/228 H04N 5/225 H04N 5/243

Claims (1)

(57)【特許請求の範囲】 【請求項1】 撮像素子と、 これを駆動し画像を撮影する撮影手段と、 上記撮像素子の出力をデジタル値に変換する手段と、 変換したデータを蓄積するメモリと、 蓄積したデータを処理するCPUと、外部機器を接続し、 上記CPUを外部機器からの指定に
基づいて制御するとともに処理したデータを前記外部機
器へ出力するための通信手段と、 を有し、 上記撮影手段は露出制御手段を有し、上記CPUは得ら
れたデータを基に適正露出となるようこれを制御する
とともに、前記外部機器からの指定に基づいて、原画デ
ータの任意の部分を切り出して該外部機器へ出力する機
能を有するとともに、切り出された画像データに対して
利得補正制御を施して適正露出とほぼ同等な状態に出力
するようにしたことを特徴とする電子カメラ。
(57) [Claim 1] An imaging device, imaging means for driving the imaging device to capture an image, means for converting the output of the imaging device into a digital value, and storing the converted data. A memory, a CPU that processes accumulated data, and an external device are connected, and the CPU can be specified by the external device.
The external machine processed data controls based
A communication means for outputting to the vessel, and the above photographing means has an exposed control means, for controlling the so that the CPU becomes appropriate exposure based on the data obtained
Together, on the basis of the specification from an external device, and has a function of cutting out any portion of the original image data to output to the external device, the proper exposure by performing gain correction control for clipped image data substantially An electronic camera characterized by outputting in an equivalent state.
JP22905398A 1993-06-10 1998-08-13 Electronic camera Expired - Lifetime JP3513833B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22905398A JP3513833B2 (en) 1993-06-10 1998-08-13 Electronic camera

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP5138499A JPH06350888A (en) 1993-06-10 1993-06-10 Electronic still camera
JP22905398A JP3513833B2 (en) 1993-06-10 1998-08-13 Electronic camera

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5138499A Division JPH06350888A (en) 1993-06-10 1993-06-10 Electronic still camera

Publications (2)

Publication Number Publication Date
JPH11136561A JPH11136561A (en) 1999-05-21
JP3513833B2 true JP3513833B2 (en) 2004-03-31

Family

ID=32095284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22905398A Expired - Lifetime JP3513833B2 (en) 1993-06-10 1998-08-13 Electronic camera

Country Status (1)

Country Link
JP (1) JP3513833B2 (en)

Also Published As

Publication number Publication date
JPH11136561A (en) 1999-05-21

Similar Documents

Publication Publication Date Title
US6778216B1 (en) Method and apparatus for digital camera real-time image correction in preview mode
US7301563B1 (en) Image pickup apparatus
JP3948229B2 (en) Image capturing apparatus and method
US20010055428A1 (en) Image signal processor with adaptive noise reduction and an image signal processing method therefor
EP0133586A1 (en) Apparatus and method for producing a still image video signal using solid-state imaging device
JP4479527B2 (en) Image processing method, image processing apparatus, image processing program, and electronic camera
JPH0865546A (en) Circuit and method for generating shading correction coefficient
US6762792B1 (en) Digital still camera
JP2006345388A (en) Imaging apparatus
JPH0638043A (en) Quantization circuit
JP3513833B2 (en) Electronic camera
JPH06350888A (en) Electronic still camera
JP6786273B2 (en) Image processing equipment, image processing methods, and programs
JP3577525B2 (en) Electronic camera
JPH11155108A (en) Video signal processor and processing method and video camera using the same
JP2000152260A (en) Drive method for image pickup element and image pickup device
JP4244218B2 (en) Imaging signal processing circuit and camera system
JP3822486B2 (en) Electronic camera and signal processing method
JP3304685B2 (en) Digital camera
JPH0750786A (en) Dynamic range expanding method for image pickup element
KR100602705B1 (en) Apparatus for processing video signal in handset with camera function and method thereof
JPH09130603A (en) Shading correction device
KR100338073B1 (en) Color Image Scanning Method Using Mono Image Sensor
JP4027545B2 (en) Digital camera and method for photographing characters
JP3852821B2 (en) Solid-state imaging device

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031229

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

Free format text: PAYMENT UNTIL: 20090123

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090123

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100123

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110123

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110123

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120123

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130123

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130123

Year of fee payment: 9

EXPY Cancellation because of completion of term