JP2002158911A - Electronic still camera - Google Patents

Electronic still camera

Info

Publication number
JP2002158911A
JP2002158911A JP2001310780A JP2001310780A JP2002158911A JP 2002158911 A JP2002158911 A JP 2002158911A JP 2001310780 A JP2001310780 A JP 2001310780A JP 2001310780 A JP2001310780 A JP 2001310780A JP 2002158911 A JP2002158911 A JP 2002158911A
Authority
JP
Japan
Prior art keywords
image
data
program
cpu
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001310780A
Other languages
Japanese (ja)
Inventor
Toshinobu Haruki
俊宣 春木
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2001310780A priority Critical patent/JP2002158911A/en
Publication of JP2002158911A publication Critical patent/JP2002158911A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that an exclusive ROM for storing a CPU control program is essential in an electronic still camera for storing an image pickup signal in a flash memory after processing the signal by a CPU in terms of software. SOLUTION: A program storage region 8b is set to the flash memory 8 for storing image data separately from a data storage region 8a, where the control program for driving and controlling the CPU is stored in advance for eliminating an exclusive ROM. Also, when driving and controlling the flash memory 8, the control program is transferred to another RAM in advance.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CCDイメージャ
等の撮像素子にて得られた撮像信号にマイクロコンピュ
ータによりソフトウエア的な信号処理を施して作成され
た画像データをフラッシュメモリ等の半導体メモリに格
納し、またこの半導体メモリ内の複数の画像データ中の
任意の静止画のデータを消去可能な電子スチルカメラに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for processing image signals obtained by an image pickup device such as a CCD imager by applying signal processing such as software by a microcomputer to a semiconductor memory such as a flash memory. The present invention relates to an electronic still camera capable of storing and erasing arbitrary still image data in a plurality of image data in the semiconductor memory.

【0002】[0002]

【従来の技術】電子スチルカメラは、ビデオカメラと同
様にCCDイメージャ等の撮像素子を用いて一枚分の静
止画撮像信号を得て、これをディジタル化して、CPU
にて色分離処理や画像圧縮処理をソフトウエア的に実行
した後にフラッシュメモリに記録、保持する静止画撮影
装置であり、パソコン用の画像データの取り込み用に広
く普及しつつある。
2. Description of the Related Art Like a video camera, an electronic still camera obtains a still image pickup signal for one sheet using an image pickup device such as a CCD imager, digitizes the signal, and digitizes the signal.
This is a still image photographing device that records and stores in a flash memory after executing a color separation process and an image compression process by software, and is becoming widely used for capturing image data for personal computers.

【0003】[0003]

【発明が解決しようとする課題】前記従来技術では、通
常、信号処理用のCPUの駆動制御に不可欠な制御プロ
グラムは専用のROMに格納されているので、このプロ
グラム格納用ROMが別途必要となる。
In the prior art, since a control program indispensable for drive control of a signal processing CPU is usually stored in a dedicated ROM, a separate ROM for storing the program is required. .

【0004】[0004]

【課題を解決するための手段】本発明は、撮像信号を出
力する撮像素子と、撮像信号に信号処理を施して画像デ
ータに変換する信号処理手段と、画像データを格納する
フラッシュメモリとを備える電子スチルカメラにおい
て、信号処理手段にはCPUが含まれ、このCPUを駆
動制御する制御プログラムがフラッシュメモリに記憶さ
れていることを特徴とし、特に、信号処理手段での信号
処理に先立って、制御プログラム中の画像データのフラ
ッシュメモリへの格納作業に関するプログラムのみをフ
ラッシュメモリとは別のRAMに転送し、CPUは格納
作業をRAM内のプログラムに基づいて実行することを
特徴とする。
SUMMARY OF THE INVENTION The present invention comprises an image sensor for outputting an image signal, signal processing means for performing signal processing on the image signal to convert the image signal into image data, and a flash memory for storing the image data. In the electronic still camera, the signal processing means includes a CPU, and a control program for driving and controlling the CPU is stored in a flash memory. In particular, the control processing is performed prior to the signal processing by the signal processing means. Only the program relating to the work of storing image data in the program in the flash memory is transferred to a separate RAM from the flash memory, and the CPU executes the storage work based on the program in the RAM.

【0005】また、別の手段として、フラッシュメモリ
に格納される複数の画像データ中の任意のデータを消去
する画像消去手段とを備え、この画像消去手段にはCP
Uが含まれ、CPUを駆動制御する制御プログラムがフ
ラッシュメモリに記憶されていることを特徴とし、特
に、画像消去手段での信号消去に先立って、制御プログ
ラム中の画像データのフラッシュメモリからの消去作業
に関するプログラムのみをフラッシュメモリとは別のR
AMに転送し、CPUは消去作業をRAM内のプログラ
ムに基づいて実行することを特徴とする。
[0005] As another means, there is provided an image erasing means for erasing arbitrary data from a plurality of image data stored in the flash memory.
U, and a control program for driving and controlling the CPU is stored in the flash memory. In particular, prior to the signal erasing by the image erasing means, erasing of image data in the control program from the flash memory is performed. Only the program related to the work is stored in an R
AM, and the CPU executes the erasing operation based on a program in the RAM.

【0006】更に、前記転送は電源オンに伴う初期設定
時に実行されることを特徴とする。
Further, the transfer is performed at the time of initialization upon power-on.

【0007】[0007]

【発明の実施の形態】以下、図面に従って本発明の一実
施例装置について説明する。図1は本実施例装置である
電子スチルカメラのブロック図である。図中、1は撮影
モードにおいて入射光を光電変換して撮像信号として出
力するCCDイメージャであり、2は撮像信号に周知の
ノイズ除去及びレベル調整を施すCDS/AGC回路、
3はCDS/AGC回路2を経た撮像信号をディジタル
値に変換するA/D変換器、4はA/D変換器3出力に
周知の白バランス調整及びガンマ補正を行う信号処理回
路、5は信号処理回路4を経たディジタルデータを画素
毎に一時保管するデータ保管領域5aと後段のCPU7
の制御用プログラムを保管するプログラム保管領域5b
を有する第1RAMであり、6は第1RAM5のデータ
保管領域5aからのデータを用いて色分離処理を施した
上で、一旦画素毎に色分離結果を所定ライン分保管する
第2RAMであり、15は圧縮画像データを一時的に保
持する第3RAMである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an electronic still camera which is the apparatus of the present embodiment. In the drawing, reference numeral 1 denotes a CCD imager which photoelectrically converts incident light in a photographing mode and outputs it as an image pickup signal, 2 denotes a CDS / AGC circuit which performs well-known noise removal and level adjustment on the image pickup signal,
Reference numeral 3 denotes an A / D converter for converting an image signal passed through the CDS / AGC circuit 2 into a digital value. Reference numeral 4 denotes a signal processing circuit for performing well-known white balance adjustment and gamma correction on the output of the A / D converter 3; A data storage area 5a for temporarily storing the digital data that has passed through the processing circuit 4 for each pixel, and a CPU 7
Storage area 5b for storing the control program
Reference numeral 6 denotes a second RAM for performing color separation processing using data from the data storage area 5a of the first RAM 5, and then temporarily storing the color separation results for a predetermined line for each pixel, 15 A third RAM temporarily stores the compressed image data.

【0008】7はデータ保管領域5aからデータを受け
取り、第2RAM6、第3RAM15、フラッシュメモ
リ8及びビデオメモリ10との間でデータのやりとりを
行うCPUであり、フラッシュメモリ8のプログラム格
納領域8bに予め格納された制御プログラムに基づいて
通常は各種の処理を実行する。
A CPU 7 receives data from the data storage area 5a and exchanges data with the second RAM 6, the third RAM 15, the flash memory 8 and the video memory 10. The CPU 7 stores the data in the program storage area 8b of the flash memory 8 in advance. Usually, various processes are executed based on the stored control program.

【0009】この制御プログラムは、複数のサブルーチ
ンを実行する種々のプログラムから成り、撮影モードに
関連するものとしては主として色分離処理プログラムP
1、YUV変換プログラムP2、YUVデータ格納処理
プログラムP3、画像圧縮処理プログラムP4及びフラ
ッシュメモリ格納処理プログラムP5のプログラムで構
成され、また消去モードに関連するものとしては、主に
フラッシュメモリ8からのデータ読み出し処理プログラ
ムP11、画像伸長処理プログラムP12、RGBデー
タへの逆変換プログラムP13、消去を希望する画像デ
ータの消去処理プログラムP14のプログラムで構成さ
れ、更に初期設定時にプログラム格納領域8b内の制御
プログラム中の格納処理プログラムP5及び消去処理プ
ログラムP14のみをフラッシュメモリ8のプログラム
格納領域8bから第1RAM5のプログラム保持領域5
bに転送する転送プログラムP20を有する。
The control program comprises various programs for executing a plurality of subroutines, and mainly relates to a photographing mode.
1. The program is composed of a YUV conversion program P2, a YUV data storage processing program P3, an image compression processing program P4, and a flash memory storage processing program P5. The program includes a read processing program P11, an image decompression processing program P12, an inverse conversion program P13 into RGB data, and an erasure processing program P14 for image data desired to be erased. From the program storage area 8b of the flash memory 8 to the program holding area 5 of the first RAM 5.
b has a transfer program P20.

【0010】8はCPU7から出力される圧縮画像デー
タを格納するデータ格納領域8aとCPU7の制御プロ
グラムが予め格納されたプログラム格納領域8bを有す
るフラッシュメモリであり、通常のRAMとは異なりデ
ータの書き込み自在でありながら、電源OFF時にも記
憶内容は保管される特徴を有している。
Reference numeral 8 denotes a flash memory having a data storage area 8a for storing compressed image data output from the CPU 7 and a program storage area 8b in which a control program for the CPU 7 is stored in advance. It has the feature of being stored freely even when the power is turned off, while being free.

【0011】10は消去モードにおいてCPU7から得
られる画像データを保持するビデオメモリであり、11
はビデオメモリ10に保持された画像データに基づき画
像を映出するLCDモニター、12は消去モードにおい
て消去を所望する静止画像を指定する消去画像指定ボタ
ンである。
Reference numeral 10 denotes a video memory for holding image data obtained from the CPU 7 in the erase mode.
Reference numeral denotes an LCD monitor for displaying an image based on the image data held in the video memory 10, and reference numeral 12 denotes an erase image designation button for designating a still image desired to be erased in the erase mode.

