JP3143159B2 - Image recording device - Google Patents

Image recording device

Info

Publication number
JP3143159B2
JP3143159B2 JP20845191A JP20845191A JP3143159B2 JP 3143159 B2 JP3143159 B2 JP 3143159B2 JP 20845191 A JP20845191 A JP 20845191A JP 20845191 A JP20845191 A JP 20845191A JP 3143159 B2 JP3143159 B2 JP 3143159B2
Authority
JP
Japan
Prior art keywords
image
compression
signal
contrast
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP20845191A
Other languages
Japanese (ja)
Other versions
JPH0530467A (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 Optic 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 Optic Co Ltd filed Critical Olympus Optic Co Ltd
Priority to JP20845191A priority Critical patent/JP3143159B2/en
Publication of JPH0530467A publication Critical patent/JPH0530467A/en
Application granted granted Critical
Publication of JP3143159B2 publication Critical patent/JP3143159B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像記録装置に関し、
特に主題画像の画質を維持しつつ、高効率な圧縮処理を
行なう画像記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording apparatus,
In particular, the present invention relates to an image recording apparatus that performs highly efficient compression processing while maintaining the image quality of a subject image.

【0002】[0002]

【従来の技術】例えば、ICカードカメラにおいては、
光学像を電気信号、デジタル信号に変換してICカード
メモリに記録し、再生時には、このICカードメモリか
ら読み出した画像信号を再生して光学像を得る。かかる
ICカードカメラでは、多数枚の被写体像データを1枚
のICカードメモリに記録するため、膨大なデータ量を
記録しなければならず、また、ICカードメモリが高価
であることもあって、高効率な画像データの圧縮処理が
施されている。通常、離散コサイン変換等の直交変換処
理が施されてデータ圧縮が行われ、得られた変換係数が
ICカードメモリに記録される。
2. Description of the Related Art For example, in an IC card camera,
The optical image is converted into an electric signal and a digital signal and recorded in an IC card memory. At the time of reproduction, an image signal read from the IC card memory is reproduced to obtain an optical image. In such an IC card camera, a large amount of data has to be recorded in order to record a large number of subject image data in one IC card memory, and the IC card memory is expensive. Highly efficient image data compression processing is performed. Normally, data is compressed by performing an orthogonal transformation process such as a discrete cosine transformation, and the obtained transformation coefficient is recorded in an IC card memory.

【0003】ところで、圧縮後のデータ量は、原画につ
いての高周波成分によって大きな影響を受ける。高周波
成分が多いと、圧縮後のデータ量は大きくなり、高周波
成分が少なければ、圧縮後のデータ量も小さくなる。現
実の被写体像(原画)は、予め想定できるものではない
ため、実際に記録を行う場合に、被写体像によって圧縮
後のデータ量が変化することになる。したがって、1枚
のICカードメモリに記録できる画像の枚数(コマ数)
が事前にわからず、また、1コマ消去等を行った場合に
は、消去した部分に新たに1単位の画像データすべてを
記録できない可能性がある等、使用性の面で問題が生ず
る。
[0003] The amount of data after compression is greatly affected by high frequency components of the original image. If the high frequency component is large, the data amount after compression is large, and if the high frequency component is small, the data amount after compression is small. Since the actual subject image (original image) cannot be assumed in advance, the amount of data after compression varies depending on the subject image when actually recording. Therefore, the number of images (number of frames) that can be recorded in one IC card memory
However, when one frame is erased or the like is not known in advance, there is a problem in terms of usability, for example, it may not be possible to newly record all of one unit of image data in the erased portion.

【0004】そこで、各コマの画像について、圧縮後の
データ量が予め定めた所定値以下になるまで、圧縮度
合、態様を示す量子化テーブル(以下、Qテーブルと称
する)を変化させて圧縮処理を繰り返した後、記録を行
うようにする記録方式が考えられる。しかしながら、上
記Qテーブルを変化させながら圧縮処理を繰り返して記
録する方式は、圧縮後のデータ量が所定値以下になるま
でに要する繰り返し圧縮処理回数が定まらず、記録まで
に時間がかかり、圧縮後のデータ量を少なくするために
画質が大きく低下するという問題がある。また、記録完
了迄に時間がかかるということはカメラ撮影の高速連写
が不可能になるという問題が生ずる。
Therefore, the compression processing is performed by changing a quantization table (hereinafter, referred to as a Q table) indicating a degree of compression and a mode until the data amount after compression of the image of each frame becomes equal to or less than a predetermined value. Is repeated, and recording is performed. However, in the method of recording by repeatedly performing compression processing while changing the Q table, the number of times of repeated compression processing required until the data amount after compression becomes equal to or less than a predetermined value is not determined, and it takes time to record, and However, there is a problem that the image quality is greatly reduced due to the reduction in the data amount of the data. In addition, the fact that it takes time until the recording is completed causes a problem that high-speed continuous shooting of camera shooting becomes impossible.

【0005】これらの問題を解決するため、本発明者
は、圧縮態様を定めるQテーブルを画像のコントラスト
情報に基づいて定め、得られたQテーブルに従って圧
縮、記録処理することにより、高速圧縮、記録を可能と
する画像記録装置を提案した。
In order to solve these problems, the present inventor has determined a Q table that determines a compression mode based on contrast information of an image, and performs compression and recording processing according to the obtained Q table, thereby achieving high-speed compression and recording. We have proposed an image recording device that can be used.

【0006】[0006]

【発明が解決しようとする課題】上述のように従来の画
像記録装置は、各画像に対して、圧縮後のデータ量が所
定値以下に至るまで、Qテーブルを変えながら圧縮処理
を行ったり、画像のコントラスト情報に基づいて定めら
れたQテーブルにしたがって圧縮処理を行っている。し
かしながら、圧縮率を高めれば記憶容量の面で有益では
あるが、それに伴い画質低下は避けられない。
As described above, the conventional image recording apparatus performs a compression process on each image while changing the Q table until the data amount after compression reaches a predetermined value or less. The compression process is performed according to a Q table determined based on the contrast information of the image. However, increasing the compression ratio is beneficial in terms of storage capacity, but inevitably causes a decrease in image quality.

【0007】この問題を解決するために、例えば、特開
平2−105686のように撮影レンズとは別個に配置
された、別合焦検出系の自動焦点検出装置より被写体の
コントラスト情報と距離情報を検出し、それに基づいて
画像のアクティビティを演算により求め、画像の細かさ
を判定し画像圧縮のための正規化計数をルックアップテ
ーブルより求めるようにしたものがある。ところで、画
像の鮮鋭度に対応した値を表すコントラストデータは、
撮影レンズの合焦度によって全く異なった値をとること
が知られている。したがって、被写体を撮像して記録媒
体に記憶する対象となっている画像と、この被写体のコ
ントラスト情報を得るための画像とは、対象となる両者
の被写体を睨む領域と両者の画像の合焦度が一致してい
ないと、上記記録媒体に記憶する対象となっている画像
の正しいコントラスト情報は得られないことになる。し
たがって、上記特開平2−105686のように撮影レ
ンズとは別光学系方式によりコントラストを得る場合
は、撮影レンズと全く同じ光学系と合焦制御のためのみ
に用いる撮像装置を組み合わせるか、パンフォーカス式
の非常に短焦点のレンズと撮像装置を組み合わせのいず
れかを用いてコントラスト情報を得るより方法が無く、
前者の場合には2眼式の高価な撮像光学系となってしま
い、後者の場合には充分な解像度の画像情報を得るため
には撮像素子に高画素のものを使わなければならなかっ
た。また、いずれの場合にも、検出される画像は撮影対
象となる被写体との視差や視野の違いを避けられず、マ
クロ撮影等の視差が大きくなる撮影状況に於いては、正
確なコントラスト情報を得るのには不都合があった。こ
のように従来は、撮影者の意図により高画質を望む主題
となる被写体とを区別し、撮影したい対象画像をより適
正な圧縮率で得ることは考慮されていなかった。そこ
で、本発明の目的は、記録する直前の画像にもっとも対
応したコントラスト情報を得、最少のデータ量で画質の
低下を最小限に抑えて高効率に画像データを記録できる
画像記録装置を提供することにある。
In order to solve this problem, for example, the contrast information and the distance information of the object are obtained by an automatic focus detection device of a separate focus detection system which is arranged separately from the taking lens as disclosed in Japanese Patent Laid-Open No. 2-105686. In some cases, the activity of an image is detected, the activity of the image is calculated based on the detection, the fineness of the image is determined, and the normalized count for image compression is obtained from a look-up table. By the way, contrast data representing a value corresponding to the sharpness of an image is
It is known that a completely different value is taken depending on the degree of focusing of the taking lens. Therefore, the image to be captured and stored in the recording medium and the image for obtaining the contrast information of the subject are defined as a region in which the two subjects are viewed and the degree of focus of both images. If they do not match, correct contrast information of the image to be stored on the recording medium cannot be obtained. Therefore, when contrast is to be obtained by an optical system different from the taking lens as disclosed in Japanese Patent Laid-Open No. 2-105686, the same optical system as the taking lens and an imaging device used only for focusing control are combined, or There is no way to obtain contrast information using either a combination of a very short focus lens of the formula and an imaging device,
In the former case, a two-lens type expensive imaging optical system is required, and in the latter case, in order to obtain image information with a sufficient resolution, a high-pixel image sensor must be used. In any case, the detected image cannot avoid the difference in the parallax and the field of view from the subject to be photographed. There was an inconvenience to get. As described above, conventionally, it has not been considered to distinguish a subject as a subject that desires high image quality according to a photographer's intention and obtain a target image to be photographed at a more appropriate compression ratio. Accordingly, an object of the present invention is to provide an image recording apparatus capable of obtaining contrast information most corresponding to an image immediately before recording, and recording image data with high efficiency while minimizing deterioration in image quality with a minimum amount of data. It is in.

【0008】[0008]

【課題を解決するための手段】前述の課題を解決するた
め、本発明による画像記録装置は、被写体像を光電変換
し記録のための画像信号を生成する撮像素子と、上記撮
像素子の出力信号に基づいて画像の鮮鋭度を表すコント
ラスト信号を得るコントラスト信号形成手段と、トリガ
ー信号により動作を開始し上記コントラスト信号形成手
段のコントラスト値によりレンズを合焦制御するレンズ
駆動手段と、上記合焦制御のためのコントラスト値を得
るための主題部を設定するエリア設定手段と、被写体像
による画像信号を直交変換し圧縮処理する圧縮処理手段
と、上記レンズ駆動手段による合焦の完了時の上記コン
トラスト値を用いて上記圧縮処理のための圧縮度合を表
す量子化テーブルを設定する圧縮度合設定手段と、上記
量子化テーブルを選択的に適用して、画像信号の圧縮処
理を行なって被記録画像信号として出力するための信号
圧縮手段と、を具備して構成される。
In order to solve the above-mentioned problems, an image recording apparatus according to the present invention comprises an image pickup device for photoelectrically converting a subject image to generate an image signal for recording, and an output signal of the image pickup device. Contrast signal forming means for obtaining a contrast signal representing the sharpness of an image on the basis of: a lens driving means for starting operation by a trigger signal and controlling focusing of a lens by a contrast value of the contrast signal forming means; Area setting means for setting a subject portion for obtaining a contrast value for image processing, compression processing means for orthogonally transforming and compressing an image signal based on a subject image, and the contrast value upon completion of focusing by the lens driving means Compression degree setting means for setting a quantization table representing the degree of compression for the compression processing using It applied to 択的 constituted by comprising: a signal compression means for performs a compression process of the image signal is output as a recording image signal.

【0009】[0009]

【作用】本発明では、記録のための画像信号を生成する
撮像素子に被写体像を結像するためのレンズが、撮像素
子に対する合焦完了時に得られた画像信号の内、少なく
とも主題となる部分を用いてコントラスト信号を形成
し、そのコントラスト値の鮮鋭度に基づいて適応的に圧
縮のための量子化テーブルを設定する。
According to the present invention, a lens for forming a subject image on an image sensor for generating an image signal for recording includes at least a subject portion of the image signal obtained when focusing on the image sensor is completed. Is used to form a contrast signal, and a quantization table for compression is adaptively set based on the sharpness of the contrast value.

【0010】[0010]

【実施例】次に、本発明について図面を参照しながら説
明する。本発明では、記録対象である画像を複数のエリ
アに分割し、特に画質劣化を避けたい主題部の含まれる
エリアを選択し、選択されたエリアのコントラスト情報
に基づいてQテーブルを定め、こうして定められたQテ
ーブルにしたがって上記画像を圧縮処理して記録する。
例えば、ICカードカメラにおいては、複数エリアのう
ちコントラストデータ等に基づいてユーザの撮りたい主
題が属するエリアを判断して選択し、またはユーザがマ
ニュアル的に選択し、選択されたエリアのコントラスト
情報に基づいて全体画像を圧縮処理し、記録するように
している。
Next, the present invention will be described with reference to the drawings. According to the present invention, an image to be recorded is divided into a plurality of areas, an area including a subject portion in which image quality degradation is particularly desired to be selected is selected, and a Q table is determined based on contrast information of the selected area. The image is compressed and recorded according to the obtained Q table.
For example, in an IC card camera, an area to which the user wants to take a picture belongs is determined and selected based on contrast data or the like among a plurality of areas, or the user manually selects the area and obtains the contrast information of the selected area. The entire image is subjected to compression processing and recorded based on it.

【0011】主題部エリアの判断は、例えば次のように
して行うことができる。すなわち、カメラのオートフォ
ーカス(AF)の優先エリア選択には、ユーザが撮影時
に選択する場合と、エリア毎に得られた輝度情報(コン
トラスト情報)から装置自身が推測する場合がある。例
えば、撮影対象の中心部と下部が暗く、上部が明るい場
合は、逆光であると認識し、中心部に主題(人物等)が
あると判断することができる。
The subject area can be determined, for example, as follows. That is, the priority area selection of the auto focus (AF) of the camera includes a case where the user selects the area at the time of shooting and a case where the apparatus itself estimates the luminance information (contrast information) obtained for each area. For example, when the center and the lower part of the subject are dark and the upper part is bright, it is recognized that the subject is backlit, and it can be determined that there is a subject (a person or the like) at the center.

【0012】こうして、主題部エリアが認識されると、
当該エリアのコントラスト値を読み取ることによって主
題が含まれるエリアの画像に対する高周波成分の度合を
判断できる。したがって、高周波数の成分が多い場合に
は、圧縮率を上げると画質が低下してしまい、逆に高周
波成分が少ない場合には、圧縮率を上げても画質の低下
は比較的少ないので記憶容量の節約に有効である。そこ
で、ユーザが主題として撮影したいエリアの高周波成分
が多い場合には全体の圧縮率を下げて画質の低下を抑
え、当該主題エリアの高周波成分が少ない場合には、全
体の圧縮率を上げて圧縮処理を施し、記録する。
Thus, when the subject area is recognized,
By reading the contrast value of the area, the degree of the high frequency component with respect to the image of the area including the subject can be determined. Therefore, when there are many high-frequency components, the image quality decreases when the compression ratio is increased. Conversely, when the high-frequency components are small, the image quality is relatively small even when the compression ratio is increased, so that the storage capacity is small. It is effective in saving money. Therefore, if the user wants to capture a subject as a subject with a large number of high-frequency components, the overall compression ratio is reduced to suppress a decrease in image quality. If the subject area has a small number of high-frequency components, the overall compression ratio is increased and compressed. Process and record.

【0013】図1は本発明による画像記録装置のICカ
ードカメラへの適用に係わる一実施例の動作手順を示す
フローチャートである。撮影スタンバイ状態において、
トリガ1(TRG1)ボタンの押下が“ON”になるま
で待機し(ステップS1)、“ON”になると、イメー
ジャーAF動作をスタートさせ(ステップS2)、AF
エリア毎のコントラスト値を検出する(ステップS
3)。その後、合焦がOKか否かを判断して(ステップ
S4)、OKでなければ、AFモータを動作させ(ステ
ップS5)、ステップS3の処理に戻る。ステップS4
において、合焦OKであれば、AF選択エリアのコント
ラスト値に基づいて適正なQテーブルを選択し(ステッ
プS6)、圧縮回路に選択したQテーブルを転送する
(ステップS7)。更に、トリガ2(TRG2)ボタン
が“ON”になるまで待機し(ステップS8)、“O
N”になった時点でメモリへの記録動作を行う(ステッ
プS9)。
FIG. 1 is a flowchart showing an operation procedure of an embodiment relating to the application of an image recording apparatus according to the present invention to an IC card camera. In the shooting standby state,
The operation waits until the trigger 1 (TRG1) button is pressed "ON" (step S1). When the button is turned "ON", the imager AF operation is started (step S2) and the AF is started.
Contrast value for each area is detected (step S
3). Thereafter, it is determined whether or not the focus is OK (step S4). If not, the AF motor is operated (step S5), and the process returns to step S3. Step S4
If the focus is OK, an appropriate Q table is selected based on the contrast value of the AF selection area (step S6), and the selected Q table is transferred to the compression circuit (step S7). Further, it waits until the trigger 2 (TRG2) button is turned “ON” (step S8),
At the time when it becomes N ", the recording operation to the memory is performed (step S9).

【0014】例えば、撮影一画面を図2の(A)に示す
如く9エリアに分割し、各分割エリアのコントラスト値
を同図(B)のようにICカードカメラ本体のCPU内
蔵のRAMに、AFD,AFD,…,AFDとし
て記憶されている。ここで、AF選択エリアがエリア
であれば、RAMのAFDが読み出され、読み出され
たコントラスト値に基づいてQテーブルの値を求め、圧
縮回路に転送して圧縮処理を行う。ここで、Qテーブル
を求める際、AF選択エリアがであるときには、AF
Dをそのまま用いたり、AFDを優先させ、他のエ
リアのコントラスト値をも参照して重み付け値を用いて
Qテーブルの値を求めることができる。Qテーブルは、
予め複数のコントラスト値に対応してそれぞれ用意して
おく。
For example, as shown in FIG. 2 (A), one screen for photographing is divided into 9 areas, and the contrast value of each divided area is stored in a RAM built into the CPU of the IC card camera body as shown in FIG. 2 (B). AFD, AFD,..., AFD are stored. Here, if the AF selection area is an area, the AFD of the RAM is read, the value of the Q table is obtained based on the read contrast value, and the value is transferred to the compression circuit to perform a compression process. Here, when obtaining the Q table, if the AF selection area is
The value of the Q table can be obtained by using D as it is, giving priority to AFD, and referring to the contrast values of other areas and using the weighting value. Q table is
It is prepared in advance for each of a plurality of contrast values.

【0015】次に、例として図3(A)や(B)に示す
ような画像について本発明を適用する場合ついて説明す
る。画像(A)に対して、単体に全体の高周波成分を抽
出すると、背景の木と山に非常に細かい部分が多いの
で、高周波成分が多くなる。しかし、この場合、ユーザ
が撮影したいのは、中心の人物であり、人物部分は比較
的高周波成分が少ないので、AFエリアの選択として中
心部を選択すれば中心部のコントラスト値に基づいてQ
テーブルを定めることにより比較的圧縮率を上げた記録
が可能となる。また、画像(B)に対して、単純に全体
の高周波成分を抽出すると、山の部分が少ないため、高
周波成分は少なくなる。この場合、ユーザが撮影したい
のは、左側の山であるから、細かい表現が必要である。
ここで、AFエリアの選択として左中側の山部エリアを
選択すれば、当該左中部のコントラスト値に基づいてQ
テーブル定めることにより、比較的、圧縮率を下げて記
録することになり、細かい表現が損なわれることがなく
なる。一画像のエリア分割は、同図(C)のような矩形
エリア分割で良いし、(C)のように同心的な矩形エリ
ア分割でも良い。
Next, a case where the present invention is applied to an image as shown in FIGS. 3A and 3B will be described as an example. When the entire high-frequency component is extracted from the image (A) alone, the background tree and the mountain have many very fine parts, and thus the high-frequency component increases. However, in this case, the user wants to photograph the central person, and since the human portion has relatively few high-frequency components, if the central part is selected as the AF area selection, Q is determined based on the contrast value of the central part.
By determining the table, recording with a relatively high compression ratio can be performed. When simply extracting the entire high-frequency component from the image (B), the number of high-frequency components is reduced because the number of peaks is small. In this case, since the user wants to photograph the left mountain, a detailed expression is required.
Here, if the mountain area on the middle left is selected as the AF area selection, Q is determined based on the contrast value of the middle left.
By determining the table, recording is performed with a relatively low compression ratio, and detailed expressions are not lost. The area division of one image may be a rectangular area division as shown in FIG. 10C or a concentric rectangular area division as shown in FIG.

【0016】本発明をICカードカメラに適用したとき
のカメラ全体の構成図が図4に示されている。図4にお
いて、レンズ1を介してCCD2に結像された被写体像
は、電気信号に変換された後、撮像プロセス回路3でγ
補正等の所定の処理が施され、A/Dコンバータ(AD
C)4でデジタル信号に変換される。信号発生器(SS
G)回路17は、CCD2、撮像プロセス回路3および
A/Dコンバータ4を制御する信号を発生する回路であ
る。撮像プロセス回路3からの映像信号は、レンズAF
制御回路18に供給され、コントラスト情報が得られ
る。得られたコントラスト情報はシステム制御回路12
に供給される。また、このコントラスト情報に基づいて
レンズ駆動回路19はレンズ1を合焦すべくAF制御す
る。セレクタ5は、記録時、A/Dコンバータ4からの
デジタル画像データをRAM6に記録するような経路を
設定する。RAM6から読み出されたブロックデータ
(1画面を複数個のブロックに分割したときの各分割ブ
ロックについてのデータ)は、セレクタ7を介して圧縮
・伸長ユニット8に供給される。圧縮・伸長ユニット8
のDCT/IDCT回路81は、離散コサイン変換/逆
離散コサイン変換回路であり、ブロックデータを直交変
換処理する。直交変換されて得られた変換係数は、量子
化/逆量子化回路82で量子化された後、符号化/復号
化回路83で符号化される。
FIG. 4 is a block diagram of the entire camera when the present invention is applied to an IC card camera. In FIG. 4, a subject image formed on a CCD 2 via a lens 1 is converted into an electric signal, and then converted into an electric signal.
A predetermined process such as correction is performed, and the A / D converter (AD
C) It is converted into a digital signal in 4. Signal generator (SS
G) The circuit 17 is a circuit for generating signals for controlling the CCD 2, the imaging process circuit 3, and the A / D converter 4. The video signal from the imaging process circuit 3 is
The information is supplied to the control circuit 18 and contrast information is obtained. The obtained contrast information is transmitted to the system control circuit 12.
Supplied to Further, based on the contrast information, the lens drive circuit 19 performs AF control to focus the lens 1. The selector 5 sets a path for recording digital image data from the A / D converter 4 in the RAM 6 during recording. The block data read from the RAM 6 (data on each divided block when one screen is divided into a plurality of blocks) is supplied to the compression / decompression unit 8 via the selector 7. Compression / expansion unit 8
DCT / IDCT circuit 81 is a discrete cosine transform / inverse discrete cosine transform circuit, and performs an orthogonal transform process on block data. The transform coefficients obtained by the orthogonal transform are quantized by a quantization / dequantization circuit 82 and then encoded by an encoding / decoding circuit 83.

【0017】この圧縮・伸長ユニット8における符号化
等の処理は、システム制御回路12からの指示に基づい
て符号化制御回路13により制御される。すなわち、レ
ンズ・AF制御回路18から供給されるコントラスト情
報に基づいてシステム制御回路12は、適切なQテーブ
ルを選択設定して、符号化制御回路13を介して圧縮・
伸長ユニット8における圧縮処理を制御する。ここで、
Qテーブルの選択は、操作部14に設けられたエリア選
択用キーを操作することによって、モニターまたはファ
インダーに表示されたエリアから主題部エリアを選択
し、またはレンズAF制御回路18からのコントラスト
情報に基づいて前述手法により主題部エリアを選択する
ことにより行われる。。こうして、圧縮・伸長ユニット
8で圧縮符号化された画像データは、セレクタ9を介し
て、カードインタフェース(I/F)10に供給され、
ICカード11に記録される。システム制御回路12
は、RAM6、セレクタ7,9、圧縮・伸長ユニット8
およびカードI/F10の動作を制御するもので、操作
部14からの信号を受けてカメラ全体の各種制御を行っ
ている。
Processing such as encoding in the compression / decompression unit 8 is controlled by an encoding control circuit 13 based on an instruction from a system control circuit 12. That is, based on the contrast information supplied from the lens / AF control circuit 18, the system control circuit 12 selects and sets an appropriate Q table, and performs compression / compression via the encoding control circuit 13.
The compression processing in the expansion unit 8 is controlled. here,
The selection of the Q table is performed by operating an area selection key provided on the operation unit 14 to select a subject area from the area displayed on the monitor or the viewfinder, or to select contrast information from the lens AF control circuit 18. This is performed by selecting the subject area based on the above-described method. . The image data compressed and encoded by the compression / decompression unit 8 is supplied to the card interface (I / F) 10 via the selector 9.
It is recorded on the IC card 11. System control circuit 12
Are RAM 6, selectors 7, 9 and compression / expansion unit 8
And controls the operation of the card I / F 10, and performs various controls of the entire camera in response to a signal from the operation unit 14.

【0018】図5には、コントラスト情報検出およびA
F制御系の構成ブロック図が示されている。撮像プロセ
ス回路3からの映像信号は、A/Dコンバータ4に接続
された出力端子部に供給されるとともに、レンズ・AF
制御回路18のバンドパスフィルタ(BPF)回路18
1に供給される。BPF回路181では、映像信号の所
定帯域信号が取り出され、輝度情報がA/Dコンバータ
182でデジタル信号に変換されて演算処理回路183
に出力される。演算処理回路183は、このデジタル信
号からコントラスト情報を求め、システム制御回路12
に送出するとともに、レンズ駆動回路19を構成するモ
ータドライブ回路192に送出する。モータドライブ回
路192は、このコントラスト情報に基づいてAF制御
を行うべくモータ191を駆動してレンズ1を移動させ
る。
FIG. 5 shows contrast information detection and A
The block diagram of the configuration of the F control system is shown. The video signal from the imaging process circuit 3 is supplied to an output terminal connected to the A / D converter 4 and the lens / AF
Bandpass filter (BPF) circuit 18 of control circuit 18
1 is supplied. The BPF circuit 181 extracts a predetermined band signal of the video signal, converts the luminance information into a digital signal by the A / D converter 182, and converts the luminance information into a digital signal.
Is output to The arithmetic processing circuit 183 obtains contrast information from the digital signal, and obtains the system control circuit 12
And to a motor drive circuit 192 constituting the lens drive circuit 19. The motor drive circuit 192 drives the motor 191 to move the lens 1 to perform AF control based on the contrast information.

【0019】図6には、画像とコントラストとの関係が
示されている。図中、斜線部は暗部を示す。変化の少な
い画像(A1)の輝度信号変化は(A2)のようにな
り、この輝度信号をバンドパスフィルタを通過させる
と、(A3)に示す如く信号になる。これを両波整流し
て信号(A4)を得た後、積分して(A5)のような直
流レベル信号を得る。画像(A1)のような変化の少な
い画像については、基準レベル(点線レベル)からのレ
ベル差は小さい。一方、(B1)のような変化の大きい
画像に対する輝度変化は(B2)の如くなり、バンドパ
スフィルタを通過させて(B3)の信号を得る。両波整
流して(B4)信号を得た後、積分して(B5)の信号
を得る。このときの基準レベルとの差は大きい。
FIG. 6 shows the relationship between the image and the contrast. In the figure, hatched portions indicate dark portions. The change in the luminance signal of the image (A1) with little change is as shown in (A2). When this luminance signal is passed through a band-pass filter, it becomes a signal as shown in (A3). This is double-wave rectified to obtain a signal (A4) and then integrated to obtain a DC level signal as shown in (A5). For an image with little change, such as the image (A1), the level difference from the reference level (dotted level) is small. On the other hand, the luminance change for an image having a large change like (B1) is as shown in (B2), and the signal of (B3) is obtained by passing through a band-pass filter. After performing the both-wave rectification to obtain the signal (B4), the signal is integrated to obtain the signal (B5). The difference from the reference level at this time is large.

【0020】このように、最終的なコントラスト値のレ
ベルが小さいものは、変化の少ない画像であり、圧縮後
のデータ量は小さい。また、コントラスト値のレベルが
大きいものは変化の大きな画像であり、圧縮後のデータ
量は大きくなる。したがって、コントラスト値のレベル
が大きいものは圧縮率の高いQテーブルの値を使用しデ
ータ量を小さくすることができる。尚、本実施例では、
コントラスト値は、積分した値のレベルで判断している
が、輝度信号のパルスの高さやパルスの数で判断しても
良い。また、本発明は、ICカードカメラに限らず、画
像圧縮処理を伴う他の記録装置に適用できることは勿論
である。
As described above, an image having a small level of the final contrast value is an image with little change, and the data amount after compression is small. An image having a large contrast value level is an image having a large change, and the data amount after compression becomes large. Therefore, when the contrast level is large, the data amount can be reduced by using the value of the Q table having a high compression ratio. In this embodiment,
The contrast value is determined based on the level of the integrated value, but may be determined based on the pulse height or the number of pulses of the luminance signal. In addition, the present invention is not limited to the IC card camera, but can be applied to other recording apparatuses that perform image compression processing.

【0021】[0021]

【発明の効果】以上説明したように、本発明による画像
記録装置は、記録のための画像信号を生成する撮像素子
に被写体像を結像するためのレンズが、撮像素子に対す
る合焦完了時に得られた画像信号の内、少なくとも主題
となる部分を用いてコントラスト信号を形成し、そのコ
ントラスト値の鮮鋭度に基づいて適応的に圧縮のための
量子化テーブルを設定しているので、より実際の記録時
の画像情報に即し撮影者の意図に沿った圧縮が可能とな
り、全体として良質画質を維持できる。
As described above, in the image recording apparatus according to the present invention, the lens for forming the subject image on the image sensor for generating the image signal for recording is obtained when the focusing on the image sensor is completed. Since a contrast signal is formed by using at least a subject portion of the obtained image signal, and a quantization table for compression is adaptively set based on the sharpness of the contrast value, a more actual Compression according to the photographer's intention can be performed according to the image information at the time of recording, and high quality image quality can be maintained as a whole.

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

【図1】本発明による画像記録装置の一実施例を示す動
作処理手順を示すフローチャートである。
FIG. 1 is a flowchart showing an operation processing procedure showing an embodiment of an image recording apparatus according to the present invention.

【図2】本発明の実施例における画像の分割エリアと、
各分割エリアのコントラスト値の記憶態様を示す図であ
る。
FIG. 2 shows a divided area of an image according to the embodiment of the present invention;
FIG. 7 is a diagram illustrating a storage mode of a contrast value of each divided area.

【図3】本発明が適用される2つの画像例についての動
作説明図である。
FIG. 3 is an operation explanatory diagram of two image examples to which the present invention is applied;

【図4】本発明を適用したICカードカメラの全体構成
ブロック図である。
FIG. 4 is an overall configuration block diagram of an IC card camera to which the present invention is applied.

【図5】本発明の実施例におけるコントラスト情報の抽
出およびAF制御部の構成ブロック図である。
FIG. 5 is a configuration block diagram of a contrast information extraction and AF control unit according to the embodiment of the present invention.

【図6】変化の少ない画像と変化の大きい画像について
のコントラスト情報の変化を示す図である。
FIG. 6 is a diagram illustrating a change in contrast information for an image having a small change and an image having a large change.

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

1 レンズ 2 CC
D 3 撮像プロセス回路 4 A/
Dコンバータ 5,7,9 切換スイッチ 6 RA
M 8 圧縮・伸長ユニット 10 カー
ドインタフェース回路 11 ICカードメモリ 12 シス
テム制御回路 13 符号化制御回路 14 操作
部 15 再生プロセス回路 16 D/
Aコンバータ 17 信号発生回路 18 レン
ズ・AF制御回路 19 レンズ駆動回路
1 lens 2 CC
D 3 imaging process circuit 4 A /
D converter 5, 7, 9 selector switch 6 RA
M 8 compression / decompression unit 10 card interface circuit 11 IC card memory 12 system control circuit 13 encoding control circuit 14 operation unit 15 reproduction process circuit 16 D /
A converter 17 Signal generation circuit 18 Lens / AF control circuit 19 Lens drive circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被写体像を光電変換し記録のための画像信
号を生成する撮像素子と、 上記撮像素子の出力信号に基づいて画像の鮮鋭度を表す
コントラスト信号を得るコントラスト信号形成手段と、 トリガー信号により動作を開始し上記コントラスト信号
形成手段のコントラスト値によりレンズを合焦制御する
レンズ駆動手段と、 上記合焦制御のためのコントラスト値を得るための主題
部を設定するエリア設定手段と、 被写体像による画像信号を直交変換し圧縮処理する圧縮
処理手段と、 上記レンズ駆動手段による合焦の完了時の上記コントラ
スト値を用いて上記圧縮処理のための圧縮度合を表す量
子化テーブルを設定する圧縮度合設定手段と、 上記量子化テーブルを選択的に適用して、画像信号の圧
縮処理を行なって被記録画像信号として出力するための
信号圧縮手段と、 を具備した ことを特徴とする画像記録装置。
(1)Image signals for recording by subjecting the subject image to photoelectric conversion
An image sensor that generates a signal; Represents the sharpness of the image based on the output signal of the image sensor
Contrast signal forming means for obtaining a contrast signal; Operation is started by a trigger signal and the above contrast signal
Focus control of the lens by the contrast value of the forming means
Lens driving means; Subject for obtaining the contrast value for the focus control
Area setting means for setting a section, Compression for orthogonally transforming and compressing image signals from the subject image
Processing means; The contra when the focusing by the lens driving means is completed.
A quantity representing the degree of compression for the above compression process using the strike value
Compression degree setting means for setting a child table; By selectively applying the above quantization table, the
For performing compression processing and outputting it as a recorded image signal
Signal compression means; Equipped with An image recording apparatus, comprising:
JP20845191A 1991-07-25 1991-07-25 Image recording device Expired - Fee Related JP3143159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20845191A JP3143159B2 (en) 1991-07-25 1991-07-25 Image recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20845191A JP3143159B2 (en) 1991-07-25 1991-07-25 Image recording device

Publications (2)

Publication Number Publication Date
JPH0530467A JPH0530467A (en) 1993-02-05
JP3143159B2 true JP3143159B2 (en) 2001-03-07

Family

ID=16556417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20845191A Expired - Fee Related JP3143159B2 (en) 1991-07-25 1991-07-25 Image recording device

Country Status (1)

Country Link
JP (1) JP3143159B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0729822U (en) * 1993-11-11 1995-06-02 住友電装株式会社 Internal combustion engine ignition device
KR100601475B1 (en) * 2004-12-09 2006-07-18 삼성전기주식회사 Image compressor having variable quantization parameter in accordance with image complexity and method thereof
JP4667072B2 (en) * 2005-02-25 2011-04-06 富士フイルム株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JPH0530467A (en) 1993-02-05

Similar Documents

Publication Publication Date Title
US7903162B2 (en) Electronic camera that display information representative of its selected mode
US7362360B2 (en) Digital camera and method for saving digital image
JP4441882B2 (en) Imaging device, display control method, program
US7986345B2 (en) Image pickup apparatus, image processing method, and program
US20050225650A1 (en) Image-capturing device
JP3311715B2 (en) Digital camera
JP3880862B2 (en) Imaging device
JP4245782B2 (en) Imaging device
JP2006340070A (en) Imaging apparatus and imaging method
JP4123352B2 (en) Movie imaging device and movie playback device
JP3143159B2 (en) Image recording device
JP2008109482A (en) Imaging apparatus, image recording processing method and image recording processing program
JP4268891B2 (en) Imaging apparatus and image generation method thereof
JP3115912B2 (en) Image recording device
JP2007067708A (en) Imaging apparatus and method of forming image by it
JP4429148B2 (en) Image photographing and recording apparatus and method
JP3151244B2 (en) Image recording device
JP2004186866A (en) Image recording apparatus
JP2003125331A (en) Picture recording method and device and picture reproducing method and device
JP4270668B2 (en) Electronic camera
JP5600935B2 (en) Image recording apparatus, image recording method, and image recording program
JP2004104222A (en) Imaging unit
JP4336827B2 (en) Imaging apparatus and image generation method thereof
JP4017419B2 (en) Digital camera
JP2004080230A (en) Image processing apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001212

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees