JP2001061092A - Electronic camera - Google Patents

Electronic camera

Info

Publication number
JP2001061092A
JP2001061092A JP11237062A JP23706299A JP2001061092A JP 2001061092 A JP2001061092 A JP 2001061092A JP 11237062 A JP11237062 A JP 11237062A JP 23706299 A JP23706299 A JP 23706299A JP 2001061092 A JP2001061092 A JP 2001061092A
Authority
JP
Japan
Prior art keywords
image
interpolation
recording
electronic camera
display
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.)
Pending
Application number
JP11237062A
Other languages
Japanese (ja)
Inventor
Masaru Kawase
大 川瀬
Masasuke Higuchi
正祐 樋口
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 Optical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP11237062A priority Critical patent/JP2001061092A/en
Priority to US09/643,800 priority patent/US6906748B1/en
Publication of JP2001061092A publication Critical patent/JP2001061092A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve quality of displayed and recorded images and enhance the processing speed of images by providing an interpolation means to form an image for display and an image for recording respectively with interpolation by an approximate expression of a high-order polynomial equal to or higher than a third order polynomial. SOLUTION: Original image data from a built-in memory 30 is inputted in an interpolating position calculating part 91 and an arithmetic interpolation part 94. The output value at a desired position is obtained by using the approximate expression by the high-order polynomial at least equal to or higher than the third order polynomial to enhance interpolation accuracy based on the inputted data by the interpolating position calculating part 91. Next, an interpolating position is corrected based on data from a memory area 31 by an interpolating position correcting part 92. Thus, since the output at the corrected interpolating position is calculated by using a beforehand prepared interpolation coefficient table 93 by correcting the interpolating position, the output value at the interpolating position is calculated at high speed without complicated calculation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、所望の画像を撮像
し、この画像情報を記録・表示することが可能な電子カ
メラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic camera capable of capturing a desired image and recording and displaying this image information.

【0002】[0002]

【従来の技術】電子カメラは、画像の表示及び記録が可
能なように構成されており、最近では、静止画像でなく
動画像も併せて表示及び記録が可能なものもある。その
ため、静止画像と動画像の記録処理の共有化を図りつ
つ、静止画像を高画質に記録する試みもなされている
(特開平10−108121号公報)。
2. Description of the Related Art Electronic cameras are configured to display and record images. Recently, some electronic cameras can display and record not only still images but also moving images. Therefore, an attempt has been made to record a still image with high image quality while sharing the recording process of a still image and a moving image (Japanese Patent Laid-Open No. 10-108121).

【0003】また、フォーマットに応じて画素数を変換
する際に、その一部にキュービック補間を行う試みもな
されている(特開平10−191392号公報)。
Attempts have also been made to perform cubic interpolation on a part of the number of pixels when converting the number of pixels according to the format (Japanese Patent Laid-Open No. Hei 10-191392).

【0004】[0004]

【発明が解決しようとする課題】しかし、上記の試みに
おいては、表示及び記録画像の質を向上させ、かつそれ
らの処理を高速化するという提案はなされていない。
However, in the above-mentioned attempts, no proposal has been made to improve the quality of displayed and recorded images and to speed up the processing thereof.

【0005】本発明は、表示及び記録画像の質を向上さ
せ、かつそれらの処理を高速化した電子カメラを提供す
ることを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an electronic camera which improves the quality of displayed and recorded images and speeds up the processing thereof.

【0006】[0006]

【課題を解決するための手段】本発明は、上記の課題を
解決するために次のような手段を講じた。
According to the present invention, the following means have been taken in order to solve the above-mentioned problems.

【0007】本発明に係る電子カメラは、被写体を撮像
し、撮像した被写体の画像を表示及び記録可能な電子カ
メラであって、前記撮像画像に基づいて表示用画像及び
記録用画像を形成する場合に、3次以上の高次多項式の
近似式による補間処理によって前記表示用画像及び前記
記録用画像をそれぞれ形成する補間手段を備えたことを
特徴とする。表示及び記録の双方に高精度な補間処理を
行うようにしたので、表示及び記録の双方において画質
の向上を図ることができる。
An electronic camera according to the present invention is an electronic camera capable of capturing an image of a subject, displaying and recording the captured image of the subject, and forming a display image and a recording image based on the captured image. The image processing apparatus further includes an interpolation unit that forms the display image and the recording image by an interpolation process using an approximate expression of a third-order or higher-order polynomial. Since high-precision interpolation processing is performed for both display and recording, image quality can be improved in both display and recording.

【0008】上記の電子カメラにおける好ましい実施態
様は以下の通りである。
A preferred embodiment of the above electronic camera is as follows.

【0009】(1) 前記補間手段が、前記表示用画像
と前記記録用画像とを形成する際に、その形成画像に応
じた補間条件で画像を形成すること。表示及び記録のそ
れぞれの解像度に応じた条件で補間を行うので、処理の
効率化、高速化を図ることができる。ここにおいて、前
記補間条件が補間精度又は補間データ数に関する条件を
含むこと。精度或いはデータ毎に補間条件を定めている
ので、効率的な処理ができる。
(1) When forming the display image and the recording image, the interpolation means forms an image under interpolation conditions according to the formed image. Since interpolation is performed under conditions corresponding to the respective resolutions of display and recording, processing efficiency and speed can be improved. Here, the interpolation condition includes a condition relating to interpolation accuracy or the number of interpolation data. Since interpolation conditions are determined for each accuracy or data, efficient processing can be performed.

【0010】(2) 前記補間手段が、前記表示用画像
を形成する第1の補間手段と前記記録用画像を形成する
第2の補間手段とを備えたこと。表示及び記録のそれぞ
れについて専用の補間手段を設けたので、処理の高速化
が可能となる。
(2) The interpolation means includes a first interpolation means for forming the display image and a second interpolation means for forming the recording image. Since dedicated interpolation means is provided for each of display and recording, the processing can be speeded up.

