JP2008035552A - Imaging unit and method - Google Patents

Imaging unit and method Download PDF

Info

Publication number
JP2008035552A
JP2008035552A JP2007249161A JP2007249161A JP2008035552A JP 2008035552 A JP2008035552 A JP 2008035552A JP 2007249161 A JP2007249161 A JP 2007249161A JP 2007249161 A JP2007249161 A JP 2007249161A JP 2008035552 A JP2008035552 A JP 2008035552A
Authority
JP
Japan
Prior art keywords
image data
frame rate
output
image
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.)
Granted
Application number
JP2007249161A
Other languages
Japanese (ja)
Other versions
JP4775351B2 (en
Inventor
Tsutomu Kume
勉 久米
Shinya Ishii
真也 石井
Tokuichiro Yamada
徳一郎 山田
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2007249161A priority Critical patent/JP4775351B2/en
Publication of JP2008035552A publication Critical patent/JP2008035552A/en
Application granted granted Critical
Publication of JP4775351B2 publication Critical patent/JP4775351B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To output image data by converting into a frame rate suitable for outputting, after processing using a frame rate not related to output. <P>SOLUTION: In image data recording processing in case of PAL video output, a display signal processor 63 receives a supplied image data having a frame rate of 30Hz stored in a memory 19 via a bus 16, and then converts the frame rate into 29.97 Hz of NTSC by means of a frame rate conversion method through decimation corresponding to the ratios of the frame rate, so as to output to a display 21 and a codec IC interface 64, and also, converts the frame rate into 25 Hz of PAL, so as to output to a video output interface 22. The present invention is applicable to a digital camera. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、撮像装置および撮像方法に関し、特に、所定のフォーマットで画像出力を行う場合に用いて好適な、撮像装置および撮像方法に関する。   The present invention relates to an image pickup apparatus and an image pickup method, and more particularly to an image pickup apparatus and an image pickup method suitable for use when outputting an image in a predetermined format.

デジタルカメラ(デジタルスチルカメラ、デジタルビデオカメラ、並びに、静止画および動画を撮像可能なデジタルカメラ)においては、撮像する画像を確認するために、光学ファインダに代わって、液晶ファインダが用いられる。また、デジタルカメラは、例えば、テレビジョン受像機などのモニタを用いて、撮像した画像を表示させるために、内部に記録している画像データを外部の表示機器に出力するためのビデオ出力端子を備えている。   In digital cameras (digital still cameras, digital video cameras, and digital cameras capable of capturing still images and moving images), a liquid crystal finder is used instead of an optical finder in order to confirm an image to be captured. In addition, the digital camera has a video output terminal for outputting image data recorded therein to an external display device in order to display a captured image using a monitor such as a television receiver. I have.

ビデオ出力のフォーマットとしては、例えば、NTSC(National Television System Committee)方式や、PAL(Phase Alternating Line)方式などがある。PALは、1962年に西ドイツで提案されたカラーテレビジョン放送の標準であり、走査線が625本(50フィールド)、フレームレートは、25フレーム/秒、画面比(アスペクト比)3:4で、主にフランスを除く西ヨーロッパ各国で採用されている。NTSCは、1953年に標準化されたカラーテレビジョン信号方式であり、走査線が525本(60フィールド)、フレームレートは、29.97フレーム/秒、画面比(アスペクト比)3:4で、主にアメリカと日本で採用されている。   Examples of the video output format include the NTSC (National Television System Committee) system and the PAL (Phase Alternating Line) system. PAL is a color television broadcasting standard proposed in West Germany in 1962, with 625 scanning lines (50 fields), a frame rate of 25 frames / second, and a screen ratio (aspect ratio) of 3: 4. It is mainly used in Western European countries except France. NTSC is a color television signal system standardized in 1953, with 525 scanning lines (60 fields), a frame rate of 29.97 frames / second, and a screen ratio (aspect ratio) of 3: 4. Adopted in the United States and Japan.

従来のデジタルカメラでは、装置内の処理の全体が、ビデオ出力のフォーマットに合わせて、PALやNTSCのフレームレートにあわせた基準クロックで動作していたため、液晶ファインダにもPALやNTSCの映像が表示されていた。   In conventional digital cameras, the entire processing in the device was operated with a reference clock that matched the frame rate of PAL or NTSC in accordance with the video output format, so PAL or NTSC video was also displayed on the LCD finder. It had been.

図1は、従来のデジタルカメラ1の構成を示すブロック図である。なお、図中、実線は画像信号の授受を示すものであり、点線は制御信号の授受を示すものであり、一点破線は符号信号の授受を示すものであり、二点破線は同期信号の授受を示すものである。   FIG. 1 is a block diagram showing a configuration of a conventional digital camera 1. In the figure, the solid line indicates the transmission / reception of the image signal, the dotted line indicates the transmission / reception of the control signal, the one-dot broken line indicates the transmission / reception of the code signal, and the two-dot broken line indicates the transmission / reception of the synchronization signal. Is shown.

CCD(Charge Coupled Device:電化結合素子)カメラ部11で撮像された画像信号は、A/D変換部12でデジタル信号に変換されて、信号処理部13に入力される。信号処理部13は、入力された信号に対して、例えば、ガンマ処理や、RGB信号をY/Cb/Cr信号に変換する処理などを行い、処理後の画像データを、メモリコントローラ14に供給する。   An image signal captured by a CCD (Charge Coupled Device) camera unit 11 is converted into a digital signal by an A / D conversion unit 12 and input to a signal processing unit 13. The signal processing unit 13 performs, for example, gamma processing or processing to convert an RGB signal into a Y / Cb / Cr signal on the input signal, and supplies the processed image data to the memory controller 14. .

メモリコントローラ14は、CPU(Central Processing Unit)15の制御に従って、入力された画像データを、バス16を介して、メモリ19に書き込んで記録させたり、メモリ19に書き込まれている画像データを、バス16を介して、画像圧縮処理部17や解像度変換処理部18に供給して処理させ、再びメモリ19に記録させる。また、メモリコントローラ14は、メモリ19に記録されている信号処理部13において処理された状態の画像データ、あるいは、必要に応じて画像圧縮処理部17、もしくは解像度変換処理部18によって処理された画像データを、バス16を介して、表示信号処理部20に供給したり、バス16を介して読み込み、ドライブ23に出力する。   Under the control of a CPU (Central Processing Unit) 15, the memory controller 14 writes input image data into the memory 19 via the bus 16 and records it, or stores image data written in the memory 19 on the bus 19 The image data is supplied to the image compression processing unit 17 and the resolution conversion processing unit 18 via 16 and processed, and recorded in the memory 19 again. The memory controller 14 also stores image data processed by the signal processing unit 13 recorded in the memory 19 or an image processed by the image compression processing unit 17 or the resolution conversion processing unit 18 as necessary. Data is supplied to the display signal processing unit 20 via the bus 16, read via the bus 16, and output to the drive 23.

CPU15は、デジタルカメラ1の動作を制御するものであり、後述する同期信号生成部31から、基準となるタイミング信号の入力を受け、信号処理部13、メモリコントローラ14、および、表示信号処理部20の動作を制御するための制御信号を生成して出力する。   The CPU 15 controls the operation of the digital camera 1, receives a reference timing signal from a synchronization signal generation unit 31 described later, receives the signal processing unit 13, the memory controller 14, and the display signal processing unit 20. A control signal for controlling the operation is generated and output.

画像圧縮処理部17は、供給された画像データを、例えば、JPEGなどの所定の圧縮符号化方法で圧縮符号化(ソフトウェアコーディング)する。解像度変換処理部18は、供給されたデータに対して、水平、もしくは垂直の画像解像度変換処理を行う。   The image compression processing unit 17 performs compression coding (software coding) on the supplied image data by a predetermined compression coding method such as JPEG. The resolution conversion processing unit 18 performs horizontal or vertical image resolution conversion processing on the supplied data.

表示信号処理部20は、バス16を介して、メモリ19に記録された画像データの入力を受け、内部に有する同期信号生成部31が生成する基準信号に基づいて、 表示部21に出力して表示するのに適した信号、もしくは、ビデオ出力インターフェース22を介して外部の機器に出力するのに適した信号に変換する処理を実行する。同期信号生成部31が生成する基準信号は、CCDカメラ部11、信号処理部13、およびCPU15に供給される。   The display signal processing unit 20 receives the input of the image data recorded in the memory 19 via the bus 16 and outputs it to the display unit 21 based on the reference signal generated by the synchronization signal generation unit 31 included therein. A process of converting the signal into a signal suitable for display or a signal suitable for output to an external device via the video output interface 22 is executed. The reference signal generated by the synchronization signal generation unit 31 is supplied to the CCD camera unit 11, the signal processing unit 13, and the CPU 15.

表示部21は、例えば、液晶パネルなどより構成され、表示信号処理部20から供給された所定の表示フォーマット(例えば、PALやNTSC)の画像データを表示する。ビデオ出力インターフェース22は、所定のインターフェース形式で、外部の機器と接続され、表示信号処理部20から供給された所定のビデオ出力フォーマット(例えば、PALやNTSC)の画像データを外部の機器に出力する。なお、ビデオ出力インターフェース22と外部の機器は、有線で接続されていても、無線で接続されていても良い。   The display unit 21 is composed of a liquid crystal panel, for example, and displays image data of a predetermined display format (for example, PAL or NTSC) supplied from the display signal processing unit 20. The video output interface 22 is connected to an external device in a predetermined interface format, and outputs image data of a predetermined video output format (for example, PAL or NTSC) supplied from the display signal processing unit 20 to the external device. . Note that the video output interface 22 and an external device may be connected by wire or may be connected wirelessly.

また、メモリコントローラ14には、必要に応じて、ドライブ23が接続され、磁気ディスク41、光ディスク42、光磁気ディスク43、あるいは、半導体メモリ44などが装着され、例えば、メモリコントローラ14の処理により、画像圧縮処理部17において圧縮処理された画像が供給され、これらの記録媒体に記録される。   The memory controller 14 is connected to a drive 23 as necessary, and a magnetic disk 41, an optical disk 42, a magneto-optical disk 43, a semiconductor memory 44, or the like is mounted. For example, by the processing of the memory controller 14, The image compressed by the image compression processing unit 17 is supplied and recorded on these recording media.

撮影時において、CCDカメラ部11から入力された信号は、A/D変換部12でデジタル信号に変換されて、信号処理部13に入力される。信号処理部13は、入力された信号に対して、例えば、ガンマ処理や、RGB信号をY/Cb/Cr信号に変換する処理などを行い、処理後の画像データを、メモリコントローラ14に供給する。画像のサイズ変換がある場合、画像データは、メモリコントローラ14の処理により、バス16を介して、解像度変換処理部18に供給されて、水平、垂直の画像変換が行われ、変換されたデータが、メモリコントローラ14の処理により、バス16を介して、メモリ19に記録される。   At the time of shooting, a signal input from the CCD camera unit 11 is converted into a digital signal by the A / D conversion unit 12 and input to the signal processing unit 13. The signal processing unit 13 performs, for example, gamma processing or processing to convert an RGB signal into a Y / Cb / Cr signal on the input signal, and supplies the processed image data to the memory controller 14. . When there is an image size conversion, the image data is supplied to the resolution conversion processing unit 18 via the bus 16 by the processing of the memory controller 14, and horizontal and vertical image conversion is performed. The data is recorded in the memory 19 via the bus 16 by the processing of the memory controller 14.

画像データが、ドライブ23に装着されている記録媒体などに記録される場合、画像データは、メモリコントローラ14の処理により、バス16を介して、画像圧縮処理部17に供給され、例えば、JPEGなどの所定の圧縮符号化方式によって圧縮される。圧縮された画像データは、再び、メモリコントローラ14の処理により、ドライブ23に出力されて、磁気ディスク41、光ディスク42、光磁気ディスク43、あるいは、半導体メモリ44などの記録媒体に記録される。   When the image data is recorded on a recording medium mounted on the drive 23, the image data is supplied to the image compression processing unit 17 via the bus 16 by the processing of the memory controller 14, for example, JPEG or the like. Are compressed by a predetermined compression encoding method. The compressed image data is output to the drive 23 again by the processing of the memory controller 14 and recorded on a recording medium such as the magnetic disk 41, the optical disk 42, the magneto-optical disk 43, or the semiconductor memory 44.

特に、動画像の撮影時には、CCDカメラ部11で撮像され、A/D変換部12および信号処理部13で所定の処理を施された画像信号は、メモリコントローラ14の処理により、メモリ19にフレーム毎に記録される。メモリコントローラ14は、CPU15の制御を受け、画像圧縮処理部17に、メモリ19に記録された画像信号を供給する。画像圧縮処理部17は、動画のフレームレートの仕様(例えば、15フレーム/秒や、16.6フレーム/秒)に従って、供給された画像信号に対して画像圧縮を施す。すなわち、画像圧縮処理部17は、フレームレートの仕様が15フレーム/秒の場合には、供給された画像信号を66.6msec毎の画像に圧縮し、フレームレートの仕様が16.6フレーム/秒の場合には、供給された画像信号を60msecおきの画像に圧縮する。圧縮処理後の画像データは、メモリコントローラ14の処理により、メモリ19、もしくは、ドライブ23に装着された記録媒体に書き込まれる。   In particular, when a moving image is captured, an image signal captured by the CCD camera unit 11 and subjected to predetermined processing by the A / D conversion unit 12 and the signal processing unit 13 is framed in the memory 19 by processing of the memory controller 14. Recorded every time. Under the control of the CPU 15, the memory controller 14 supplies the image signal recorded in the memory 19 to the image compression processing unit 17. The image compression processing unit 17 performs image compression on the supplied image signal in accordance with the specification of the frame rate of the moving image (for example, 15 frames / second or 16.6 frames / second). That is, when the frame rate specification is 15 frames / second, the image compression processing unit 17 compresses the supplied image signal into an image every 66.6 msec, and the frame rate specification is 16.6 frames / second. In the case of, the supplied image signal is compressed into images every 60 msec. The compressed image data is written to the memory 19 or a recording medium attached to the drive 23 by the processing of the memory controller 14.

以上説明した処理のタイミングの基準になっているのは、表示信号処理部20内の同期信号生成部31が発生している垂直同期信号VDであり、この信号が、CPU15や信号処理部13に入力されて、必要な信号の処理やCPU15の処理の基準となっている。   The reference of the processing timing described above is the vertical synchronization signal VD generated by the synchronization signal generation unit 31 in the display signal processing unit 20, and this signal is sent to the CPU 15 and the signal processing unit 13. The input signal is used as a reference for necessary signal processing and CPU 15 processing.

従来においては、この基準のタイミング(垂直同期信号VD)は、ビデオ出力インターフェースから出力されるビデオ信号のフォーマット(例えば、NTSCやPALなど)のフレームレートを基準として発生されていた。   Conventionally, this reference timing (vertical synchronization signal VD) has been generated based on the frame rate of the video signal format (for example, NTSC or PAL) output from the video output interface.

多くの場合、液晶ファインダに用いられている表示部21の液晶パネルの走査線の数は、NTSCに合わせて240本である。このような液晶パネルを用いてPALで動作するデジタルスチルカメラにおいては、液晶パネルに画像を表示する場合に、走査線の間引きを行っていた。   In many cases, the number of scanning lines of the liquid crystal panel of the display unit 21 used in the liquid crystal finder is 240 in accordance with NTSC. In a digital still camera that operates in PAL using such a liquid crystal panel, thinning of scanning lines is performed when an image is displayed on the liquid crystal panel.

NTSCに合わせた走査線を有する液晶パネルにPALの画像を表示させる場合、走査線の間引きを行うために、画像が劣化してしまう。また、このような場合、表示内容にOSD(On Screen Display)による文字情報が含まれているとき、走査線の間引きによって文字が欠けてしまうという問題が生じる。   When a PAL image is displayed on a liquid crystal panel having scanning lines matched to NTSC, the scanning line is thinned out, so that the image deteriorates. Further, in such a case, when the display content includes character information by OSD (On Screen Display), there arises a problem that characters are lost due to thinning of scanning lines.

近年、撮像素子であるCCDの性能向上にともなって、動画の表示におけるフレームレートの向上や、画質の向上が求められている。上述したように、従来のデジタルカメラ1において、処理の基準になっているのは、ビデオ出力のフォーマットに合わせて発生される垂直同期信号VDである。従って、CCDカメラ部11、信号処理部13、およびCPU15は、ビデオ出力のフォーマットに合わせて、PAL方式やNTSC方式を基準としたタイミングで動作している。   In recent years, with the improvement in performance of a CCD, which is an image sensor, there has been a demand for an improvement in the frame rate for displaying moving images and an improvement in image quality. As described above, in the conventional digital camera 1, the reference for processing is the vertical synchronization signal VD generated in accordance with the video output format. Accordingly, the CCD camera unit 11, the signal processing unit 13, and the CPU 15 operate at a timing based on the PAL system or the NTSC system in accordance with the video output format.

しかしながら、処理の基準がNTSCやPALである場合、商品の形態として、2つのフォーマットができてしまうのは好ましくなく、動画を撮影する際にフレームレートが異なる画像データを処理する必要が生じてしまうことは避けたい。そのため、従来のデジタルカメラにおいては、より低いフレームレートであるPALの場合の25フレーム/秒のフレームレートにあわせて画像処理を行うように設定してしまうことになり、NTSC動作でも25フレーム/秒のフレームレートで処理してしまう。すなわち、高フレームレートを実現することができなくなる。   However, when the processing standard is NTSC or PAL, it is not preferable that two formats are produced as product forms, and it is necessary to process image data having different frame rates when shooting a moving image. I want to avoid that. Therefore, the conventional digital camera is set to perform image processing in accordance with a frame rate of 25 frames / second in the case of PAL, which is a lower frame rate, and even in NTSC operation, 25 frames / second. Will be processed at the frame rate. That is, a high frame rate cannot be realized.

また、画像圧縮処理部17の処理により、動画の圧縮ファイルをソフトウェアで作成する場合、NTSC方式に合わせた29.97Hzの周波数は、画像と音声の同期を取りにくい周波数であった。このため、画像圧縮処理部17において、実際にソフトウェアでエンコードを行うにあたっては、NTSC方式によらないフレームレート(例えば、15フレーム/秒、16.6フレーム/秒、あるいは、30フレーム/秒)などが選択されていた。   In addition, when a compressed video file is created by software by the processing of the image compression processing unit 17, the frequency of 29.97 Hz in accordance with the NTSC system is a frequency that makes it difficult to synchronize the image and the sound. For this reason, when the image compression processing unit 17 actually encodes with software, a frame rate not based on the NTSC system (for example, 15 frames / second, 16.6 frames / second, or 30 frames / second), etc. Was selected.

しかしながら、画像圧縮処理部17において、ソフトウェアの処理によってエンコードを行う場合、動きベクトルなどを用いた高圧縮を行うことができないため、ビットレートを大きく下げることができず、高画質を得ることもできない。また、ソフトウェアの処理によってエンコードを行う場合、撮影モードと再生モードとで、基準となるタイミングが同一でなくてはならない。   However, when encoding is performed by software processing in the image compression processing unit 17, since high compression using a motion vector or the like cannot be performed, the bit rate cannot be greatly reduced, and high image quality cannot be obtained. . When encoding is performed by software processing, the reference timing must be the same in the shooting mode and the playback mode.

それに対して、動画像を高画質で撮像して記録するためには、専用のコーディックIC(Integrated Circuit)を用いてエンコードを行うようにすると好適である。近年では、動画像を高画質で撮像して記録するために適した専用のコーディックICが数多く開発され、商品化されている。   On the other hand, in order to capture and record a moving image with high image quality, it is preferable to perform encoding using a dedicated codec IC (Integrated Circuit). In recent years, many dedicated codec ICs suitable for capturing and recording moving images with high image quality have been developed and commercialized.

しかしながら、既に商品化されているコーディックICは、従来のビデオ出力に合わせて、PAL方式やNTSC方式で動作するように設定されている。また、コーディックICを用いることは、コストアップになるため、ソフトウェアでフレームレートの高いエンコードを行う方式と、専用のコーディックICで高画質のエンコードを行う方式との双方が可能なシステムが求められている。双方のエンコード方式が可能なシステムであれば、コストと品質の要求に基づいて、コーディックICを利用しない構成、および、コーディックICを利用する構成のビデオカメラのいずれにおいても対応することが可能な、すなわち、コーディックICを接続可能なビデオカメラを構成することができる。   However, already commercialized codec ICs are set to operate in the PAL system or NTSC system in accordance with the conventional video output. Also, since the use of a codec IC increases costs, there is a need for a system that can perform both a high-frame-rate encoding method using software and a high-quality encoding method using a dedicated codec IC. Yes. If it is a system capable of both encoding methods, it is possible to cope with both a configuration not using a codec IC and a video camera using a codec IC based on cost and quality requirements. That is, a video camera to which a codec IC can be connected can be configured.

本発明はこのような状況に鑑みてなされたものであり、高フレームレートのソフトウェアでの動画エンコード、および、外部コーディックICによる高画質動画エンコードの双方を可能とし、再生処理の基準のタイミングを、ビデオ出力される動画像のフォーマットによらず一定のタイミングで行い、かつ、表示される画質の劣化をなくすことができるようにするものである。   The present invention has been made in view of such a situation, and enables both video encoding with high frame rate software and high-quality video encoding with an external codec IC. It is performed at a fixed timing regardless of the format of a moving image to be output as a video, and deterioration of displayed image quality can be eliminated.

本発明の一側面の撮像装置は、被写体像を撮像する撮像手段と、前記撮像手段により撮像されて得られた画像データから第1のフレームレートを有する画像データを生成する生成手段と、前記生成手段により生成された前記第1のフレームレートを有する画像データを、前記第1のフレームレートよりも低い第2のフレームレートを有する第1のビデオフォーマット、または、前記第1のフレームレートよりも低い第3のフレームレートを有する第2のビデオフォーマットに対応する画像データに変換するとともに、前記第2のビデオフォーマットに対応する画像データを、前記第1のフレームレートを有する画像データに変換する変換手段と、前記変換手段により変換された前記第1のビデオフォーマットに対応する画像データを出力する第1の出力手段と、前記変換手段により変換された前記第2のビデオフォーマットに対応する画像データを、前記第2のビデオフォーマットに対応する画像データを圧縮伸張する圧縮伸張部に出力する第2の出力手段と、前記圧縮伸張部により伸張された前記第2のビデオフォーマットに対応する画像データの取得、前記変換手段による前記第2のビデオフォーマットに対応する画像データの前記第1のフレームレートを有する画像データへの変換、および、変換後の前記第1のフレームレートを有する画像データの前記第1のビデオフォーマットに対応する画像データへの変換、並びに、変換後の前記第1のビデオフォーマットに対応する画像データの前記第1の出力手段による出力を制御する制御手段とを備える。   An imaging apparatus according to an aspect of the present invention includes an imaging unit that captures a subject image, a generation unit that generates image data having a first frame rate from image data obtained by imaging by the imaging unit, and the generation The image data having the first frame rate generated by the means is converted to a first video format having a second frame rate lower than the first frame rate, or lower than the first frame rate. Conversion means for converting image data corresponding to the second video format into image data having the first frame rate and converting the image data corresponding to the second video format having the third frame rate. And outputting image data corresponding to the first video format converted by the converting means. A second output unit that outputs the image data corresponding to the second video format converted by the conversion unit to a compression / decompression unit that compresses / decompresses the image data corresponding to the second video format. An output unit; obtaining image data corresponding to the second video format expanded by the compression / decompression unit; and the first frame rate of the image data corresponding to the second video format by the converting unit. Conversion to image data, conversion of image data having the first frame rate after conversion to image data corresponding to the first video format, and correspondence to the first video format after conversion Control means for controlling the output of the image data to be output by the first output means.

本発明の一側面の撮像方法は、被写体像を撮像する撮像装置の撮像方法であって、被写体像を撮像し、撮像されて得られた画像データから第1のフレームレートを有する画像データを生成し、前記第1のフレームレートを有する画像データを、前記第1のフレームレートよりも低い第2のフレームレートを有する第1のビデオフォーマット、または、前記第1のフレームレートよりも低い第3のフレームレートを有する第2のビデオフォーマットに対応する画像データに変換するとともに、前記第2のビデオフォーマットに対応する画像データを、前記第1のフレームレートを有する画像データに変換し、変換された前記第1のビデオフォーマットに対応する画像データを出力し、変換された前記第2のビデオフォーマットに対応する画像データを、前記第2のビデオフォーマットに対応する画像データを圧縮伸張する圧縮伸張部に出力し、前記圧縮伸張部により伸張された前記第2のビデオフォーマットに対応する画像データを取得し、取得された前記第2のビデオフォーマットに対応する画像データを前記第1のフレームレートを有する画像データへ変換し、変換後の前記第1のフレームレートを有する画像データを前記第1のビデオフォーマットに対応する画像データへ変換し、変換後の前記第1のビデオフォーマットに対応する画像データを出力する処理を制御するステップを含む。   An imaging method according to an aspect of the present invention is an imaging method of an imaging device that captures a subject image, captures the subject image, and generates image data having a first frame rate from the captured image data. Then, the image data having the first frame rate is converted into a first video format having a second frame rate lower than the first frame rate, or a third lower than the first frame rate. The image data corresponding to the second video format having a frame rate is converted, the image data corresponding to the second video format is converted to the image data having the first frame rate, and the converted Image data corresponding to the first video format is output, and the converted image data corresponding to the second video format is output. Is output to a compression / decompression unit that compresses / decompresses image data corresponding to the second video format, and image data corresponding to the second video format decompressed by the compression / decompression unit is acquired and acquired. The image data corresponding to the second video format is converted into image data having the first frame rate, and the converted image data having the first frame rate corresponds to the first video format. The method includes a step of controlling a process of converting to image data and outputting image data corresponding to the first video format after conversion.

本発明の一側面においては、被写体像が撮像され、撮像されて得られた画像データから第1のフレームレートを有する画像データが生成され、前記第1のフレームレートを有する画像データが、前記第1のフレームレートよりも低い第2のフレームレートを有する第1のビデオフォーマット、または、前記第1のフレームレートよりも低い第3のフレームレートを有する第2のビデオフォーマットに対応する画像データに変換され、前記第2のビデオフォーマットに対応する画像データが、前記第2のビデオフォーマットに対応する画像データを圧縮伸張する圧縮伸張部に出力され、前記圧縮伸張部により伸張された前記第2のビデオフォーマットに対応する画像データが取得され、取得された前記第2のビデオフォーマットに対応する画像データが前記第1のフレームレートを有する画像データへ変換され、変換後の前記第1のフレームレートを有する画像データが前記第1のビデオフォーマットに対応する画像データへ変換されて、変換後の前記第1のビデオフォーマットに対応する画像データが出力される。   In one aspect of the present invention, a subject image is imaged, image data having a first frame rate is generated from image data obtained by the imaging, and the image data having the first frame rate is Conversion into image data corresponding to a first video format having a second frame rate lower than a first frame rate or a second video format having a third frame rate lower than the first frame rate The image data corresponding to the second video format is output to a compression / decompression unit that compresses / decompresses image data corresponding to the second video format, and the second video decompressed by the compression / decompression unit Image data corresponding to the format is acquired, and the acquired image corresponding to the second video format Is converted into image data having the first frame rate, and the converted image data having the first frame rate is converted into image data corresponding to the first video format. Image data corresponding to the first video format is output.

本発明によれば、取得された画像データを所定のフレームレートで出力することができる。
また、本発明によれば、取得された画像データを出力に関わらないフレームレートで処理した後、出力に適したフレームレートに変換して出力することができるので、高フレームレートのソフトウェアでの動画エンコード、および、外部コーディックICによる高画質動画エンコードの双方を行うことができる。
更に、本発明によれば、画像処理の基準のタイミングを、ビデオ出力される動画像のフォーマットによらず一定のタイミングで行うことができ、更に、表示される画質の劣化をなくすことができる。
According to the present invention, acquired image data can be output at a predetermined frame rate.
In addition, according to the present invention, the acquired image data can be processed at a frame rate that is not related to output, and then converted into a frame rate suitable for output. Both encoding and high-quality moving image encoding by an external codec IC can be performed.
Furthermore, according to the present invention, the reference timing of image processing can be performed at a constant timing regardless of the format of a moving image to be output as a video, and further, deterioration of displayed image quality can be eliminated.

以下、図を参照して、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図2は、本発明を適用した、デジタルカメラ51の構成を示すブロック図である。   FIG. 2 is a block diagram showing a configuration of the digital camera 51 to which the present invention is applied.

なお、従来の場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。   In addition, the same code | symbol is attached | subjected to the part corresponding to the conventional case, The description is abbreviate | omitted suitably.

すなわち、図2のデジタルカメラ51は、メモリコントローラ14に代わって、メモリコントローラ61が備えられ、CPU15に代わって、CPU62が備えられ、同期信号生成部31を有する表示信号処理部20に変わって、同期信号生成部71を有する表示信号処理部63が備えられ、新たに、コーディックICインターフェース64が備えられている以外は、図1のデジタルカメラ1と基本的に同様の構成を有するものである。   That is, the digital camera 51 of FIG. 2 includes a memory controller 61 instead of the memory controller 14, a CPU 62 instead of the CPU 15, and changes to the display signal processing unit 20 having the synchronization signal generation unit 31. The digital camera 1 basically has the same configuration as that of the digital camera 1 of FIG. 1 except that a display signal processing unit 63 having a synchronization signal generation unit 71 is provided and a codec IC interface 64 is newly provided.

また、図2においても、図1における場合と同様に、図中、実線は画像信号の授受を示すものであり、点線は制御信号の授受を示すものであり、一点破線は符号信号の授受を示すものであり、二点破線は同期信号の授受を示すものである。   Also in FIG. 2, as in FIG. 1, in the figure, the solid line indicates transmission / reception of an image signal, the dotted line indicates transmission / reception of a control signal, and the dashed line indicates transmission / reception of a code signal. The two-dot broken line indicates transmission / reception of the synchronization signal.

同期信号生成部71は、CCDカメラ部11、信号処理部13、およびCPU62に供給する第1の基準信号である垂直同期信号VD1以外に、CPU62およびコーディックICインターフェース64に供給する第2の基準信号である垂直同期信号VD2および水平同期信号HD1を発生する。   In addition to the vertical synchronization signal VD1, which is the first reference signal supplied to the CCD camera unit 11, the signal processing unit 13, and the CPU 62, the synchronization signal generation unit 71 is supplied to the CPU 62 and the codec IC interface 64. The vertical synchronizing signal VD2 and the horizontal synchronizing signal HD1 are generated.

第1の基準信号である垂直同期信号VD1は、従来における基準信号である垂直同期信号VDに対応するものであるが、従来における場合と異なり、出力のビデオ信号のNTSC、もしくはPALを基準とした周波数が発生されるのではなく、例えば、60Hzや120Hzなどの所定の周波数が発生される。そして、第2の基準信号である垂直同期信号VD2および水平同期信号HD1は、CPU62、および、コーディックICインターフェース64に供給され、例えば、PALやNTSCなどの画像フォーマットを基準とした周波数が発生される。以下、垂直同期信号VD1は、フィールド周波数60Hz(フレーム周波数30Hz)であるものとして説明する。   The vertical synchronization signal VD1 that is the first reference signal corresponds to the vertical synchronization signal VD that is the conventional reference signal, but unlike the conventional case, the vertical synchronization signal VD1 is based on the NTSC or PAL of the output video signal. Instead of generating a frequency, a predetermined frequency such as 60 Hz or 120 Hz is generated. The vertical synchronization signal VD2 and the horizontal synchronization signal HD1, which are the second reference signals, are supplied to the CPU 62 and the codec IC interface 64, and a frequency based on an image format such as PAL or NTSC is generated. . In the following description, it is assumed that the vertical synchronization signal VD1 has a field frequency of 60 Hz (frame frequency of 30 Hz).

メモリコントローラ61は、CPU62の制御に従って、入力された画像データを、バス16を介して、メモリ19に書き込んで記録させたり、必要に応じて、メモリ19に記録されている画像データを、バス16を介して、画像圧縮処理部17や解像度変換処理部18に供給する。また、メモリコントローラ61は、CPU62の制御に従って、メモリ19に記録されている画像データ(必要に応じて、画像圧縮処理部17、あるいは、解像度変換処理部18で処理されている画像データ)を、バス16を介して表示信号処理部63に供給したり、バス16を介して読み出し、ドライブ23に出力する。これらの処理において、メモリコントローラ61は、CPU62から供給されたアドレス設定信号に基づいて、メモリ19の所定のアドレスに画像データを記録させたり、メモリ19の所定のアドレスから画像データを読み込む。   Under the control of the CPU 62, the memory controller 61 writes the input image data into the memory 19 via the bus 16 and records it, or if necessary, the image data recorded in the memory 19 on the bus 16 To the image compression processing unit 17 and the resolution conversion processing unit 18. Further, the memory controller 61 converts the image data recorded in the memory 19 (image data processed by the image compression processing unit 17 or the resolution conversion processing unit 18 as necessary) under the control of the CPU 62. The data is supplied to the display signal processing unit 63 via the bus 16, read out via the bus 16, and output to the drive 23. In these processes, the memory controller 61 records image data at a predetermined address in the memory 19 or reads image data from a predetermined address in the memory 19 based on an address setting signal supplied from the CPU 62.

また、メモリコントローラ61は、コーディックICインターフェース64および表示信号処理部63を介して入力された、コーディックICにより処理された画像データを、ドライブ23に出力して、装着されている記録媒体に記録させる。   In addition, the memory controller 61 outputs the image data processed by the codec IC, which is input via the codec IC interface 64 and the display signal processing unit 63, to the drive 23 and records it on the attached recording medium. .

CPU62は、デジタルカメラ51の動作を制御するものであり、同期信号生成部71から、基準となるタイミング信号(第1の基準信号である垂直同期信号VD1、並びに、第2の基準信号である垂直同期信号VD2および水平同期信号HD1)の入力を受け、信号処理部13、メモリコントローラ61、および、表示信号処理部63の動作を制御するための制御信号を生成して出力したり、メモリ19のアドレス設定信号を生成し、メモリコントローラ61に出力する。   The CPU 62 controls the operation of the digital camera 51. From the synchronization signal generation unit 71, the CPU 62 controls a reference timing signal (vertical synchronization signal VD1, which is a first reference signal, and vertical, which is a second reference signal). Receiving the synchronization signal VD2 and the horizontal synchronization signal HD1), generating and outputting control signals for controlling the operations of the signal processing unit 13, the memory controller 61, and the display signal processing unit 63; An address setting signal is generated and output to the memory controller 61.

