JP2002064702A - Resolution converter - Google Patents

Resolution converter

Info

Publication number
JP2002064702A
JP2002064702A JP2000248519A JP2000248519A JP2002064702A JP 2002064702 A JP2002064702 A JP 2002064702A JP 2000248519 A JP2000248519 A JP 2000248519A JP 2000248519 A JP2000248519 A JP 2000248519A JP 2002064702 A JP2002064702 A JP 2002064702A
Authority
JP
Japan
Prior art keywords
conversion rate
resolution
circuit
resolution image
conversion
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.)
Withdrawn
Application number
JP2000248519A
Other languages
Japanese (ja)
Inventor
Haruhisa Kurane
治久 倉根
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000248519A priority Critical patent/JP2002064702A/en
Publication of JP2002064702A publication Critical patent/JP2002064702A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a resolution converter that can suitably reduce a data capacity of an image, without causing much decrease in the resolution of the image. SOLUTION: The resolution conversion circuit 30 consists of a counter 34a1, that counts pixel data of photographed image data, a conversion rate setting circuit 34a2 that reads a conversion rate corresponding to the count of the counter 34a1 from a conversion rate table 110 that stores the conversion rate in cross-reference with the count, in such a way that the conversion rate becomes smaller starting from the center of the photographed image data going toward the outside, an integer part register 34b that can store integer parts among decision values each consisting of the integer part and a fraction part, a fraction part register 34c that can store fraction parts among the decision values, an adder circuit 34d that adds the conversion rate set by the conversion rate setting circuit 34a2 to the decision values in the registers 34b, 34c, and a discrimination circuit 34e that provides the output of a PXL-ENB signal, on the basis of the result of sum of the adder circuit 34d.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、高解像度画像を低
解像度画像に変換する装置に係り、特に、ディジタルカ
メラ等の電子カメラにおいて、CCD(Charge Coupled
Device)で取り込んだ高解像度画像をLCD(Liquid
Crystal Display)が表示可能な低解像度画像に変換す
る解像度変換装置に関する。さらに詳しくは、画像の解
像度をさほど低下させず、画像のデータ容量を低減する
のに好適な解像度変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for converting a high-resolution image into a low-resolution image.
High-resolution images captured by a device (LCD)
The present invention relates to a resolution conversion device that converts a low-resolution image that can be displayed on a crystal display. More specifically, the present invention relates to a resolution conversion device suitable for reducing the data capacity of an image without significantly reducing the resolution of the image.

【0002】[0002]

【従来の技術】近年では、ディジタルカメラやディジタ
ルビデオカメラ等のディジタル記録方式の電子カメラが
広く普及している。電子カメラは、例えば、撮影タイミ
ングを入力するレリーズスイッチと、CCDからなる撮
影部と、撮影画像を表示するLCDと、撮影部で取り込
んだ撮影画像データを記憶する画像メモリとで構成さ
れ、撮影部からの撮影画像をLCDに表示するととも
に、レリーズスイッチの入力タイミングで撮影部から撮
影画像データを取り込み、取り込んだ撮影画像データを
JPEG形式等で圧縮して画像メモリに格納するように
なっている。
2. Description of the Related Art In recent years, digital recording type electronic cameras such as digital cameras and digital video cameras have become widespread. The electronic camera includes, for example, a release switch for inputting a photographing timing, a photographing unit including a CCD, an LCD for displaying a photographed image, and an image memory for storing photographed image data captured by the photographing unit. In addition to displaying the captured image from the LCD, the captured image data is captured from the capturing unit at the input timing of the release switch, and the captured captured image data is compressed in a JPEG format or the like and stored in the image memory.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、近年の
電子カメラにおいては、CCDが200万〜300万画
素と高解像度であるため、取り込んだ撮影画像データを
JPEG形式等で圧縮しても、一つの撮影画像データが
500〔Kbyte〕と比較的大容量となる。ここで、圧縮
率を高めに設定すれば、一つの撮影画像データの容量を
ある程度小さくすることができるが、単に圧縮率を高め
に設定するのでは、撮影画像データの解像度が低下して
しまうという問題がある。
However, in recent electronic cameras, since the CCD has a high resolution of 2 to 3 million pixels, even if the captured image data is compressed in a JPEG format or the like, one image can be obtained. The captured image data has a relatively large capacity of 500 [Kbytes]. Here, if the compression ratio is set to a high value, the capacity of one captured image data can be reduced to some extent. However, if the compression ratio is simply set to a high value, the resolution of the captured image data decreases. There's a problem.

【0004】そこで、本発明は、このような従来の技術
の有する未解決の課題に着目してなされたものであっ
て、画像の解像度をさほど低下させず、画像のデータ容
量を低減するのに好適な解像度変換装置を提供すること
を目的としている。
Accordingly, the present invention has been made in view of such unresolved problems of the conventional technology, and is intended to reduce the data capacity of an image without significantly reducing the resolution of the image. It is an object of the present invention to provide a suitable resolution converter.

【0005】[0005]

【課題を解決するための手段】本発明者等は、鋭意検討
を重ねた結果、電子カメラで撮影を行う場合は、ファイ
ンダの中央付近に被写体をおいて撮影するのが通常であ
ることから、撮影画像においては被写体が存在する中心
の解像度を高くし、逆に被写体が存在しない外側の解像
度を低くすれば、見た目をさほど損なうことなく、デー
タ容量を低減することができることを見出した。
The present inventors have made intensive studies and as a result, when taking a picture with an electronic camera, it is usual to place a subject near the center of the viewfinder and take a picture. It has been found that by increasing the resolution at the center where the subject exists in the captured image and lowering the resolution at the outside where the subject does not exist, it is possible to reduce the data capacity without significantly impairing the appearance.

【0006】かかる知見に基づき、上記目的を達成する
ために、本発明に係る請求項1記載の解像度変換装置
は、画像を構成する画素の一部を間引くことにより高解
像度画像を低解像度画像に変換する装置において、前記
高解像度画像の中心から外側に向かうにつれて前記高解
像度画像を間引く量を大きくするようになっている。
Based on such knowledge, in order to achieve the above object, the resolution conversion apparatus according to the first aspect of the present invention converts a high-resolution image into a low-resolution image by thinning out some of the pixels constituting the image. In the conversion device, the amount of thinning out the high resolution image increases from the center of the high resolution image toward the outside.

【0007】このような構成であれば、高解像度画像の
中心から外側に向かうにつれて高解像度画像を間引く量
が大きくなり、このような間引き量で画像を構成する画
素の一部が間引かれることにより、高解像度画像が低解
像度画像に変換される。
With such a configuration, the amount of thinning out of the high-resolution image increases from the center of the high-resolution image toward the outside, and some of the pixels constituting the image are thinned out by such thinning-out amount. Thus, the high resolution image is converted to the low resolution image.

【0008】ここで、高解像度画像を間引く量は、高解
像度画像の垂直方向についてのみその中心から外側に向
かうにつれて大きくしてもよいし、高解像度画像の水平
方向についてのみその中心から外側に向かうにつれて大
きくしてもよいし、高解像度画像の中心を基準として半
径方向についてその中心から外側に向かうにつれて大き
くしてもよい。以下、請求項2記載の解像度変換装置に
おいて同じである。
Here, the amount of thinning of the high resolution image may be increased from the center to the outside only in the vertical direction of the high resolution image, or may be increased from the center only in the horizontal direction of the high resolution image. May be increased, or may be increased outward from the center in the radial direction with respect to the center of the high-resolution image. Hereinafter, the same applies to the resolution conversion device according to the second aspect.

【0009】さらに、本発明に係る請求項2記載の解像
度変換装置は、画像を構成する画素の一部を間引くこと
により高解像度画像を低解像度画像に変換する装置にお
いて、変換率を設定する変換率設定手段と、整数部およ
び小数部からなる判定値を格納可能な判定値格納部と、
前記高解像度画像の垂直方向または水平方向の画素を1
カウントするごとに前記変換率設定手段で設定した変換
率を前記判定値格納部の判定値に加算する加算手段と、
前記加算手段の加算結果に基づいて前記高解像度画像の
画素を前記低解像度画像の画素として採用するか否かを
判定する判定手段とを備え、前記判定手段は、前記加算
手段による加算の結果、前記判定値格納部の判定値が所
定条件を満たしているときは、前記高解像度画像の画素
を前記低解像度画像の画素として採用すると判定するよ
うになっており、前記変換率設定手段は、前記高解像度
画像の中心から外側に向かうにつれて前記変換率が小さ
くなるように前記変換率を設定するようになっている。
Further, according to a second aspect of the present invention, there is provided a resolution conversion apparatus for converting a high resolution image into a low resolution image by thinning out a part of pixels constituting the image. Rate setting means, a determination value storage unit capable of storing a determination value including an integer part and a decimal part,
The vertical or horizontal pixel of the high resolution image is 1
Adding means for adding the conversion rate set by the conversion rate setting means to the determination value of the determination value storage unit each time counting is performed;
Determining means for determining whether to adopt the pixels of the high-resolution image as the pixels of the low-resolution image based on the addition result of the adding means, wherein the determination means includes a result of the addition by the adding means, When the determination value of the determination value storage unit satisfies a predetermined condition, it is configured to determine that a pixel of the high resolution image is adopted as a pixel of the low resolution image, and the conversion rate setting unit is configured to: The conversion rate is set such that the conversion rate becomes smaller from the center of the high-resolution image toward the outside.

【0010】このような構成であれば、変換率設定手段
により、高解像度画像の中心から外側に向かうにつれて
変換率が小さくなるように変換率が設定される。そし
て、加算手段により、高解像度画像の垂直方向または水
平方向の画素を1カウントするごとに、変換率設定手段
で設定された変換率が判定値格納部の判定値に加算され
る。その結果、判定値格納部の判定値が所定条件を満た
しているときは、判定手段により、高解像度画像の画素
を低解像度画像の画素として採用すると判定される。
With such a configuration, the conversion rate is set by the conversion rate setting means so that the conversion rate decreases from the center of the high-resolution image toward the outside. The conversion rate set by the conversion rate setting means is added to the determination value in the determination value storage unit every time one pixel in the vertical or horizontal direction of the high-resolution image is counted by the adding means. As a result, when the determination value in the determination value storage unit satisfies the predetermined condition, the determination unit determines that the pixel of the high resolution image is adopted as the pixel of the low resolution image.

【0011】ここで、変換率とは、高解像度画像の垂直
方向または水平方向の画素数に対して低解像度画像のそ
の方向に対応する画素数が占める割合、または“1”か
らその割合を減算した割合をいう。前者の場合、例え
ば、判定値格納部の判定値について小数部から整数部へ
の桁上がりがあったときは、高解像度画像の画素を低解
像度画像の画素として採用すると判定し、後者の場合、
例えば、判定値格納部の判定値について小数部から整数
部への桁上がりがなかったときは、高解像度画像の画素
を低解像度画像の画素として採用すると判定すればよ
い。
Here, the conversion rate is the ratio of the number of pixels in the low-resolution image corresponding to that direction to the number of pixels in the vertical or horizontal direction of the high-resolution image, or the ratio is subtracted from "1". Means the ratio In the former case, for example, when there is a carry from the decimal part to the integer part for the determination value of the determination value storage unit, it is determined that the pixels of the high resolution image are adopted as the pixels of the low resolution image, and in the latter case,
For example, when there is no carry from the decimal part to the integer part in the determination value of the determination value storage unit, it may be determined that the pixel of the high resolution image is adopted as the pixel of the low resolution image.