【0011】(3) 前記補間手段が、少なくとも一部
が前記表示用画像と前記記録用画像とを形成する際に共
通して使用される補間係数情報を記憶する手段を備え、
前記補間係数情報を用いて前記表示用画像と前記記録用
画像とを形成すること。補間係数情報から、補間値を算
出するので、複雑な計算を要せず、簡単な回路で高速に
かつ高精度の補間結果が得られる。また、補間係数情報
を表示の場合と記録の場合とで一部分共用しているの
で、メモリが節約できる。
(3) The interpolation means includes means for storing interpolation coefficient information which is used at least partially in common when forming the display image and the recording image,
Forming the display image and the recording image using the interpolation coefficient information. Since the interpolation value is calculated from the interpolation coefficient information, a complicated circuit is not required, and a high-speed and high-precision interpolation result can be obtained with a simple circuit. Further, since the interpolation coefficient information is partially shared between the case of display and the case of recording, memory can be saved.

【0012】(4) 前記撮像画像データを記憶する記
憶手段を更に備え、前記表示用画像を形成する手段と前
記記録用画像を形成する手段は前記記憶手段から前記撮
像画像データを読み出して、前記表示用画像及び前記記
録用画像を形成すること。撮像画像(の原データ)を表
示の場合と記録の場合とで共用するので、メモリが節約
できる。
(4) The image processing apparatus further comprises a storage unit for storing the captured image data, wherein the unit for forming the display image and the unit for forming the recording image read the captured image data from the storage unit, and Forming a display image and the recording image. Since (the original data of) the captured image is shared between the display and the recording, the memory can be saved.

【0013】[0013]

【発明の実施の形態】図面を参照して本発明の実施の形
態を説明する。
Embodiments of the present invention will be described with reference to the drawings.

【0014】図1は、本発明の一実施形態に係る電子カ
メラのシステム構成を示す概略ブロック図である。
FIG. 1 is a schematic block diagram showing a system configuration of an electronic camera according to one embodiment of the present invention.

【0015】図1を参照して本発明に係る電子カメラの
概略構成を説明する。
A schematic configuration of an electronic camera according to the present invention will be described with reference to FIG.

【0016】撮影レンズ系11を通過した被写体の画像
は、撮像素子12で電気信号に変換される。撮像素子1
2で変換された電気信号は、撮像回路13でアナログ画
像信号に変換された後に、A/D変換器14によってデ
ジタル画像信号に変換される。そして、このデジタル画
像信号は、所定の処理を経て、例えば、外部メモリであ
る着脱可能な着脱メモリ20(例えば、フラッシュメモ
リ、スマートメディア等)にインターフェース(I/
F)21を介して記録される。なお、着脱メモリ20は
通常カードスロット22に装着される。また、電子カメ
ラは、高速な内蔵メモリ30(例えば、ランダムアクセ
スメモリ(RAM)等)を有しており、画像の圧縮伸長
における作業用メモリとして、或いは一時的な画像記憶
手段としての高速バッファとして使用される。内蔵メモ
リ30は、本発明においては、補間処理用のメモリ領域
31を有している。なお、このメモリ領域31は内蔵メ
モリ30と独立したメモリであっても良いし、補間処理
用の演算回路(又は、IC)に内蔵されたメモリであっ
てもかまわない。
An image of a subject that has passed through the photographing lens system 11 is converted into an electric signal by the image pickup device 12. Image sensor 1
The electric signal converted in 2 is converted into an analog image signal by the imaging circuit 13 and then converted into a digital image signal by the A / D converter 14. Then, the digital image signal is subjected to a predetermined process and, for example, an interface (I / I / O) to a detachable removable memory 20 (for example, a flash memory, a smart media, or the like) as an external memory.
F) recorded via 21; The removable memory 20 is usually mounted in the card slot 22. Further, the electronic camera has a high-speed built-in memory 30 (for example, a random access memory (RAM) or the like), and serves as a working memory in image compression / expansion or as a high-speed buffer as a temporary image storage unit. used. The built-in memory 30 has a memory area 31 for interpolation processing in the present invention. The memory area 31 may be a memory independent of the built-in memory 30, or may be a memory built in an arithmetic circuit (or IC) for interpolation processing.

【0017】圧縮伸長回路40は、デジタル画像信号の
圧縮を行ったり、圧縮された画像信号を展開(伸長)す
るためのものである。
The compression / expansion circuit 40 is for compressing the digital image signal and for expanding (expanding) the compressed image signal.

【0018】また、電子カメラには、通常画像表示用の
LCD50(液晶表示装置)が搭載されており、このL
CD50は、着脱メモリ20に記録された画像の確認
や、撮影しようとする画像を表示する。このLCD50
に表示される画像は内蔵メモリ30からの画像情報を一
旦ビデオメモリ51に取り込み、次に、ビデオ出力回路
52で、ビデオ画像に変化して、画像表示LCD50に
画像が表示可能となっている。また、ビデオ出力回路5
2の出力はビデオ出力用の外部端子53を介して外部表
示装置にビデオ画像が出力できるようになっている。
The electronic camera is equipped with an LCD 50 (liquid crystal display) for normal image display.
The CD 50 displays an image recorded in the removable memory 20 and an image to be photographed. This LCD 50
The image displayed on the LCD is temporarily fetched from the built-in memory 30 into the video memory 51 and then converted into a video image by the video output circuit 52 so that the image can be displayed on the image display LCD 50. The video output circuit 5
The second output is capable of outputting a video image to an external display device via an external terminal 53 for video output.