【0012】前述の一連のブロックは、カメラのキャビ
ネットに配された手動の電源ボタン(図示省略)をON
した直後に実行される初期設定後に作動状態となる。こ
こで、この初期設定の一つとして、CPU7は転送プロ
グラムP20を実行し、フラッシュメモリ8のプログラ
ム格納領域8bに格納された制御プログラムの中の格納
処理プログラムP5と消去処理プログラムP14の2種
類のプログラムのみを第1RAM5のプログラム保管領
域5bに転送させる。
In the above-mentioned series of blocks, a manual power button (not shown) arranged in the camera cabinet is turned on.
After the initial setting, which is executed immediately after the operation, the operation state is set. Here, as one of the initial settings, the CPU 7 executes the transfer program P20, and two types of the storage processing program P5 and the erasing processing program P14 in the control programs stored in the program storage area 8b of the flash memory 8. Only the program is transferred to the program storage area 5b of the first RAM 5.

【0013】また、カメラにはCCDイメージャ1から
の撮像信号に種々の信号処理を施してフラッシュメモリ
8に圧縮画像データとして格納する撮影モードと、フラ
ッシュメモリ8に既に格納されている複数枚の静止画像
をLCDモニター11に縮小表示し、この表示画面を確
認しながら所望の静止画の圧縮画像データをフラッシュ
メモリ8から消去する消去モードがあり、図示省略のモ
ード選択スイッチによりいずれかのモードが選択可能で
ある。
Further, the camera performs a photographing mode in which an image pickup signal from the CCD imager 1 is subjected to various signal processing and is stored in the flash memory 8 as compressed image data, and a plurality of still images already stored in the flash memory 8 are stored. There is an erasing mode in which the image is reduced and displayed on the LCD monitor 11 and the compressed image data of the desired still image is erased from the flash memory 8 while checking the display screen. One of the modes is selected by a mode selection switch (not shown). It is possible.

【0014】尚、フラッシュメモリ8のデータ格納領域
8aに格納されている圧縮画像データは、フラッシュメ
モリ8に電気的に接続された信号ラインを経由してパー
ソナルコンピュータ等の外部の機器にデータ転送され
る。
The compressed image data stored in the data storage area 8a of the flash memory 8 is transferred to an external device such as a personal computer via a signal line electrically connected to the flash memory 8. You.

【0015】次に上述の構成を有する電子スチルカメラ
の動作をモード毎に図2のフローチャートを参考にして
説明する。まず電源ON(ステップ51)に伴って後述
の格納処理プログラムP5及び消去処理プログラムP1
4がプログラム保管領域5bに転送され(ステップ5
2)、この後にステップ70にて撮影モードと判断され
た場合には、CCDイメージャ1以降の各部が動作を開
始する。即ち、レリーズボタン(図示省略)の操作によ
りCCDイメージャ1での撮影(ステップ53)により
得られた撮像信号は、CDS/AGC回路2でノイズ除
去及びレベル調整された撮像信号となり、A/D変換器
3でディジタルデータに変換され、更に信号処理回路4
にて周知の白バランス調整及びガンマ補正等の処理が施
された後に、一時記憶メモリとして働く第1RAM5の
データ保管領域5aに格納される。尚、CCDイメージ
ャ1の受光部の前面には、図3に示すようにR、G、B
の色フィルタ30がモザイク状に配置され、各画素には
R、G、Bのいずれかが対応して配置されることにな
る。
Next, the operation of the electronic still camera having the above configuration will be described for each mode with reference to the flowchart of FIG. First, when the power is turned on (step 51), a storage processing program P5 and an erasing processing program P1 to be described later are set.
4 is transferred to the program storage area 5b (step 5).
2) After that, when it is determined in step 70 that the photographing mode has been set, the components after the CCD imager 1 start operating. That is, an image pickup signal obtained by photographing (step 53) with the CCD imager 1 by operating a release button (not shown) becomes an image pickup signal whose noise has been removed and its level has been adjusted by the CDS / AGC circuit 2, and is A / D converted. The data is converted into digital data by the device 3 and further processed by the signal processing circuit 4
After the well-known processes such as white balance adjustment and gamma correction, the data is stored in the data storage area 5a of the first RAM 5 serving as a temporary storage memory. Incidentally, R, G, B as shown in FIG.
Are arranged in a mosaic pattern, and one of R, G, and B is arranged corresponding to each pixel.

【0016】第1RAM5のデータ保管領域5aに格納
されたデータのデータ数は、CCDイメージャ1の画素
数と一致し、1画素当たりにCCDイメージャ1の色フ
ィルタに対応したR、G、Bのいずれか1つの色のデー
タが格納されることになる。
The number of data of the data stored in the data storage area 5a of the first RAM 5 matches the number of pixels of the CCD imager 1, and one of R, G, and B corresponding to the color filter of the CCD imager 1 per pixel. The data of one color is stored.