表示信号処理部63は、メモリコントローラ14の処理により、メモリ19に記録された画像データの入力を受け、内部に有する同期信号生成部71が生成する基準信号に基づいて、表示部21に出力して表示するのに適した信号、ビデオ出力インターフェース22を介して外部の機器に出力するのに適した信号、もしくは、コーディックICインターフェース64を介して、デジタルカメラ51の外部に接続されているコーディックICに出力するのに適した信号に変換する処理を実行する。また、表示信号処理部63は、コーディックICインターフェース64を介して、コーディックICにより処理された画像データの入力を受け、メモリコントローラ61の制御により、メモリ19に出力する。   The display signal processing unit 63 receives the input of the image data recorded in the memory 19 by the processing of the memory controller 14 and outputs it to the display unit 21 based on the reference signal generated by the synchronization signal generation unit 71 included therein. A signal suitable for display, a signal suitable for output to an external device via the video output interface 22, or a codec IC connected to the outside of the digital camera 51 via a codec IC interface 64. The signal is converted into a signal suitable for output. In addition, the display signal processing unit 63 receives input of image data processed by the codec IC via the codec IC interface 64, and outputs it to the memory 19 under the control of the memory controller 61.

同期信号生成部71が生成する基準信号は、第1の基準信号である垂直同期信号VD1と、第2の基準信号である垂直同期信号VD2および水平同期信号HD1との2系列である。上述したように、CCDカメラ部11、信号処理部13、およびCPU62には、第1の基準信号である垂直同期信号VD1が供給され、CPU62およびコーディックICインターフェース64には、第2の基準信号である垂直同期信号VD2および水平同期信号HD1が供給される。   The reference signals generated by the synchronization signal generator 71 are two series of a vertical synchronization signal VD1 that is a first reference signal, a vertical synchronization signal VD2 that is a second reference signal, and a horizontal synchronization signal HD1. As described above, the vertical synchronization signal VD1 that is the first reference signal is supplied to the CCD camera unit 11, the signal processing unit 13, and the CPU 62, and the second reference signal is supplied to the CPU 62 and the codec IC interface 64. A certain vertical synchronizing signal VD2 and horizontal synchronizing signal HD1 are supplied.