【0019】シスコン70は、電子カメラの各機器の全
体の制御を行うもので、その機能の詳細は後述する。シ
スコン70は、レリーズからなる操作部73からの入力
を受け付けて、レリーズの操作によって撮像を行った
り、画像処理を図示しない画像処理回路に依頼したりす
る。また、シスコン70は、被写体の撮像時における光
量が不足している場合には、ストロボ発光部71に依頼
してストロボをオンにして撮影するように制御する。ま
た、シスコン70には図示しない撮影距離検出部があ
り、被写体との距離を検出する機能を有する。また、操
作部73は、各種モードの設定も行うことができるよう
になっており、そのモード設定はモードLCDに表示さ
れる。
The system controller 70 controls the entire device of the electronic camera, and its function will be described later in detail. The system controller 70 receives an input from the operation unit 73 composed of a release, performs imaging by operating the release, and requests an image processing circuit (not shown) to perform image processing. In addition, when the amount of light at the time of imaging the subject is insufficient, the system controller 70 requests the strobe light emitting unit 71 to turn on the strobe and perform shooting. Further, the system controller 70 has an unillustrated photographing distance detecting unit, which has a function of detecting a distance to a subject. The operation unit 73 can also set various modes, and the mode settings are displayed on the mode LCD.

【0020】外部インターフェース(外部I/F)61
は、外部入出力端子60に接続されて、外部機器とのデ
ータの入出力を行う。この外部入出力端子60には、例
えば、パーソナルコンピュータ等が接続されて、着脱メ
モリ20内の画像をパーソナルコンピュータ等に転送し
たり、パーソナルコンピュータ等から画像データを入力
したりする。
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 to transfer an image in the detachable memory 20 to the personal computer or the like and to input image data from the personal computer or the like.

【0021】また、電子カメラの各部は基本的に電池に
より駆動するようになっており、電源部80を介してカ
メラ電池81からの電力によってカメラの各部が駆動す
るようになっている。また、カメラ電池81は電源部8
0の制御により充電可能なものとなっている。
Each section of the electronic camera is basically driven by a battery, and each section of the camera is driven by electric power from a camera battery 81 via a power supply section 80. The camera battery 81 is connected to the power supply unit 8.
It can be charged by the control of 0.

【0022】図2は、1次元の補間モデルを示す図であ
る。図2の(a)に示すように、従来では、2点間を結
ぶ直線によって所望の位置における出力値を計算する直
線補間が一般的であった。このようにすると、計算に必
要な既知の出力値を有する位置は2点でよいが、あくま
でも2点間の比例平均の出力値を求めることになるの
で、例えば、その2点間に最大値又は最小値がある場合
でも、検出できないことになる。本発明では、この補間
精度を上げるために、少なくとも3次以上の多次多項式
による近似式を用いて所望の位置における出力値を得て
いる。図2では、4点の値から3次多項式の係数を求め
て、求められた3次多項式による近似式に位置データを
入れて出力を得ている例を示す。なお、この3次多項式
による近似式による補間は「Cubic補間」とも称す
る。図2において、位置n−1、n、n+1、n+2の
4点の出力値から3次多項式の係数を求め、その3次多
項式から位置x′における出力値を求めることによって
所望の位置における補間値が得られることになる。これ
を例えば、直線補間で行った場合を考慮すると、最大値
を有する位置はn+1になるので、本発明の場合と異な
り、正確な位置が得られないことが明らかである。
FIG. 2 is a diagram showing a one-dimensional interpolation model. Conventionally, as shown in FIG. 2A, linear interpolation for calculating an output value at a desired position by a straight line connecting two points has been generally used. In this way, the position having a known output value required for calculation may be two points. However, since the output value of the proportional average between the two points is determined, for example, the maximum value or the maximum value between the two points is obtained. Even if there is a minimum value, it cannot be detected. In the present invention, in order to increase the interpolation accuracy, an output value at a desired position is obtained using an approximate expression based on at least a third-order or higher-order polynomial. FIG. 2 shows an example in which a coefficient of a third-order polynomial is obtained from the values of four points, and position data is inserted into an approximate expression based on the obtained third-order polynomial to obtain an output. Note that the interpolation using the approximate expression using the third-order polynomial is also referred to as “Cubic interpolation”. In FIG. 2, a coefficient of a third-order polynomial is obtained from output values of four points at positions n-1, n, n + 1, and n + 2, and an output value at a position x 'is obtained from the third-order polynomial to obtain an interpolation value at a desired position. Is obtained. In consideration of the case where this is performed by, for example, linear interpolation, the position having the maximum value is n + 1. Therefore, it is clear that an accurate position cannot be obtained unlike the case of the present invention.

【0023】図3は、本発明における補間演算回路90
のブロック図である。補間演算回路90は補間位置算出
部91と、補間位置修正部92と、補間係数テーブル9
3と、補間演算部94と、バッファメモリ31とからな
る。なお、補間位置算出部91から補間演算部94の機
能はシスコン70で行われる。具体的には、補間演算回
路90は次のような動作を行う。
FIG. 3 shows an interpolation operation circuit 90 according to the present invention.
It is a block diagram of. The interpolation calculation circuit 90 includes an interpolation position calculation unit 91, an interpolation position correction unit 92, and an interpolation coefficient table 9
3, the interpolation calculation unit 94, and the buffer memory 31. The functions of the interpolation position calculator 91 to the interpolation calculator 94 are performed by the system controller 70. Specifically, the interpolation operation circuit 90 performs the following operation.