【0017】こうして1画面分の全画素についてのディ
ジタルデータの第1RAM5への格納が完了すると、引
き続きこれらのデータが、CPU7に読み出され、色分
離処理(ステップ54)、YUV変換(ステップ5
5)、第2RAM6への一時格納(ステップ56)及び
画像圧縮処理(ステップ58)の一連の処理がソフトウ
エア的に実行される。
When the storage of the digital data for all the pixels for one screen in the first RAM 5 is completed, these data are subsequently read out by the CPU 7 and subjected to color separation processing (step 54) and YUV conversion (step 5).
5) A series of processing of temporary storage in the second RAM 6 (step 56) and image compression processing (step 58) is executed by software.

【0018】ここで、CPU7には図2のフローチャー
トに沿った処理を実際に実現する為の制御プログラムが
必要であり、プログラムP1、P2、P3、P4をその
都度フラッシュメモリ8のプログラム格納領域8bから
読み出して各処理を実行する。
Here, the CPU 7 needs a control program for actually realizing the processing according to the flowchart of FIG. 2, and stores the programs P1, P2, P3 and P4 in the program storage area 8b of the flash memory 8 each time. And executes each process.

【0019】色分離処理プログラムP1に基づく処理が
開始されると、CPU7は第1メモリ5内のある画素及
びその周辺の画素のデータを読み出して、各画素毎に欠
落したR、G、Bの内の2色の色信号のデータを周辺の
同一色の色フィルタの画素の色信号データの平均値で補
間する色分離処理を実行する。例えば、R色の色フィル
タが装着された画素については、G及びB信号を作成す
る必要があり、それぞれ近傍に配置されたG及びBの色
フィルタが装着された複数の画素の色信号データを平均
することで補間が実現する。以下、同様の作業を行い、
G色の色フィルタが装着された画素の各々について、R
及びBのデータを、またB色の色フィルタが装着された
画素の各々について、R及びGのデータを作成する。こ
のような色分離動作により、各画素についてR、G、B
の3色の色信号データを持たせることが可能になる。
When the processing based on the color separation processing program P1 is started, the CPU 7 reads out data of a certain pixel in the first memory 5 and its surrounding pixels, and stores the data of the missing R, G, B for each pixel. A color separation process is performed to interpolate the data of the two color signals in the above with the average value of the color signal data of the pixels of the surrounding color filters of the same color. For example, it is necessary to generate G and B signals for a pixel equipped with an R color filter, and color signal data of a plurality of pixels equipped with G and B color filters arranged in the vicinity, respectively. Interpolation is realized by averaging. The same procedure is performed below.
For each of the pixels to which the G color filter is attached, R
And B data, and R and G data for each of the pixels to which the B color filter is attached. By such a color separation operation, R, G, B for each pixel is obtained.
Can be provided.

【0020】こうしてある画素の色分離動作が完了する
と、続いてYUV変換プログラムP2が実行され、得ら
れたR、G、Bの3原色のデータを数1の演算式に代入
することで、R、G、Bのデータを輝度(Y)信号デー
タ及び色差BーY(=U)信号データ、色差RーY(=
V)信号データのY、U、Vのデータに変換する。
When the color separation operation of a certain pixel is completed, a YUV conversion program P2 is subsequently executed, and the obtained data of the three primary colors of R, G, and B are substituted into the arithmetic expression of the formula (1). , G, and B data are represented by luminance (Y) signal data, color difference BY (= U) signal data, and color difference RY (=
V) Convert the signal data to Y, U, V data.

【0021】[0021]

【数1】 (Equation 1)

【0022】次いで、YUVデータ格納処理プログラム
P3が実行される。即ち、演算により得られたYUVデ
ータの中のY信号データは、解像度に大きく影響するの
で全画素について全て画素毎に第2RAM6に格納され
る。一方、人間の目が輝度の変化には敏感であるが、色
の変化には比較的鈍感であるという特性を有しているの
で、できる限りデータ量を削減する為に、U及びV信号
データについて水平方向に1/2に間引き処理が実行さ
れる。具体的には、U及びV信号データを2画素に1画
素の割合で抜き出して第2RAM6に格納するように書
き込みを制御する。
Next, a YUV data storage processing program P3 is executed. That is, since the Y signal data in the YUV data obtained by the calculation greatly affects the resolution, all the pixels are stored in the second RAM 6 for each pixel. On the other hand, the human eye is sensitive to a change in luminance but relatively insensitive to a change in color. Therefore, in order to reduce the amount of data as much as possible, U and V signal data are used. Is thinned out in half in the horizontal direction. Specifically, writing is controlled so that U and V signal data are extracted at a rate of one pixel for every two pixels and stored in the second RAM 6.

【0023】以上の色分離処理から第2RAM6への格
納作業までの一連の処理が、ステップ57に示すように
所定の画素数分だけ繰り返される。この所定の画素数と
は、8ライン分の全有効画素数に設定されており、1ラ
インの有効画素数をNとすると、8×Nの画素分だけ上
述の一連の処理が繰り返される。尚、第2RAM6のメ
モリサイズとしては、8ライン分の全有効画素でのYU
Vデータを格納できる大きさに設定されている。
A series of processes from the above-described color separation process to the work of storing data in the second RAM 6 is repeated for a predetermined number of pixels as shown in step 57. The predetermined number of pixels is set to the total number of effective pixels for eight lines. If the number of effective pixels for one line is N, the above series of processing is repeated for 8 × N pixels. The memory size of the second RAM 6 is YU for all effective pixels for 8 lines.
The size is set so that V data can be stored.