コーディックICインターフェース64は、デジタルカメラ51の外部に接続される図示しないコーディックICとのインターフェースであり、表示信号処理部63から供給された画像データをコーディックICに出力するとともに、コーディックICから、処理された画像データの入力を受け、表示信号処理部63に供給する。   The codec IC interface 64 is an interface with a codec IC (not shown) connected to the outside of the digital camera 51, and outputs image data supplied from the display signal processing unit 63 to the codec IC and is processed by the codec IC. The received image data is received and supplied to the display signal processing unit 63.

また、ドライブ23に装着されている磁気ディスク41、光ディスク42、光磁気ディスク43、あるいは、半導体メモリ44などには、メモリコントローラ61の処理により、必要な処理が施された画像信号が記録される。更に、ドライブ23に装着されている磁気ディスク41、光ディスク42、光磁気ディスク43、あるいは、半導体メモリ44など記録されていたプログラムは、必要に応じて、CPU62により読み込まれて実行されたり、メモリコントローラ61の処理によりメモリ19に記録されて、CPU62により読み込まれて実行される。   Further, an image signal subjected to necessary processing is recorded by the processing of the memory controller 61 on the magnetic disk 41, the optical disk 42, the magneto-optical disk 43, or the semiconductor memory 44 mounted in the drive 23. . Further, the recorded program such as the magnetic disk 41, the optical disk 42, the magneto-optical disk 43, or the semiconductor memory 44 mounted on the drive 23 is read and executed by the CPU 62 as necessary, or a memory controller. It is recorded in the memory 19 by the process 61 and read and executed by the CPU 62.