【0012】また、所定条件としては、例えば、判定値
格納部の判定値について整数部の特定桁が所定値となっ
たこと、判定値格納部の判定値について小数部の特定桁
が所定値となったこと、判定値格納部の判定値について
小数部から整数部への桁上がりがあったこと、または判
定値格納部の判定値について小数部から整数部への桁上
がりがなかったことが挙げられる。
The predetermined condition may be, for example, that the specific digit of the integer part of the judgment value of the judgment value storage unit is a predetermined value, and that the specific digit of the decimal part of the judgment value of the judgment value storage unit is the predetermined value. That the judgment value of the judgment value storage unit has a carry from the decimal part to the integer part, or that the judgment value of the judgment value storage unit has no carry from the decimal part to the integer part. Can be

【0013】また、高解像度画像の画素のうちどの画素
を低解像度画像の画素として採用するかは、判定手段の
判定結果に基づいて行うようになっていればどのように
行ってもよい。例えば、判定手段が高解像度画像の画素
を低解像度画像の画素として採用すると判定したとき
は、加算結果を得ることとなった加算時にカウントした
画素を低解像度画像の画素として採用するようになって
いてもよいし、加算結果を得ることとなった加算の次の
加算時にカウントする画素を低解像度画像の画素として
採用するようになっていてもよい。
Further, which pixel of the high-resolution image is adopted as the pixel of the low-resolution image may be determined in any manner as long as it is determined based on the determination result of the determination means. For example, when the determination unit determines that a pixel of the high-resolution image is to be used as a pixel of the low-resolution image, a pixel counted at the time of addition, which has obtained an addition result, is used as a pixel of the low-resolution image. Alternatively, a pixel to be counted at the time of addition following the addition that resulted in the addition may be adopted as a pixel of the low-resolution image.

【0014】さらに、本発明に係る請求項3記載の解像
度変換装置は、請求項2記載の解像度変換装置におい
て、前記変換率設定手段は、前記高解像度画像の垂直方
向または水平方向の画素をカウントするカウント手段
と、前記高解像度画像の中心から外側に向かうにつれて
前記変換率が小さくなるように前記変換率を前記カウン
ト手段のカウント値と対応付けて記憶した記憶手段と、
前記カウント手段のカウント値に対応する変換率を前記
記憶手段から読み出す読出手段とを有する。
Further, according to a third aspect of the present invention, in the resolution conversion apparatus according to the second aspect, the conversion rate setting means counts pixels of the high resolution image in a vertical direction or a horizontal direction. Counting means, and storage means for storing the conversion rate in association with the count value of the counting means such that the conversion rate decreases as going outward from the center of the high-resolution image,
Reading means for reading a conversion rate corresponding to the count value of the counting means from the storage means.

【0015】このような構成であれば、カウント手段に
より、高解像度画像の垂直方向または水平方向の画素が
カウントされ、読出手段により、カウント手段のカウン
ト値に対応する変換率が記憶手段から読み出される。
With such a configuration, the vertical or horizontal pixels of the high-resolution image are counted by the counting means, and the conversion rate corresponding to the count value of the counting means is read from the storage means by the reading means. .

【0016】さらに、本発明に係る請求項4記載の解像
度変換装置は、請求項2記載の解像度変換装置におい
て、前記変換率設定手段は、前記高解像度画像の垂直方
向または水平方向の画素をカウントするカウント手段
と、前記カウント手段のカウント値をXとして下式
(2)により前記変換率Yを算出する変換率算出手段と
を有する。
According to a fourth aspect of the present invention, in the resolution conversion apparatus according to the second aspect, the conversion rate setting means counts pixels in the vertical direction or the horizontal direction of the high resolution image. And a conversion rate calculating means for calculating the conversion rate Y by the following equation (2), where X is the count value of the counting means.

【0017】 Y = 1−A×(X−B)2 …(2) 但し、A,Bは定数である。Y = 1−A × (X−B) 2 (2) where A and B are constants.

【0018】このような構成であれば、カウント手段に
より、高解像度画像の垂直方向または水平方向の画素が
カウントされ、変換率算出手段により、カウント手段の
カウント値をXとして上式(2)により変換率Yが算出
される。
With such a configuration, the vertical or horizontal pixels of the high-resolution image are counted by the counting means, and the conversion rate calculating means sets the count value of the counting means to X by the above equation (2). The conversion rate Y is calculated.

【0019】ここで、変換率Yは、上記定義から0以上
かつ1以下の数値範囲をとりうるので、0以上の数値範
囲をとるためには、A×(X−B)2≦1を満たすよう
に定数A,Bの値を決定し、1以下の数値範囲をとるた
めには、A×(X−B)2≧0を満たすように定数A,
Bの値を決定する必要がある。
Here, since the conversion rate Y can take a numerical value range of 0 or more and 1 or less from the above definition, in order to obtain a numerical value range of 0 or more, it satisfies A × (X−B) 2 ≦ 1. In order to determine the values of the constants A and B as described above, and to obtain a numerical range of 1 or less, the constants A and B are set so that A × (X−B) 2 ≧ 0.
The value of B needs to be determined.

【0020】また、高解像度画像の中心から外側に向か
うにつれて変換率が小さくなるように変換率を設定する
ためには、例えば、定数Bをカウント手段のカウント値
の最大値の1/2に設定すればよい。この設定によれ
ば、カウント手段のカウント値Xが最小値または最大値
のとき、すなわち高解像度画像の最も外側では、(X−
B)2の値が最大となるため、変換率Yは最小値をと
る。一方、カウント手段のカウント値Xが最大値の1/
2のとき、すなわち高解像度画像の中心では、(X−
B)2の値が最小となるため、変換率Yは最大値をと
る。
In order to set the conversion rate such that the conversion rate decreases from the center of the high-resolution image toward the outside, for example, the constant B is set to 1/2 of the maximum value of the count value of the counting means. do it. According to this setting, when the count value X of the counting means is the minimum value or the maximum value, that is, at the outermost side of the high-resolution image, (X-
B) Since the value of 2 becomes maximum, the conversion rate Y takes a minimum value. On the other hand, the count value X of the counting means is 1 / the maximum value.
2, ie, at the center of the high-resolution image, (X−
B) Since the value of 2 becomes minimum, the conversion rate Y takes the maximum value.

【0021】さらに、本発明に係る請求項5記載の解像
度変換装置は、請求項2ないし4記載の解像度変換装置
において、前記判定手段は、前記加算手段による加算の
結果、前記判定値格納部の判定値について小数部から整
数部への桁上がりがあったときは、前記高解像度画像の
画素を前記低解像度画像の画素として採用すると判定す
るようになっている。
According to a fifth aspect of the present invention, there is provided a resolution conversion apparatus according to the second or fourth aspect, wherein the determining means determines whether or not the result of the addition by the adding means is a result of the determination. When there is a carry from the decimal part to the integer part in the determination value, it is determined that the pixel of the high resolution image is adopted as the pixel of the low resolution image.

【0022】このような構成であれば、加算手段による
加算の結果、判定値格納部の判定値について小数部から
整数部への桁上がりがあったときは、判定手段により、
高解像度画像の画素を低解像度画像の画素として採用す
ると判定される。
With such a configuration, as a result of the addition by the adding means, when there is a carry from the decimal part to the integer part in the judgment value in the judgment value storage, the judgment means
It is determined that the pixels of the high resolution image are adopted as the pixels of the low resolution image.

【0023】以上では、上記目的を達成するための解像
度変換装置を提案したが、これに限らず、上記目的を達
成するために、次に掲げる解像度変換プログラムを記憶
した記憶媒体を提供することもできる。
In the above, a resolution conversion device for achieving the above object has been proposed. However, the present invention is not limited to this, and it is also possible to provide a storage medium storing the following resolution conversion program for achieving the above object. it can.

【0024】この記憶媒体は、画像を構成する画素の一
部を間引くことにより高解像度画像を低解像度画像に変
換する解像度変換プログラムを記憶した記憶媒体におい
て、整数部および小数部からなる判定値を格納可能な判
定値格納部を備えるコンピュータに対して、変換率を設
定する変換率設定手段と、前記高解像度画像の垂直方向
または水平方向の画素を1カウントするごとに前記変換
率設定手段で設定した変換率を前記判定値格納部の判定
値に加算する加算手段と、前記加算手段の加算結果に基
づいて前記高解像度画像の画素を前記低解像度画像の画
素として採用するか否かを判定する判定手段とで実現さ
れる処理を実行させるためのプログラムを記憶し、前記
判定手段は、前記加算手段による加算の結果、前記判定
値格納部の判定値が所定条件を満たしているときは、前
記高解像度画像の画素を前記低解像度画像の画素として
採用すると判定するようになっており、前記変換率設定
手段は、前記高解像度画像の中心から外側に向かうにつ
れて前記変換率が小さくなるように前記変換率を設定す
るようになっているコンピュータ読み取り可能な記憶媒
体である。
This storage medium stores a resolution conversion program for converting a high-resolution image into a low-resolution image by thinning out some of the pixels constituting the image. A conversion rate setting means for setting a conversion rate for a computer having a storable determination value storage unit, and a conversion rate setting means for setting each time one vertical or horizontal pixel of the high-resolution image is counted. Adding means for adding the obtained conversion rate to the determination value in the determination value storage unit, and determining whether to adopt pixels of the high resolution image as pixels of the low resolution image based on the addition result of the addition means. A program for executing a process realized by the determination unit is stored, and the determination unit stores the determination result in the determination value storage unit as a result of the addition by the addition unit. When the predetermined condition is satisfied, it is determined that the pixels of the high-resolution image are adopted as the pixels of the low-resolution image, and the conversion rate setting unit goes outward from the center of the high-resolution image. A computer-readable storage medium configured to set the conversion rate such that the conversion rate decreases as the conversion rate decreases.

【0025】このような構成であれば、記憶媒体に記憶
されたプログラムがコンピュータによって読み取られ、
読み取られたプログラムに従ってコンピュータが実行し
たときは、請求項2記載の解像度変換装置と同等の作用
が得られる。
With such a configuration, the program stored in the storage medium is read by the computer,
When the computer executes the program in accordance with the read program, an operation equivalent to that of the resolution converter according to the second aspect is obtained.

【0026】[0026]

【発明の実施の形態】以下、本発明の第1の実施の形態
を図面を参照しながら説明する。図1ないし図5は、本
発明に係る解像度変換装置の第1の実施の形態を示す図
である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. 1 to 5 are diagrams showing a first embodiment of a resolution conversion device according to the present invention.