【0024】8ライン分にわたって一連の処理が完了
し、第2RAM6に8ライン分の全画素でのYUVデー
タの格納が完了すると、CPU7は画像圧縮処理プログ
ラムP4に基づいて色分離処理から格納作業までの一連
の処理を一旦終了して、第2メモリ6からYUVデータ
を読み出して画像圧縮処理を実行する。
When a series of processing is completed for eight lines and the storage of the YUV data in all the pixels for eight lines in the second RAM 6 is completed, the CPU 7 performs the processing from the color separation processing to the storage operation based on the image compression processing program P4. Is completed, the YUV data is read from the second memory 6, and the image compression processing is executed.

【0025】この画像圧縮処理では、第2RAM6に格
納されている8ライン分のYUVデータに対応する画素
を、垂直方向×水平方向=8×8画素から成る複数のブ
ロックに分割し、1ブロック毎のYの信号データ及び水
平方向に隣接する2ブロック毎のU、Vの信号データに
ついてJPEGの規格に沿った画像圧縮が実行される。
このJPEGの画像圧縮は、8×8画素を1ブロックと
してブロック化し、このブロック単位で2次元のDCT
(離散コサイン変換)、量子化及び2次元のハフマン符
号化の一連の処理にて構成され、この画像処理により最
終的に圧縮画像データがブロック順次で作成される。
尚、U、Vの信号データについては水平方向に1/2に
間引かれているので2ブロックを1単位として扱ってい
る。
In this image compression processing, pixels corresponding to eight lines of YUV data stored in the second RAM 6 are divided into a plurality of blocks each consisting of 8 × 8 pixels in the vertical direction × horizontal direction, and each block is divided into blocks. The image compression according to the JPEG standard is performed on the Y signal data and the U and V signal data of every two blocks adjacent in the horizontal direction.
In this JPEG image compression, 8 × 8 pixels are divided into blocks, and two-dimensional DCT is performed in block units.
(Discrete Cosine Transform), a series of processes of quantization and two-dimensional Huffman coding, and compressed image data is finally created in block order by this image processing.
Since the U and V signal data are thinned out in the horizontal direction by 1 /, two blocks are treated as one unit.

【0026】このようにして得られる圧縮画像データ
は、一旦第3RAM15に順次格納され、所定のブロッ
ク分の圧縮データがこの第3RAM15に保持される。
そして、これらの所定のブロック分の画像圧縮が完了す
ると、一旦画像圧縮処理を中止して、第3RAM15に
保持される圧縮画像データをデータ格納領域8aに格納
する(ステップ59)。この格納作業に際しては、プロ
グラム格納領域8bからプログラムの個々の命令の読み
出しを逐一実行しつつ、データ格納領域8aへの圧縮画
像データの書き込みを同時に実行することが困難である
から、この格納作業に関しては第1RAM5側のプログ
ラム保管領域5bでの格納処理プログラムP5に基づい
て格納処理が実行される。従って、フラッシュメモリ8
への書き込みと読み出しが同時に為される必要はなくな
り、圧縮画像データのフラッシュメモリ8への格納が妨
げられる恐れはない。
The compressed image data obtained in this way is temporarily stored in the third RAM 15 once, and compressed data for a predetermined block is held in the third RAM 15.
Then, when the image compression for these predetermined blocks is completed, the image compression processing is temporarily stopped, and the compressed image data held in the third RAM 15 is stored in the data storage area 8a (step 59). In this storage work, it is difficult to simultaneously write the compressed image data to the data storage area 8a while reading out the individual instructions of the program from the program storage area 8b one by one. The storage processing is executed based on the storage processing program P5 in the program storage area 5b on the first RAM 5 side. Therefore, the flash memory 8
It is not necessary to simultaneously perform writing and reading to the flash memory 8, and there is no possibility that storage of the compressed image data in the flash memory 8 is hindered.

【0027】上述の圧縮及び格納処理は、ステップ60
に示すように第2RAM6に保持された8ライン分の全
ブロックに対してY、U、Vの信号データ毎に繰り返さ
れ、次いでステップ61にて1画面分の圧縮データの格
納が完了したか否かが判断され、1画面分の全ての処理
が為されていない場合には、ステップ54に戻って一連
の処理を再度繰り返し、1画面分の全ての圧縮画像デー
タがデータ格納領域8aに格納されると、1枚の静止画
の撮影が完了する。
The above-described compression and storage processing is performed in step 60.
As shown in (5), the processing is repeated for every Y, U, V signal data for all the blocks of 8 lines held in the second RAM 6, and then whether or not the storage of the compressed data for one screen is completed in step 61 If it is determined that all the processing for one screen has not been performed, the process returns to step 54 to repeat the series of processing again, and all the compressed image data for one screen is stored in the data storage area 8a. Then, shooting of one still image is completed.