このようなデジタルカメラ51において、フレームレートを向上するには、デジタルビデオカメラ51内の画像処理を、ビデオ出力のPALやNTSCに関わらず、一定の周期で行い、表示部21における表示画像のフォーマットと、コーディックICが対応する画像のフォーマットを同一のものとし、ビデオ出力のみをPAL、もしくはNTSCで、任意に行えるようにすればよい。デジタルビデオカメラ51内の画像処理を、ビデオ出力のPALやNTSCに関わらず、一定の周期で行うようにすれば、例えば、CCDなどの素子の性能が向上することにより、出力される画像データのフレームレートにかかわらず、画像処理のフレームレートを更に高くすることが可能となる。すなわち、ソフトウェアコーディングなどの処理を、更に高フレームレートで行うようにすることができる。   In such a digital camera 51, in order to improve the frame rate, the image processing in the digital video camera 51 is performed at a constant cycle regardless of the PAL or NTSC of the video output, and the format of the display image on the display unit 21 It is sufficient that the image formats supported by the codec IC are the same and only video output can be arbitrarily performed by PAL or NTSC. If the image processing in the digital video camera 51 is performed at a constant cycle regardless of the video output PAL or NTSC, for example, the performance of an element such as a CCD is improved, so that the output image data Regardless of the frame rate, the frame rate of image processing can be further increased. That is, processing such as software coding can be performed at a higher frame rate.

この場合、表示信号処理部63は、表示部21を構成する液晶パネルに合致した走査線数の画像信号を出力することができるので、例えば、画像劣化やOSDの文字抜けなどの問題を解決することができる。更に、デジタルカメラ51は、このような構成をとることにより、ビデオ出力のフォーマットによらず高画質の動画の記録/再生が可能となる。そして、コーディックICインターフェース64に接続されているコーディックICが対応している画像フォーマットが、NTSC方式であるか、PAL方式であるかにかかわらず、ビデオ出力インターフェース22に接続される機器によって、ビデオ出力のフレームレートを、NTSC方式およびPAL方式のうちのいずれでも任意に選択することが可能となる。   In this case, since the display signal processing unit 63 can output an image signal having the number of scanning lines that matches the liquid crystal panel constituting the display unit 21, problems such as image degradation and missing characters in the OSD are solved. be able to. Further, the digital camera 51 can record / reproduce high-quality moving images regardless of the video output format by adopting such a configuration. Then, regardless of whether the image format supported by the codec IC connected to the codec IC interface 64 is the NTSC system or the PAL system, the video output is performed by the device connected to the video output interface 22. The frame rate can be arbitrarily selected by either the NTSC system or the PAL system.

次に、デジタルビデオカメラ51の動作について説明する。   Next, the operation of the digital video camera 51 will be described.

撮影時において、CCDカメラ部11および信号処理部13は、同期信号生成部71により発生された第1の基準信号である垂直同期信号VD1の入力を受け、フィールド周波数60Hzを最小単位とするタイミングで動作を行う。   At the time of shooting, the CCD camera unit 11 and the signal processing unit 13 receive the input of the vertical synchronization signal VD1 that is the first reference signal generated by the synchronization signal generation unit 71, and at a timing with the field frequency of 60 Hz as the minimum unit. Perform the action.

CCDカメラ部11で撮像された画像信号は、A/D変換部12でデジタル信号に変換されて、信号処理部13に入力される。信号処理部13は、入力された信号に対して、例えば、ガンマ処理や、RGB信号をY/Cb/Cr信号に変換する処理などを行い、処理後の画像データを、メモリコントローラ61に供給する。   The image signal captured by the CCD camera unit 11 is converted into a digital signal by the A / D conversion unit 12 and input to the signal processing unit 13. The signal processing unit 13 performs, for example, gamma processing or processing to convert an RGB signal into a Y / Cb / Cr signal on the input signal, and supplies the processed image data to the memory controller 61. .

メモリコントローラ61は、CPU62の制御に従って、入力された画像データを、バス16を介して、メモリ19に書き込んで記録させる。また、メモリコントローラ61は、メモリ19に記録されている画像データを、必要に応じて、バス16を介して、画像圧縮処理部17や解像度変換処理部18に供給して処理させ、再びメモリ19に記録させる。そして、メモリコントローラ61は、CPU62の制御に従って、メモリ19に記録されている画像データを、バス16を介して、表示信号処理部63に供給する。   The memory controller 61 writes and records the input image data in the memory 19 via the bus 16 under the control of the CPU 62. Further, the memory controller 61 supplies the image data recorded in the memory 19 to the image compression processing unit 17 and the resolution conversion processing unit 18 via the bus 16 as necessary, and processes them again. To record. The memory controller 61 supplies the image data recorded in the memory 19 to the display signal processing unit 63 via the bus 16 under the control of the CPU 62.