【0024】内蔵メモリ30からの元画像データが補間
位置算出部91と補間演算部94とに入力する。補間位
置算出部91は、入力データに基づいて、例えば、図2
(b)における、n点とn+1点との間の補間位置x′
を算出する。次に、補間位置修正部92は、演算を簡略
化するために、例えば、n点とn+1点との間を16等
分した場合におけるx′点に最も近い点に補間位置をメ
モリ領域31からのデータに基づいて修正する。このよ
うに補間位置を修正することにより、予め用意された補
間係数テーブル93を用いて修正された補間位置におけ
る出力を算出することができるので、複雑な計算を行う
ことなく、高速に補間位置における出力値が算出可能と
なる。なお、この補間位置の修正による誤差について
は、テーブルで補間係数を与えるようにしているため
に、細かくしすぎるとテーブルのデータ量が増えるので
現実的ではないが、ある程度、例えば上記のように16
等分した位置とすれば精度的には十分であるし、データ
量もさほど多くならないので、現実的といえる。
The original image data from the built-in memory 30 is input to the interpolation position calculator 91 and the interpolation calculator 94. The interpolation position calculation unit 91 may be configured, for example, as shown in FIG.
(B) Interpolation position x 'between point n and point n + 1
Is calculated. Next, in order to simplify the calculation, the interpolation position correction unit 92 sets the interpolation position from the memory area 31 to a point closest to the point x ′ when the distance between the point n and the point n + 1 is divided into 16 equal parts. Modify based on the data in By correcting the interpolation position in this way, it is possible to calculate the output at the corrected interpolation position using the interpolation coefficient table 93 prepared in advance, so that the interpolation position can be calculated at high speed without performing complicated calculations. The output value can be calculated. It should be noted that the error caused by the correction of the interpolation position is not realistic because the interpolation coefficient is given in the table.
If the positions are equally divided, the accuracy is sufficient, and the amount of data does not increase so much.

【0025】図4は、本発明に係る表示及び記録処理の
流れを示すブロック図である。図4において、撮影レン
ズを通過した被写体の画像は、CCDで電気信号に変換
される。CCDで変換された電気信号は、図示しない撮
像回路でアナログ画像信号に変換された後に、A/D変
換器によってデジタル画像信号に変換される。そして、
そのデジタル画像信号は、内蔵メモリ(以下、「共用メ
モリ」と称する)に一旦格納される。共用メモリに格納
されたデジタル画像信号は、表示用の画像処理と記録用
の画像処理の2つの処理ルートに分かれる。なお、表示
用及び記録用の画像処理は、通常画像の拡大或いは縮小
を行うための画像処理(それぞれ、表示用リサイズ及び
記録用リサイズと称する)であって、本発明では、この
表示用及び記録用リサイズにおいて、高い精度が得られ
る高次多項式を用いた近似式による補間処理を用いてい
る。この補間処理によって求めた所望の画素数(すなわ
ち、画質)を有する画像は、次のように処理される。ま
ず、表示の場合には、混合器で例えば文字データなどを
処理済みの画像データに付加して、インターフェースを
介して例えばLCDに表示される。また、記録の場合に
は、処理済みの画像データは圧縮回路により例えばJP
EG形式で圧縮されて、着脱メモリに記録される。これ
らの処理において、補間処理は、表示用と記録用と共用
しても構わないし、高速に処理するために補間処理を別
々に設けておき、独立に動作可能としても良い。
FIG. 4 is a block diagram showing the flow of the display and recording process according to the present invention. In FIG. 4, an image of a subject that has passed through a photographing lens is converted into an electric signal by a CCD. The electric signal converted by the CCD is converted into an analog image signal by an imaging circuit (not shown), and then converted into a digital image signal by an A / D converter. And
The digital image signal is temporarily stored in a built-in memory (hereinafter, referred to as “shared memory”). The digital image signal stored in the shared memory is divided into two processing routes: image processing for display and image processing for recording. The image processing for display and recording is image processing for enlarging or reducing a normal image (referred to as resizing for display and resizing for recording, respectively). In the resizing process, an interpolation process using an approximate expression using a high-order polynomial that can obtain high accuracy is used. An image having a desired number of pixels (that is, image quality) obtained by this interpolation processing is processed as follows. First, in the case of display, for example, character data or the like is added to the processed image data by the mixer and displayed on an LCD, for example, via an interface. In the case of recording, the processed image data is processed by a compression circuit, for example, in JP
It is compressed in the EG format and recorded in the removable memory. In these processes, the interpolation process may be shared for display and recording, or may be separately provided for high-speed processing, and may be independently operable.

【0026】なお、図4において、記録用リサイズの前
に、高次多項式を用いた近似式による補間処理によっ
て、単板で撮像した画像を擬似3板化しても良い。この
場合において、擬似3板化とは、単板(或いは2板でも
良い)からなる撮像素子で撮影した画像を、あたかもR
(レッド)、G(グリーン)、B(ブルー)のそれぞれ
からなる3板からなる撮像素子で撮像した画像になるよ
うに拡張することをいう。
In FIG. 4, before the resizing for recording, an image picked up by a single plate may be turned into a pseudo three plates by an interpolation process using an approximate expression using a higher-order polynomial. In this case, pseudo-three-plate conversion means that an image photographed by an image sensor composed of a single plate (or two plates) can be obtained as if R
(Red), G (green), and B (blue).

【0027】図5は、図4の変形例を示すブロック図で
ある。図5においては、内蔵メモリから呼び出された画
像情報は所望の記録画像情報になるような画素数(例え
ば、640×480画素)を有する画像にリサイズが行
われる(リサイズ1と称する)。この時に、本発明に係
る高次多項式を用いた近似式による補間処理が行われ
る。なお、この画像は、記録用の画像であるので、着脱
メモリ等の外部メモリへは、例えば、JPEGによる画
像圧縮を経てそのまま記録される。LCDなどに画像を
表示する場合には、表示画素は、上記のような記録時に
おける640×480画素とは異なる画素数になる場合
が多く、そのため、表示用にリサイズする必要がある
(リサイズ2と称する)。この時に、更に、高次多項式
を用いた近似式による補間処理で表示用の画像を作成す
ることが好ましいが、この場合において、記録用の画像
のサイズと表示用の画像のサイズは、通常ある程度固定
されている。すなわち、記録の場合には、画像サイズ
は、例えば、先程の640×480画素や、高画質の場
合には800×600画素や1024×768画素など
になっている。また、表示画素数については、先に示し
た場合の他に、記録画素数と同じであっても良い場合も
ある。このように、記録や表示に係る画像の画素数は予
め定められている場合が多いことから、図5に示すよう
に、表示用に画像をリサイズ(リサイズ2)する場合に
は、高次多項式を用いた近似式による補間処理を用いな
くても、処理の軽減化をするために、予め高次多項式を
用いた近似式で求めておいた係数(固定係数)を用いて
リサイズすることが好ましい。
FIG. 5 is a block diagram showing a modification of FIG. In FIG. 5, the image information called from the built-in memory is resized to an image having the number of pixels (for example, 640 × 480 pixels) that becomes desired recording image information (referred to as resize 1). At this time, an interpolation process using an approximate expression using a high-order polynomial according to the present invention is performed. Since this image is a recording image, it is recorded as it is in an external memory such as a detachable memory, for example, after image compression by JPEG. When displaying an image on an LCD or the like, the number of display pixels is often different from 640 × 480 pixels at the time of recording as described above, and therefore, it is necessary to resize for display (resize 2). ). At this time, it is preferable to create an image for display by interpolation processing using an approximate expression using a higher-order polynomial. In this case, the size of the image for recording and the size of the image for display are usually some extent. Fixed. That is, in the case of recording, the image size is, for example, 640 × 480 pixels described above, or in the case of high image quality, 800 × 600 pixels or 1024 × 768 pixels. The number of display pixels may be the same as the number of recording pixels in some cases, in addition to the case described above. As described above, since the number of pixels of an image related to recording or display is often determined in advance, as shown in FIG. 5, when resizing an image for display (resizing 2), a high-order polynomial is used. It is preferable to resize using a coefficient (fixed coefficient) obtained in advance by an approximate expression using a higher-order polynomial in order to reduce the processing without using an interpolation process using an approximate expression using. .

【0028】なお、上記の説明において、補間処理を高
次多項式を用いた近似式による補間処理で行うように説
明したが、処理の軽減化を行うために、図5に示すよう
な固定係数をリサイズ2のみに適用するのではなく、図
4における表示用リサイズ、記録用リサイズ、及び図5
のリサイズ1にも適用することが好ましい。その理由
は、記録する場合における画像の画素数や表示する場合
における画像の画素数は予め決められている場合がほと
んどであるからである。このように、実際に高次多項式
を用いた近似式による補間処理を行うことなく、予め高
次多項式を用いた近似式で求めておいた係数(固定係
数)を用いてリサイズすることにより、処理の軽減化を
図ることができ、高速化、簡素化に寄与する。この場合
における、補間係数テーブルの一例を図6に示す。図6
の補間係数テーブルでは、記録のみに使用する部分と、
表示及び記録の両方で使用する部分とが示されている
が、これは記録の場合と表示の場合においては、データ
サイズが異なり、表示用には補間係数テーブルの一部分
を使用し、テーブルの全てを使用する必要がないので、
表示用の補間係数テーブルの部分は記録用の補間係数テ
ーブルと共用するような形態になっている。なお、表示
用及び記録用の画像のデータサイズにより、図6に示す
ような例以外に、表示のみの使用する部分があっても良
いし、データサイズの設定により適宜変更が可能であ
る。
In the above description, the interpolation processing has been described as being performed by interpolation using an approximate expression using a higher-order polynomial. However, in order to reduce the processing, a fixed coefficient as shown in FIG. The resizing for display and resizing in FIG. 4 and the resizing for recording in FIG.
It is preferable to apply to the resizing 1 of. The reason is that, in most cases, the number of pixels of an image in recording and the number of pixels of an image in display are predetermined. As described above, the processing is performed by resizing using a coefficient (fixed coefficient) obtained in advance by an approximate expression using a high-order polynomial, without actually performing an interpolation process using an approximate expression using a high-order polynomial. Can be reduced, which contributes to speeding up and simplification. FIG. 6 shows an example of the interpolation coefficient table in this case. FIG.
In the interpolation coefficient table, the part used only for recording,
Although the part used for both display and recording is shown, the data size differs between the case of recording and the case of display, a part of the interpolation coefficient table is used for display, and all of the table is used. You don't need to use
The portion of the display interpolation coefficient table is shared with the recording interpolation coefficient table. Depending on the data size of the image for display and recording, there may be a portion used only for display, other than the example shown in FIG. 6, and it can be appropriately changed by setting the data size.

【0029】図7は、記録用リサイズにおける実際の記
録画質モードに従った処理を示すフローチャートであ
る。通常の電子カメラにおいては、SQ(Standard Qua
lity)モード、HQ(High Quality)モード及びSHQ
(Super High Quality)モードの3つのモードで記録可
能となっている。そこで、1ずれのモードで記録すると
きに、上記の補間処理を行う必要があるかを示したもの
が、図7である。
FIG. 7 is a flowchart showing a process according to an actual recording image quality mode in recording resizing. In ordinary electronic cameras, SQ (Standard Qua
lity) mode, HQ (High Quality) mode and SHQ
(Super High Quality) mode can be recorded in three modes. Therefore, FIG. 7 shows whether or not it is necessary to perform the above-described interpolation processing when recording in the one-shift mode.

【0030】通常電子カメラにおいては、撮影画像の画
質は最も高い画質になっている。図7において、画質モ
ードを選択していない場合には(ステップS1)、その
まま終了するので、リサイズは行われない。次に、SQ
(Standard Quality)モードが選択されていれば(ステ
ップS2)、画素数が撮像画像よりも少なくなるので、
補間処理が行われる(ステップS3:Cubi=1)。
HQ(High Quality)モードが選択されていれば(ステ
ップS4)、SQ選択時と同様に、画素数が撮像画像よ
りも少なくなるので、補間処理が行われる(ステップS
5:Cubi=1)。そして、SHQ(Super High Qua
lity)モードが選択されていれば(ステップS4)、画
素数が撮像画像と同じなので、補間処理は必要がなく、
行われない(ステップS6:Cubi=0)。この場合
において、この補間処理は、上記のような補間係数テー
ブルを用いることにより、容易かつ高速に行うことがで
きる。
Normally, in an electronic camera, the quality of a captured image is the highest. In FIG. 7, if the image quality mode has not been selected (step S1), the process is terminated as it is, so that no resizing is performed. Next, SQ
If the (Standard Quality) mode is selected (step S2), the number of pixels is smaller than that of the captured image.
An interpolation process is performed (Step S3: Cubi = 1).
If the HQ (High Quality) mode is selected (step S4), the number of pixels is smaller than that of the captured image, as in the case of selecting the SQ, and interpolation processing is performed (step S4).
5: Cubi = 1). And SHQ (Super High Qua
lity) mode is selected (step S4), the number of pixels is the same as that of the captured image, and no interpolation processing is required.
Not performed (Step S6: Cubi = 0). In this case, the interpolation process can be easily and quickly performed by using the interpolation coefficient table as described above.

【0031】図8は、共用メモリに記録された画像デー
タの取り扱いについて説明するするための図である。こ
こでは、3次多項式を用いた近似式による補間を行う場
合について説明する。通常、メモリにデータを書き込む
場合に、1かたまり(例えば、1ブロック)のデータ毎
に書き込まれる。この場合において、データは、データ
量に応じて、図8の(a)に示すように4行n列(例え
ば、n=8の場合には、1ブロック=32バイト)のデ
ータとして書き込まれる。次に、データを読み込む場合
には、図8の(b)に示すように4行4列データとして
順次読み込んで、2次元の3次多項式を用いた近似式に
よる補間を行う。このようにすることにより、データ補
間を確実に行うことができる。なお、この場合におい
て、近似する多項式の次数に応じて、書き込み及び読み
出しのデータ列を適宜変更可能であることはもちろんで
あり、2次元の4次多項式を用いる場合には、5行n列
のデータとして書き込んで、5行5列のデータを読み込
むようにする。以下同様に次数が上がる毎に、2次元m
次多項式を用いる場合には、m+1行n列のデータとし
て書き込み、m+1行m+1列のデータを読み込んで補
間処理を行うことになる。なお、この場合において、上
述したような補間係数テーブルを使用することができる
ことはもちろんである。また、上記では、4行4列の補
間について記載したが、これに限らず、図8の(c)に
示すように、4行n列のデータを1つ(例えば、斜線部
で示す1列のデータ)を任意に代表データとして、1次
元の3次多項式を用いた近似式による補間を行うことも
できるし、4行n列のデータの各行におけるn列分のデ
ータを加算平均したデータを用いて1次元の3次多項式
を用いた近似式による補間を行うこともできる。このよ
うにすることにより、計算量が減少できる。
FIG. 8 is a diagram for explaining the handling of image data recorded in the shared memory. Here, a case in which interpolation is performed by an approximate expression using a third-order polynomial will be described. Normally, when writing data to the memory, the data is written for each data of one block (for example, one block). In this case, the data is written as 4 rows and n columns (for example, when n = 8, 1 block = 32 bytes) as shown in FIG. 8A according to the data amount. Next, when reading the data, as shown in FIG. 8B, the data is sequentially read as four rows and four columns of data, and interpolation is performed using an approximate expression using a two-dimensional cubic polynomial. By doing so, data interpolation can be performed reliably. In this case, it is a matter of course that the data sequence for writing and reading can be appropriately changed according to the order of the approximated polynomial. When a two-dimensional quartic polynomial is used, 5 rows and n columns are used. The data is written as data, and the data of 5 rows and 5 columns is read. Similarly, every time the order increases, two-dimensional m
When the degree polynomial is used, data is written as m + 1 row and n column data, and data of m + 1 row and m + 1 column is read to perform interpolation processing. In this case, it goes without saying that the interpolation coefficient table as described above can be used. In the above description, interpolation of 4 rows and 4 columns has been described. However, the present invention is not limited to this, and as shown in FIG. ) Can be arbitrarily used as representative data, interpolation can be performed by an approximate expression using a one-dimensional cubic polynomial, and data obtained by averaging data of n columns in each of four rows and n columns of data is obtained. It is also possible to perform interpolation using an approximate expression using a one-dimensional cubic polynomial. By doing so, the amount of calculation can be reduced.

【0032】なお、上記の処理を逐次処理することは、
非常に時間の掛かる作業であって、個々に処理すること
は現実的ではない。そこで、時間を要する作業をパイプ
ライン処理により、連続的に作業を行うことで、時間の
短縮化を図ることができる。図9は、パイプライン処理
の概略ブロック図である。図9において、バス1を介し
て、シスコン70と、前処理部3と、内蔵メモリ30
と、画像処理部5と、圧縮伸長回路40(ここでは、J
PEG圧縮を対象として記載)とが接続されている。前
処理部3は、図1における撮像回路13とA/D変換器
14を含むものである。画像処理部5は、シスコン70
に含まれ、主に画像の縮小や拡大のための処理を行う。
この場合において、基本的に、この画像処理は非常に時
間の掛かる処理であるので、図示のように、処理プロセ
スを多段階に分割(図では、n段)して、それぞれの処
理をパイプライン方式で並列処理することにより、処理
の短縮化が可能となる。
It should be noted that the above processing is performed sequentially.
It is a very time-consuming task, and it is not practical to handle it individually. Therefore, time-consuming operations are continuously performed by pipeline processing, so that time can be reduced. FIG. 9 is a schematic block diagram of the pipeline processing. 9, a system controller 70, a pre-processing unit 3, and a built-in memory 30 are connected via a bus 1.
, The image processing unit 5, and the compression / decompression circuit 40 (here, J
PEG compression). The preprocessing unit 3 includes the imaging circuit 13 and the A / D converter 14 in FIG. The image processing unit 5 includes a syscon 70
, And mainly performs processing for reducing or enlarging the image.
In this case, basically, this image processing is a very time-consuming process, and therefore, as shown in the figure, the processing process is divided into multiple stages (in the figure, n stages), and each process is pipelined. By performing the parallel processing by the method, the processing can be shortened.

【0033】本発明は、上記の発明の実施の形態に限定
されるものではない。上記の実施形態においては、近似
式として3次多項式の1次元についてのみの例を示した
が、4次以上の多項式に拡張も可能であるし、2次元以
上の多次元による補間を行うことも可能である。更に、
多項式による近似でなく、他の適当な関数(例えば、指
数関数等)を使用した更に精度の良い近似式が得られた
のであれば、その近似式を使用し、更に、その補間係数
をテーブルとして与えておくのも非常に効果的である。
The present invention is not limited to the above embodiment of the present invention. In the above-described embodiment, an example of only one dimension of a third-order polynomial as an approximation equation has been described. However, it is possible to expand to a fourth-order or higher polynomial, and to perform interpolation using two-dimensional or more multidimensional. It is possible. Furthermore,
If a more accurate approximation formula using an appropriate function (for example, an exponential function) is obtained instead of approximation by a polynomial formula, the approximation formula is used. Giving it is also very effective.

【0034】また、本発明の要旨を変更しない範囲で種
々変形して実施できるのは勿論である。
Of course, various modifications can be made without departing from the scope of the present invention.

【0035】[0035]

【発明の効果】本発明によれば次のような効果が得られ
る。
According to the present invention, the following effects can be obtained.

【0036】表示及び記録の双方に高精度な補間処理を
行うようにしたので、表示及び記録の双方において画質
の向上を図ることができる。また、表示及び記録のそれ
ぞれの解像度に応じた条件で補間を行うので、処理の効
率化、高速化を図ることができる。ここにおいて精度或
いはデータ毎に補間条件を定めているので、効率的な処
理ができる。
Since high-precision interpolation processing is performed for both display and recording, image quality can be improved in both display and recording. Further, since interpolation is performed under conditions corresponding to the respective resolutions of display and recording, processing efficiency and speed can be improved. Here, since the interpolation conditions are determined for each accuracy or data, efficient processing can be performed.

【0037】更に、表示及び記録のそれぞれについて専
用の補間手段を設けたので、処理の高速化が可能とな
る。
Further, since dedicated interpolation means is provided for each of display and recording, the processing can be sped up.

【0038】加えて、補間係数情報から、補間値を算出
するので、複雑な計算を要せず、簡単な回路で高速にか
つ高精度の補間結果が得られる。また、補間係数情報を
表示の場合と記録の場合とで一部分共用しているので、
メモリが節約できる。
In addition, since an interpolation value is calculated from interpolation coefficient information, a complicated circuit is not required, and a high-speed and high-precision interpolation result can be obtained with a simple circuit. In addition, since the interpolation coefficient information is partially shared between the case of displaying and the case of recording,
Saves memory.

【0039】更に、撮像画像(の原データ)を表示の場
合と記録の場合とで共用するので、メモリが節約でき
る。
Further, since (the original data of) the captured image is shared between the case of displaying and the case of recording, the memory can be saved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態に係る電子カメラのシステ
ム構成を示す概略ブロック図。
FIG. 1 is a schematic block diagram showing a system configuration of an electronic camera according to an embodiment of the present invention.

【図2】1次元の補間モデルを示す図。FIG. 2 is a diagram showing a one-dimensional interpolation model.

【図3】本発明における補間演算回路90のブロック
図。
FIG. 3 is a block diagram of an interpolation operation circuit 90 according to the present invention.

【図4】本発明に係る表示及び記録処理の流れを示すブ
ロック図。
FIG. 4 is a block diagram showing a flow of a display and recording process according to the present invention.

【図5】図4の変形例を示すブロック図。FIG. 5 is a block diagram showing a modification of FIG. 4;

【図6】補間係数テーブルの一例を示す図。FIG. 6 is a diagram showing an example of an interpolation coefficient table.

【図7】記録用リサイズにおける実際の記録画質モード
に従った処理を示すフローチャート。
FIG. 7 is a flowchart showing processing according to an actual recording image quality mode in recording resizing.

【図8】共用メモリに記録された画像データの取り扱い
について説明するするための図。
FIG. 8 is a diagram for describing handling of image data recorded in a shared memory.

【図9】パイプライン処理の概略ブロック図。FIG. 9 is a schematic block diagram of pipeline processing.

【符号の説明】[Explanation of symbols]