【0027】本実施の形態は、本発明に係る解像度変換
装置を、図1に示すように、CCDカメラ100におい
て、CCD14で取り込んだ高解像度画像を低解像度画
像に変換してメインメモリ42に格納する場合について
適用したものである。
In this embodiment, as shown in FIG. 1, a resolution conversion device according to the present invention converts a high-resolution image captured by a CCD 14 into a low-resolution image in a CCD camera 100 and stores it in a main memory 42. This applies to cases where

【0028】まず、本発明を適用するCCDカメラ10
0の構成を図1を参照しながら説明する。図1は、CC
Dカメラ100の内部構成を示すブロック図である。
First, a CCD camera 10 to which the present invention is applied
0 will be described with reference to FIG. FIG. 1 shows the CC
FIG. 2 is a block diagram showing an internal configuration of the D camera 100.

【0029】CCDカメラ100は、図1に示すよう
に、撮影画像をデータとして取り込む撮影部10と、撮
影部10で取り込んだ高解像度画像をLCD52が表示
可能な低解像度画像に変換する変換部20と、変換部2
0で変換した低解像度画像を表示する表示部50とで構
成されている。
As shown in FIG. 1, the CCD camera 100 includes a photographing unit 10 for taking a photographed image as data, and a conversion unit 20 for converting a high-resolution image taken by the photographing unit 10 into a low-resolution image that can be displayed on the LCD 52. And the conversion unit 2
And a display unit 50 for displaying the low-resolution image converted by the zero.

【0030】撮影部10は、光学レンズ12と、CCD
14と、CCD14を制御するCCD制御回路16とで
構成されている。
The photographing unit 10 includes an optical lens 12 and a CCD.
And a CCD control circuit 16 for controlling the CCD 14.

【0031】CCD14は、複数の画素を有し、前段に
配置された光学レンズ12を介して各画素に結像する被
写体の光画像を画像信号(電気信号)に光電変換するよ
うになっている。
The CCD 14 has a plurality of pixels, and photoelectrically converts an optical image of a subject formed on each pixel into an image signal (electric signal) via the optical lens 12 disposed at the preceding stage. .

【0032】CCD処理回路16は、図示しないが、C
CD駆動回路と、A/D変換回路と、画像処理部(DS
P:Digital Signal Processor)とを有している。CC
D駆動回路は、CCD14に対して垂直および水平駆動
パルスを供給し、CCD14で光電変換した画像信号を
A/D変換回路に出力するようになっている。A/D変
換回路は、画像信号を所定レベルに増幅し、所定タイミ
ングでサンプリングし、サンプリングしたディジタル画
像データをDSPに出力するようになっている。画像処
理部は、ディジタル画像データから撮影画像データを生
成し、生成した撮影画像データを変換部20に出力する
ようになっている。なお、画像処理部は、CCD14を
駆動する速度で画像処理を行い、変換部20に対して
は、同様にCCD14を駆動する速度で撮影画像データ
を出力する。
Although not shown, the CCD processing circuit 16 has a C
CD drive circuit, A / D conversion circuit, and image processing unit (DS
P: Digital Signal Processor). CC
The D drive circuit supplies vertical and horizontal drive pulses to the CCD 14, and outputs an image signal photoelectrically converted by the CCD 14 to the A / D conversion circuit. The A / D conversion circuit amplifies the image signal to a predetermined level, samples at a predetermined timing, and outputs the sampled digital image data to the DSP. The image processing unit generates captured image data from the digital image data, and outputs the generated captured image data to the conversion unit 20. Note that the image processing unit performs image processing at a speed at which the CCD 14 is driven, and similarly outputs captured image data to the conversion unit 20 at a speed at which the CCD 14 is driven.

【0033】表示部50は、LCD52に画像を表示す
るタイミングを示すタイミング信号を生成するタイミン
グ生成回路54と、タイミング生成回路54で生成した
タイミング信号に同期して画像を表示するLCD52と
で構成されている。
The display section 50 includes a timing generation circuit 54 for generating a timing signal indicating the timing of displaying an image on the LCD 52, and an LCD 52 for displaying an image in synchronization with the timing signal generated by the timing generation circuit 54. ing.

【0034】変換部20は、撮影部10で取り込んだ高
解像度画像である撮影画像データを低解像度画像である
格納用画像データに変換する解像度変換回路30と、撮
影部10で取り込んだ高解像度画像である撮影画像デー
タをLCD52が表示可能な低解像度画像である表示画
像データに変換する解像度変換回路39と、制御プログ
ラムに基づいて演算およびシステム全体を制御するCP
U40と、画像データを格納するためのメインメモリ4
2と、解像度変換回路30で変換した格納用画像データ
をメインメモリ42に書き込む画像データ書込回路44
と、解像度変換回路39で変換した表示画像データをメ
インメモリ42に書き込む画像データ書込回路45と、
メインメモリ42の表示画像データに基づいてLCD5
2に画像を表示する制御を行う表示制御回路46と、メ
インメモリ42へのアクセスを制御するアクセス制御回
路48とで構成されている。その他、図示しないが、所
定領域にあらかじめCPU40の制御プログラム等を格
納しているROMを有し、CPU40は、ROMの所定
領域に格納されている所定のプログラムを起動させ、そ
のプログラムに従って動作するようになっている。
The conversion unit 20 includes a resolution conversion circuit 30 that converts captured image data, which is a high-resolution image captured by the imaging unit 10, into storage image data, which is a low-resolution image, and a high-resolution image captured by the imaging unit 10. A resolution conversion circuit 39 for converting captured image data, which is a low resolution image that can be displayed by the LCD 52, to a display image data, and a CP for calculating and controlling the entire system based on a control program.
U40 and main memory 4 for storing image data
2 and an image data writing circuit 44 for writing the storage image data converted by the resolution conversion circuit 30 into the main memory 42.
An image data writing circuit 45 for writing the display image data converted by the resolution conversion circuit 39 into the main memory 42;
The LCD 5 based on the display image data in the main memory 42
2 includes a display control circuit 46 for controlling display of an image and an access control circuit 48 for controlling access to the main memory 42. In addition, although not shown, a predetermined area has a ROM in which a control program of the CPU 40 is stored in advance, and the CPU 40 activates a predetermined program stored in the predetermined area of the ROM and operates according to the program. It has become.

【0035】メインメモリ42は、ROM等から読み出
したデータやCPU40の演算過程で必要な演算結果を
格納するためのRAM等からなり、さらにRAMは、特
定領域として、表示画像データを格納するためのVRA
M43を有している。VRAM43は、CPU40と、
画像データ書込回路45と、表示制御回路46とでそれ
ぞれ独立にアクセスが可能となっている。
The main memory 42 is composed of a RAM for storing data read from a ROM or the like and a calculation result required in the calculation process of the CPU 40. The RAM is used as a specific area for storing display image data. VRA
M43. The VRAM 43 includes a CPU 40,
The image data writing circuit 45 and the display control circuit 46 can access each independently.

【0036】解像度変換回路39は、整数部および小数
部からなる変換率(高解像度画像の垂直方向または水平
方向の画素数に対して低解像度画像のその方向に対応す
る画素数が占める割合)を格納可能な変換率レジスタ
と、整数部および小数部からなる判定値を格納可能な判
定値レジスタと、撮影画像データの垂直方向または水平
方向のピクセルデータを1カウントするごとに判定値レ
ジスタの判定値に変換率レジスタの変換率を加算する加
算回路と、加算回路の加算結果に基づいて撮影画像デー
タのピクセルデータを表示画像データとして採用するか
否かを判定する判定回路とを備え、判定回路は、加算回
路による加算の結果、判定値レジスタの判定値について
小数部から整数部への桁上がりがあったときは、撮影画
像データのピクセルデータを表示画像データとして採用
すると判定するようになっている。変換率レジスタに
は、撮影画像データの垂直方向または水平方向の画素数
に対して表示画像データのその方向に対応する画素数が
占める割合を設定する。
The resolution conversion circuit 39 determines the conversion rate (the ratio of the number of pixels in the low-resolution image corresponding to the direction to the number of pixels in the vertical or horizontal direction of the high-resolution image) composed of an integer part and a decimal part. A conversion rate register capable of storing, a determination value register capable of storing a determination value including an integer part and a decimal part, and a determination value of the determination value register each time vertical or horizontal pixel data of captured image data is counted An addition circuit that adds the conversion rate of the conversion rate register to the conversion rate register, and a determination circuit that determines whether to use the pixel data of the captured image data as the display image data based on the addition result of the addition circuit. If the result of the addition by the adder circuit indicates that there is a carry from the decimal part to the integer part in the judgment value of the judgment value register, the pixel of the captured image data It is adapted to determine to adopt the over data as display image data. In the conversion ratio register, the ratio of the number of pixels in the display image data corresponding to that direction to the number of pixels in the vertical or horizontal direction of the captured image data is set.

【0037】画像データ書込回路44は、図示しないレ
リーズスイッチが押下されることによりCPU40から
取込要求があったときは、撮影画像を高解像度でメイン
メモリ42の所定領域(VRAM43以外の領域)に格
納するために、解像度変換回路30で変換した格納用画
像データをメインメモリ42の上記所定領域に格納する
ようになっている。
When a release request (not shown) is depressed and the CPU 40 issues a capture request when the release switch (not shown) is pressed, the image data writing circuit 44 converts the captured image into a predetermined area of the main memory 42 at high resolution (an area other than the VRAM 43). , The storage image data converted by the resolution conversion circuit 30 is stored in the predetermined area of the main memory 42.

【0038】画像データ書込回路45は、撮影画像を低
解像度でLCD52に表示するために、解像度変換回路
39で変換した表示画像データをVRAM43に書き込
むようになっている。
The image data writing circuit 45 writes the display image data converted by the resolution conversion circuit 39 into the VRAM 43 in order to display the photographed image on the LCD 52 at a low resolution.

【0039】表示制御回路46は、タイミング生成回路
54で生成したタイミング信号に同期して、VRAM4
3に格納されている表示画像データを先頭アドレスから
順次読み出し、読み出した表示画像データを画像信号に
変換してLCD52に出力するようになっている。
The display control circuit 46 synchronizes with the timing signal generated by the timing generation circuit 54 to
3 is sequentially read from the head address, and the read display image data is converted into an image signal and output to the LCD 52.

【0040】アクセス制御回路48は、CPU40、画
像データ書込回路44,45または表示制御回路46か
らメインメモリ42へのアクセスが同時に複数あったと
きは、それらのアクセスのうちいずれかを許可し、他の
ものについては許可したアクセスが終了するまで待機さ
せることにより、メインメモリ42に対しては常に一つ
のアクセスのみを許可するようになっている。なお、ア
クセスが同時に複数あったときだけでなく、メインメモ
リ42へのアクセス中に他のアクセスがあったときも、
同様に動作する。
When a plurality of accesses from the CPU 40, the image data writing circuits 44 and 45 or the display control circuit 46 to the main memory 42 are made at the same time, the access control circuit 48 permits one of those accesses. The other memory is kept waiting until the permitted access is completed, so that only one access to the main memory 42 is always permitted. In addition, not only when there is a plurality of accesses at the same time, but also when there is another access while accessing the main memory 42,
It works similarly.