ここで、メモリコントローラ61に供給され、メモリ19に記録されたり、画像圧縮処理部17や解像度変換処理部18において処理される画像データは、第1の基準信号である垂直同期信号VD1を基準とした、30Hzのフレームレートを有する画像データである。   Here, the image data supplied to the memory controller 61 and recorded in the memory 19 or processed in the image compression processing unit 17 or the resolution conversion processing unit 18 is based on the vertical synchronization signal VD1 which is the first reference signal. The image data has a frame rate of 30 Hz.

表示信号処理部63は、入力された画像データを表示させる場合、表示部21を構成する液晶パネルに合致した走査線数の画像信号を表示部21に出力する。すなわち、表示信号処理部63は、入力された30Hzのフレームレートを有する画像データを、表示される画像データのフォーマットに変換して出力する。   When displaying the input image data, the display signal processing unit 63 outputs to the display unit 21 an image signal having the number of scanning lines that matches the liquid crystal panel constituting the display unit 21. That is, the display signal processing unit 63 converts the input image data having a frame rate of 30 Hz into a format of displayed image data and outputs the converted image data.

また、表示信号処理部63は、入力された画像データをビデオ出力インターフェース22から出力させる場合、入力された30Hzのフレームレートを有する画像データを、ビデオ出力インターフェース22に接続されている機器が処理可能な画像フォーマットに合致したフレームレートに変換して、ビデオ出力インターフェース22から外部に出力する。   Further, when the input image data is output from the video output interface 22, the display signal processing unit 63 can process the input image data having a frame rate of 30 Hz by a device connected to the video output interface 22. The frame rate is converted to a frame rate that matches a proper image format, and output from the video output interface 22 to the outside.

そして、表示信号処理部63は、入力された画像データを、コーディックICインターフェース64から、図示しないコーディックICに出力する場合、入力された30Hzのフレームレートを有する画像データを、コーディックICが処理可能な画像フォーマットのフレームレートに変換して、コーディックICインターフェース64に出力する。   When the display signal processing unit 63 outputs the input image data from the codec IC interface 64 to a codec IC (not shown), the codec IC can process the input image data having a frame rate of 30 Hz. The frame rate is converted to an image format frame rate and output to the codec IC interface 64.

また、コーディックICの処理による再生処理において、表示信号処理部63は、コーディックICインターフェース64から、コーディックICが処理可能な画像フォーマットの再生画像データの入力を受け、バス16を介して、メモリ19に出力する。そして、表示信号処理部63は、メモリコントローラ61によるアドレス制御に従って、メモリ19に記録させた再生画像信号を読み出し、同一の画像フォーマットで画像を表示するようになされている表示部22に出力したり、ビデオ出力インターフェース22に接続されている機器が処理可能な画像フォーマットに合致したフレームレートに変換して、ビデオ出力インターフェース22から外部に出力する。   Further, in the reproduction processing by the processing of the codec IC, the display signal processing unit 63 receives the reproduction image data of the image format that can be processed by the codec IC from the codec IC interface 64, and enters the memory 19 through the bus 16. Output. The display signal processing unit 63 reads out the reproduced image signal recorded in the memory 19 according to the address control by the memory controller 61, and outputs it to the display unit 22 configured to display an image in the same image format. Then, the image data is converted into a frame rate that matches an image format that can be processed by a device connected to the video output interface 22 and output from the video output interface 22 to the outside.

図3および図4を用いて、画像記録時におけるフレームレートの変換処理について説明する。   A frame rate conversion process at the time of image recording will be described with reference to FIGS.

図3に示されるように、信号処理部13において信号処理が行われて生成された、フレーム周波数30Hzである30Hzフレーム81と、NTSCによる29.97Hzフレーム82とのフレームレートは、1001:1000の比例関係がある。従って、表示信号処理部63は、メモリコントローラ61から供給された30Hzフレーム81の画像の1001枚に1枚を間引きすることにより、フレーム周波数30Hzである30Hzフレーム81をNTSCのフレームレートを有する29.97Hzフレーム82に変換する処理を実行する。   As shown in FIG. 3, the frame rate of the 30 Hz frame 81 having a frame frequency of 30 Hz and the 29.97 Hz frame 82 by NTSC, which is generated by performing signal processing in the signal processing unit 13, is 1001: 1000. There is a proportional relationship. Accordingly, the display signal processing unit 63 thins out one image from 1001 images of the 30 Hz frame 81 supplied from the memory controller 61, thereby converting the 30 Hz frame 81 having the frame frequency of 30 Hz into the NTSC frame rate. A process of converting to a 97 Hz frame 82 is executed.

例えば、表示部21の表示フォーマット、および、コーディックICが処理することができる画像データのフォーマットがNTSC方式である場合、表示信号処理部63において、入力された30Hzフレーム81が、NTSC方式の29.97Hzフレーム82へ変換された後、コーディックICインターフェース64に出力されたり、表示部21に出力されて表示される。この場合、図3に示されるように、30Hzフレーム81の1001フレーム目と、NTSCによる29.97Hzフレーム82の1000フレーム目とは、同一の時間であるため、30Hzフレーム81の1000フレーム目は、NTSCへの変換時に間引かれて表示されない。   For example, when the display format of the display unit 21 and the format of the image data that can be processed by the codec IC are the NTSC system, the input 30 Hz frame 81 is converted to the 29. After being converted to the 97 Hz frame 82, it is output to the codec IC interface 64 or output to the display unit 21 and displayed. In this case, as shown in FIG. 3, the 1001st frame of the 30 Hz frame 81 and the 1000th frame of the 29.97 Hz frame 82 by NTSC are the same time, so the 1000th frame of the 30 Hz frame 81 is It is not displayed because it is thinned out when converting to NTSC.

そして、同様に、図4に示されるように、フレーム周波数30Hzである30Hzフレーム81に対して、PALは25Hzであるので、表示信号処理部63は、メモリコントローラ61により供給された30Hzフレーム81の画像の6枚に1枚を間引くことにより、PALのフレームレートを有する25Hzフレーム91に変換することができる。   Similarly, as shown in FIG. 4, since the PAL is 25 Hz with respect to the 30 Hz frame 81 having the frame frequency of 30 Hz, the display signal processing unit 63 is connected to the 30 Hz frame 81 supplied by the memory controller 61. By thinning out one of the six images, it can be converted into a 25 Hz frame 91 having a PAL frame rate.

例えば、表示部21の表示フォーマット、および、コーディックICが処理することができる画像データのフォーマットがPAL方式である場合、表示信号処理部63において、入力された30Hzフレーム81が、PAL方式の25Hzフレーム91へ変換された後、コーディックICインターフェース64に出力されたり、表示部21に出力されて表示される。この場合、図4に示されるように、30Hzフレーム81の6フレーム目と、PALによる25Hzフレーム91の5フレーム目とは、同一の時間であるため、30Hzフレーム81の5フレーム目は、PALへの変換時に間引かれて表示されない。   For example, when the display format of the display unit 21 and the format of image data that can be processed by the codec IC are the PAL system, the input 30 Hz frame 81 in the display signal processing unit 63 is a 25 Hz frame of the PAL system. After being converted to 91, it is output to the codec IC interface 64 or output to the display unit 21 and displayed. In this case, as shown in FIG. 4, the sixth frame of the 30 Hz frame 81 and the fifth frame of the 25 Hz frame 91 by PAL have the same time, so the fifth frame of the 30 Hz frame 81 goes to the PAL. Is not displayed when thinned out.

このような変換処理において、間引きによる画像の追越しが発生しないようにするためには、表示信号処理部63に、フレーム画像を一時記憶する領域を、少なくとも3フレーム分(図3および図4に示されるフレームA、フレームB、およびフレームCの分)備えるようにすればよい。   In such a conversion process, in order to prevent overtaking of an image due to thinning out, an area for temporarily storing frame images in the display signal processing unit 63 is provided for at least three frames (shown in FIGS. 3 and 4). It is only necessary to provide frames A, B, and C).

また、記録された画像データがビデオ出力インターフェース22からビデオ出力される場合においても、図3および図4を用いて説明した処理と同様の処理により、入力された30Hzフレーム81を、NTSC方式の29.97Hzフレーム82、もしくは、PAL方式の25Hzフレーム91へ変換に変換することができるので、表示信号処理部63は、入力された30Hzフレーム81を、ビデオ出力インターフェース22に接続されている機器が処理可能な画像フォーマットに合致したフレームレートに変換して、ビデオ出力インターフェース22から外部に出力することができる。   Also, when the recorded image data is output as video from the video output interface 22, the input 30 Hz frame 81 is converted to the NTSC format 29 by the same process as described with reference to FIGS. .97 Hz frame 82 or PAL 25 Hz frame 91 can be converted into a conversion, so that display signal processing unit 63 processes input 30 Hz frame 81 by a device connected to video output interface 22. It can be converted to a frame rate that matches a possible image format and output from the video output interface 22 to the outside.

このような変換を行うことにより、ビデオ出力とコーディックICの処理フォーマットが異なる場合においても、それぞれ適したフレームレートの信号を供給し、かつ、表示に利用される液晶パネルなどの走査線数に適したフレームレートで表示処理を行うようにすることができる。   By performing such conversion, even when the video output and the processing format of the codec IC are different, signals of appropriate frame rates are supplied and suitable for the number of scanning lines such as liquid crystal panels used for display. Display processing can be performed at a different frame rate.

次に、コーディックICの再生時の変換処理について説明する。図5では、コーディックICの再生モードがNTSCで、ビデオ出力がNTSCとPALのそれぞれの場合におけるフレームレートの変換について図示されている。この場合のデジタルカメラ51の動作について説明する。   Next, the conversion process at the time of reproducing the codec IC will be described. FIG. 5 illustrates frame rate conversion when the codec IC playback mode is NTSC and the video output is NTSC and PAL. The operation of the digital camera 51 in this case will be described.

CPU62は、第1の基準信号である垂直同期信号VD1に基づいて、すなわち、30Hz周期で、コーディックICからの入力画像を、メモリ19のどの面に張るかを示すアドレスの設定を、フレームA,フレームB,フレームC,フレームD,フレームEの順に行わせるように、メモリコントローラ61を制御する。そして、その設定されたアドレスは、表示信号処理部63の処理により、NTSCのタイミングでラッチされて、実際のアドレスが確定される。すなわち、30Hz周期で設定されているアドレスに対して、1001回に1回、反映されないアドレスが発生するので、その面がスキップされて、次の面に画像が書き込まれる。   Based on the vertical synchronization signal VD1 that is the first reference signal, that is, the CPU 62 sets an address setting indicating which surface of the memory 19 the input image from the codec IC is stretched in a frame A, The memory controller 61 is controlled so that the frames B, C, D, and E are performed in this order. Then, the set address is latched at the timing of NTSC by the processing of the display signal processing unit 63, and the actual address is determined. That is, an address that is not reflected is generated once per 1001 times with respect to an address set at a cycle of 30 Hz, so that surface is skipped and an image is written on the next surface.

図5に示されるように、CPU62は、CPU設定フレーム101の1000フレーム目に、C面を設定するが、実際の書き込み面102においては、C面はスキップされて、B面の次にはD面に画像が書き込まれる。この際の書き込み面102を、実際のビデオ出力のフレームレートでラッチしなおすことにより、ビデオ出力NTSC表示面103、あるいは、ビデオ出力PAL表示面104に示されるように、ビデオ出力される面(フレーム)が決定される。   As shown in FIG. 5, the CPU 62 sets the C plane at the 1000th frame of the CPU setting frame 101, but in the actual writing plane 102, the C plane is skipped, and the D is next to the B plane. An image is written on the surface. By re-latching the writing surface 102 at this time at the frame rate of the actual video output, as shown on the video output NTSC display surface 103 or the video output PAL display surface 104, the video output surface (frame) is displayed. ) Is determined.

なお、ビデオ出力インターフェース22からのビデオ出力がPAL方式である場合、コーディックICの再生モードがNTSC(フレームレートは29.97Hz)であるから、出力される画像データのフレームレートは、図3を用いて説明した場合と逆の方法、すなわち、間引かれていた1001フレーム中の1フレームを加えることにより、一旦30Hzに変換された後、図4を用いて説明したように、6フレーム中の1フレームが間引かれて、PALのフレームレートの25Hzに変換される。   When the video output from the video output interface 22 is in the PAL format, the codec IC playback mode is NTSC (frame rate is 29.97 Hz), so the frame rate of the output image data is shown in FIG. In other words, after converting to 30 Hz once by adding one frame out of 1001 frames that have been thinned out, 1 in 6 frames is used as described with reference to FIG. Frames are thinned out and converted to a PAL frame rate of 25 Hz.

コーディックICの再生モードも、ビデオ出力インターフェース22からのビデオ出力もNTSCである場合、追越しを発生しないためには、表示信号処理部63に、この処理のために画像を一時記憶する領域を4フレーム分備えるようにすればよい。これに対して、コーディックICの再生モードがNTSC方式であり、ビデオ出力インターフェース22からのビデオ出力がPAL方式である場合、追越しを発生しないためには、表示信号処理部63に、この処理のために画像を一時記憶する領域を5フレーム分備えなければならない。従って、ビデオ出力インターフェース22からのビデオ出力を、NTSCとPALとの両方に対応させたい場合は、表示信号処理部63に、画像を一時記憶する領域を5フレーム分備えなければならない。   When both the playback mode of the codec IC and the video output from the video output interface 22 are NTSC, in order not to cause overtaking, the display signal processing unit 63 has an area for temporarily storing images for this processing in 4 frames. Just prepare. On the other hand, when the playback mode of the codec IC is the NTSC system and the video output from the video output interface 22 is the PAL system, the display signal processing unit 63 performs this process in order to prevent overtaking. It is necessary to provide an area for temporarily storing images for 5 frames. Therefore, when the video output from the video output interface 22 is to be compatible with both NTSC and PAL, the display signal processing unit 63 must be provided with an area for temporarily storing images for five frames.

間引き処理を実行するためのアドレス設定を行う回路構成例を図6に示す。図6のアドレス設定回路111は、イネーブルつきのDフリップフロップであるフリップフロップ121−1乃至121−6、並びに、セレクタ121−1および121−2で構成され、特に、撮影時およびコーディックIC再生時の双方に対応するために、VIDEO AD信号を発生させる回路に、コーディックIC側のアドレスとのセレクタである、セレクタ122−1が備えられていることを特徴としている。図6においては、フリップフロップ121−1乃至121−6、並びに、セレクタ121−1および121−2のクロック入力端子の図示を省略している。   FIG. 6 shows an example of a circuit configuration for setting an address for executing the thinning process. The address setting circuit 111 shown in FIG. 6 includes flip-flops 121-1 to 121-6 that are D flip-flops with enable, and selectors 121-1 and 121-2. In order to cope with both, a circuit for generating a VIDEO AD signal is provided with a selector 122-1, which is a selector for an address on the codec IC side. In FIG. 6, the clock input terminals of the flip-flops 121-1 to 121-6 and the selectors 121-1 and 121-2 are not shown.

図7に、フリップフロップ121−1乃至121−6の真理値表を示す。フリップフロップ121−1乃至121−6は、クロックエッジ(例えば、入力クロックの立ち上がりのタイミング)において、入力されたデータを出力するイネーブルつきのDフリップフロップである。   FIG. 7 shows a truth table of the flip-flops 121-1 to 121-6. The flip-flops 121-1 to 121-6 are D flip-flops with an enable that outputs input data at a clock edge (for example, the rising timing of the input clock).

図8に、セレクタ121−1および121−2の真理値表を示す。セレクタ121−1および121−2は、S端子(セレクタ入力端子)入力がL(すなわち0)である場合には、0入力端子に入力された論理を出力し、S端子入力がH(すなわち1)である場合には、1入力端子に入力された論理を出力するものである。   FIG. 8 shows a truth table of the selectors 121-1 and 121-2. When the S terminal (selector input terminal) input is L (that is, 0), the selectors 121-1 and 121-2 output the logic input to the 0 input terminal, and the S terminal input is H (that is, 1). ), The logic input to one input terminal is output.

図6に戻り、アドレス設定回路111の動作について説明する。撮影時において、CPU62は、VIDEO ADとコーディックIC ADとしてA、B、Cのメモリアドレスを30Hz周期で設定する。撮影時のモードと各コントロール信号を図9に示す。EN1には、30Hzに1回のEN(イネーブル)信号が入力される。EN2にはビデオ出力がNTSCなら29.97Hz周期の、ビデオ出力がPALなら25Hz周期のEN信号が入力される。そして、EN3には、コーディックICの処理(コーディックモード)がNTSCであれば29.97Hz周期、PALであれば25Hz周期のEN信号が入力される。   Returning to FIG. 6, the operation of the address setting circuit 111 will be described. At the time of shooting, the CPU 62 sets the memory addresses of A, B, and C at a 30 Hz cycle as VIDEO AD and codec IC AD. FIG. 9 shows shooting modes and control signals. An EN (enable) signal is input to EN1 once every 30 Hz. An EN signal having a 29.97 Hz cycle is input to EN2 if the video output is NTSC, and an EN signal having a 25 Hz cycle is input if the video output is PAL. EN3 is input with an EN signal having a cycle of 29.97 Hz if the processing of the codec IC (codec mode) is NTSC and 25 Hz if the processing is PAL.

図6の回路において、フリップフロップ121−1には、VIDEO ADが入力され、EN信号として、EN1が与えられる。フリップフロップ121−1の出力は、S端子にCONT1が供給されるセレクタ121−1の0入力端子に供給される。ここで、撮影時においては、CONT1に0が入力される。従って、セレクタ121−1からの出力は、フリップフロップ121−1からの出力となるため、撮影時においては、CONT2の入力は関係しない。セレクタ121−1の出力は、フリップフロップ121−2に入力され、フリップフロップ121−2のEN信号として、EN2が与えられる。そして、フリップフロップ121−2の出力が、メモリコントローラ16がビデオ出力のアドレスを設定するためのVIDEO AD OUTとして出力される。   In the circuit of FIG. 6, VIDEO AD is input to the flip-flop 121-1, and EN1 is given as an EN signal. The output of the flip-flop 121-1 is supplied to the 0 input terminal of the selector 121-1, in which CONT1 is supplied to the S terminal. Here, 0 is input to CONT1 at the time of shooting. Accordingly, the output from the selector 121-1 is the output from the flip-flop 121-1, and therefore the input of CONT 2 is not relevant at the time of shooting. The output of the selector 121-1 is input to the flip-flop 121-2, and EN2 is given as the EN signal of the flip-flop 121-2. The output of the flip-flop 121-2 is output as VIDEO AD OUT for the memory controller 16 to set the video output address.

また、フリップフロップ121−3には、コーディックIC ADが入力され、EN信号としてEN1が与えられる。フリップフロップ121−3の出力は、EN信号としてEN3が与えられているフリップフロップ121−4に入力される。そして、フリップフロップ121−4の出力が、コーディックICのアドレスを設定するためのコーディックIC AD OUTとして出力される。   Further, the codec IC AD is input to the flip-flop 121-3, and EN1 is given as the EN signal. The output of the flip-flop 121-3 is input to the flip-flop 121-4 to which EN3 is given as the EN signal. The output of the flip-flop 121-4 is output as a codec IC AD OUT for setting the address of the codec IC.

同様に、コーディックICを用いた再生処理時において、CPU62は、コーディックIC ADとして、A,B,C,D,Eのアドレスを30Hz周期で書き込む。コーディックICを用いた再生処理時のモードと各コントロール信号を図10に示す。EN1には30Hzに1回のEN信号、EN2にはビデオ出力がNTSCなら29.97Hz周期の、ビデオ出力がPALなら25Hz周期のEN信号が、EN3には、コーディックモードがNTSCであれば29.97Hz周期、PALであれば25Hz周期のEN信号が入力される。   Similarly, during playback processing using the codec IC, the CPU 62 writes addresses A, B, C, D, and E as a codec IC AD in a cycle of 30 Hz. FIG. 10 shows modes and control signals during reproduction processing using the codec IC. EN1 has an EN signal once every 30 Hz, EN2 has a 29.97 Hz cycle if the video output is NTSC, 25 Hz if the video output is PAL, EN3 has a 29 Hz cycle if the codec mode is NTSC. In the case of 97 Hz period and PAL, an EN signal having a period of 25 Hz is input.

図6の回路において、フリップフロップ121−3には、コーディックIC ADが入力され、EN信号としてEN1が与えられる。フリップフロップ121−3の出力は、EN信号としてEN3が与えられているフリップフロップ121−4に入力される。フリップフロップ121−4の出力は、コーディックICのアドレスを設定するためのコーディックIC AD OUTとして出力され、S端子にCONT2が供給されるセレクタ121−1の0入力端子に供給され、かつ、EN信号としてEN1が与えられているフリップフロップ121−5に入力される。そして、フリップフロップ121−5の出力は、EN信号としてEN1が与えられているフリップフロップ121−6に入力される。   In the circuit of FIG. 6, the codec IC AD is input to the flip-flop 121-3, and EN1 is given as the EN signal. The output of the flip-flop 121-3 is input to the flip-flop 121-4 to which EN3 is given as the EN signal. The output of the flip-flop 121-4 is output as a codec IC AD OUT for setting the address of the codec IC, supplied to the 0 input terminal of the selector 121-1, to which CONT2 is supplied to the S terminal, and the EN signal Is input to the flip-flop 121-5 to which EN1 is given. The output of the flip-flop 121-5 is input to the flip-flop 121-6 to which EN1 is given as the EN signal.

フリップフロップ121−6の出力は、S端子にCONT2が供給されるセレクタ121−1の1入力端子に供給される。ビデオ出力とコーディックICのコーディックモードが異なる場合、CONT2には、1が入力されるので、セレクタ122−2の出力は、フリップフロップ121−6の出力となる。このセレクタ122−2の出力によって示されるアドレスは、コーディックICから書き込みが終了した最新のアドレスを30Hzに乗り換えたものである。   The output of the flip-flop 121-6 is supplied to the 1-input terminal of the selector 121-1, in which CONT2 is supplied to the S terminal. When the video output and the codec mode of the codec IC are different, 1 is input to CONT2, so that the output of the selector 122-2 becomes the output of the flip-flop 121-6. The address indicated by the output of the selector 122-2 is obtained by changing the latest address for which writing has been completed from the codec IC to 30 Hz.

セレクタ122−2の出力は、セレクタ122−1の1入力端子に入力されているが、コーディックICを用いた再生処理時において、CONT1には1が入力されるので、セレクタ122−2の出力がセレクタ122−1から出力される。セレクタ121−1の出力は、フリップフロップ121−2に入力され、フリップフロップ121−2のEN信号として、EN2が与えられる。そして、フリップフロップ121−2の出力が、メモリコントローラ61がビデオ出力のアドレスを設定するためのVIDEO ADとして出力される。   The output of the selector 122-2 is input to one input terminal of the selector 122-1, but 1 is input to CONT1 during the reproduction process using the codec IC. Output from selector 122-1. The output of the selector 121-1 is input to the flip-flop 121-2, and EN2 is given as the EN signal of the flip-flop 121-2. The output of the flip-flop 121-2 is output as VIDEO AD for the memory controller 61 to set the video output address.

一方、ビデオ出力とコーディックICのコーディックモードが同一である場合、CONT2には、0が入力されるので、セレクタ122−2の出力は、フリップフロップ121−4の出力となり、セレクタ122−2の出力がセレクタ122−1から出力される。セレクタ121−1の出力は、フリップフロップ121−2に入力され、フリップフロップ121−2のEN信号として、EN2が与えられる。そして、フリップフロップ121−2の出力が、メモリコントローラ61がビデオ出力のアドレスを設定するためのVIDEO ADとして出力される。   On the other hand, when the video output and the codec mode of the codec IC are the same, since 0 is input to CONT2, the output of the selector 122-2 becomes the output of the flip-flop 121-4, and the output of the selector 122-2 Is output from the selector 122-1. The output of the selector 121-1 is input to the flip-flop 121-2, and EN2 is given as the EN signal of the flip-flop 121-2. The output of the flip-flop 121-2 is output as VIDEO AD for the memory controller 61 to set the video output address.

以上説明したフレームレートの変換処理について、コーディックICのコーディックモード、および表示部21の表示フォーマットがNTSCである場合の、ビデオ出力別のフレームレートの変換について、図11乃至図14を用いて説明する。なお、図11乃至図14においては、メモリ19、表示信号処理部63、表示部21、ビデオ出力インターフェース22、およびコーディックICインターフェース64以外の図示は省略して説明する。   Regarding the frame rate conversion processing described above, the conversion of the frame rate for each video output when the codec mode of the codec IC and the display format of the display unit 21 are NTSC will be described with reference to FIGS. . In FIGS. 11 to 14, illustrations other than the memory 19, the display signal processing unit 63, the display unit 21, the video output interface 22, and the codec IC interface 64 are omitted.

ビデオ出力がNTSCである場合の画像データの記録処理において、表示信号処理部63は、図11に示されるように、バス16を介して、メモリ19に記録されている、フレームレート30Hzの画像データの供給を受けて、上述した変換方法により、フレームレートをNTSCの29.97Hzに変換して、表示部21、ビデオ出力インターフェース22、およびコーディックICインターフェース64に出力する。   In the image data recording process when the video output is NTSC, as shown in FIG. 11, the display signal processing unit 63 records image data with a frame rate of 30 Hz recorded in the memory 19 via the bus 16. The frame rate is converted to NTSC 29.97 Hz by the above-described conversion method, and is output to the display unit 21, the video output interface 22, and the codec IC interface 64.

ビデオ出力がPALである場合の画像データの記録処理において、表示信号処理部63は、図12に示されるように、バス16を介して、メモリ19に記録されている、フレームレート30Hzの画像データの供給を受けて、上述した変換方法により、フレームレートをNTSCの29.97Hzに変換して、表示部21、およびコーディックICインターフェース64に出力し、かつ、フレームレートをPALの25Hzに変換して、ビデオ出力インターフェース22に出力する。   In the image data recording process when the video output is PAL, the display signal processing unit 63, as shown in FIG. 12, stores image data with a frame rate of 30 Hz recorded in the memory 19 via the bus 16. The frame rate is converted to NTSC 29.97 Hz by the conversion method described above, output to the display unit 21 and the codec IC interface 64, and the frame rate is converted to PAL 25 Hz. To the video output interface 22.

ビデオ出力がNTSCである場合のコーディックICを用いた再生処理において、表示信号処理部63は、図13に示されるように、コーディックICインターフェース64から、フレームレート29.97HzのNTSC画像データの入力を受ける。NTSC画像データは、メモリコントローラ61の処理により、バス16を介して、メモリ19に書き込まれる。そして、表示信号処理部63は、メモリ19に書き込まれた、フレームレート29.97HzのNTSC画像データの供給を受け、表示部21、および、ビデオ出力インターフェース22に、変換せずに、そのまま出力する。   In the reproduction process using the codec IC when the video output is NTSC, the display signal processing unit 63 inputs NTSC image data with a frame rate of 29.97 Hz from the codec IC interface 64 as shown in FIG. receive. The NTSC image data is written into the memory 19 via the bus 16 by processing of the memory controller 61. The display signal processing unit 63 receives the NTSC image data written in the memory 19 and having a frame rate of 29.97 Hz, and outputs it to the display unit 21 and the video output interface 22 without conversion. .

ビデオ出力がPALである場合のコーディックICを用いた再生処理において、表示信号処理部63は、図14に示されるように、コーディックICインターフェース64から、フレームレート29.97HzのNTSC画像データの入力を受ける。NTSC画像データは、メモリコントローラ61の処理により、バス16を介して、メモリ19に書き込まれる。そして、表示信号処理部63は、メモリ19に書き込まれた、フレームレート29.97HzのNTSC画像データの供給を受け、表示部21には、変換せずにそのまま出力するとともに、フレームレート29.97HzのNTSC画像データを、一旦、フレームレート30Hzの画像データに変換した後に、フレームレートをPALの25Hzに変換して、ビデオ出力インターフェース22に出力する。   In the reproduction process using the codec IC when the video output is PAL, as shown in FIG. 14, the display signal processing unit 63 inputs NTSC image data with a frame rate of 29.97 Hz from the codec IC interface 64. receive. The NTSC image data is written into the memory 19 via the bus 16 by processing of the memory controller 61. The display signal processing unit 63 receives the NTSC image data written in the memory 19 and having a frame rate of 29.97 Hz. The display signal processing unit 63 outputs the NTSC image data without conversion to the display unit 21 and outputs the frame rate of 29.97 Hz. The NTSC image data is once converted into image data with a frame rate of 30 Hz, and then the frame rate is converted into PAL of 25 Hz and output to the video output interface 22.

このように、撮影時および再生時において、出力フォーマットのフレームレートに関わらない所定のタイミング(例えば、60Hz)などを基準として処理を行い、その画像データに対するNTSCやPALへのフレームレート変換を、出力のフォーマットに基づいて、任意に行えるようにしたので、ビデオ出力モードにかかわらず、フレームレートの高い動画像を撮影することができ、更に、コーディックICを利用した記録再生が可能となる。   As described above, processing is performed based on a predetermined timing (for example, 60 Hz) irrespective of the frame rate of the output format at the time of shooting and playback, and the frame rate conversion of the image data to NTSC or PAL is output. Therefore, a moving image with a high frame rate can be taken regardless of the video output mode, and recording / reproduction using a codec IC can be performed.

また、撮影時、再生時とも、画像データの撮像や、ソフトウェアコーディングなどの処理は、ビデオ出力モードによらず、例えば、30Hzなどの所定のタイミング単位で動作に設計することが可能となるので、ソフトウェア設計が容易になり、コストを削減することができる。   In addition, at the time of shooting and playback, processing such as image data capture and software coding can be designed to operate in a predetermined timing unit such as 30 Hz regardless of the video output mode. Software design becomes easy and costs can be reduced.

更に、表示部21に表示される画像の画質においても、例えば、コーディックICの処理フォーマットがNTSCである場合、表示部21を構成する液晶パネルなどの走査線の数も、NTSC対応のものとして、常に、NTSCに変換した信号を表示すればよいため、OSDの欠け等の画質劣化がない画像を出力することができる。   Further, regarding the image quality of the image displayed on the display unit 21, for example, when the processing format of the codec IC is NTSC, the number of scanning lines such as a liquid crystal panel constituting the display unit 21 is also NTSC compatible. Since it is sufficient to always display a signal converted into NTSC, it is possible to output an image without image quality deterioration such as lack of OSD.

上述した一連の処理は、ソフトウェアにより実行することもできる。そのソフトウェアは、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。   The series of processes described above can also be executed by software. The software is a computer in which the program constituting the software is incorporated in dedicated hardware, or various functions can be executed by installing various programs, for example, a general-purpose personal computer For example, it is installed from a recording medium.