【0028】以上の一連の処理を複数回繰り返すこと
で、データ格納領域8aには複数枚の静止画の圧縮画像
データが格納されることになる。尚、データ格納領域8
aには、予め1枚目のデータはアドレスN1〜N2のメ
モリ位置に格納し、2枚目のデータはアドレスN3〜N
4のメモリ位置に格納するといったように1枚毎に格納
位置が決定されており、また1枚目の静止画については
静止画番号として「1」が付与され、2枚目には静止画
番号として「2」が付与され、以下同様に撮影枚数に応
じて順次付与される。
By repeating the above-described series of processes a plurality of times, compressed image data of a plurality of still images is stored in the data storage area 8a. The data storage area 8
In a, the first data is stored in advance at the memory locations of addresses N1 to N2, and the second data is stored in the addresses N3 to N2.
The storage position is determined for each image such that the image data is stored in the memory position No. 4, and the still image number “1” is assigned to the first still image, and the still image number is assigned to the second image. Is assigned in the same manner as above, and likewise in the same manner, sequentially given according to the number of shots.

【0029】一方、モード選択スイッチにより、消去モ
ードが選択されている場合の各部の動作について次に説
明する。消去モードではステップ70からステップ71
に移行して、CPU7はプログラム格納領域8b内のプ
ログラムP11に基づいてフラッシュメモリ8のデータ
格納領域8aより圧縮画像データをブロック毎に読み出
し、次いで画像伸長プログラムP12に基づいて、圧縮
画像データに対してハフマン復号化、逆量子化及び逆D
CT処理を施して画像伸長し、伸長データを第2RAM
6に一旦保持させ、次いでこれらの伸長データであるY
UVデータをRGBデータに変換する変換プログラムP
13を実行し、更にこれらのRGBデータを間引きなが
らビデオメモリ10に格納し、フラッシュメモリ8内の
複数の静止画について同様の処理を施し、例えば16枚
の静止画を1/16に縮小してビデオメモリ10に1枚
の静止画として格納することでLCDモニター11に1
6枚の静止画の縮小画面が静止画番号順にマルチ表示さ
れる(ステップ71)。
The operation of each unit when the erase mode is selected by the mode selection switch will be described below. In the erase mode, steps 70 to 71
The CPU 7 reads compressed image data block by block from the data storage area 8a of the flash memory 8 based on the program P11 in the program storage area 8b, and then reads the compressed image data based on the image decompression program P12. Huffman decoding, inverse quantization and inverse D
Performs a CT process to expand the image, and stores the expanded data in the second RAM.
6 once, and then these expanded data Y
Conversion program P for converting UV data to RGB data
13 and further stores the RGB data in the video memory 10 while thinning them out, performs the same processing on a plurality of still images in the flash memory 8, and reduces, for example, 16 still images to 1/16. Storing a single still image in the video memory 10 allows the LCD monitor 11 to store one still image.
The reduced screens of the six still images are multi-displayed in the order of the still image numbers (step 71).

【0030】使用者は、このマルチ表示を見ながら消去
を希望する静止画を例えば静止画番号で指定する(ステ
ップ72)と、この消去指令がCPU7に供給され、C
PU7は第1RAM5に保持されている消去処理プログ
ラムP14に基づいて、指定された静止画番号に対応す
るアドレスの領域にアクセスして、これらの領域のデー
タを強制的に消去する。(ステップ73)。
The user designates a still image desired to be erased by, for example, a still image number while viewing the multi-display (step 72), and the erase command is supplied to the CPU 7, and C
Based on the erasure processing program P14 held in the first RAM 5, the PU 7 accesses areas at addresses corresponding to the designated still image numbers, and forcibly erases data in these areas. (Step 73).

【0031】従って、データ消去とプログラムの個々の
命令の読み出しをフラッシュメモリ8に対して同時に実
行する必要がないので、プログラム読み出し中によりデ
ータ消去ができないといった問題は生じない。
Therefore, it is not necessary to simultaneously execute the data erasure and the reading of the individual instructions of the program for the flash memory 8, so that there is no problem that the data cannot be erased during the program reading.

【0032】前記実施例では、CCDイメージャ1の有
効画素毎にR、G、B信号の一つを取り出し、色分離処
理により欠落する2色の色信号の補間を行う方式を例に
挙げて説明したが、本件出願人が先に特願平7−386
32号にて提案しているように、色分離処理の際にCC
Dイメージャの画素の欠落色信号を補間するのに代え
て、各画素を水平及び垂直方向に半画素分ずらせた位置
でのR、G、Bの3原色信号を周囲の画素の色信号から
作成して、これ以後の信号処理に際して、この半画素ず
れた位置を画素と見なして扱うことも可能であることは
いうまでもない。
In the above-described embodiment, one of the R, G, and B signals is extracted for each effective pixel of the CCD imager 1 and interpolation of the two missing color signals by color separation processing is described as an example. However, the present applicant has previously filed Japanese Patent Application No. 7-386.
As proposed in No. 32, CC for color separation processing
Instead of interpolating the missing color signal of the pixel of the D imager, the three primary color signals of R, G, and B at the position where each pixel is shifted by half a pixel in the horizontal and vertical directions are created from the color signals of the surrounding pixels. Needless to say, in the subsequent signal processing, the position shifted by half a pixel can be treated as a pixel.

【0033】また、前記実施例では、CCDイメージャ
1に装着された色フィルタは、R、G、Bの原色フィル
タをモザイク状に配置したものを用いたが、特にモザイ
ク状に配置するものに限定されることはない。また、原
色フィルタに代えて補色フィルタを用いることも可能で
あることはいうまでもない。
In the above embodiment, the color filters mounted on the CCD imager 1 are those in which the R, G, and B primary color filters are arranged in a mosaic pattern. It will not be done. Needless to say, a complementary color filter can be used instead of the primary color filter.

【0034】また、前記実施例では、CCDイメージャ
の色フィルタに原色フィルタを用い、フラッシュメモリ
への記憶をYUVのデータで行うように構成しているの
で、画像圧縮前及び伸長後にRGBデータからYUVデ
ータへの変換及びその逆の逆変換を実行しているが、フ
ラッシュメモリにRGBデータをそのまま記憶するよう
に構成することも可能であり、この場合、上述の変換及
び逆変換処理は不要となる。
Also, in the above embodiment, since the primary color filter is used as the color filter of the CCD imager and the storage in the flash memory is performed by the YUV data, the RGB data is converted from the YUV data before and after the image compression. Although the conversion to data and the reverse conversion are performed, it is also possible to configure so that the RGB data is stored as it is in the flash memory. In this case, the above-described conversion and reverse conversion processing become unnecessary. .

【0035】また、前記実施例では、フラッシュメモリ
のプログラム格納領域からプログラムP5及びP14を
転送する転送先を第1RAM5として説明したが、これ
に限定されるものではなく、第2RAM6にプログラム
保管領域を別途用意して、ここに転送するように構成し
ても良いことはいうまでもない。
Further, in the above embodiment, the transfer destination for transferring the programs P5 and P14 from the program storage area of the flash memory is described as the first RAM 5, but the present invention is not limited to this, and the program storage area is stored in the second RAM 6. Needless to say, it is also possible to separately prepare and transfer the data here.

【0036】[0036]

【発明の効果】上述の如く請求項1の発明によると、本
来画像データを格納する半導体メモリにプログラム格納
領域を設定し、ここにCPUで撮像信号をソフトウエア
的に処理する為の制御プログラムを格納するので、この
制御プログラムを格納するROMを省略することが可能
になる。特に請求項2により、半導体メモリへのデータ
格納用のプログラムのみは別のRAMに転送すること
で、半導体メモリへのデータ格納に際してデータの書き
込みとプログラムの読み出しを独立させることができ、
プログラム読み出し中によりデータ格納ができないとい
った問題点が解消される。
As described above, according to the first aspect of the present invention, a program storage area is set in a semiconductor memory which originally stores image data, and a control program for processing an image pickup signal by software with a CPU is set therein. Since the control program is stored, the ROM for storing the control program can be omitted. In particular, by transferring only the program for storing data in the semiconductor memory to another RAM, it is possible to make data writing and reading of the program independent when storing data in the semiconductor memory.
The problem that data cannot be stored during program reading is solved.

【0037】また、請求項3の発明によると、複数の画
像データが格納された半導体メモリにプログラム格納領
域を設定し、ここにCPUで半導体メモリ内の任意の画
像データをソフトウエア的に消去処理する為の制御プロ
グラムを格納するので、この制御プログラムを格納する
ROMを省略することが可能になる。特に請求項4によ
り、データ消去用のプログラムのみは別のRAMに転送
することで、半導体メモリへのデータ格納に際して、消
去とプログラムの読み出しを独立させることができ、プ
ログラム読み出し中によりデータ消去ができないといっ
た問題点が解消される。
According to the third aspect of the present invention, a program storage area is set in a semiconductor memory in which a plurality of image data are stored, and an arbitrary image data in the semiconductor memory is erased by software in a CPU. Since a control program for storing the control program is stored, a ROM for storing the control program can be omitted. In particular, by transferring only the data erasing program to another RAM, the erasing and the program reading can be made independent when storing the data in the semiconductor memory, and the data cannot be erased during the program reading. Such a problem is solved.

【0038】また、請求項5のように、カメラの電源O
N毎に半導体メモリから別のRAMに特定のプログラム
のみを転送させるので、カメラの作動時には常にRAM
にプログラムが保持される。
Further, according to a fifth aspect of the present invention, a power supply O of the camera is provided.
Only a specific program is transferred from the semiconductor memory to another RAM every N.
The program is held.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】本発明の一実施例のフローチャートである。FIG. 2 is a flowchart of one embodiment of the present invention.

【図3】本発明の一実施例に係わり、CCDイメージャ
に装着される色フィルタを説明する図である。
FIG. 3 is a diagram illustrating a color filter mounted on a CCD imager according to an embodiment of the present invention.

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

1 CCDイメージャ 5 第1RAM 5a データ保管領域 5b プログラム保管領域 7 CPU 8 フラッシュメモリ 8a データ格納領域 8b プログラム格納領域 12 消去画像指定ボタン 1 CCD imager 5 First RAM 5a Data storage area 5b Program storage area 7 CPU 8 Flash memory 8a Data storage area 8b Program storage area 12 Erase image designation button

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 撮像信号を出力する撮像素子と、 該撮像信号に信号処理を施して画像データに変換する信
号処理手段と、 該画像データを格納する半導体メモリとを備える電子ス
チルカメラにおいて、 前記信号処理手段にはCPUが含まれ、該CPUを駆動
制御する制御プログラムが前記半導体メモリに記憶され
ていることを特徴とする電子スチルカメラ。
1. An electronic still camera comprising: an image sensor that outputs an image signal; a signal processing unit that performs signal processing on the image signal to convert the image signal into image data; and a semiconductor memory that stores the image data. An electronic still camera, wherein the signal processing means includes a CPU, and a control program for driving and controlling the CPU is stored in the semiconductor memory.
【請求項2】 前記信号処理手段での信号処理に先立っ
て、前記制御プログラム中の前記画像データの前記半導
体メモリへの格納作業に関するプログラムのみを前記半
導体メモリとは別のRAMに転送し、前記CPUは前記
格納作業を前記RAM内のプログラムに基づいて実行す
ることを特徴とする請求項1記載の電子スチルカメラ。
2. Prior to signal processing by said signal processing means, only a program relating to a work of storing said image data in said semiconductor memory in said control program is transferred to a RAM different from said semiconductor memory, 2. The electronic still camera according to claim 1, wherein the CPU executes the storing operation based on a program in the RAM.
【請求項3】 撮像信号を出力する撮像素子と、 該撮像信号に信号処理を施して画像データに変換する信
号処理手段と、 複数枚の静止画の画像データを格納可能な半導体メモリ
と、 前記半導体メモリに格納される複数の画像データの任意
の静止画に対応するデータを消去する画像消去手段とを
備える電子スチルカメラにおいて、 前記画像消去手段にはCPUが含まれ、該CPUを駆動
制御する制御プログラムが前記半導体メモリに記憶され
ていることを特徴とする電子スチルカメラ。
3. An image sensor that outputs an image signal, a signal processing unit that performs signal processing on the image signal to convert the image signal into image data, a semiconductor memory that can store image data of a plurality of still images, An electronic still camera comprising: an image erasing unit for erasing data corresponding to an arbitrary still image of a plurality of image data stored in a semiconductor memory; wherein the image erasing unit includes a CPU, and controls driving of the CPU. An electronic still camera, wherein a control program is stored in the semiconductor memory.
【請求項4】 前記画像消去手段での画像消去に先立っ
て、前記制御プログラム中の画像データの前記半導体メ
モリからの消去作業に関するプログラムのみを前記半導
体メモリとは別のRAMに転送し、前記CPUは前記消
去作業を前記RAM内のプログラムに基づいて実行する
ことを特徴とする請求項3記載の電子スチルカメラ。
4. Prior to erasing an image by said image erasing means, only a program relating to an operation of erasing image data in said control program from said semiconductor memory is transferred to a RAM different from said semiconductor memory. 4. The electronic still camera according to claim 3, wherein the erasing operation is performed based on a program in the RAM.
【請求項5】 前記転送は電源オンに伴う初期設定時に
実行されることを特徴とする請求項2または請求項4記
載の電子スチルカメラ。
5. The electronic still camera according to claim 2, wherein the transfer is performed at the time of initialization upon power-on.
JP2001310780A 2001-10-05 2001-10-05 Electronic still camera Pending JP2002158911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001310780A JP2002158911A (en) 2001-10-05 2001-10-05 Electronic still camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001310780A JP2002158911A (en) 2001-10-05 2001-10-05 Electronic still camera

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP25965896A Division JP3253536B2 (en) 1996-09-30 1996-09-30 Electronic still camera

Publications (1)

Publication Number Publication Date
JP2002158911A true JP2002158911A (en) 2002-05-31

Family

ID=19129705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001310780A Pending JP2002158911A (en) 2001-10-05 2001-10-05 Electronic still camera

Country Status (1)

Country Link
JP (1) JP2002158911A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009118265A (en) * 2007-11-07 2009-05-28 Canon Inc Image pickup apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009118265A (en) * 2007-11-07 2009-05-28 Canon Inc Image pickup apparatus

Similar Documents

Publication Publication Date Title
US7705902B2 (en) Video signal processing apparatus, image display control method, storage medium, and program
US8120791B2 (en) Image synthesizing apparatus
JP5014099B2 (en) Imaging apparatus and control method thereof
JPH10285541A (en) Image correction information recorder and image restoration processor for electronic still camera
JP2001285703A (en) Electronic camera
JP2007274504A (en) Digital camera
JP4343657B2 (en) Image recording device
US11622175B2 (en) Electronic apparatus and control method thereof
JP5023355B2 (en) Liquid crystal display device, liquid crystal display method and program
JP4853434B2 (en) Image processing device
JP3253536B2 (en) Electronic still camera
JP4683190B2 (en) Imaging apparatus, image effect applying method, and image effect applying program
JP2003345340A (en) Image display controller
JP4175729B2 (en) Electronic imaging device
JP2002232751A (en) Display device, display method and electronic camera
JP2000175205A (en) Image reader
JP2000152260A (en) Drive method for image pickup element and image pickup device
JP2009033385A (en) Image processor, image processing method, image processing program and imaging device
JP7319873B2 (en) Imaging device and its control method
JP2002158911A (en) Electronic still camera
JP2006094031A (en) Imaging apparatus, image processing method, and program
JPH11187351A (en) Image pickup device and its control method
JP2003271944A (en) Image processor
JP2006287733A (en) Imaging apparatus, operating method thereof, storage medium, and program
JP2002330322A (en) Electronic camera