【0041】次に、解像度変換回路30の構成を図2お
よび図3を参照しながら詳細に説明する。図2および図
3は、解像度変換回路30の回路構成を示すブロック図
である。
Next, the configuration of the resolution conversion circuit 30 will be described in detail with reference to FIGS. 2 and 3 are block diagrams showing the circuit configuration of the resolution conversion circuit 30.

【0042】解像度変換回路30は、図2に示すよう
に、撮影画像データとして撮影画像を構成する各画素の
色彩を示すピクセルデータをシーケンシャルに入力する
とともに、CCD14の垂直方向および水平方向先頭の
画素(CCD14の左上の画素)が入力されるタイミン
グを示すVSYNCin信号と、CCD14の水平方向先頭の
画素(CCD14の各ライン左の画素)が入力されるタ
イミングを示すHSYNCin信号と、各ピクセルデータが入
力されるタイミングを示すPXL_CLK信号とを入力するよ
うになっている。また、格納用画像データとしてその画
像を構成する各画素の色彩を示すピクセルデータをシー
ケンシャルに出力するとともに、VSYNCin信号を遅延さ
せたVSYNCout信号と、HSYNCin信号を遅延させたHSYNC
out信号と、格納用画像データとして出力されるピクセ
ルデータが有効であるか否かを示すPXL_ENB信号とを出
力するようになっている。
As shown in FIG. 2, the resolution conversion circuit 30 sequentially inputs pixel data indicating the color of each pixel constituting the photographed image as photographed image data, and outputs the first pixel in the vertical and horizontal directions of the CCD 14. (A VSYNC in signal indicating the timing at which the upper left pixel of the CCD 14 is input), an HSYNC in signal indicating a timing at which the first pixel in the horizontal direction of the CCD 14 (the left pixel of each line of the CCD 14) is input, and each pixel data And a PXL_CLK signal indicating the timing at which the is input. Further, it outputs the pixel data indicating a color of each pixel configuring the image as stored image data sequentially, the VSYNC out signal obtained by delaying the VSYNC in signal, obtained by delaying the HSYNC in signal HSYNC
An out signal and a PXL_ENB signal indicating whether or not pixel data output as storage image data are valid are output.

【0043】解像度変換回路30は、図3に示すよう
に、HSYNCin信号およびPXL_CLK信号と同期して表示アド
レス計算回路34を制御する同期制御回路32と、撮影
画像データのうち格納用画像データとして採用するピク
セルデータの撮影画像データ中でのアドレスを計算する
表示アドレス計算回路34と、撮影画像データのうち格
納用画像データとして採用するピクセルデータをラッチ
するデータラッチ回路36とで構成されている。
As shown in FIG. 3, the resolution conversion circuit 30 controls the display address calculation circuit 34 in synchronization with the HSYNC in signal and the PXL_CLK signal, and as the storage image data of the captured image data. It comprises a display address calculation circuit 34 for calculating the address of the adopted pixel data in the photographed image data, and a data latch circuit 36 for latching pixel data employed as storage image data in the photographed image data.

【0044】同期制御回路32は、VSYNCin信号、HSYNC
in信号およびPXL_CLK信号を入力するようになってい
る。また、HSYNCin信号をRESET信号として出力するとと
もに、格納用画像データの出力タイミングに応じてVSYN
Cin信号を所定時間だけ遅延させたVSYNCout信号と、格
納用画像データの出力タイミングに応じてHSYNCin信号
を所定時間だけ遅延させたHSYNCout信号とを出力するよ
うになっている。
The synchronization control circuit 32 outputs the VSYNC in signal, HSYNC
The in signal and the PXL_CLK signal are input. In addition, the HSYNC in signal is output as a RESET signal, and VSYN in accordance with the output timing of the storage image data.
A VSYNC out signal obtained by delaying the C in signal by a predetermined time and an HSYNC out signal obtained by delaying the HSYNC in signal by a predetermined time in accordance with the output timing of the image data for storage are output.

【0045】表示アドレス計算回路34は、PXL_CLK信
号およびRESET信号を入力し、PXL_ENB信号を出力するよ
うになっている。
The display address calculation circuit 34 receives the PXL_CLK signal and the RESET signal, and outputs a PXL_ENB signal.

【0046】データラッチ回路34は、PXL_ENB信号の
入力タイミングで、撮影画像データをラッチするように
なっている。これにより、撮影画像データのうち格納用
画像データとして採用するピクセルデータをラッチす
る。
The data latch circuit 34 latches captured image data at the input timing of the PXL_ENB signal. As a result, the pixel data used as the storage image data among the captured image data is latched.

【0047】次に、表示アドレス計算回路34の構成を
図4を参照しながら詳細に説明する。図4は、表示アド
レス計算回路34の回路構成を示すブロック図である。
Next, the configuration of the display address calculation circuit 34 will be described in detail with reference to FIG. FIG. 4 is a block diagram showing a circuit configuration of the display address calculation circuit 34.

【0048】表示アドレス計算回路34は、図4に示す
ように、撮影画像データのピクセルデータをカウントす
るカウンタ34a1と、カウンタ34a1のカウント値に
対応する変換率を変換率テーブルから読み出す変換率設
定回路34a2と、整数部および小数部からなる判定値
のうち整数部を格納可能な整数部レジスタ34bと、判
定値のうち小数部を格納可能な小数部レジスタ34c
と、変換率設定回路34a2で設定した変換率をレジス
タ34b,34cの判定値に加算する加算回路34d
と、加算回路34dの加算結果に基づいてPXL_ENB信号
を出力する判定回路34eとで構成されている。
The display address calculating circuit 34, as shown in FIG. 4, the conversion rate of reading the counter 34a 1 for counting the pixel data of the captured image data, the conversion ratio corresponding to the count value of the counter 34a 1 from the conversion rate table a setting circuit 34a 2, the integer part and an integer part register 34b capable of storing integer part of the decision value consisting of the fractional part, retractable fractional part register 34c a fractional portion of the determined value
When adder circuit 34d for adding the conversion rate set in the conversion rate setting circuit 34a 2 register 34b, the determination value 34c
And a determination circuit 34e that outputs a PXL_ENB signal based on the addition result of the addition circuit 34d.

【0049】カウンタ34a1は、PXL_CLK信号を入力す
るごとに、保持しているカウント値に“1”を加算して
変換率設定回路34a2に出力し、RESET信号の入力タイ
ミングで、保持しているカウント値をリセットするよう
になっている。
The counter 34a 1, each time entering the PXL_CLK signal, held to the count value is added to "1" is output to the conversion rate setting circuit 34a 2, at the input timing of the RESET signal, and holds Reset the count value.

【0050】変換率設定回路34a2は、図5に示すよ
うに、撮影画像データの中心から外側に向かうにつれて
変換率が小さくなるように変換率をカウンタ34a1
カウント値と対応付けて記憶した変換率テーブル110
を有し、カウンタ34a1からカウント値を入力したと
きは、入力したカウント値に対応する変換率を変換率テ
ーブル110から読み出して加算回路34dに出力する
ようになっている。図5は、変換率テーブル110のデ
ータ構造を示す図である。
The conversion rate setting circuit 34a 2, as shown in FIG. 5, stores from the center of the captured image data in association with the count value of the counter 34a 1 the conversion rate so that the conversion rate decreases toward the outside Conversion rate table 110
Has, when inputting the count value from the counter 34a 1 reads out the conversion ratio corresponding to the count value input from the conversion table 110 and outputs to the adding circuit 34d. FIG. 5 is a diagram showing a data structure of the conversion rate table 110.

【0051】変換率テーブル110は、各カウント値ご
とに一つのレコードを登録しており、各レコードは、カ
ウント値を登録するフィールド112と、変換率を登録
するフィールド114とを含んで構成されている。変換
率テーブル110に登録されているカウント値と変換率
とは、次のような関係を有している。すなわち、カウン
ト値をXとすると、変換率Yは、下式(3)により算出
することができる。下式(3)において、カウント値の
最大値が“1999”であるときは、撮影画像データの
中心から外側に向かうにつれて変換率が小さくするため
に、定数Aは、例えば“1/1000000”となり、
定数Bは、例えば“1000”となる。
The conversion rate table 110 registers one record for each count value. Each record includes a field 112 for registering a count value and a field 114 for registering a conversion rate. I have. The count value and the conversion rate registered in the conversion rate table 110 have the following relationship. That is, assuming that the count value is X, the conversion rate Y can be calculated by the following equation (3). In the following expression (3), when the maximum value of the count value is “1999”, the constant A becomes, for example, “1/10000000” because the conversion rate decreases from the center of the captured image data toward the outside. ,
The constant B is, for example, "1000".

【0052】 Y = 1−A×(X−B)2 …(3) 図5の例では、図中最上段のレコードには、フィールド
112にカウント値として“0”が、フィールド114
に変換率として“0”が登録されている。また、図中最
下段のレコードには、フィールド112にカウント値と
して“1999”が、フィールド114に変換率として
“0.001999”が登録されている。
Y = 1−A × (X−B) 2 (3) In the example shown in FIG. 5, in the record at the top of the figure, “0” as the count value
Is registered as the conversion rate. In the lowermost record in the figure, “1999” is registered in the field 112 as the count value, and “0.001999” is registered in the field 114 as the conversion rate.

【0053】加算回路34dは、PXL_CLK信号を入力す
るごとに、整数部レジスタ34bの整数部および小数部
レジスタ34cの小数部からなる判定値に変換率設定回
路34a2で設定した変換率を加算し、その加算結果の
うち整数部を整数部レジスタ34bに出力するとともに
小数部を小数部レジスタ34cに出力するようになって
いる。
The adder circuit 34d, each time entering the PXL_CLK signal, adds the integer part and conversion rate set in the conversion rate setting circuit 34a 2 to the determination value consisting of the fractional part of the fractional part register 34c of the integer part register 34b In addition, the integer part of the addition result is output to the integer part register 34b, and the decimal part is output to the decimal part register 34c.

【0054】整数部レジスタ34bは、RESET信号の入
力タイミングで、保持している内容をリセットし、PXL_
CLK信号の入力タイミングで、加算回路34dの加算結
果をラッチするようになっている。
The integer part register 34b resets the held content at the input timing of the RESET signal, and resets the PXL_
The addition result of the addition circuit 34d is latched at the input timing of the CLK signal.

【0055】小数部レジスタ34cは、RESET信号の入
力タイミングで、保持している内容をリセットし、PXL_
CLK信号の入力タイミングで、加算回路34dの加算結
果をラッチするようになっている。
The fraction register 34c resets the held content at the input timing of the RESET signal, and resets the PXL_
The addition result of the addition circuit 34d is latched at the input timing of the CLK signal.

【0056】判定回路34eは、加算回路34dによる
加算の結果、整数部レジスタ34bの値が変化したとき
は、PXL_ENB信号を出力するようになっている。すなわ
ち、判定値について小数部から整数部への桁上がりがあ
ったときは、撮影画像データのピクセルデータを格納用
画像データとして採用すると判定する。
The decision circuit 34e outputs a PXL_ENB signal when the value of the integer register 34b changes as a result of the addition by the addition circuit 34d. That is, when there is a carry from the decimal part to the integer part in the determination value, it is determined that the pixel data of the captured image data is adopted as the storage image data.

【0057】なお、同期制御回路32、表示アドレス計
算回路34およびデータラッチ回路34は、撮影画像デ
ータの水平方向の画素に対して解像度変換を行う回路で
あるが、撮影画像データの垂直方向の画素に対して解像
度変換を行う回路もこれと同様に構成することができ
る。
The synchronization control circuit 32, the display address calculation circuit 34, and the data latch circuit 34 are circuits for performing resolution conversion on the horizontal pixels of the captured image data. A circuit for converting the resolution of the image data can be similarly configured.

【0058】次に、上記第1の実施の形態の動作を説明
する。
Next, the operation of the first embodiment will be described.

【0059】CCD14の解像度が2000×1500
画素である場合を例にとって説明する。この場合、撮影
画像データの水平方向の画素数は、“2000”であ
り、撮影画像データの垂直方向の画素数は、“150
0”である。
The resolution of the CCD 14 is 2000 × 1500.
The case where the pixel is used will be described as an example. In this case, the number of pixels in the horizontal direction of the captured image data is “2000”, and the number of pixels in the vertical direction of the captured image data is “150”.
0 ".

【0060】まず、図示しないレリーズスイッチが押下
されると、CPU40により、取込要求が画像データ書
込回路45に出力される。画像データ書込回路45で
は、取込要求があると、撮影部10により撮影画像がデ
ータとして取り込まれ、取り込まれた撮影画像データが
解像度変換回路30に出力される。
First, when a release switch (not shown) is depressed, the CPU 40 outputs a capture request to the image data writing circuit 45. In the image data writing circuit 45, when there is a capture request, a captured image is captured as data by the capturing unit 10, and the captured captured image data is output to the resolution conversion circuit 30.

【0061】解像度変換回路30では、撮影画像データ
が入力されると、CCD14の上から一番目のラインの
各画素について、カウンタ34a1により、撮影画像デ
ータのピクセルデータがカウントされ、変換率設定回路
34a2により、カウンタ34a1のカウント値に対応す
る変換率が変換率テーブル110から読み出され、加算
回路34dに出力される。このとき、読み出される変換
率は、撮影画像データの中心から外側に向かうにつれて
小さくなる。例えば、カウンタ34a1のカウント値が
最小値“0”または最大値“1999”のとき、すなわ
ち撮影画像データの最も外側では、変換率は最小値
“0”をとる。一方、カウンタ34a1のカウント値が
“1000”のとき、すなわち撮影画像データの中心で
は、変換率Yは最大値“1”をとる。
[0061] In the resolution conversion circuit 30, the captured image data is input, for each pixel of a first line from the top of the CCD 14, the counter 34a 1, pixel data of the photographed image data is counted, conversion rate setting circuit the 34a 2, conversion ratio corresponding to the count value of the counter 34a 1 is read from the conversion table 110, is output to the adding circuit 34d. At this time, the read conversion rate decreases from the center of the captured image data toward the outside. For example, when the count value of the counter 34a 1 is the minimum value of "0" or the maximum value "1999", that is, the outermost of the captured image data, conversion is the minimum value "0". On the other hand, when the counter 34a 1 the count value is "1000", that is, the center of the captured image data, conversion ratio Y is the maximum value "1".

【0062】加算回路34dでは、ピクセルデータを1
カウントするごとに、変換率設定回路34a2からの変
換率がレジスタ34b,34cの判定値に加算される。
その結果、小数部から整数部への桁上がりがあったとき
は、判定回路34eにより、PXL_ENB信号が出力され
る。 次いで、データラッチ回路36により、PXL_ENB信
号の入力タイミングで、撮影画像データがラッチされ
る。これにより、CCD14の上から一番目のラインの
各画素について、撮影画像データのうち格納用画像デー
タとして採用するピクセルデータがラッチされる。
In the adder circuit 34d, the pixel data is set to 1
Each counting, conversion of the conversion rate setting circuit 34a 2 is register 34b, is added to the determination value 34c.
As a result, when there is a carry from the decimal part to the integer part, the determination circuit 34e outputs the PXL_ENB signal. Next, the captured image data is latched by the data latch circuit 36 at the input timing of the PXL_ENB signal. As a result, for each pixel on the first line from the top of the CCD 14, pixel data to be employed as storage image data among the captured image data is latched.

【0063】そして、これら一連の処理がCCD14の
各ラインについて行われる。なお、ここでは、撮影画像
データの水平方向の画素に対して解像度変換を行う場合
について説明したが、撮影画像データの垂直方向の画素
に対して解像度変換を行う場合もこれと同じ要領で動作
する。
A series of these processes is performed for each line of the CCD 14. Here, the case where the resolution conversion is performed on the pixels in the horizontal direction of the captured image data has been described, but the case where the resolution conversion is performed on the pixels in the vertical direction of the captured image data also operates in the same manner. .

【0064】一方、画像データ書込回路44では、格納
用画像データが入力されると、解像度変換回路30で変
換された格納用画像データがメインメモリ42の上記所
定領域に書き込まれる。メインメモリ42に書き込む際
には、格納用画像データがさらにJPEG形式等により
圧縮される。
On the other hand, when image data for storage is input to the image data writing circuit 44, the image data for storage converted by the resolution conversion circuit 30 is written in the predetermined area of the main memory 42. When writing to the main memory 42, the storage image data is further compressed in a JPEG format or the like.

【0065】なお、図示しないレリーズスイッチが押下
されていない非撮影時では、撮影画像を低解像度でLC
D52に表示するために、次のように動作する。
When a release switch (not shown) is not pressed, the captured image is displayed at a low resolution.
In order to display on D52, the following operation is performed.

【0066】2000×1500画素の撮影画像を40
0×375画素の表示画像に変換する場合を例にとって
説明する。この場合、撮影画像の垂直方向または水平方
向の画素数に対して表示画像のその方向に対応する画素
数が占める割合が“0.2”なので、変換率レジスタに
は、変換率として“0.2”を設定する。
A photographic image of 2000 × 1500 pixels is converted into 40
The case of converting to a display image of 0 × 375 pixels will be described as an example. In this case, the ratio of the number of pixels corresponding to the direction of the display image to the number of pixels in the vertical direction or the horizontal direction of the captured image is "0.2". 2 ”is set.

【0067】まず、撮影部10では、撮影画像がデータ
として取り込まれ、取り込まれた撮影画像データが解像
度変換回路39に出力される。
First, in the photographing unit 10, a photographed image is captured as data, and the captured captured image data is output to the resolution conversion circuit 39.

【0068】解像度変換回路39では、撮影画像データ
が入力されると、CCD14の上から一番目のラインの
各画素について、加算回路により、ピクセルデータを1
カウントするごとに、レジスタの判定値に変換率レジス
タの変換率“0.2”が加算される。その結果、小数部
から整数部への桁上がりがあったときは、判定回路によ
り、PXL_ENB信号が出力される。 次いで、データラッチ
回路36により、PXL_ENB信号の入力タイミングで、撮
影画像データがラッチされる。これにより、CCD14
の上から一番目のラインの各画素について、撮影画像デ
ータのうち格納用画像データとして採用するピクセルデ
ータがラッチされる。
When the captured image data is input to the resolution conversion circuit 39, the pixel data of each pixel on the first line from the top of the CCD 14 is reduced by the addition circuit to 1 pixel data.
Each time counting is performed, the conversion rate “0.2” of the conversion rate register is added to the determination value of the register. As a result, when there is a carry from the decimal part to the integer part, the determination circuit outputs the PXL_ENB signal. Next, the captured image data is latched by the data latch circuit 36 at the input timing of the PXL_ENB signal. Thereby, the CCD 14
For each pixel on the first line from above, pixel data to be adopted as storage image data among the captured image data is latched.

【0069】そして、これら一連の処理がCCD14の
各ラインについて行われる。なお、ここでは、撮影画像
データの水平方向の画素に対して解像度変換を行う場合
について説明したが、撮影画像データの垂直方向の画素
に対して解像度変換を行う場合もこれと同じ要領で動作
する。
A series of these processes is performed for each line of the CCD 14. Here, the case where the resolution conversion is performed on the pixels in the horizontal direction of the captured image data has been described, but the case where the resolution conversion is performed on the pixels in the vertical direction of the captured image data also operates in the same manner. .

【0070】一方、画像データ書込回路45では、表示
画像データが入力されると、解像度変換回路39で変換
された表示画像データがVRAM43に書き込まれる。
VRAM43に表示画像データが書き込まれると、表示
制御回路46により、タイミング生成回路54からのタ
イミング信号に同期して、VRAM43の表示画像デー
タが先頭アドレスから順次読み出され、読み出された表
示画像データが画像信号に変換されてLCD52に出力
される。これにより、LCD52では、撮影部10で取
り込まれた撮影画像データが表示可能な低解像度画像に
変換されて表示される。
On the other hand, when the display image data is input to the image data writing circuit 45, the display image data converted by the resolution conversion circuit 39 is written to the VRAM 43.
When the display image data is written to the VRAM 43, the display image data of the VRAM 43 is sequentially read from the head address by the display control circuit 46 in synchronization with the timing signal from the timing generation circuit 54, and the read display image data is read out. Is converted into an image signal and output to the LCD 52. As a result, on the LCD 52, the captured image data captured by the capturing unit 10 is converted into a displayable low-resolution image and displayed.

【0071】このようにして、本実施の形態では、解像
度変換回路30は、撮影画像データのピクセルデータを
カウントするカウンタ34a1と、撮影画像データの中
心から外側に向かうにつれて変換率が小さくなるように
変換率をカウント値と対応付けて記憶した変換率テーブ
ル110からカウンタ34a1のカウント値に対応する
変換率を読み出す変換率設定回路34a2と、整数部お
よび小数部からなる判定値のうち整数部を格納可能な整
数部レジスタ34bと、判定値のうち小数部を格納可能
な小数部レジスタ34cと、変換率設定回路34a2
設定した変換率をレジスタ34b,34cの判定値に加
算する加算回路34dと、加算回路34dの加算結果に
基づいてPXL_ENB信号を出力する判定回路34eとを備
え、判定回路34eは、加算回路34dによる加算の結
果、レジスタ34b,34cの判定値について小数部か
ら整数部への桁上がりがあったときは、撮影画像データ
のピクセルデータを格納用画像データとして採用すると
判定するようにした。
[0071] Thus, in the present embodiment, the resolution conversion circuit 30 includes a counter 34a 1 for counting the pixel data of the captured image data, as the conversion rate as from the center of the photographed image data toward the outside becomes small a conversion factor setting circuit 34a 2 for reading the conversion ratio corresponding from the conversion rate table 110 that the conversion rate and stored in association with the count value of the count value of the counter 34a 1, the integer of the decision value consisting of an integer part and a fractional part and integer unit register 34b capable of storing parts, and can be stored fractional part register 34c a fractional part of the decision value, adds the conversion rate set in the conversion rate setting circuit 34a 2 to the determination value of the register 34b, 34c adds Circuit 34d, and a determination circuit 34e that outputs a PXL_ENB signal based on the addition result of the addition circuit 34d. As a result of the addition performed by the arithmetic circuit 34d, when there is a carry from the decimal part to the integer part in the determination values of the registers 34b and 34c, it is determined that the pixel data of the captured image data is used as the storage image data. .

【0072】これにより、撮影画像においては、被写体
が存在する中心の解像度が高くなり、逆に被写体が存在
しない外側の解像度が低くなるので、見た目をさほど損
なうことなく、格納用画像データのデータ容量を低減す
ることができる。したがって、従来に比して、画像の解
像度をさほど低下させず、画像のデータ容量を比較的低
減することができる。
As a result, in the captured image, the resolution at the center where the subject exists is high, and the resolution outside the subject is low is low. Therefore, the data capacity of the storage image data is not significantly impaired. Can be reduced. Therefore, the data capacity of the image can be relatively reduced without significantly reducing the resolution of the image as compared with the related art.

【0073】さらに、本実施の形態では、撮影画像デー
タの中心から外側に向かうにつれて変換率が小さくなる
ように変換率をカウント値と対応付けて記憶した変換率
テーブル110からカウンタ34a1のカウント値に対
応する変換率を読み出すようにした。
[0073] Further, in this embodiment, the center from the count value from the conversion table 110 which stores the counter 34a 1 the conversion rate so that the conversion rate decreases in correspondence with the count value toward the outside of the photographic image data The conversion rate corresponding to is read.

【0074】これにより、計算により変換率を算出する
場合に比して、解像度変換回路30の処理負担を小さく
することができる。
As a result, the processing load on the resolution conversion circuit 30 can be reduced as compared with the case where the conversion rate is calculated by calculation.

【0075】さらに、本実施の形態では、判定回路34
eは、加算回路34dによる加算の結果、レジスタ34
b,34cの判定値について小数部から整数部への桁上
がりがあったときは、撮影画像データのピクセルデータ
を格納用画像データとして採用すると判定するようにし
た。
Further, in the present embodiment, the judgment circuit 34
e is the result of the addition by the addition circuit 34d,
When there is a carry from the decimal part to the integer part in the determination values of b and 34c, it is determined that the pixel data of the captured image data is adopted as the storage image data.

【0076】これにより、撮影画像データのピクセルデ
ータを格納用画像データとして採用するか否かの判定が
比較的容易になる。
This makes it relatively easy to determine whether to use the pixel data of the photographed image data as the storage image data.

【0077】上記第1の実施の形態において、カウンタ
34a1および変換率設定回路34a2は、請求項2また
は3記載の変換率設定手段に対応し、整数部レジスタ3
4bおよb小数部レジスタ34cは、請求項2または5
記載の判定値格納部に対応し、加算回路34dは、請求
項2または5記載の加算手段に対応し、判定回路34e
は、請求項2または5記載の判定手段に対応している。
また、カウンタ34a1は、請求項3記載のカウント手
段に対応し、変換率テーブル110は、請求項3記載の
記憶手段に対応し、変換率設定回路34a2は、請求項
3記載の読出手段に対応している。
In the first embodiment, the counter 34a 1 and the conversion rate setting circuit 34a 2 correspond to the conversion rate setting means according to claim 2 or 3, and the integer part register 3
The 4b and b fraction register 34c may be configured as described in claim 2 or 5.
The adding circuit 34d corresponds to the adding means according to claim 2 or 5, and the determining circuit 34e corresponds to the adding means.
Corresponds to the determination means of claim 2 or 5.
The counter 34a 1 corresponds to the counting means according to claim 3, the conversion table 110 corresponds to the storage means according to claim 3, wherein the conversion rate setting circuit 34a 2 is claim 3 reading means according It corresponds to.

【0078】次に、本発明の第2の実施の形態を図面を
参照しながら説明する。図6および図7は、本発明に係
る解像度変換装置の第2の実施の形態を示す図である。
以下、上記第1の実施の形態と異なる部分についてのみ
説明し、重複する部分については同一の符号を付して説
明を省略する。
Next, a second embodiment of the present invention will be described with reference to the drawings. 6 and 7 are diagrams showing a second embodiment of the resolution conversion device according to the present invention.
Hereinafter, only the portions different from the first embodiment will be described, and the overlapping portions will be denoted by the same reference numerals and description thereof will be omitted.

【0079】本実施の形態は、本発明に係る解像度変換
装置を、図1に示すように、CCDカメラ100におい
て、CCD14で取り込んだ高解像度画像を低解像度画
像に変換してメインメモリ42に格納する場合について
適用したものである。上記第1の実施の形態と異なるの
は、変換率テーブル110を用いずに、カウンタ34a
1のカウント値から計算式により変換率Yを算出する点
にある。
In the present embodiment, as shown in FIG. 1, a resolution conversion device according to the present invention converts a high-resolution image captured by a CCD 14 into a low-resolution image in a CCD camera 100 and stores it in a main memory 42. This applies to cases where The difference from the first embodiment is that the conversion rate table 110 is not used and the counter 34a is used.
The point is that the conversion rate Y is calculated from the count value of 1 by a calculation formula.

【0080】まず、表示アドレス計算回路34の構成を
図6を参照しながら詳細に説明する。図6は、表示アド
レス計算回路34の回路構成を示すブロック図である。
First, the configuration of the display address calculation circuit 34 will be described in detail with reference to FIG. FIG. 6 is a block diagram showing a circuit configuration of the display address calculation circuit 34.

【0081】表示アドレス計算回路34は、図6に示す
ように、カウンタ34a1と、カウンタ34a1のカウン
ト値に基づいて変換率を算出する変換率算出回路34a
3と、整数部レジスタ34bと、小数部レジスタ34c
と、変換率算出回路34a3で算出した変換率をレジス
タ34b,34cの判定値に加算する加算回路34d
と、判定回路34eとで構成されている。
[0081] display address calculating circuit 34, as shown in FIG. 6, the counter and 34a 1, conversion ratio calculating circuit 34a for calculating a conversion rate based on the count value of the counter 34a 1
3 , an integer part register 34b, and a decimal part register 34c
When adder circuit 34d for adding the calculated conversion rate conversion ratio calculating circuit 34a 3 register 34b, the determination value 34c
And a determination circuit 34e.

【0082】変換率算出回路34a3は、カウンタ34
1のカウント値をXとして上式(3)により変換率Y
を算出するようになっている。カウント値Xと変換率Y
との関係は、図7に示すように、撮影画像データの中心
から外側に向かうにつれて変換率Yが小さくなるよう
に、撮影画像データの最も外側であるカウント値Xが最
大値または最小値のときは変換率Yが最小値をとり、撮
影画像データの中心であるカウント値Xが最大値の1/
2のときは変換率Yが最大値をとる。図7は、カウント
値Xの変化に対する変化率Yの変化を示すグラフであ
る。
The conversion rate calculating circuit 34a 3 includes a counter 34
When the count value of a 1 is X, the conversion rate Y is calculated by the above equation (3).
Is calculated. Count value X and conversion rate Y
As shown in FIG. 7, when the count value X which is the outermost part of the captured image data is the maximum value or the minimum value so that the conversion rate Y becomes smaller from the center of the captured image data to the outside as shown in FIG. Is that the conversion rate Y takes the minimum value and the count value X, which is the center of the captured image data, is 1 / the maximum value.
In the case of 2, the conversion rate Y takes the maximum value. FIG. 7 is a graph showing a change in the change rate Y with respect to a change in the count value X.

【0083】なお、同期制御回路32、表示アドレス計
算回路34およびデータラッチ回路34は、撮影画像デ
ータの水平方向の画素に対して解像度変換を行う回路で
あるが、撮影画像データの垂直方向の画素に対して解像
度変換を行う回路もこれと同様に構成することができ
る。
The synchronization control circuit 32, the display address calculation circuit 34, and the data latch circuit 34 are circuits for performing resolution conversion on the horizontal pixels of the captured image data. A circuit for converting the resolution of the image data can be similarly configured.

【0084】次に、上記第2の実施の形態の動作を説明
する。
Next, the operation of the second embodiment will be described.

【0085】CCD14の解像度が2000×1500
画素である場合を例にとって説明する。この場合、撮影
画像データの水平方向の画素数は、“2000”であ
り、撮影画像データの垂直方向の画素数は、“150
0”である。
The resolution of the CCD 14 is 2000 × 1500
The case where the pixel is used will be described as an example. In this case, the number of pixels in the horizontal direction of the captured image data is “2000”, and the number of pixels in the vertical direction of the captured image data is “150”.
0 ".

【0086】まず、図示しないレリーズスイッチが押下
されると、CPU40により、取込要求が画像データ書
込回路44に出力される。画像データ書込回路44で
は、取込要求があると、撮影部10により撮影画像がデ
ータとして取り込まれ、取り込まれた撮影画像データが
解像度変換回路30に出力される。
First, when a release switch (not shown) is depressed, a capture request is output by the CPU 40 to the image data writing circuit 44. In the image data writing circuit 44, when there is a capture request, the captured image is captured as data by the capturing unit 10, and the captured captured image data is output to the resolution conversion circuit 30.

【0087】解像度変換回路30では、撮影画像データ
が入力されると、CCD14の上から一番目のラインの
各画素について、カウンタ34a1により、撮影画像デ
ータのピクセルデータがカウントされ、変換率算出回路
34a3により、カウンタ34a1のカウント値に基づい
て上式(3)により変換率Yが算出され、加算回路34
dに出力される。このとき、算出される変換率Yは、撮
影画像データの中心から外側に向かうにつれて小さくな
る。例えば、カウンタ34a1のカウント値が最小値
“0”または最大値“1999”のとき、すなわち撮影
画像データの最も外側では、変換率は最小値“0”をと
る。一方、カウンタ34a1のカウント値が“100
0”のとき、すなわち撮影画像データの中心では、変換
率Yは最大値“1”をとる。
[0087] In the resolution conversion circuit 30, the captured image data is input, for each pixel of a first line from the top of the CCD 14, the counter 34a 1, pixel data of the photographed image data is counted, the conversion rate calculating circuit the 34a 3, the conversion ratio Y by the above equation (3) is calculated based on the count value of the counter 34a 1, the adder circuit 34
d. At this time, the calculated conversion rate Y decreases from the center of the captured image data toward the outside. For example, when the count value of the counter 34a 1 is the minimum value of "0" or the maximum value "1999", that is, the outermost of the captured image data, conversion is the minimum value "0". On the other hand, the count value of the counter 34a 1 is "100
When the value is "0", that is, at the center of the captured image data, the conversion rate Y takes the maximum value "1".

【0088】加算回路34dでは、ピクセルデータを1
カウントするごとに、変換率算出回路34a3からの変
換率Yがレジスタ34b,34cの判定値に加算され
る。その結果、小数部から整数部への桁上がりがあった
ときは、判定回路34eにより、PXL_ENB信号が出力さ
れる。 次いで、データラッチ回路36により、PXL_ENB
信号の入力タイミングで、撮影画像データがラッチされ
る。これにより、CCD14の上から一番目のラインの
各画素について、撮影画像データのうち格納用画像デー
タとして採用するピクセルデータがラッチされる。
In the adder circuit 34d, the pixel data is set to 1
Each counting, conversion rate Y from the conversion rate calculating circuit 34a 3 is register 34b, is added to the determination value 34c. As a result, when there is a carry from the decimal part to the integer part, the determination circuit 34e outputs the PXL_ENB signal. Next, PXL_ENB
The captured image data is latched at the signal input timing. As a result, for each pixel on the first line from the top of the CCD 14, pixel data to be employed as storage image data among the captured image data is latched.

【0089】そして、これら一連の処理がCCD14の
各ラインについて行われる。なお、ここでは、撮影画像
データの水平方向の画素に対して解像度変換を行う場合
について説明したが、撮影画像データの垂直方向の画素
に対して解像度変換を行う場合もこれと同じ要領で動作
する。
Then, a series of these processes are performed for each line of the CCD 14. Here, the case where the resolution conversion is performed on the pixels in the horizontal direction of the captured image data has been described, but the case where the resolution conversion is performed on the pixels in the vertical direction of the captured image data also operates in the same manner. .

【0090】一方、画像データ書込回路44では、格納
用画像データが入力されると、解像度変換回路30で変
換された格納用画像データがメインメモリ42の上記所
定領域に書き込まれる。メインメモリ42に書き込まれ
た格納用画像データは、さらにCPU40によりJPE
G形式等で圧縮される。
On the other hand, when the image data for storage is input to the image data writing circuit 44, the image data for storage converted by the resolution conversion circuit 30 is written in the predetermined area of the main memory 42. The image data for storage written in the main memory 42 is further processed by the CPU 40 in JPE.
It is compressed in G format or the like.

【0091】なお、図示しないレリーズスイッチが押下
されていない非撮影時では、上記第1の実施の形態の場
合と同様に動作する。
Note that, during non-shooting when the release switch (not shown) is not depressed, the operation is the same as in the first embodiment.

【0092】このようにして、本実施の形態では、解像
度変換回路30は、撮影画像データのピクセルデータを
カウントするカウンタ34a1と、カウンタ34a1のカ
ウント値に基づいて上式(3)により変換率を算出する
変換率算出回路34a3と、整数部および小数部からな
る判定値のうち整数部を格納可能な整数部レジスタ34
bと、判定値のうち小数部を格納可能な小数部レジスタ
34cと、変換率算出回路34a3で算出した変換率を
レジスタ34b,34cの判定値に加算する加算回路3
4dと、加算回路34dの加算結果に基づいてPXL_ENB
信号を出力する判定回路34eとを備え、判定回路34
eは、加算回路34dによる加算の結果、レジスタ34
b,34cの判定値について小数部から整数部への桁上
がりがあったときは、撮影画像データのピクセルデータ
を格納用画像データとして採用すると判定するようにし
た。
As described above, in the present embodiment, the resolution conversion circuit 30 converts the pixel data of the photographed image data into the counter 34a 1 based on the count value of the counter 34a 1 by the above equation (3). a conversion rate calculation circuit 34a 3 for calculating the rate, the integer part and can be stored integer part of the integer part of the decision value consisting of the fractional part register 34
b and a fractional part register 34c can store the fractional part of the decision value, the register 34b the calculated conversion rate conversion ratio calculating circuit 34a 3, the adder circuit adds to the determination value 34c 3
4d and PXL_ENB based on the addition result of the addition circuit 34d.
A decision circuit 34e for outputting a signal;
e is the result of the addition by the addition circuit 34d,
When there is a carry from the decimal part to the integer part in the determination values of b and 34c, it is determined that the pixel data of the captured image data is adopted as the storage image data.

【0093】これにより、撮影画像においては、被写体
が存在する中心の解像度が高くなり、逆に被写体が存在
しない外側の解像度が低くなるので、見た目をさほど損
なうことなく、格納用画像データのデータ容量を低減す
ることができる。したがって、従来に比して、画像の解
像度をさほど低下させず、画像のデータ容量を比較的低
減することができる。
As a result, in the captured image, the resolution at the center where the subject exists is high, and the resolution outside the subject is not high is low. Therefore, the data capacity of the storage image data is not significantly impaired. Can be reduced. Therefore, the data capacity of the image can be relatively reduced without significantly reducing the resolution of the image as compared with the related art.

【0094】さらに、本実施の形態では、カウンタ34
1のカウント値に基づいて上式(3)により変換率を
算出するようにした。
Further, in this embodiment, the counter 34
and to calculate the conversion ratio by the above equation (3) based on the count value of a 1.

【0095】これにより、上記第1の実施の形態のよう
に、変換率をテーブルに記憶して読み出す場合に比し
て、解像度変換回路30のデータ容量を小さくすること
ができる。
As a result, the data capacity of the resolution conversion circuit 30 can be reduced as compared with the case where the conversion rate is stored in a table and read out, as in the first embodiment.

【0096】さらに、本実施の形態では、判定回路34
eは、加算回路34dによる加算の結果、レジスタ34
b,34cの判定値について小数部から整数部への桁上
がりがあったときは、撮影画像データのピクセルデータ
を格納用画像データとして採用すると判定するようにし
た。
Further, in the present embodiment, the judgment circuit 34
e is the result of the addition by the addition circuit 34d,
When there is a carry from the decimal part to the integer part in the determination values of b and 34c, it is determined that the pixel data of the captured image data is adopted as the storage image data.

【0097】これにより、撮影画像データのピクセルデ
ータを格納用画像データとして採用するか否かの判定が
比較的容易になる。
Thus, it is relatively easy to determine whether or not to use the pixel data of the photographed image data as the storage image data.

【0098】上記第2の実施の形態において、カウンタ
34a1および変換率設定回路34a2は、請求項2また
は4記載の変換率設定手段に対応し、整数部レジスタ3
4bおよb小数部レジスタ34cは、請求項2または5
記載の判定値格納部に対応し、加算回路34dは、請求
項2または5記載の加算手段に対応し、判定回路34e
は、請求項2または5記載の判定手段に対応している。
また、カウンタ34a1は、請求項4記載のカウント手
段に対応し、変換率算出回路34a3は、請求項4記載
の変換率算出手段に対応している。
In the second embodiment, the counter 34a 1 and the conversion rate setting circuit 34a 2 correspond to the conversion rate setting means according to claim 2 or 4, and the integer part register 3
The 4b and b fraction register 34c may be configured as described in claim 2 or 5.
The adding circuit 34d corresponds to the adding means according to claim 2 or 5, and the determining circuit 34e corresponds to the adding means.
Corresponds to the determination means of claim 2 or 5.
The counter 34a 1 corresponds to the counting means according to claim 4, wherein the conversion rate calculating circuit 34a 3 corresponds to the conversion rate calculating unit according to claim 4, wherein.

【0099】なお、上記第1および第2の実施の形態に
おいては、判定回路34eは、加算回路34dによる加
算の結果、判定値について小数部から整数部への桁上が
りがあったときは、撮影画像データのピクセルデータを
格納用画像データとして採用すると判定するように構成
したが、これに限らず、判定値について小数部から整数
部への桁上がりがなかったときは、撮影画像データのピ
クセルデータを格納用画像データとして採用すると判定
するように構成してもよい。この場合、変化率レジスタ
34aには、“1”から上記変化率を減算したものを格
納する。
In the first and second embodiments, when the result of the addition by the adder circuit 34d is that there is a carry from the decimal part to the integer part, the determination circuit 34e takes a photograph. The pixel data of the image data is determined to be used as the storage image data. However, the present invention is not limited to this. If the determination value does not carry from the decimal part to the integer part, the pixel data of the photographed image data is used. May be determined to be used as storage image data. In this case, a value obtained by subtracting the above change rate from “1” is stored in the change rate register 34a.

【0100】また、上記第1および第2の実施の形態に
おいては、解像度変換回路30を、同期制御回路32、
表示アドレス計算回路34およびデータラッチ回路34
で構成したが、これに限らず、解像度変換回路30の機
能をCPU40で実行する処理により実現するように構
成してもよい。この場合、同期制御回路32、表示アド
レス計算回路34およびデータラッチ回路34の機能を
実現するためのプログラムがROMに格納されており、
CPU40は、ROMの所定領域に格納されている所定
のプログラムを起動させ、そのプログラムに従って、こ
れらの処理を実行させるようになっている。また、これ
に限らず、同期制御回路32、表示アドレス計算回路3
4およびデータラッチ回路34の機能を実現する処理を
実行するにあたっては、これらの手順を示したプログラ
ムが記録された記録媒体から、そのプログラムをメイン
メモリ42に読み込んで実行するようにしてもよい。
In the first and second embodiments, the resolution conversion circuit 30 is replaced with the synchronization control circuit 32,
Display address calculation circuit 34 and data latch circuit 34
However, the present invention is not limited to this, and the function of the resolution conversion circuit 30 may be realized by processing executed by the CPU 40. In this case, a program for realizing the functions of the synchronization control circuit 32, the display address calculation circuit 34, and the data latch circuit 34 is stored in the ROM,
The CPU 40 activates a predetermined program stored in a predetermined area of the ROM, and executes these processes according to the program. The present invention is not limited to this, and the synchronization control circuit 32, the display address calculation circuit 3
In executing the processing for realizing the functions of the data latch circuit 4 and the data latch circuit 34, the main memory 42 may read and execute the program from a recording medium on which a program indicating these procedures is recorded.

【0101】ここで、記録媒体とは、RAM、ROM等
の半導体記憶媒体、FD、HD等の磁気記憶型記憶媒
体、CD、CDV、LD、DVD等の光学的読取方式記
憶媒体、MO等の磁気記憶型/光学的読取方式記憶媒体
であって、電子的、磁気的、光学的等の読み取り方法の
いかんにかかわらず、コンピュータで読み取り可能な記
録媒体であれば、あらゆる記録媒体を含むものである。
Here, the recording medium includes a semiconductor storage medium such as a RAM and a ROM, a magnetic storage type storage medium such as an FD and an HD, an optical reading type storage medium such as a CD, CDV, LD, and DVD, and a storage medium such as an MO. It is a magnetic storage type / optical readout type storage medium, and includes any storage medium that can be read by a computer irrespective of an electronic, magnetic, optical or other reading method.

【0102】また、上記第1および第2の実施の形態に
おいては、本発明に係る解像度変換装置を、図1に示す
ように、CCDカメラ100において、CCD14で取
り込んだ高解像度画像をLCD52が表示可能な低解像
度画像に変換する場合について適用したが、これに限ら
ず、本発明の主旨を逸脱しない範囲で他の場合にも適用
可能である。
In the first and second embodiments, the LCD 52 displays a high-resolution image captured by the CCD 14 in the CCD camera 100 as shown in FIG. Although the present invention has been applied to the case where the image is converted into a possible low-resolution image, the present invention is not limited to this, and can be applied to other cases without departing from the gist of the present invention.