この記録媒体は、図1、および図2に示すように、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク41(フレキシブルディスクを含む)、光ディスク42(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク43(MD(Mini-Disk)(商標)を含む)、もしくは半導体メモリ44などよりなるパッケージメディアなどにより構成される。   As shown in FIGS. 1 and 2, the recording medium is distributed to provide a program to the user separately from the computer, and includes a magnetic disk 41 (including a flexible disk) on which the program is recorded, an optical disk 42 (including CD-ROM (compact disk-read only memory), DVD (digital versatile disk)), magneto-optical disk 43 (including MD (mini-disk) (trademark)), or semiconductor memory 44 Consists of media.

また、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   Further, in the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but may be performed in parallel or It also includes processes that are executed individually.

従来のデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the conventional digital camera. 本発明を適用したデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera to which this invention is applied. 30Hzフレームと、NTSCの29.97Hzフレームとの関係を示す図である。It is a figure which shows the relationship between a 30Hz frame and the 29.97Hz frame of NTSC. 30Hzフレームと、PALの25Hzフレームとの関係を示す図である。It is a figure which shows the relationship between a 30 Hz frame and a 25 Hz frame of PAL. コーディックICによる再生時のフレーム変換について説明する図である。It is a figure explaining the frame conversion at the time of reproduction | regeneration by a codec IC. メモリのアドレス指定のための回路構成の例を示す図である。It is a figure which shows the example of the circuit structure for addressing of a memory. Dフリップフロップの動作について説明するための図である。It is a figure for demonstrating operation | movement of D flip-flop. セレクタの動作について説明するための図である。It is a figure for demonstrating operation | movement of a selector. 撮影時のコントロール信号について説明するための図である。It is a figure for demonstrating the control signal at the time of imaging | photography. コーディックICによる再生時のコントロール信号について説明するための図である。It is a figure for demonstrating the control signal at the time of the reproduction | regeneration by a codec IC. 図2の表示信号処理部の動作について説明するための図である。It is a figure for demonstrating operation | movement of the display signal process part of FIG. 図2の表示信号処理部の動作について説明するための図である。It is a figure for demonstrating operation | movement of the display signal process part of FIG. 図2の表示信号処理部の動作について説明するための図である。It is a figure for demonstrating operation | movement of the display signal process part of FIG. 図2の表示信号処理部の動作について説明するための図である。It is a figure for demonstrating operation | movement of the display signal process part of FIG.

符号の説明Explanation of symbols

11 CCDカメラ部, 12 A/D変換部, 13 信号処理部, 17 画像圧縮処理部, 18 解像度変換処理部, 19 メモリ, 21 表示部, 22 ビデオ出力インターフェース, 61 メモリコントローラ, 62 CPU, 63 表示信号処理部, 64 コーディックICインターフェース, 71 同期信号生成部   11 CCD camera section, 12 A / D conversion section, 13 signal processing section, 17 image compression processing section, 18 resolution conversion processing section, 19 memory, 21 display section, 22 video output interface, 61 memory controller, 62 CPU, 63 display Signal processor, 64 codec IC interface, 71 synchronization signal generator

Claims (2)

被写体像を撮像する撮像手段と、
前記撮像手段により撮像されて得られた画像データから第1のフレームレートを有する画像データを生成する生成手段と、
前記生成手段により生成された前記第1のフレームレートを有する画像データを、前記第1のフレームレートよりも低い第2のフレームレートを有する第1のビデオフォーマット、または、前記第1のフレームレートよりも低い第3のフレームレートを有する第2のビデオフォーマットに対応する画像データに変換するとともに、前記第2のビデオフォーマットに対応する画像データを、前記第1のフレームレートを有する画像データに変換する変換手段と、
前記変換手段により変換された前記第1のビデオフォーマットに対応する画像データを出力する第1の出力手段と、
前記変換手段により変換された前記第2のビデオフォーマットに対応する画像データを、前記第2のビデオフォーマットに対応する画像データを圧縮伸張する圧縮伸張部に出力する第2の出力手段と、
前記圧縮伸張部により伸張された前記第2のビデオフォーマットに対応する画像データの取得、前記変換手段による前記第2のビデオフォーマットに対応する画像データの前記第1のフレームレートを有する画像データへの変換、および、変換後の前記第1のフレームレートを有する画像データの前記第1のビデオフォーマットに対応する画像データへの変換、並びに、変換後の前記第1のビデオフォーマットに対応する画像データの前記第1の出力手段による出力を制御する制御手段と
を備える撮像装置。
Imaging means for capturing a subject image;
Generating means for generating image data having a first frame rate from image data obtained by imaging by the imaging means;
From the first video format having the second frame rate lower than the first frame rate, the image data having the first frame rate generated by the generating unit, or from the first frame rate Converting the image data corresponding to the second video format having a lower third frame rate into the image data corresponding to the second video format, and converting the image data corresponding to the second video format into the image data having the first frame rate. Conversion means;
First output means for outputting image data corresponding to the first video format converted by the conversion means;
Second output means for outputting the image data corresponding to the second video format converted by the conversion means to a compression / decompression unit that compresses / decompresses image data corresponding to the second video format;
Acquisition of image data corresponding to the second video format expanded by the compression / decompression unit, conversion of image data corresponding to the second video format by the conversion unit into image data having the first frame rate Conversion, conversion of image data having the first frame rate after conversion into image data corresponding to the first video format, and conversion of image data corresponding to the first video format after conversion An imaging apparatus comprising: control means for controlling output from the first output means.
被写体像を撮像する撮像装置の撮像方法において、
被写体像を撮像し、
撮像されて得られた画像データから第1のフレームレートを有する画像データを生成し、
前記第1のフレームレートを有する画像データを、前記第1のフレームレートよりも低い第2のフレームレートを有する第1のビデオフォーマット、または、前記第1のフレームレートよりも低い第3のフレームレートを有する第2のビデオフォーマットに対応する画像データに変換するとともに、前記第2のビデオフォーマットに対応する画像データを、前記第1のフレームレートを有する画像データに変換し、
変換された前記第1のビデオフォーマットに対応する画像データを出力し、
変換された前記第2のビデオフォーマットに対応する画像データを、前記第2のビデオフォーマットに対応する画像データを圧縮伸張する圧縮伸張部に出力し、
前記圧縮伸張部により伸張された前記第2のビデオフォーマットに対応する画像データを取得し、取得された前記第2のビデオフォーマットに対応する画像データを前記第1のフレームレートを有する画像データへ変換し、変換後の前記第1のフレームレートを有する画像データを前記第1のビデオフォーマットに対応する画像データへ変換し、変換後の前記第1のビデオフォーマットに対応する画像データを出力する処理を制御する
ステップを含む撮像方法。
In an imaging method of an imaging device that captures a subject image,
Capture the subject image,
Generating image data having a first frame rate from image data obtained by imaging;
The image data having the first frame rate is converted into a first video format having a second frame rate lower than the first frame rate, or a third frame rate lower than the first frame rate. Converting image data corresponding to the second video format to image data corresponding to the second video format into image data having the first frame rate,
Outputting the converted image data corresponding to the first video format;
The converted image data corresponding to the second video format is output to a compression / decompression unit that compresses / decompresses the image data corresponding to the second video format,
The image data corresponding to the second video format expanded by the compression / decompression unit is acquired, and the acquired image data corresponding to the second video format is converted into image data having the first frame rate. And converting the image data having the first frame rate after conversion into image data corresponding to the first video format and outputting the image data corresponding to the first video format after conversion. An imaging method including a step of controlling.
JP2007249161A 2007-09-26 2007-09-26 Imaging device Expired - Fee Related JP4775351B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007249161A JP4775351B2 (en) 2007-09-26 2007-09-26 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007249161A JP4775351B2 (en) 2007-09-26 2007-09-26 Imaging device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002237292A Division JP2004080327A (en) 2002-08-16 2002-08-16 Image processor, image processing method, recording medium, and program

Publications (2)

Publication Number Publication Date
JP2008035552A true JP2008035552A (en) 2008-02-14
JP4775351B2 JP4775351B2 (en) 2011-09-21

Family

ID=39124409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007249161A Expired - Fee Related JP4775351B2 (en) 2007-09-26 2007-09-26 Imaging device

Country Status (1)

Country Link
JP (1) JP4775351B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116112627A (en) * 2023-04-07 2023-05-12 合肥六角形半导体有限公司 Method and circuit for video frame rate self-adaptive transformation

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06189274A (en) * 1992-12-22 1994-07-08 Hitachi Ltd Method and device for converting frequency
JPH07135631A (en) * 1993-11-10 1995-05-23 Canon Inc Picture recorder
JPH11177845A (en) * 1997-12-08 1999-07-02 Sharp Corp Dynamic controller for digital filter for video signal
JPH11220653A (en) * 1998-01-30 1999-08-10 Sony Corp Picture processor and camera system
WO1999057897A1 (en) * 1998-05-07 1999-11-11 Kinya Washino Wide-band multi-format audio/video production system with frame-rate conversion
JP2000092490A (en) * 1998-09-09 2000-03-31 Sony Corp Transmitter, receiver, transmission method and reception method
JP2000165821A (en) * 1998-11-30 2000-06-16 Fujitsu Ltd Device and method for transforming image format
JP2001501781A (en) * 1996-01-23 2001-02-06 欣也 鷲野 Multi-format A / V production system with frame conversion
JP2001519122A (en) * 1997-04-07 2001-10-16 キンヤ ワシノ Multi-system audio / video production system with frame rate conversion
WO2002039737A1 (en) * 2000-11-07 2002-05-16 Matsushita Electric Industrial Co., Ltd. Video signal producing system and video signal recording/reproducing device in that system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06189274A (en) * 1992-12-22 1994-07-08 Hitachi Ltd Method and device for converting frequency
JPH07135631A (en) * 1993-11-10 1995-05-23 Canon Inc Picture recorder
JP2001501781A (en) * 1996-01-23 2001-02-06 欣也 鷲野 Multi-format A / V production system with frame conversion
JP2001519122A (en) * 1997-04-07 2001-10-16 キンヤ ワシノ Multi-system audio / video production system with frame rate conversion
JPH11177845A (en) * 1997-12-08 1999-07-02 Sharp Corp Dynamic controller for digital filter for video signal
JPH11220653A (en) * 1998-01-30 1999-08-10 Sony Corp Picture processor and camera system
WO1999057897A1 (en) * 1998-05-07 1999-11-11 Kinya Washino Wide-band multi-format audio/video production system with frame-rate conversion
JP2000092490A (en) * 1998-09-09 2000-03-31 Sony Corp Transmitter, receiver, transmission method and reception method
JP2000165821A (en) * 1998-11-30 2000-06-16 Fujitsu Ltd Device and method for transforming image format
WO2002039737A1 (en) * 2000-11-07 2002-05-16 Matsushita Electric Industrial Co., Ltd. Video signal producing system and video signal recording/reproducing device in that system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116112627A (en) * 2023-04-07 2023-05-12 合肥六角形半导体有限公司 Method and circuit for video frame rate self-adaptive transformation

Also Published As

Publication number Publication date
JP4775351B2 (en) 2011-09-21

Similar Documents

Publication Publication Date Title
JP4131284B2 (en) Video signal processing apparatus and video signal processing method
KR101000580B1 (en) Image processing device and image processing method, and recording medium
JP2014179818A (en) Image processing device and image processing method
US20100277613A1 (en) Image recording device and image reproduction device
JP2004336608A (en) Method and circuit for converting image data, and electronic camera
JP6300651B2 (en) Movie recording / playback device
JP2005326528A (en) Image display device
JP4775351B2 (en) Imaging device
JP2004221955A (en) High-speed imaging signal recorder
JP2000115694A (en) Image data recording method and device thereof, image data reproducing method and device thereof information recording medium and computer-readable recording medium
JP2007074455A (en) Image recording and reproducing device
JP2000115693A (en) Image data recording method and device, image data reproducing method and device, information recording medium and computer-readable recording medium
JP5300606B2 (en) Imaging apparatus and control method thereof
JP2005184283A (en) Imaging apparatus
JP3679592B2 (en) Signal processing apparatus and imaging apparatus
JP5008380B2 (en) Image processing apparatus and image processing method
JP4706364B2 (en) Image conversion apparatus and image conversion method
JP4737267B2 (en) Imaging device
JP2006253828A (en) Digital camera
JP2006005596A (en) Semiconductor integrated circuit device and imaging device
JPH0522642A (en) Digital electronic still camera and its operating method
JP2006222761A (en) Video signal output device
JP2007019567A (en) Image recording and reproducing apparatus
JP2012105057A (en) Image processing device
JPH10322632A (en) Digital video camera device and video reproducing method therefor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100817

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110516

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110531

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110613

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

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees