JP3717720B2 - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP3717720B2
JP3717720B2 JP23706099A JP23706099A JP3717720B2 JP 3717720 B2 JP3717720 B2 JP 3717720B2 JP 23706099 A JP23706099 A JP 23706099A JP 23706099 A JP23706099 A JP 23706099A JP 3717720 B2 JP3717720 B2 JP 3717720B2
Authority
JP
Japan
Prior art keywords
interpolation
image
unit
data
electronic camera
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
JP23706099A
Other languages
Japanese (ja)
Other versions
JP2001061099A (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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP23706099A priority Critical patent/JP3717720B2/en
Priority to US09/643,800 priority patent/US6906748B1/en
Publication of JP2001061099A publication Critical patent/JP2001061099A/en
Application granted granted Critical
Publication of JP3717720B2 publication Critical patent/JP3717720B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Studio Circuits (AREA)
  • Television Signal Processing For Recording (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、所望の画像を撮像し、この画像情報を記録・表示することが可能な電子カメラに関する。
【0002】
【従来の技術】
いわゆる電子カメラにおいて、撮影レンズ系を介して得られた被写体像はCCD(固体撮像素子)によって電気信号に変換され、さらにA/D変換器によってデジタル画像信号に変換される。これにより、LCDへの画像表示、小型記録メディアへの記録等を行うために種々の画像処理を施すことが可能な被写体像の画像情報が得られる。例えば画像記録に関し、被写体像の画像情報は、所定の画像処理が施されたのち、例えばJPEG(Joint Photographic Coding Experts Group)方式の画像圧縮伸長回路に供給される。JPEG方式はカラー静止画像のデータ圧縮方式の一つとしてよく知られており、人間の視覚特性に基づいて特定の画像情報を削減し、画像の記憶容量を少なくする。圧縮伸長回路により圧縮された画像情報は所定のインターフェースを介してフラッシュメモリ、スマートメディア等の小型記録メディアに記録される。
【0003】
このような従来の電子カメラにおいては、言うまでもなく画像記録における画質向上が重要な課題であり、固体撮像素子の高精細化、演算プロセッサの能力向上とあいまって不断の研究開発が進められている。
【0004】
画質向上を実現するためには、例えば、電子カメラに新たな専用の処理系を実装することが考えられる。しかしながら、特に普及型の電子カメラでは極めて厳格なコストを要求される
【0005】
【発明が解決しようとする課題】
本発明は上記事情を考慮してなされたものであり、高画質の画像記録を行い得る安価な構成の電子カメラを提供することを目的とする。
【0006】
【課題を解決するための手段】
本発明は、上記の課題を解決するために次のような手段を講じた。
(1)本発明の電子カメラは、被写体光を撮像手段により受光し、これにより電子的な画像情報として得られた被写体像を電子的に記録可能な電子カメラであって、前記撮像手段により得られた複数画素の画像データを画像処理する画像処理手段と、前記画像データに対して画素数を変更する際に画素補間をするときの補間位置を算出する補間位置算出部と、前記画像データのn点とn+1点との間を予め等分割し、この等分割した各位置に対応するように予め設けられた補間係数を記憶する補間係数記憶部と、前記補間位置算出部での算出によって前記予め等分割した位置とは異なる位置に得られた補間位置を、前記予め等分割された位置のうち前記算出された画素補間位置に最も近い分割位置に更に修正する補間位置修正部と、前記修正された補間位置及びこの補間位置に対応するように予め設けられた補間係数とにより前記画像データの補間演算を行う補間演算部とを有し、該補間演算部により少なくとも3次以上の高次多項式の近似式による補間処理を行う補間処理手段と、前記補間処理手段により補間処理をされた画像データを圧縮処理する画像圧縮処理手段と、を具備することを特徴とする。
(2)本発明の電子カメラは、上記(1)に記載の電子カメラであって、且つ前記画像処理手段は、前記撮像手段に設けられた撮像素子から出力された色毎のデータを擬似的に3板化する処理を行うことを特徴とする。
【0007】
(3)本発明の電子カメラは、上記(1)に記載の電子カメラであって、且つ前記画像処理手段は、前記撮像手段により得られた画像データから変換された色相データのサンプリングレートを変換する処理を行うことを特徴とする。
【0008】
【発明の実施の形態】
図面を参照して本発明の実施の形態を説明する。
【0009】
図1は、本発明の一実施形態に係る電子カメラの概略構成を示す概略ブロック図である。
【0010】
撮影レンズ系11を通過した被写体の画像は、撮像素子12で電気信号に変換される。撮像素子12で変換された電気信号は、撮像回路13でアナログ画像信号に変換された後に、A/D変換器14によってデジタル画像信号に変換される。そして、このデジタル画像信号は、所定の処理を経て、例えば、外部メモリである着脱可能な着脱メモリ20(例えば、フラッシュメモリ、スマートメディア等)にインターフェース(I/F)21を介して記録される。なお、着脱メモリ20は通常カードスロット22に装着される。また、電子カメラは、例えばランダムアクセスメモリ(RAM)等からなり高速に動作するバッファメモリ30を有している。このバッファメモリ30は、画像の圧縮伸長における作業用メモリとして、或いは一時的な画像記憶手段としての高速バッファとして使用される。バッファメモリ30の記録領域は、本発明においては、元画像用の記録領域31と、キュービック補間画像用の記録領域32とを有している。なお、キュービック補間画像用の記録領域32をバッファメモリ30から独立したメモリにより構成しても良く、例えばキュービック補間処理用の演算回路(又は、IC)の内蔵メモリに設けても良い。
【0011】
圧縮伸長回路40は、デジタル画像信号の圧縮を行ったり、圧縮された画像信号を展開(伸長)するためのものである。
【0012】
また、電子カメラには、通常、画像表示用のLCD50(液晶表示装置)が搭載されており、このLCD50は着脱メモリ20に記録された画像の確認や、撮影しようとする画像を表示する。即ち、バッファメモリ30からの画像情報が一旦ビデオメモリ51に取り込まれ、次にビデオ出力回路52によってこれがビデオ画像に変換されて画像表示LCD50により表示される。また、ビデオ出力回路52の出力はビデオ出力用の外部端子53を介して外部表示装置にビデオ画像が出力できるようになっている。
【0013】
シスコン70は、電子カメラの各機器の全体の制御を行うもので、その機能の詳細は後述する。シスコン70は、レリーズからなる操作部73からの入力を受け付けてレリーズの操作に応じて撮像を行ったり、画像処理を指示したりする。また、シスコン70は、被写体の撮像時における光量が不足している場合には、ストロボ発光部71に依頼してストロボをオンにして撮影するように制御する。また、シスコン70には図示しない撮影距離検出部があり、被写体との距離を検出する機能を有する。また、操作部73は、各種モードの設定も行うことができるようになっており、そのモード設定はモードLCDに表示される。
【0014】
外部インターフェース(外部I/F)61は、外部入出力端子60に接続されて、外部機器とのデータの入出力を行う。この外部入出力端子60には、例えばパーソナルコンピュータ等が接続され、着脱メモリ20内の画像をパーソナルコンピュータ等に転送したり、パーソナルコンピュータ等から画像データを入力したりする。
【0015】
また、電子カメラの各部は基本的に電池により駆動されるようになっており、電源部80を介してカメラ電池81からの電力がカメラ回路を含む各部に供給される。また、カメラ電池81は電源部80からの制御により充電可能なものとなっている。
【0016】
ところで、シスコン70には、本発明の特徴点に係る構成要素として、画素数変換処理部701と、キュービック補間処理部702とを備える。
【0017】
画素数変換処理部701は、被写体像のデジタル画像信号をA/D変換器14から入力し、該デジタル信号が示す画像の画素数を所望の画素数に変換する。このような画素数変換処理部701による画素数変換処理、すなわち画像情報の情報量変更処理にキュービック補間処理が適用されている。画像情報量の変更とは、ここでは、所定の画素データを間引きすること、所定の画素データ同士を加算すること、及び画素データを移動することを含む。
【0018】
キュービック補間(演算)処理は、3次畳み込み補間演算処理とも称され、一般に、見た目にきれいな高画質の画像が得られる補間処理手法である。なお、本願発明はキュービック補間演算処理のみに限定されず、少なくとも3次以上の高次多項式の近似式による異なる補間演算処理が適用されても良い。
【0019】
図2は、本実施形態の要部に関するより詳細な構成を示すブロック図である。
【0020】
同図に示されるように、A/D変換器14の出力段に、RGB3板化処理部100、色空間変換部、サンプリングレート変換部101、拡大/縮小処理部102、および圧縮/伸長(JPEG)部40が接続されている。これらRGB3板化処理部100、色空間変換部、サンプリングレート変換部101、拡大/縮小処理部102、および圧縮/伸長(JPEG)部40は共通のバスに接続されており、このバスを介してバッファメモリ30の記録対象である元画像やキュービック補間画像に対しアクセス可能となっている。
【0021】
そして、上記RGB3板化処理部100によるRGBデータの3板化処理、サンプリングレート変換部101による画像情報のサンプリングレート変換処理、および拡大/縮小処理部102による画像情報の拡大/縮小処理の少なくとも一部(本実施形態ではこれら3つの処理全て)にキュービック補間処理が適用されている。
【0022】
キュービック補間処理の基本概念について、1次元イメージに基づいて説明する。
【0023】
図3は、1次元の補間モデルを示す図である。図3の(a)に示すように、従来では、2点間を結ぶ直線によって所望の位置における出力値を計算する直線補間が一般的であった。このようにすると、計算に必要な既知の出力値を有する位置は2点でよいが、あくまでも2点間の比例平均の出力値を求めるものであるので、例えば、その2点間に最大値又は最小値がある場合は補間点を適切に検出できないことになる。本発明では、この補間精度を上げるために、少なくとも3次以上の多次多項式による近似式による補間演算(特に本実施形態ではキュービック補間演算)を用いて所望の位置における出力値を得ている。図3の(b)は、4点の値から3次多項式の係数を求め、求められた3次多項式による近似式に位置データを入れて出力を得ている例を示す。図3の(b)において、位置n−1、n、n+1、n+2の4点の出力値から3次多項式の係数を求め、その3次多項式から位置x′における出力値を求めることによって所望の位置における補間値が得られることになる。これを例えば、直線補間で行った場合を考慮すると、最大値をとる位置はn+1になるので、図3の(b)の場合と異なり、正確な位置が得られない。
【0024】
図4は、キュービック補間処理部の構成を示すブロック図である。キュービック補間処理部702は、補間位置算出部91と、補間位置修正部92と、補間係数テーブル93と、補間演算部94とにより構成され、次のように動作する。
【0025】
バッファメモリ30の元画像用の記録領域31に記録されている元画像データの例えば4×4=16画素分の画像データが補間位置算出部91に入力される。補間位置算出部91は、入力された元画像データに基づいて、例えば、図3(b)における、n点とn+1点との間の補間位置x’を算出する。次に、補間位置修正部92は、演算を簡略化するために、例えば、n点とn+1点との間を16等分した場合におけるx’点に最も近い点に補間位置を修正する。このように補間位置を修正することにより、予め用意された補間係数テーブル93を用いて演算が行えるようになる。修正された補間位置に関して補間係数テーブル93から所定の補間係数が読み出されるとともに、補間演算部94は読み出された補間係数を上記4×4の画素データのそれぞれに適用し、所定の演算式に従って画素データのレベル値(補間画素データ)を算出する。補間された画素データはキュービック補間画像用の記録領域32に記録される。
【0026】
このようなキュービック補間処理部702によれば、複雑な計算を行うことなく、高速に補間位置における出力値が算出可能となる。
【0027】
図5は、RGB3板化を説明するための図である。
【0028】
例えば撮像素子12により図5(a)に示すようなRGBデータが得られたとする。このRGBデータでは「R(ed)」,「G(reen)」,「B(lue)」それぞれのデータが1画素を挟んで離散的な配置となっているが、図5(b)に示すように、全画素について1画素毎に「R」,「G」,「B」のデータを用意する必要がある。なお、図5(c)は、Y=aR+bG+cB,cb=α(B−Y),Cr=β(R−Y)によりRGB表現が輝度−色差表現に変換された場合を示す。この輝度−色差表現に対するキュービック補間処理については後述する。
【0029】
RGB3板化処理部100は、図5(b)に示すようなデータを得るべく、データが存在しない色のデータを補間により得る。この場合の補間処理に上述したキュービック補間処理部702による補間処理が適用される。
【0030】
図5(d)は、補間により求める画素と、その際に用いられる画素の範囲を示している。図5(d)において、括弧で括られたRはデータが存在しない画素である。
【0031】
図5(d)〜(f)において、RGBの括弧内の部分の(R)(G)(B)はそれぞれ当該色情報がないことを示している。図5の(d)は、R(レッド)の補間の様子を示す図であって、この場合において、R(レッド)の色情報を有する周りの点▲1▼と点▲2▼及び点▲3▼におけるR(レッド)の色情報は、図中破線Aで示したデータ(16個のRのデータ)を用いて補間できる。また、同様にして、点▲4▼、点▲5▼及び点▲6▼におけるR(レッド)の色情報は、図中破線Bで示したデータで求めることができる。このような補間方法により、全ての格子点の色情報が求められる。次に、G(グリーン)の場合には、Gのデータのある画素とない画素とが交互に配置されているので、例えば、破線C内の16個のデータを用いて、図中の斜線で示した(G)のデータが得られる。なお、図5の(f)に示すB(ブルー)の場合には、配置はR(レッド)の場合と同様であるので、R(レッド)と同様な方法によって画素のない部分におけるデータを補間することができる。この場合において、補間係数テーブルとして用意されているのは、16画素(3次多項式の2次元補間であれば、上記のように16個のデータ)分であるので、補間係数テーブルとしては小さいテーブルを用意すれば良く、更にテーブルによって補間係数を与えているので、複雑な計算を要することがないので、小さな回路で、擬似3板化が実現できる。
【0032】
図6は、サンプリングレート変換を説明するための図である。
【0033】
RGBデータが上述したように色空間変換部により輝度及び色相(色差)データに変換され、例えば図6に示すように、輝度データ200と、いわゆる「444」相当の色相データ201とが得られているとする。サンプリングレート変換部101は、この「444」相当の色相データ201から画素データの間引きによりX方向の画素数を1/2にして「422」相当の色相データを得る。あるいは、「444」相当の色相データ201から画素データの間引きにより、X方向の画素数を1/2にすると共にY方向の画素数についてもこれを1/2にして「420」相当の色相データを得る。このような画素数変換において、サンプリング位相の設定によっては、存在しない空間における画像データを補間生成する必要があり、キュービック補間処理部702による補間処理が適用され、存在しない画素のデータが補間される。
【0034】
図7は、画像の拡大/縮小を説明するための図である。
【0035】
図7において、白丸は拡大/縮小処理前の画素を示しており、黒丸(P11,P12,P13,P21,P22,...)は拡大/縮小処理後の画素を示している。同図から明らかなように、X座標0〜4までの区間の画素の配列ピッチは白丸の画素と黒丸の画素とで異なっており、黒丸の画素の方が白丸の画素よりもピッチが荒く画素数が減少している。つまり、図7は画像を縮小した場合を示している。画像拡大についてはこの場合と逆になる。
【0036】
拡大/縮小処理部102は、与えられたの拡大/縮小率に応じて画素数を変更するが、このとき、上記と同様にキュービック補間処理部702による補間処理が適用される。
【0037】
以上説明したように、RGB3板化処理、サンプリングレート変換処理、拡大/縮小処理など、画素数を変更する処理にキュービック補間演算処理が適用されているので、画質向上のための専用のハードウェアを付加することなくシステム構成の制約を受けないで安価に高画質の画像を記録可能になる。
【0038】
また、複雑な演算を行わず予め用意されたテーブル(補間係数テーブル)を参照して補間演算を実行するので、高速処理が可能になると共に、高性能な演算素子などを必要としない。
【0039】
なお、キュービック補間処理は、RGB3板化処理、サンプリングレート変換処理、拡大/縮小処理の全てに適用されなくても良く、例えばサンプリングレート変換処理のみに適用するなど、適用範囲は任意に変更され得る。
【0040】
また、本発明は、上述した実施形態のみに限定されず、種々変形して実施可能である。
【0041】
【発明の効果】
本発明によれば、画素数を変更する際に行われる3次以上の高次多項式の近似式による補間処理を複雑な演算を行わずに行い得る補間処理手段を具備する構成としていることから、高速かつ高精度に画像記録を行い得る電子カメラを提供できる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る電子カメラの概略構成を示す概略ブロック図
【図2】実施形態の要部に関するより詳細な構成を示すブロック図
【図3】1次元の補間モデルを示す図
【図4】キュービック補間処理部の構成を示すブロック図
【図5】RGB3板化を説明するための図
【図6】サンプリングレート変換を説明するための図
【図7】画像の拡大/縮小を説明するための図
【符号の説明】
11…撮影レンズ系、
12…撮像素子、
13…撮像回路、
14…A/D変換器、
20…着脱メモリ、
21…インターフェース(I/F)、
22…カードスロット、
30…バッファメモリ、
31…元画像用の記録領域
32…キュービック補間画像用の記録領域、
40…圧縮伸長回路、
50…LCD、
51…ビデオメモリ、
52…ビデオ出力回路、
53…外部端子、
70…シスコン
73…操作部、
71…ストロボ発光部、
61…外部インターフェース(外部I/F)、
80…電源部、
81…カメラ電池。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic camera capable of capturing a desired image and recording / displaying the image information.
[0002]
[Prior art]
In a so-called electronic camera, a subject image obtained through a photographing lens system is converted into an electrical signal by a CCD (solid-state image sensor), and further converted into a digital image signal by an A / D converter. As a result, image information of a subject image that can be subjected to various image processes for displaying an image on an LCD, recording on a small recording medium, and the like is obtained. For example, regarding image recording, image information of a subject image is supplied to an image compression / decompression circuit of, for example, a JPEG (Joint Photographic Coding Experts Group) system after performing predetermined image processing. The JPEG method is well known as a data compression method for color still images, and reduces specific image information based on human visual characteristics and reduces image storage capacity. The image information compressed by the compression / decompression circuit is recorded on a small recording medium such as a flash memory or smart media via a predetermined interface.
[0003]
In such a conventional electronic camera, needless to say, improvement of image quality in image recording is an important issue, and continuous research and development are being promoted in combination with higher definition of the solid-state imaging device and improvement of the performance of the arithmetic processor.
[0004]
In order to improve the image quality, for example, it is conceivable to install a new dedicated processing system in the electronic camera. However, extremely strict costs are required especially for popular electronic cameras.
[0005]
[Problems to be solved by the invention]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an inexpensive electronic camera that can perform high-quality image recording.
[0006]
[Means for Solving the Problems]
The present invention has taken the following measures in order to solve the above problems.
(1) The electronic camera of the present invention is an electronic camera that can receive subject light by an imaging unit and electronically record a subject image obtained as electronic image information, and is obtained by the imaging unit. Image processing means for performing image processing on the obtained image data of a plurality of pixels, an interpolation position calculation unit for calculating an interpolation position when performing pixel interpolation when changing the number of pixels for the image data, The n-point and n + 1 points are equally divided in advance, and an interpolation coefficient storage unit that stores interpolation coefficients provided in advance so as to correspond to the equally divided positions, and the calculation by the interpolation position calculation unit An interpolation position correction unit that further corrects an interpolation position obtained at a position different from a previously equally divided position to a divided position closest to the calculated pixel interpolation position among the previously equally divided positions; An interpolation calculation unit that performs an interpolation calculation of the image data using a predetermined interpolation position and an interpolation coefficient that is provided in advance so as to correspond to the interpolation position. Interpolation processing means for performing interpolation processing using the approximate expression and image compression processing means for compressing image data subjected to interpolation processing by the interpolation processing means .
(2) The electronic camera according to the present invention is the electronic camera according to (1) above, and the image processing unit simulates data for each color output from an image sensor provided in the imaging unit. A process of forming three plates is performed .
[0007]
(3) The electronic camera of the present invention is the electronic camera according to (1) above, and the image processing unit converts a sampling rate of hue data converted from the image data obtained by the imaging unit. It is characterized by performing the process .
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described with reference to the drawings.
[0009]
FIG. 1 is a schematic block diagram showing a schematic configuration of an electronic camera according to an embodiment of the present invention.
[0010]
The image of the subject that has passed through the photographic lens system 11 is converted into an electrical signal by the image sensor 12. The electric signal converted by the image pickup device 12 is converted into an analog image signal by the image pickup circuit 13 and then converted into a digital image signal by the A / D converter 14. Then, the digital image signal is recorded through a predetermined process, for example, on an attachable / detachable removable memory 20 (for example, a flash memory, smart media, etc.), which is an external memory, via an interface (I / F) 21. . Note that the removable memory 20 is normally mounted in the card slot 22. Further, the electronic camera has a buffer memory 30 which is composed of, for example, a random access memory (RAM) and operates at high speed. The buffer memory 30 is used as a working memory for image compression / decompression, or as a high-speed buffer as temporary image storage means. In the present invention, the recording area of the buffer memory 30 has an original image recording area 31 and a cubic interpolated image recording area 32. The cubic interpolated image recording area 32 may be constituted by a memory independent of the buffer memory 30, and may be provided, for example, in a built-in memory of an arithmetic circuit (or IC) for cubic interpolation processing.
[0011]
The compression / decompression circuit 40 is for compressing the digital image signal and expanding (decompressing) the compressed image signal.
[0012]
In addition, an LCD 50 (liquid crystal display device) for displaying an image is usually mounted on the electronic camera, and the LCD 50 confirms an image recorded in the removable memory 20 and displays an image to be taken. That is, image information from the buffer memory 30 is once taken into the video memory 51, and then converted into a video image by the video output circuit 52 and displayed on the image display LCD 50. The video output circuit 52 can output a video image to an external display device via an external terminal 53 for video output.
[0013]
The syscon 70 performs overall control of each device of the electronic camera, and details of the function will be described later. The syscon 70 receives an input from the operation unit 73 including a release, and performs imaging according to the release operation or instructs image processing. Further, the system controller 70 controls the strobe light emitting unit 71 to turn on the strobe and take a picture when the amount of light at the time of photographing the subject is insufficient. Further, the syscon 70 has a photographing distance detection unit (not shown) and has a function of detecting the distance to the subject. The operation unit 73 can also set various modes, and the mode settings are displayed on the mode LCD.
[0014]
An external interface (external I / F) 61 is connected to the external input / output terminal 60 to input / output data to / from an external device. For example, a personal computer or the like is connected to the external input / output terminal 60, and an image in the removable memory 20 is transferred to the personal computer or the like, or image data is input from the personal computer or the like.
[0015]
Each part of the electronic camera is basically driven by a battery, and power from the camera battery 81 is supplied to each part including the camera circuit via the power supply unit 80. The camera battery 81 can be charged by control from the power supply unit 80.
[0016]
Incidentally, the syscon 70 includes a pixel number conversion processing unit 701 and a cubic interpolation processing unit 702 as components related to the feature point of the present invention.
[0017]
The pixel number conversion processing unit 701 receives the digital image signal of the subject image from the A / D converter 14 and converts the number of pixels of the image indicated by the digital signal into a desired number of pixels. Cubic interpolation processing is applied to such pixel number conversion processing by the pixel number conversion processing unit 701, that is, image information information amount changing processing. Here, the change of the image information amount includes thinning out the predetermined pixel data, adding the predetermined pixel data, and moving the pixel data.
[0018]
Cubic interpolation (calculation) processing is also referred to as cubic convolution interpolation calculation processing, and is generally an interpolation processing method that can provide a visually high-quality image. Note that the present invention is not limited only to cubic interpolation calculation processing, and different interpolation calculation processing based on an approximate expression of a higher-order polynomial of at least third order may be applied.
[0019]
FIG. 2 is a block diagram showing a more detailed configuration regarding the main part of the present embodiment.
[0020]
As shown in the figure, at the output stage of the A / D converter 14, an RGB3 plate processing unit 100, a color space conversion unit, a sampling rate conversion unit 101, an enlargement / reduction processing unit 102, and a compression / decompression (JPEG) ) Part 40 is connected. These RGB3 plate processing unit 100, color space conversion unit, sampling rate conversion unit 101, enlargement / reduction processing unit 102, and compression / decompression (JPEG) unit 40 are connected to a common bus, via this bus. Access to the original image and the cubic interpolated image to be recorded in the buffer memory 30 is possible.
[0021]
Then, at least one of RGB data three-plate processing by the RGB three-plate processing unit 100, sampling rate conversion processing of image information by the sampling rate conversion unit 101, and enlargement / reduction processing of image information by the enlargement / reduction processing unit 102 is performed. The cubic interpolation process is applied to the unit (all three processes in this embodiment).
[0022]
The basic concept of cubic interpolation processing will be described based on a one-dimensional image.
[0023]
FIG. 3 is a diagram illustrating a one-dimensional interpolation model. As shown in FIG. 3A, conventionally, linear interpolation for calculating an output value at a desired position using a straight line connecting two points is generally used. In this way, the position having the known output value necessary for the calculation may be two points. However, since the output value of the proportional average between the two points is only obtained, for example, the maximum value or If there is a minimum value, the interpolation point cannot be detected properly. In the present invention, in order to increase the interpolation accuracy, an output value at a desired position is obtained by using an interpolation calculation (in particular, a cubic interpolation calculation in the present embodiment) by an approximate expression using at least a third-order or higher-order polynomial. FIG. 3B shows an example in which a coefficient of a cubic polynomial is obtained from the values of four points, and position data is put into an approximate expression based on the obtained cubic polynomial to obtain an output. In FIG. 3B, the coefficient of the cubic polynomial is obtained from the output values at the four points at the positions n-1, n, n + 1, and n + 2, and the output value at the position x ′ is obtained from the cubic polynomial. An interpolated value at the position is obtained. Considering the case where this is performed by, for example, linear interpolation, the position where the maximum value is obtained is n + 1. Thus, unlike the case of FIG. 3B, an accurate position cannot be obtained.
[0024]
FIG. 4 is a block diagram illustrating a configuration of the cubic interpolation processing unit. The cubic interpolation processing unit 702 includes an interpolation position calculation unit 91, an interpolation position correction unit 92, an interpolation coefficient table 93, and an interpolation calculation unit 94, and operates as follows.
[0025]
For example, 4 × 4 = 16 pixel image data of the original image data recorded in the original image recording area 31 of the buffer memory 30 is input to the interpolation position calculation unit 91. The interpolation position calculation unit 91 calculates, for example, an interpolation position x ′ between the n point and the n + 1 point in FIG. 3B based on the input original image data. Next, in order to simplify the calculation, the interpolation position correcting unit 92 corrects the interpolation position to a point closest to the x ′ point when, for example, the n point and the n + 1 point are divided into 16 equal parts. By correcting the interpolation position in this way, calculation can be performed using the interpolation coefficient table 93 prepared in advance. A predetermined interpolation coefficient is read from the interpolation coefficient table 93 with respect to the corrected interpolation position, and the interpolation calculation unit 94 applies the read interpolation coefficient to each of the 4 × 4 pixel data, according to a predetermined calculation formula. A level value of pixel data (interpolated pixel data) is calculated. The interpolated pixel data is recorded in the recording area 32 for the cubic interpolated image .
[0026]
According to such a cubic interpolation processing unit 702, the output value at the interpolation position can be calculated at high speed without performing complicated calculations.
[0027]
FIG. 5 is a diagram for explaining RGB3 plate formation.
[0028]
For example, it is assumed that RGB data as shown in FIG. In this RGB data, “R (ed)”, “G (reen)”, and “B (lue)” data are discretely arranged across one pixel, as shown in FIG. Thus, it is necessary to prepare “R”, “G”, and “B” data for each pixel for all pixels. FIG. 5C shows a case where RGB representation is converted into luminance-color difference representation by Y = aR + bG + cB, cb = α (BY), Cr = β (RY). The cubic interpolation process for the luminance-color difference expression will be described later.
[0029]
The RGB3 plate processing unit 100 interpolates color data for which no data exists in order to obtain data as shown in FIG. The interpolation processing by the cubic interpolation processing unit 702 described above is applied to the interpolation processing in this case.
[0030]
FIG. 5D shows a pixel obtained by interpolation and a range of pixels used at that time. In FIG. 5D, R in parentheses is a pixel for which no data exists.
[0031]
5D to 5F, (R), (G), and (B) in the parentheses of RGB indicate that there is no color information. FIG. 5D is a diagram showing how R (red) is interpolated. In this case, the surrounding points {circle around (1)}, {circle around (2)}, and {dot over (▲)} having color information of R (red) are shown. The color information of R (red) in 3 ▼ can be interpolated using data (16 pieces of R data) indicated by a broken line A in the figure. Similarly, the color information of R (red) at points (4), (5) and (6) can be obtained from the data indicated by the broken line B in the figure. By such an interpolation method, color information of all grid points is obtained. Next, in the case of G (green), pixels with and without G data are alternately arranged. For example, using the 16 data in the broken line C, the hatched lines in the figure The data (G) shown is obtained. In the case of B (blue) shown in (f) of FIG. 5, the arrangement is the same as in the case of R (red), and therefore data in a portion without pixels is interpolated by the same method as R (red). can do. In this case, since the interpolation coefficient table is prepared for 16 pixels (16 data as described above in the case of two-dimensional interpolation of a cubic polynomial), a small table is used as the interpolation coefficient table. In addition, since the interpolation coefficient is given by a table, no complicated calculation is required, so that a pseudo three-plate configuration can be realized with a small circuit.
[0032]
FIG. 6 is a diagram for explaining the sampling rate conversion.
[0033]
As described above, the RGB data is converted into luminance and hue (color difference) data by the color space conversion unit, and for example, as shown in FIG. 6, luminance data 200 and hue data 201 corresponding to so-called “444” are obtained. Suppose that The sampling rate conversion unit 101 obtains hue data corresponding to “422” by halving the number of pixels in the X direction by thinning out pixel data from the hue data 201 corresponding to “444”. Alternatively, by thinning out the pixel data from the hue data 201 corresponding to “444”, the number of pixels in the X direction is halved and the number of pixels in the Y direction is also halved, and hue data corresponding to “420” Get. In such pixel number conversion, depending on the setting of the sampling phase, it is necessary to interpolate and generate image data in a non-existing space, and interpolation processing by the cubic interpolation processing unit 702 is applied to interpolate nonexistent pixel data. .
[0034]
FIG. 7 is a diagram for explaining enlargement / reduction of an image.
[0035]
In FIG. 7, white circles indicate pixels before enlargement / reduction processing, and black circles (P11, P12, P13, P21, P22,...) Indicate pixels after enlargement / reduction processing. As is clear from the figure, the arrangement pitch of the pixels in the section from the X coordinate 0 to 4 is different between the white circle pixels and the black circle pixels, and the black circle pixels are larger in pitch than the white circle pixels. The number is decreasing. That is, FIG. 7 shows a case where the image is reduced. The image enlargement is the reverse of this case.
[0036]
The enlargement / reduction processing unit 102 changes the number of pixels in accordance with the given enlargement / reduction rate. At this time, the interpolation processing by the cubic interpolation processing unit 702 is applied as described above.
[0037]
As described above, since cubic interpolation calculation processing is applied to processing for changing the number of pixels such as RGB3 plate processing, sampling rate conversion processing, enlargement / reduction processing, etc., dedicated hardware for improving image quality is used. Without adding, it is possible to record high-quality images at low cost without being restricted by the system configuration.
[0038]
In addition, since the interpolation calculation is executed by referring to a previously prepared table (interpolation coefficient table) without performing a complicated calculation, high-speed processing is possible and a high-performance calculation element is not required.
[0039]
Note that the cubic interpolation processing does not have to be applied to all of the RGB3 plate processing, the sampling rate conversion processing, and the enlargement / reduction processing. For example, the application range can be arbitrarily changed, such as being applied only to the sampling rate conversion processing. .
[0040]
Further, the present invention is not limited to the above-described embodiments, and can be implemented with various modifications.
[0041]
【The invention's effect】
According to the present invention, it is configured to include an interpolation processing means that can perform an interpolation process by an approximation expression of a higher order polynomial of the third or higher order that is performed when changing the number of pixels without performing a complicated operation. An electronic camera capable of recording images with high speed and high accuracy can be provided.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram showing a schematic configuration of an electronic camera according to an embodiment of the present invention. FIG. 2 is a block diagram showing a more detailed configuration related to the main part of the embodiment. FIG. FIG. 4 is a block diagram showing the configuration of a cubic interpolation processing unit. FIG. 5 is a diagram for explaining RGB3 plate formation. FIG. 6 is a diagram for explaining sampling rate conversion. FIG. Diagram for explaining reduction [Explanation of symbols]
11 ... Photography lens system,
12: Image sensor,
13: Imaging circuit,
14 ... A / D converter,
20 ... removable memory,
21 ... Interface (I / F),
22: Card slot,
30 ... Buffer memory,
31 ... Original image recording area 32 ... Cubic interpolation image recording area,
40. Compression / decompression circuit,
50 ... LCD,
51 ... Video memory,
52 ... Video output circuit,
53 ... External terminal,
70 ... Syscon 73 ... Operation part,
71 ... Strobe light emitting part,
61 ... External interface (external I / F),
80 ... power supply,
81 ... Camera battery.

Claims (3)

被写体光を撮像手段により受光し、これにより電子的な画像情報として得られた被写体像を電子的に記録可能な電子カメラであって、
前記撮像手段により得られた複数画素の画像データを画像処理する画像処理手段と、
前記画像データに対して画素数を変更する際に画素補間をするときの補間位置を算出する補間位置算出部と、前記画像データのn点とn+1点との間を予め等分割し、この等分割した各位置に対応するように予め設けられた補間係数を記憶する補間係数記憶部と、前記補間位置算出部での算出によって前記予め等分割した位置とは異なる位置に得られた補間位置を、前記予め等分割された位置のうち前記算出された画素補間位置に最も近い分割位置に更に修正する補間位置修正部と、前記修正された補間位置及びこの補間位置に対応するように予め設けられた補間係数とにより前記画像データの補間演算を行う補間演算部とを有し、該補間演算部により少なくとも3次以上の高次多項式の近似式による補間処理を行う補間処理手段と、
前記補間処理手段により補間処理をされた画像データを圧縮処理する画像圧縮処理手段と、
を具備することを特徴とする電子カメラ。
An electronic camera capable of electronically recording a subject image obtained by receiving subject light by an imaging means and thereby obtaining electronic image information,
Image processing means for performing image processing on image data of a plurality of pixels obtained by the imaging means;
An interpolation position calculation unit that calculates an interpolation position when performing pixel interpolation when changing the number of pixels with respect to the image data, and an n point and an n + 1 point of the image data are equally divided in advance. An interpolation coefficient storage unit that stores an interpolation coefficient provided in advance so as to correspond to each divided position, and an interpolation position obtained at a position different from the previously equally divided position by calculation in the interpolation position calculation unit An interpolation position correction unit that further corrects the division position closest to the calculated pixel interpolation position among the previously equally divided positions, the correction interpolation position, and the correction interpolation position and the interpolation position. An interpolation calculation unit that performs an interpolation calculation of the image data using the interpolation coefficient, and an interpolation processing unit that performs an interpolation process using an approximate expression of at least a third-order higher-order polynomial by the interpolation calculation unit;
Image compression processing means for compressing the image data interpolated by the interpolation processing means;
An electronic camera comprising:
前記画像処理手段は、前記撮像手段に設けられた撮像素子から出力された色毎のデータを擬似的に3板化する処理を行うことを特徴とする請求項1に記載の電子カメラ。  The electronic camera according to claim 1, wherein the image processing unit performs a process of quasi-three-plate data for each color output from an image sensor provided in the imaging unit. 前記画像処理手段は、前記撮像手段により得られた画像データから変換された色相データのサンプリングレートを変換する処理を行うことを特徴とする請求項1に記載の電子カメラ。  The electronic camera according to claim 1, wherein the image processing unit performs a process of converting a sampling rate of hue data converted from image data obtained by the imaging unit.
JP23706099A 1999-08-24 1999-08-24 Electronic camera Expired - Lifetime JP3717720B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP23706099A JP3717720B2 (en) 1999-08-24 1999-08-24 Electronic camera
US09/643,800 US6906748B1 (en) 1999-08-24 2000-08-22 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23706099A JP3717720B2 (en) 1999-08-24 1999-08-24 Electronic camera

Publications (2)

Publication Number Publication Date
JP2001061099A JP2001061099A (en) 2001-03-06
JP3717720B2 true JP3717720B2 (en) 2005-11-16

Family

ID=17009833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23706099A Expired - Lifetime JP3717720B2 (en) 1999-08-24 1999-08-24 Electronic camera

Country Status (1)

Country Link
JP (1) JP3717720B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4802944B2 (en) * 2006-08-31 2011-10-26 大日本印刷株式会社 Interpolation calculation device

Also Published As

Publication number Publication date
JP2001061099A (en) 2001-03-06

Similar Documents

Publication Publication Date Title
JP3429061B2 (en) Electronic still camera
EP2191639B1 (en) Correcting imaging device motion during an exposure
US6366318B1 (en) CFA correction for CFA images captured at partial resolution
JPH0759098A (en) Adaptive interpolation device of full-color image by using brightness gradation
US6809765B1 (en) Demosaicing for digital imaging device using perceptually uniform color space
US20100295977A1 (en) Image processor and recording medium
JP4372686B2 (en) Imaging system
JP2000244823A (en) Device for concealing defective pixel of imaging device
US6906748B1 (en) Electronic camera
JP3717720B2 (en) Electronic camera
JP2004242125A (en) Image processor
JP3975033B2 (en) Electronic camera
JP4244218B2 (en) Imaging signal processing circuit and camera system
JP3951993B2 (en) IMAGING DEVICE AND COLOR DATA MEASURING METHOD USED FOR THIS IMAGING DEVICE
JP2005277618A (en) Photography taking apparatus and device and method for correcting shading
US8416313B2 (en) Image processing device for inputting both still picture data and motion picture data and performing a data process
JP2006262382A (en) Image processing apparatus
JP4339671B2 (en) Imaging device
JPH0969971A (en) Electronic camera
JP3368012B2 (en) Image data processing device
JP3615092B2 (en) Electronic camera
JP5572992B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JPH1023448A (en) Color image processor
JP2006139697A (en) Image processor and image processing method
JP3590305B2 (en) Electronic camera

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041025

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20041207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050831

R151 Written notification of patent or utility model registration

Ref document number: 3717720

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20080909

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090909

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090909

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100909

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110909

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120909

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130909

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term