【0103】[0103]

【発明の効果】以上説明したように、本発明に係る請求
項1ないし5記載の解像度変換装置によれば、従来に比
して、画像の解像度をさほど低下させず、画像のデータ
容量を比較的低減することができるという効果が得られ
る。
As described above, according to the resolution conversion apparatus according to the first to fifth aspects of the present invention, the data resolution of the image can be compared with that of the conventional one without significantly lowering the resolution of the image. This has the effect of achieving a significant reduction.

【0104】さらに、本発明に係る請求項3記載の解像
度変換装置によれば、計算により変換率を算出する場合
に比して、当該装置の処理負担を小さくすることができ
るという効果も得られる。
Further, according to the resolution conversion apparatus of the third aspect of the present invention, an effect is obtained that the processing load on the apparatus can be reduced as compared with the case where the conversion rate is calculated by calculation. .

【0105】さらに、本発明に係る請求項4記載の解像
度変換装置によれば、変換率をテーブル等に記憶して読
み出す場合に比して、当該装置のデータ容量を小さくす
ることができるという効果も得られる。
Further, according to the resolution conversion device of the fourth aspect of the present invention, the data capacity of the device can be reduced as compared with the case where the conversion ratio is stored and read out in a table or the like. Is also obtained.

【0106】さらに、本発明に係る請求項5記載の解像
度変換装置によれば、高解像度画像の画素を低解像度画
像の画素として採用するか否かの判定が比較的容易にな
るという効果も得られる。
Further, according to the resolution conversion apparatus of the fifth aspect of the present invention, it is possible to relatively easily determine whether or not to adopt the pixels of the high resolution image as the pixels of the low resolution image. Can be

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

【図1】CCDカメラ100の内部構成を示すブロック
図である。
FIG. 1 is a block diagram showing an internal configuration of a CCD camera 100.

【図2】解像度変換回路30の回路構成を示すブロック
図である。
FIG. 2 is a block diagram showing a circuit configuration of a resolution conversion circuit 30.

【図3】解像度変換回路30の回路構成を示すブロック
図である。
FIG. 3 is a block diagram illustrating a circuit configuration of a resolution conversion circuit 30.

【図4】表示アドレス計算回路34の回路構成を示すブ
ロック図である。
4 is a block diagram illustrating a circuit configuration of a display address calculation circuit 34. FIG.

【図5】変換率テーブル110のデータ構造を示す図で
ある。
FIG. 5 is a diagram showing a data structure of a conversion rate table 110.

【図6】表示アドレス計算回路34の回路構成を示すブ
ロック図である。
6 is a block diagram showing a circuit configuration of a display address calculation circuit 34. FIG.

【図7】カウント値Xの変化に対する変化率Yの変化を
示すグラフである。
FIG. 7 is a graph showing a change in a change rate Y with respect to a change in a count value X.

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

100 CCDカメラ 10 撮影部 14 CCD 16 CCD制御回路 20 変換部 30 解像度変換回路 32 同期制御回路 34 表示アドレス計算回路 34a1 カウンタ 34a2 変換率設定回路 34a3 変換率算出回路 34b 整数部レジスタ 34c 小数部レジスタ 34d 加算回路 34e 判定回路 36 データラッチ回路 40 CPU 42 メインメモリ 44,45 画像データ書込回路 46 表示制御回路 50 表示部 52 LCDREFERENCE SIGNS LIST 100 CCD camera 10 shooting unit 14 CCD 16 CCD control circuit 20 conversion unit 30 resolution conversion circuit 32 synchronization control circuit 34 display address calculation circuit 34 a 1 counter 34 a 2 conversion rate setting circuit 34 a 3 conversion rate calculation circuit 34 b integer part register 34 c decimal part Register 34d Addition circuit 34e Judgment circuit 36 Data latch circuit 40 CPU 42 Main memory 44, 45 Image data writing circuit 46 Display control circuit 50 Display section 52 LCD

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像を構成する画素の一部を間引くこと
により高解像度画像を低解像度画像に変換する装置にお
いて、 前記高解像度画像の中心から外側に向かうにつれて前記
高解像度画像を間引く量を大きくするようになっている
ことを特徴とする解像度変換装置。
1. An apparatus for converting a high-resolution image into a low-resolution image by thinning out a part of pixels constituting the image, wherein the amount of thinning of the high-resolution image increases from the center to the outside of the high-resolution image. A resolution conversion device characterized in that the resolution conversion device performs
【請求項2】 画像を構成する画素の一部を間引くこと
により高解像度画像を低解像度画像に変換する装置にお
いて、 変換率を設定する変換率設定手段と、整数部及び小数部
からなる判定値を格納可能な判定値格納部と、前記高解
像度画像の垂直方向又は水平方向の画素を1カウントす
るごとに前記変換率設定手段で設定した変換率を前記判
定値格納部の判定値に加算する加算手段と、前記加算手
段の加算結果に基づいて前記高解像度画像の画素を前記
低解像度画像の画素として採用するか否かを判定する判
定手段とを備え、 前記判定手段は、前記加算手段による加算の結果、前記
判定値格納部の判定値が所定条件を満たしているとき
は、前記高解像度画像の画素を前記低解像度画像の画素
として採用すると判定するようになっており、 前記変換率設定手段は、前記高解像度画像の中心から外
側に向かうにつれて前記変換率が小さくなるように前記
変換率を設定するようになっていることを特徴とする解
像度変換装置。
2. An apparatus for converting a high-resolution image into a low-resolution image by thinning out a part of pixels constituting an image, comprising: a conversion rate setting means for setting a conversion rate; And a conversion rate set by the conversion rate setting means each time one pixel in the vertical or horizontal direction of the high-resolution image is counted, to the determination value in the determination value storage section. An addition unit; and a determination unit configured to determine whether to adopt a pixel of the high-resolution image as a pixel of the low-resolution image based on an addition result of the addition unit. As a result of the addition, when the determination value of the determination value storage unit satisfies a predetermined condition, it is determined to adopt the pixels of the high resolution image as the pixels of the low resolution image, The resolution conversion device, wherein the conversion rate setting means sets the conversion rate such that the conversion rate decreases from the center of the high-resolution image toward the outside.
【請求項3】 請求項2において、 前記変換率設定手段は、前記高解像度画像の垂直方向又
は水平方向の画素をカウントするカウント手段と、前記
高解像度画像の中心から外側に向かうにつれて前記変換
率が小さくなるように前記変換率を前記カウント手段の
カウント値と対応付けて記憶した記憶手段と、前記カウ
ント手段のカウント値に対応する変換率を前記記憶手段
から読み出す読出手段とを有することを特徴とする解像
度変換装置。
3. The high-resolution image according to claim 2, wherein the conversion rate setting means includes a counting means for counting pixels in a vertical direction or a horizontal direction of the high-resolution image, and the conversion rate as moving outward from a center of the high-resolution image. Storage means for storing the conversion rate in association with the count value of the counting means so that the conversion rate becomes smaller, and reading means for reading out the conversion rate corresponding to the count value of the counting means from the storage means. Resolution conversion device.
【請求項4】 請求項2において、 前記変換率設定手段は、前記高解像度画像の垂直方向又
は水平方向の画素をカウントするカウント手段と、前記
カウント手段のカウント値をXとして下式(1)により
前記変換率Yを算出する変換率算出手段とを有すること
を特徴とする解像度変換装置。 Y = 1−A×(X−B)2 …(1) 但し、A,Bは定数である。
4. The conversion rate setting unit according to claim 2, wherein the conversion ratio setting unit counts a pixel in the vertical direction or the horizontal direction of the high-resolution image, and X represents a count value of the counting unit. And a conversion rate calculating means for calculating the conversion rate Y according to the following. Y = 1−A × (X−B) 2 (1) where A and B are constants.
【請求項5】 請求項2乃至4のいずれかにおいて、 前記判定手段は、前記加算手段による加算の結果、前記
判定値格納部の判定値について小数部から整数部への桁
上がりがあったときは、前記高解像度画像の画素を前記
低解像度画像の画素として採用すると判定するようにな
っていることを特徴とする解像度変換装置。
5. The method according to claim 2, wherein the determination unit determines that there is a carry from a decimal part to an integer part in the determination value of the determination value storage unit as a result of the addition by the addition unit. Is configured to determine that pixels of the high-resolution image are adopted as pixels of the low-resolution image.
JP2000248519A 2000-08-18 2000-08-18 Resolution converter Withdrawn JP2002064702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000248519A JP2002064702A (en) 2000-08-18 2000-08-18 Resolution converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000248519A JP2002064702A (en) 2000-08-18 2000-08-18 Resolution converter

Publications (1)

Publication Number Publication Date
JP2002064702A true JP2002064702A (en) 2002-02-28

Family

ID=18738410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000248519A Withdrawn JP2002064702A (en) 2000-08-18 2000-08-18 Resolution converter

Country Status (1)

Country Link
JP (1) JP2002064702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016034755A (en) * 2014-07-31 2016-03-17 キヤノン株式会社 Image processing apparatus, image processing method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016034755A (en) * 2014-07-31 2016-03-17 キヤノン株式会社 Image processing apparatus, image processing method and program

Similar Documents

Publication Publication Date Title
US7057658B1 (en) Digital camera capable of forming a smaller motion image frame
CN101998048A (en) Digital image signal processing method, medium for recording the method, digital image signal pocessing apparatus
JP2002507347A (en) Method and system for accelerating a user interface in a playback mode of an imaging unit
JPH104531A (en) Information processor
US20060152597A1 (en) Pixel interpolation device and camera adapted to perform pixel interpolation of captured image
JP2007124377A (en) Image data output control apparatus
JP4429394B2 (en) Information processing apparatus and recording medium
US20230269344A1 (en) Imaging element, imaging apparatus, operation method of imaging element, and program
CN110049247B (en) Image optimization method and device, electronic equipment and readable storage medium
JPH11250240A (en) Digital image pickup device for operating distortion correction by yuv data
JP2009147412A (en) Digital camera and image processing method thereof
JP2002064702A (en) Resolution converter
JP4299753B2 (en) Image signal processing apparatus and image signal processing method
JP2001285625A (en) Resolution converter
JP4281161B2 (en) Electronic camera
JP2005277618A (en) Photography taking apparatus and device and method for correcting shading
JPH11308560A (en) Electronic camera
CN1678028A (en) High-precision signal processing circuit and an image capturing apparatus
JP2001197346A (en) Electronic camera
JP2001197348A (en) Electronic camera
US20100034291A1 (en) Apparatus for processing digital image, method of controlling the same, and recording medium having recorded thereon the method
JP2006186930A (en) Imaging device, image processing method and program
JPH11150681A (en) Information processing device and method, information processing system and recording medium
JP2010224934A (en) Image processor and computer program
KR101660838B1 (en) Imaging apparatus and controlling method of the same

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20071106