11…撮影レンズ系、 12…撮像素子、 13…撮像回路、 14…A/D変換器、 20…着脱メモリ、 21…インターフェース(I/F)、 22…カードスロット、 30…内蔵メモリ、 31…補間処理用のメモリ領域、 40…圧縮伸長回路、 50…LCD、 51…ビデオメモリ、 52…ビデオ出力回路、 53…外部端子、 70…シスコン 73…操作部、 71…ストロボ発光部、 61…外部インターフェース(外部I/F)、 80…電源部、 81…カメラ電池、 90…補間演算回路。 DESCRIPTION OF SYMBOLS 11 ... photography lens system, 12 ... imaging element, 13 ... imaging circuit, 14 ... A / D converter, 20 ... detachable memory, 21 ... interface (I / F), 22 ... card slot, 30 ... built-in memory, 31 ... Memory area for interpolation processing, 40: compression / expansion circuit, 50: LCD, 51: video memory, 52: video output circuit, 53: external terminal, 70: syscon 73: operation unit, 71: strobe light emitting unit, 61: external Interface (external I / F), 80: power supply unit, 81: camera battery, 90: interpolation arithmetic circuit.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 被写体を撮像し、撮像した被写体の画像
を表示及び記録可能な電子カメラにおいて、 前記撮像画像に基づいて表示用画像及び記録用画像を形
成する場合に、3次以上の高次多項式の近似式による補
間処理によって前記表示用画像及び前記記録用画像をそ
れぞれ形成する補間手段を備えたことを特徴とする電子
カメラ。
An electronic camera capable of capturing an image of a subject and displaying and recording an image of the captured subject, wherein a display image and a recording image are formed on the basis of the captured image. An electronic camera, comprising: an interpolation unit that forms each of the display image and the recording image by an interpolation process using a polynomial approximation formula.
【請求項2】請求項1記載の電子カメラにおいて、前記
補間手段は、前記表示用画像と前記記録用画像とを形成
する際に、その形成画像に応じた補間条件で画像を形成
することを特徴とする電子カメラ。
2. An electronic camera according to claim 1, wherein said interpolating means forms an image under interpolation conditions according to the formed image when forming said display image and said recording image. Electronic camera featuring.
【請求項3】請求項2記載の電子カメラにおいて、前記
補間条件が補間精度又は補間データ数に関する条件を含
むことを特徴とする電子カメラ。
3. The electronic camera according to claim 2, wherein said interpolation condition includes a condition relating to interpolation accuracy or the number of interpolation data.
【請求項4】請求項1記載の電子カメラにおいて、前記
補間手段は、前記表示用画像を形成する第1の補間手段
と前記記録用画像を形成する第2の補間手段とを備えた
ことを特徴とする電子カメラ。
4. The electronic camera according to claim 1, wherein said interpolating means includes first interpolating means for forming said display image and second interpolating means for forming said recording image. Electronic camera featuring.
【請求項5】請求項1記載の電子カメラにおいて、前記
補間手段は、少なくとも一部が前記表示用画像と前記記
録用画像とを形成する際に共通して使用される補間係数
情報を記憶する手段を備え、前記補間係数情報を用いて
前記表示用画像と前記記録用画像とを形成することを特
徴とする電子カメラ。
5. An electronic camera according to claim 1, wherein said interpolation means stores interpolation coefficient information which is at least partially used in common when forming said display image and said recording image. An electronic camera comprising: means for forming the display image and the recording image using the interpolation coefficient information.
【請求項6】請求項1記載の電子カメラにおいて、前記
撮像画像データを記憶する記憶手段を更に備え、前記表
示用画像を形成する手段と前記記録用画像を形成する手
段は前記記憶手段から前記撮像画像データを読み出し
て、前記表示用画像及び前記記録用画像を形成すること
を特徴とする電子カメラ。
6. The electronic camera according to claim 1, further comprising storage means for storing the captured image data, wherein the means for forming the display image and the means for forming the recording image are provided from the storage means. An electronic camera which reads out captured image data to form the display image and the recording image.
JP11237062A 1999-08-24 1999-08-24 Electronic camera Pending JP2001061092A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP11237062A JP2001061092A (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
JP11237062A JP2001061092A (en) 1999-08-24 1999-08-24 Electronic camera

Publications (1)

Publication Number Publication Date
JP2001061092A true JP2001061092A (en) 2001-03-06

Family

ID=17009864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11237062A Pending JP2001061092A (en) 1999-08-24 1999-08-24 Electronic camera

Country Status (1)

Country Link
JP (1) JP2001061092A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7057653B1 (en) * 1997-06-19 2006-06-06 Minolta Co., Ltd. Apparatus capable of image capturing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7057653B1 (en) * 1997-06-19 2006-06-06 Minolta Co., Ltd. Apparatus capable of image capturing

Similar Documents

Publication Publication Date Title
JP4772281B2 (en) Image processing apparatus and image processing method
US7212237B2 (en) Digital camera with electronic zooming function
US7023455B2 (en) Apparatus and method for processing video signal
US20070229516A1 (en) Device, method and program for image processing
US6906748B1 (en) Electronic camera
US7212214B2 (en) Apparatuses and methods for interpolating missing colors
US20050285813A1 (en) Display controller, electronic equipment, and image data supplying method
JP2001061092A (en) Electronic camera
JP4244218B2 (en) Imaging signal processing circuit and camera system
JP4281161B2 (en) Electronic camera
JP2000224540A (en) Picture file device
EP1657915A1 (en) Sized optimized pixel line to pixel block conversion algorithm
JP3710066B2 (en) Electronic still video camera
JP3500333B2 (en) Electronic camera and electronic camera control method
JP2001078059A (en) Electronic camera
JP3615092B2 (en) Electronic camera
JP3717720B2 (en) Electronic camera
JPH11308560A (en) Electronic camera
JPH0863140A (en) Image processor
JP2006287733A (en) Imaging apparatus, operating method thereof, storage medium, and program
JP3975033B2 (en) Electronic camera
JP2006121343A (en) Image processor
JPH10327428A (en) Digital camera
JPH0844862A (en) Image processor
JP2001326902A (en) Electronic camera

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040406

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040603

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040608

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050715