JP4564896B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP4564896B2
JP4564896B2 JP2005190502A JP2005190502A JP4564896B2 JP 4564896 B2 JP4564896 B2 JP 4564896B2 JP 2005190502 A JP2005190502 A JP 2005190502A JP 2005190502 A JP2005190502 A JP 2005190502A JP 4564896 B2 JP4564896 B2 JP 4564896B2
Authority
JP
Japan
Prior art keywords
image data
moving image
image
aspect ratio
pixels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005190502A
Other languages
Japanese (ja)
Other versions
JP2007013470A (en
Inventor
一郎 松山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005190502A priority Critical patent/JP4564896B2/en
Publication of JP2007013470A publication Critical patent/JP2007013470A/en
Application granted granted Critical
Publication of JP4564896B2 publication Critical patent/JP4564896B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Description

本発明は、例えば、DVテープ等の記録媒体や外部機器から入力した動画像から静止画像を抽出してメモリカード等に保存する画像処理技術に関する。   The present invention relates to an image processing technique for extracting a still image from a moving image input from a recording medium such as a DV tape or an external device and storing it in a memory card or the like.

従来、動画像を撮影し、デジタル信号として磁気テープに記録再生するビデオカメラ一体型デジタルVTRが知られている。   2. Description of the Related Art Conventionally, a video camera integrated digital VTR that captures a moving image and records / reproduces it on a magnetic tape as a digital signal is known.

特に、民生用のデジタルVTRの規格としてDVフォーマットが知られており、近年では、このDVフォーマットに従うデジタルVTRが広く普及している。   In particular, the DV format is known as a standard for consumer digital VTRs. In recent years, digital VTRs conforming to this DV format have become widespread.

また、従来、この種のビデオカメラでは、アスペクト比4:3の動画像のみ撮影可能であった。   Conventionally, with this type of video camera, only a moving image with an aspect ratio of 4: 3 can be taken.

一方、近年、HD方式のテレビジョン放送を受信可能なテレビジョン受像機やアスペクト比16:9の表示画面を持つテレビジョンモニタ等が広く普及したことにより、ビデオカメラにおいてもアスペクト比16:9の動画像が撮影できるものが登場している。   On the other hand, in recent years, television receivers capable of receiving HD television broadcasts and television monitors having a display screen with an aspect ratio of 16: 9 have become widely used. There is something that can shoot moving images.

このようなビデオカメラにおいては、動画像データの記録方法として、主に以下の三つの方法が考えられる。
(1)通常の動画像、すなわちNTSC方式の場合、アスペクト比4:3で撮影した画像(図4)を、画素アスペクト比8:9の長方画素で構成された720×480画素の画像データとして記録する。
(2)スクイズ形式の動画像、すなわちNTSC方式の場合、アスペクト比16:9で撮影した画像の横方向の画素数を削減し、画素アスペクト比32:37の長方画素で構成された720×480画素の画像データとして記録する。
In such a video camera, the following three methods are mainly conceivable as a method for recording moving image data.
(1) In the case of a normal moving image, that is, in the case of the NTSC system, an image photographed with an aspect ratio of 4: 3 (FIG. 4) is 720 × 480 pixel image data composed of rectangular pixels with a pixel aspect ratio of 8: 9. Record as.
(2) In the case of a squeeze-format moving image, that is, in the NTSC system, the number of pixels in the horizontal direction of an image shot with an aspect ratio of 16: 9 is reduced, and 720 × composed of rectangular pixels with a pixel aspect ratio of 32:37 Recording is performed as image data of 480 pixels.

なお、この画像をアスペクト比4:3で表示すると、水平方向に3/4圧縮された縦長の画像(図5)となる。
(3)レターボックス形式の動画像、すなわちNTSC方式の場合、アスペクト比16:9で撮影した画像を、画素アスペクト比8:9の長方画素で構成された720×360画素の画像データとする。そして、上下に720×60画素ずつの黒画像を付けた画像(図6)を720×480画素の画像データとして記録する。
When this image is displayed at an aspect ratio of 4: 3, a vertically long image (FIG. 5) compressed in the horizontal direction by 3/4 is obtained.
(3) In the case of a letterbox format moving image, that is, in the NTSC system, an image shot with an aspect ratio of 16: 9 is used as image data of 720 × 360 pixels composed of rectangular pixels with a pixel aspect ratio of 8: 9. . Then, an image (FIG. 6) with black images of 720 × 60 pixels on the top and bottom is recorded as image data of 720 × 480 pixels.

例えば、特許文献1では、SDビデオ信号における上記(1)〜(3)を判別可能な情報を、垂直ブランキング期間に送受信する方法及び、8mm規格のテープに記録する方法について述べられている。   For example, Patent Document 1 describes a method for transmitting and receiving information capable of discriminating the above (1) to (3) in an SD video signal during a vertical blanking period and a method for recording on an 8 mm standard tape.

また、特許文献2では、SDビデオ信号における上記(1)〜(3)の情報をNTSC方式及びPAL方式で送受信する方法及び、MPEGの画像データに多重化する方法について述べられている。   Patent Document 2 describes a method for transmitting and receiving the above information (1) to (3) in an SD video signal using the NTSC method and the PAL method, and a method for multiplexing the information into MPEG image data.

すなわち、入力されたSDビデオ信号から画像データを得ると共に、上記(1)〜(3)を判別可能な情報を得ることが可能である。   That is, it is possible to obtain image data from the input SD video signal and information capable of discriminating the above (1) to (3).

また、一部のビデオカメラでは、テープから再生された動画像データや、外部機器から入力された動画像データ中の一画面を抽出し、静止画像としてメモリカード等の記録媒体に記録する機能を持つものがある。   In addition, some video cameras have a function of extracting moving picture data reproduced from a tape or moving picture data input from an external device and recording it on a recording medium such as a memory card as a still picture. There is something to have.

また、近年、高精細なHD形式の画像を記録可能なビデオカメラも登場している。   In recent years, video cameras capable of recording high-definition HD format images have also appeared.

特に、HD形式の画像を記録可能な民生用ビデオカメラとしてHDVフォーマット方式のビデオカメラが登場している。   In particular, HDV format video cameras have emerged as consumer video cameras capable of recording HD format images.

HDVフォーマットでは、1440×1080画素の画像データと音声データとをMPEG2方式で符号化し、付加情報データと共にDVフォーマットと同様のテープに記録する。
特開平05−284452号公報 特開平09−051501号公報
In the HDV format, image data and audio data of 1440 × 1080 pixels are encoded by the MPEG2 system and recorded on the same tape as the DV format together with additional information data.
Japanese Patent Laid-Open No. 05-284442 Japanese Patent Application Laid-Open No. 09-051501

前述のように、ビデオカメラにおいて再生された動画像データから静止画像を抽出してメモリカード等に保存する場合、従来は、単に再生された動画像データ中の一画面を抽出してそのまま保存している。   As described above, when a still image is extracted from moving image data reproduced by a video camera and stored in a memory card or the like, conventionally, one screen in the reproduced moving image data is simply extracted and stored as it is. ing.

そのため、再生される動画像データが、上記(2)のスクイズ形式あるいは(3)のレターボックス形式で記録されたアスペクト比16:9のワイド画像であった場合でもそのまま保存されてしまう。   Therefore, even when the moving image data to be reproduced is a wide image having an aspect ratio of 16: 9 recorded in the squeeze format (2) or the letterbox format (3), it is stored as it is.

ここで、PCで静止画像や動画像を再生させるソフトウェアの多くは、画素アスペクト比1:1(正方画素)の画像のみに対応している。   Here, most software for reproducing still images and moving images on a PC supports only images with a pixel aspect ratio of 1: 1 (square pixels).

このため、そのまま保存された静止画像をPCで再生すると、(2)の場合には水平方向に3/4倍に縮小された縦長のスクイズ画像(図5)が再生され、(3)の場合には不要な上下の黒画像の領域を含むレターボックス画像(図6)が再生されてしまう。   Therefore, when a still image stored as it is is played back on a PC, in the case of (2), a vertically long squeeze image (FIG. 5) reduced in the horizontal direction by 3/4 is played back, and in the case of (3) In this case, a letterbox image (FIG. 6) including unnecessary upper and lower black image areas is reproduced.

また、HDVフォーマットで記録されたHD形式の動画像から正方画素で構成される画像に変換してメモリカード等の記録媒体に記録するデジタルビデオカメラは存在していない。   Also, there is no digital video camera that converts an HD format moving image recorded in the HDV format into an image composed of square pixels and records it on a recording medium such as a memory card.

本発明は、上記課題に鑑みてなされ、その目的は、縦長の画像や不要な領域等を含む画像とはならないアスペクト比に変換された動画像から静止画像を抽出して保存できる画像処理技術を実現することである。   The present invention has been made in view of the above problems, and an object of the present invention is to provide an image processing technique capable of extracting and storing a still image from a moving image converted into an aspect ratio that does not become a vertically long image or an image including an unnecessary area. Is to realize.

上記課題を解決するため、本発明の画像処理装置は、動画像データから静止画像データを抽出して保存する画像処理装置であって、動画像データを入力する入力手段と、前記入力手段により入力された動画像データが、第1のアスペクト比を有する第1の動画像データか、第2のアスペクト比の動画像データを加工して得られ、第2のアスペクト比に応じた有効領域を有する第2の動画像データかを判別する判別手段と、前記第2の動画像データと判別された場合、前記第2のアスペクト比に応じた有効領域のみを抽出し、縦方向の画素数を増加させずに横方向の画素数を削減した静止画像データとして保存する保存手段とを具備する。 In order to solve the above problems, an image processing apparatus according to the present invention is an image processing apparatus that extracts still image data from moving image data and stores the extracted image data. The input unit inputs moving image data; The obtained moving image data is obtained by processing the first moving image data having the first aspect ratio or the moving image data having the second aspect ratio, and has an effective area corresponding to the second aspect ratio. A discriminating means for discriminating whether the data is the second moving image data, and if it is discriminated as the second moving image data, only the effective area corresponding to the second aspect ratio is extracted and the number of pixels in the vertical direction is increased. Storage means for storing as still image data with a reduced number of pixels in the horizontal direction .

また、本発明の画像処理方法は、動画像データから静止画像データを抽出して保存する画像処理方法であって、動画像データを入力する入力工程と、前記入力工程にて入力された動画像データが、第1のアスペクト比を有する第1の動画像データか、第2のアスペクト比の動画像データを加工して得られ、第2のアスペクト比に応じた有効領域を有する第2の動画像データかを判別する判別工程と、前記第2の動画像データと判別された場合、前記第2のアスペクト比に応じた有効領域のみを抽出し、縦方向の画素数を増加させずに横方向の画素数を削減した静止画像データとして保存する保存工程とを具備する。 Further, the image processing method of the present invention is an image processing method for extracting still image data from moving image data and storing it, an input step for inputting moving image data, and a moving image input in the input step The second moving image having the effective area corresponding to the second aspect ratio, which is obtained by processing the first moving image data having the first aspect ratio or the moving image data having the second aspect ratio. A discrimination step for discriminating whether the image data is the image data; and, if the second moving image data is discriminated, only the effective area corresponding to the second aspect ratio is extracted, and the horizontal pixel without increasing the number of pixels in the vertical direction. And a storing step of storing as still image data with a reduced number of pixels in the direction .

本発明によれば、動画像から静止画像を抽出する際に、不要な領域等を含む画像が再生されるのを防止できる。 According to the present invention, it is possible to prevent an image including an unnecessary area from being reproduced when a still image is extracted from a moving image.

以下に、添付図面を参照して本発明を実施するための最良の形態について詳細に説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the accompanying drawings.

尚、以下に説明する実施の形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。   The embodiment described below is an example as means for realizing the present invention, and should be appropriately modified or changed according to the configuration and various conditions of the apparatus to which the present invention is applied. It is not limited to the embodiment.

本実施形態では、テープ再生画像や外部入力画像から静止画像や動画像を出力画像として生成してメモリカードに記録する。その際に、上記テープ再生画像や外部入力画像がSDビデオ画像における(1)通常画像か、(2)スクイズ画像か、(3)レターボックス画像か、あるいは(4)HDビデオ画像かを判別する。その判別結果に基づいて上記テープ再生画像や外部入力画像を図2に示す変換方式に従って変換して所定のアスペクト比の出力画像を生成し、更に当該出力画像から静止画像を抽出して記録する。   In this embodiment, a still image or a moving image is generated as an output image from a tape reproduction image or an external input image, and is recorded on a memory card. At that time, it is determined whether the tape reproduction image or the external input image is (1) normal image, (2) squeeze image, (3) letterbox image, or (4) HD video image in the SD video image. . Based on the determination result, the tape reproduction image and the external input image are converted according to the conversion method shown in FIG. 2 to generate an output image having a predetermined aspect ratio, and a still image is extracted from the output image and recorded.

なお、以下の説明中において、画像又は画素のアスペクト比は、水平方向サイズをw、垂直方向サイズをhとした場合、w:hと記述している。また、画像の画素数は、水平方向の画素数をW、垂直方向の画素数をHとした場合、W×Hと記述している。なお、画像のアスペクト比(w:h)と、画像の画素数の比(W:H)は、画素のアスペクト比が1:1(正方画素)でない場合には一致しない。例えば、SDビデオ画像における通常画像のアスペクト比は4:3であるが、画素数(720×480)のアスペクト比は3:2となる。   In the following description, the aspect ratio of an image or pixel is described as w: h where w is the horizontal size and h is the vertical size. The number of pixels in the image is described as W × H, where W is the number of pixels in the horizontal direction and H is the number of pixels in the vertical direction. Note that the aspect ratio (w: h) of the image and the ratio of the number of pixels of the image (W: H) do not match when the aspect ratio of the pixel is not 1: 1 (square pixel). For example, the aspect ratio of a normal image in an SD video image is 4: 3, but the aspect ratio of the number of pixels (720 × 480) is 3: 2.

なお、画像中の位置を示す場合には、画像の左上を原点として、画素数を単位とする水平方向の位置をWp、垂直方向の位置をHpとした場合、[Wp,Hp]と記述している。   When indicating the position in the image, it is described as [Wp, Hp], where the upper left corner of the image is the origin, the horizontal position in units of the number of pixels is Wp, and the vertical position is Hp. ing.

また、表示領域とは、画像が表示される領域であって、SDビデオ信号の垂直ブランキング期間に送られる情報のように、画面に表示されない領域は含まない。ただし、レターボックス画像に含まれる上下の黒画像の領域は含むものとする。   The display area is an area in which an image is displayed, and does not include an area that is not displayed on the screen, such as information sent during the vertical blanking period of the SD video signal. However, the upper and lower black image areas included in the letterbox image are included.

また、有効領域とは、レターボックス画像に含まれる上下の黒画像の領域を除いた領域とする。   The effective area is an area excluding upper and lower black image areas included in the letterbox image.

図1は、第1の実施形態における画像処理装置の構成を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to the first embodiment.

図1において、画像処理装置100のCPU102には、バス101を介してRAM103、ROM104、キー操作処理部105、入力画像処理部111、出力画像処理部121が接続されている。   In FIG. 1, a RAM 103, a ROM 104, a key operation processing unit 105, an input image processing unit 111, and an output image processing unit 121 are connected to a CPU 102 of the image processing apparatus 100 via a bus 101.

CPU102はROM104に格納されている制御プログラムに従って動作し、動作時の一時的な情報の格納場所としてRAM103を用いる。   The CPU 102 operates according to a control program stored in the ROM 104, and uses the RAM 103 as a temporary information storage location during operation.

ユーザによるキー操作の状態は、キー操作処理部105で保持され、CPU102の上記制御プログラムは、定期的に上記キー操作の状態をキー操作処理部105より取得する。   The state of key operation by the user is held in the key operation processing unit 105, and the control program of the CPU 102 periodically acquires the state of key operation from the key operation processing unit 105.

CPU102の上記制御プログラムは、取得した上記キー操作の状態によって、出力画像処理部121を制御する。そして、テープに記録されている画像の再生動作、IEEE1394端子から入力される画像の表示動作、外部入出力端子から入力される画像の表示動作を行う。更に、これらの動作中に、操作キーの操作による静止画取り込みの指示に従い、入力画像処理部111を制御して、動画像データ中の一画面を抽出し、静止画像データとしてメモリカードに記録する動作を行う。   The control program of the CPU 102 controls the output image processing unit 121 according to the acquired state of the key operation. Then, the reproduction operation of the image recorded on the tape, the display operation of the image input from the IEEE1394 terminal, and the display operation of the image input from the external input / output terminal are performed. Further, during these operations, the input image processing unit 111 is controlled in accordance with an instruction for capturing a still image by operating an operation key, and one screen in the moving image data is extracted and recorded as still image data on a memory card. Perform the action.

先ず、図1を参照してテープに記録されている画像、音声データの再生動作について説明する。   First, the reproduction operation of image and audio data recorded on the tape will be described with reference to FIG.

出力画像処理部121は、テープ制御部126を制御し、不図示のテープデッキと再生ヘッドを駆動することで、デッキに収められているテープ126aより、再生ヘッドを介してテープ記録データを読み出す。   The output image processing unit 121 controls the tape control unit 126 to drive a tape deck (not shown) and a reproducing head, thereby reading tape recording data from the tape 126a stored in the deck via the reproducing head.

テープから再生されたデータは一旦RAM125に格納される。CPU102の上記制御プログラムは出力画像処理部121を介して、上記テープ記録データがDVフォーマットで記録された(a)SD画像か、HDVフォーマットで記録された(b)HD画像かを判別する。そして、判別結果に応じてCPU102の上記制御プログラムは、出力画像処理部121を制御し、上記(a)の場合にはDVフォーマットコーデック124によって上記テープ記録データをデコードする。また、上記(b)の場合にはHDVフォーマットコーデック127によって再生されたデータをデコードする。これにより、画像データと、音声データと、付加情報データとを得てRAM125に格納する。   Data reproduced from the tape is temporarily stored in the RAM 125. The control program of the CPU 102 determines, via the output image processing unit 121, whether the tape recording data is (a) an SD image recorded in DV format or (b) an HD image recorded in HDV format. Then, according to the determination result, the control program of the CPU 102 controls the output image processing unit 121, and in the case of (a), the DV format codec 124 decodes the tape recording data. In the case of (b), the data reproduced by the HDV format codec 127 is decoded. As a result, image data, audio data, and additional information data are obtained and stored in the RAM 125.

上記画像データが上記(a)の場合、上記付加情報データには次の(1)〜(3)を判別する情報が含まれる。
(1)通常のアスペクト比で撮影され記録されたものか。
(2)ワイドなアスペクト比で撮影され通常のアスペクト比にスクイズされ記録されたものか。
(3)ワイドなアスペクト比で撮影され通常のアスペクト比のレターボックスで記録されたものか。
When the image data is (a), the additional information data includes information for determining the following (1) to (3).
(1) Was it recorded and recorded with a normal aspect ratio?
(2) Was it shot with a wide aspect ratio, squeezed to a normal aspect ratio and recorded?
(3) Was the picture taken with a wide aspect ratio and recorded with a letterbox with a normal aspect ratio?

CPU102の上記制御プログラムは、出力画像処理部121を介して、上記付加情報データを取得する。   The control program of the CPU 102 acquires the additional information data via the output image processing unit 121.

出力画像処理部121は、RAM125に格納されたデータを、(a)の場合にはDVフォーマットの通信仕様、(b)の場合にはHDVフォーマットの通信仕様に変換し1394制御部129により不図示の1394端子より出力する。   The output image processing unit 121 converts the data stored in the RAM 125 into a DV format communication specification in the case of (a) and a HDV format communication specification in the case of (b) and is not shown by the 1394 control unit 129. Output from the 1394 terminal.

更に、出力画像処理部121は、RAM125に格納された上記画像データを、(a)の場合にはそのままの解像度で、(b)の場合にはHD画像からSD画像にダウンコンバートする。そして、スクイズ画像であるという付加情報データと共に、LCD制御部123に出力して不図示のLCDに画像を表示する。また、RAM125に格納された上記音声データを、スピーカ制御部122にてAD変換し、不図示のスピーカから音声を出力する。また、RAM125に格納された上記画像データと上記音声データとを、(a)の場合には上記付加情報データと共に、(b)の場合はHD画像からSD画像にダウンコンバートする。そして、スクイズ画像であるという付加情報と共に、ビデオ入出力制御部128に出力し、AD変換したSDビデオ信号を不図示のビデオ端子より出力する。なお、ここで出力されるSDビデオ信号の垂直ブランキング期間には、上記付加情報データより得られる上記(1),(2),(3)を判別できる信号が含まれる。   Further, the output image processing unit 121 down-converts the image data stored in the RAM 125 with the resolution as it is in the case of (a) and from the HD image to the SD image in the case of (b). Then, it is output to the LCD control unit 123 together with additional information data indicating that it is a squeeze image, and the image is displayed on an LCD (not shown). Further, the audio data stored in the RAM 125 is AD converted by the speaker control unit 122, and audio is output from a speaker (not shown). Further, the image data and the audio data stored in the RAM 125 are down-converted from the HD image to the SD image together with the additional information data in the case of (a) and in the case of (b). Then, it is output to the video input / output control unit 128 together with additional information indicating that it is a squeeze image, and an AD converted SD video signal is output from a video terminal (not shown). Note that the vertical blanking period of the SD video signal output here includes a signal capable of discriminating (1), (2), and (3) obtained from the additional information data.

更に、出力画像処理部121は、RAM125に格納された上記画像データと、音声データとを、入力画像処理部111に出力する。入力画像処理部111は入力された上記画像データと、音声データとをRAM114に格納する。   Further, the output image processing unit 121 outputs the image data and audio data stored in the RAM 125 to the input image processing unit 111. The input image processing unit 111 stores the input image data and audio data in the RAM 114.

次に、図1を参照して、テープから再生された動画像データ中の一画面を静止画像としてメモリカードに記録する動作について説明する。   Next, an operation for recording one screen in the moving image data reproduced from the tape as a still image on the memory card will be described with reference to FIG.

ユーザは、再生画像を確認しながら、操作キー105aを操作し、静止画像として保存したい画像が再生されたタイミングで静止画取り込みを指示する。CPU102の制御プログラムは、キー操作処理部105より静止画取り込みの指示があると、RAM114に格納されたテープからの再生画像データが(a),(b)のいずれであるか、又は(a)である場合には上記付加情報データが上記(1),(2),(3)のいずれであるかを判別する。そして、その判別結果に応じてRAM114に格納された再生動画像データのうちの一画面を抽出し、出力画像データに変換する変換方式について、入力画像処理部111に設定番号を設定する。入力画像処理部111は設定された設定番号に従い、上記抽出した一画面の画像データを出力画像データに変換してRAM114に格納する。   The user operates the operation key 105a while confirming the reproduced image, and instructs to capture a still image at the timing when the image desired to be stored as a still image is reproduced. When there is a still image capture instruction from the key operation processing unit 105, the control program of the CPU 102 determines whether the reproduced image data from the tape stored in the RAM 114 is (a) or (b), or (a) If it is, it is determined whether the additional information data is (1), (2), or (3). Then, a setting number is set in the input image processing unit 111 for a conversion method in which one screen is extracted from the reproduced moving image data stored in the RAM 114 according to the determination result and converted into output image data. The input image processing unit 111 converts the extracted image data of one screen into output image data according to the set setting number, and stores it in the RAM 114.

次に、入力画像処理部111は、RAM114に格納された一画面の画像データを、JPEGコーデック113によってエンコードしてRAM114に格納する。   Next, the input image processing unit 111 encodes the image data of one screen stored in the RAM 114 by the JPEG codec 113 and stores the encoded image data in the RAM 114.

次に、入力画像処理部111はRAM114に格納された静止画像データを、カード制御部115によってメモリカードCに記録する。   Next, the input image processing unit 111 records the still image data stored in the RAM 114 on the memory card C by the card control unit 115.

ここで、図3は上記制御プログラムが実行する変換方式の設定処理を表すフローチャートである。   Here, FIG. 3 is a flowchart showing the conversion method setting process executed by the control program.

まず、ステップS301において、テープからの再生画像データが(b)である場合には、ステップS307において設定番号に4を設定する。上記テープ記録データが(a)の場合には、ステップS302に進み、上記付加情報が(1)である場合には、ステップS304において設定番号に1を設定する。上記付加情報が(1)でない場合には、ステップS303に進み、上記付加情報が(2)である場合には、ステップS305において設定番号に2を設定する。上記付加情報が(3)である場合には、ステップS306において設定番号に3を設定する。   First, if the reproduced image data from the tape is (b) in step S301, 4 is set as the setting number in step S307. If the tape recording data is (a), the process proceeds to step S302. If the additional information is (1), 1 is set as the setting number in step S304. If the additional information is not (1), the process proceeds to step S303. If the additional information is (2), 2 is set as the setting number in step S305. If the additional information is (3), 3 is set as the setting number in step S306.

図2は、入力画像処理部111が設定された上記設定番号に対する、RAM114に格納された上記画像データ(入力画像)から上記出力画像データ(出力画像)への変換内容をNTSC方式の場合を例に示す表である。即ち、設定番号が1の場合、720×480画素の入力画像の全領域を有効領域として、水平方向に8/9倍と縮小することで、640×480画素の正方画素を持つ出力画像を得る。また、設定番号が2の場合、720×480画素の入力画像の全領域を有効領域として、水平方向に53/45倍と拡大することで、848×480画素の正方画素を持つ出力画像に変換する。また、設定番号3の場合、720×480画素の入力画像の位置[0,60]より720×360画素の領域を有効領域として、水平方向に8/9倍と縮小することで、640×360画素の出力画像を得る。また、設定番号4の場合、1440×1080画素の入力画像の全領域を有効領域として、水平方向に4/3倍と拡大することで、1920×1080画素の出力画像を得る。   FIG. 2 shows an example in which the content of conversion from the image data (input image) stored in the RAM 114 to the output image data (output image) for the setting number set by the input image processing unit 111 is NTSC. It is a table | surface shown in. In other words, when the setting number is 1, an output image having a square pixel of 640 × 480 pixels is obtained by reducing the entire region of the input image of 720 × 480 pixels as an effective region by 8/9 times in the horizontal direction. . When the setting number is 2, the entire area of the input image of 720 × 480 pixels is regarded as an effective area, and is converted to an output image having a square pixel of 848 × 480 pixels by enlarging the area by 53/45 times in the horizontal direction. To do. In the case of setting number 3, the area of 720 × 360 pixels is set as the effective area from the position [0, 60] of the input image of 720 × 480 pixels, and is reduced by 8/9 times in the horizontal direction, thereby 640 × 360. An output image of pixels is obtained. In the case of setting number 4, an output image of 1920 × 1080 pixels is obtained by enlarging the entire region of the input image of 1440 × 1080 pixels as an effective region by 4/3 times in the horizontal direction.

このように、テープ記録データが(a)である場合に、画像データが(1)〜(3)のいずれであるかを判別し、その判別結果に応じて図2の変換方式に従って出力画像データに変換する。   As described above, when the tape recording data is (a), it is determined which of the image data is (1) to (3), and the output image data according to the conversion method of FIG. 2 according to the determination result. Convert to

また、このように動画像データから抽出し記録した静止画像データを再生したときに、(2)の場合には、正方画素で構成されてアスペクト比がほぼ16:9(正確には15.9:9)の画像(図7)として再生できる。また、(3)の場合にも、正方画素で構成されてアスペクト比16:9の不要な領域を含まない画像(図7)として再生できる。また、テープ記録データが(b)の場合にも、正方画素で構成されてアスペクト比が16:9の画像(図7)として再生できる。   Further, when the still image data extracted and recorded from the moving image data is reproduced as described above, in the case of (2), it is composed of square pixels and the aspect ratio is approximately 16: 9 (more precisely, 15.9). : 9) image (FIG. 7). Also in the case of (3), it can be reproduced as an image (FIG. 7) that is composed of square pixels and does not include an unnecessary area with an aspect ratio of 16: 9. Also, when the tape recording data is (b), it can be reproduced as an image (FIG. 7) composed of square pixels and having an aspect ratio of 16: 9.

次に、図1を参照してIEEE1394端子より画像、音声データを入力した際の動作について説明する。   Next, an operation when image and audio data are input from the IEEE1394 terminal will be described with reference to FIG.

出力画像処理部121は、1394制御部129を制御し、不図示の1394端子で接続された外部の画像入出力機器180との通信により画像データを受信する。   The output image processing unit 121 controls the 1394 control unit 129 and receives image data through communication with an external image input / output device 180 connected via a 1394 terminal (not shown).

上記画像データはRAM125に格納され、CPU102の上記制御プログラムは、出力画像処理部121を介して、上記画像データがDVフォーマットの(a)SD画像か、HDVフォーマットの(b)HD画像かを判別する。そして、判別結果に応じてCPU102の上記制御プログラムは、出力画像処理部121を制御し、上記(a)の場合にはDVフォーマットコーデック124によって上記画像データをデコードする。また、上記(b)の場合にはHDVフォーマットコーデック127によって上記画像データをデコードする。これにより、画像データと、音声データと、付加情報データとを得てRAM125に格納する。   The image data is stored in the RAM 125, and the control program of the CPU 102 determines whether the image data is the DV format (a) SD image or the HDV format (b) HD image via the output image processing unit 121. To do. The control program of the CPU 102 controls the output image processing unit 121 according to the determination result, and in the case of (a), the DV format codec 124 decodes the image data. In the case of (b), the image data is decoded by the HDV format codec 127. As a result, image data, audio data, and additional information data are obtained and stored in the RAM 125.

上記画像データが上記(a)の場合、上記付加情報データには次の(1)〜(3)を判別する情報が含まれる。
(1)通常のアスペクト比で撮影され記録されたものか。
(2)ワイドなアスペクト比で撮影され通常のアスペクト比にスクイズされ記録されたものか。
(3)ワイドなアスペクト比で撮影され通常のアスペクト比のレターボックスで記録されたものか。
When the image data is (a), the additional information data includes information for determining the following (1) to (3).
(1) Was it recorded and recorded with a normal aspect ratio?
(2) Was it shot with a wide aspect ratio, squeezed to a normal aspect ratio and recorded?
(3) Was the picture taken with a wide aspect ratio and recorded with a letterbox with a normal aspect ratio?

CPU102の上記制御プログラムは、出力画像処理部121を介して、上記付加情報データを取得する。   The control program of the CPU 102 acquires the additional information data via the output image processing unit 121.

また、出力画像処理部121は、RAM125に格納された上記画像データを、(a)の場合にはそのままの解像度で、(b)の場合にはHD画像からSD画像にダウンコンバートする。そして、スクイズ画像であるという付加情報データと共に、LCD制御部123に出力して不図示のLCDで画像を表示する。また、RAM125に格納された上記音声データを、スピーカ制御部122によってAD変換し、不図示のスピーカより音声を出力する。   Further, the output image processing unit 121 down-converts the image data stored in the RAM 125 with the same resolution in the case of (a) and from the HD image to the SD image in the case of (b). Then, together with additional information data indicating that it is a squeeze image, it is output to the LCD control unit 123 and displayed on an LCD (not shown). In addition, the audio data stored in the RAM 125 is AD converted by the speaker control unit 122, and audio is output from a speaker (not shown).

また、出力画像処理部121は、RAM125に格納された上記画像データと上記音声データとを、(a)の場合には上記付加情報データと共に、(b)の場合にはHD画像からSD画像にダウンコンバートする。そして、スクイズ画像であるという付加情報データと共に、ビデオ入出力制御部128に出力し、AD変換したビデオ信号を不図示のビデオ端子より出力する。なお、ここで出力されるSDビデオ信号の垂直ブランキング期間には、上記付加情報データより得られる上記(1),(2),(3)を判別できる信号が含められる。   The output image processing unit 121 converts the image data and the audio data stored in the RAM 125 together with the additional information data in the case of (a) and from the HD image to the SD image in the case of (b). Down-convert. And it outputs to the video input / output control part 128 with the additional information data that it is a squeeze image, and outputs the video signal which carried out AD conversion from the video terminal not shown. Note that the vertical blanking period of the SD video signal output here includes a signal capable of discriminating (1), (2), and (3) obtained from the additional information data.

更に、出力画像処理部121は、RAM125に格納された上記画像データと音声データとを、入力画像処理部111に出力する。入力画像処理部111は入力された上記画像データと、音声データとをRAM114に格納する。   Further, the output image processing unit 121 outputs the image data and audio data stored in the RAM 125 to the input image processing unit 111. The input image processing unit 111 stores the input image data and audio data in the RAM 114.

次に、図1を参照して、1394端子から入力された動画像データ中の一画面を抽出し、静止画像としてメモリカードに記録する動作について説明する。   Next, an operation for extracting one screen from the moving image data input from the 1394 terminal and recording it on the memory card as a still image will be described with reference to FIG.

ユーザは、再生画像を確認しながら、操作キーを操作し、静止画像として保存したい画像が再生されたタイミングで静止画取り込みを指示する。CPU102の制御プログラムは、キー操作処理部105より静止画取り込みの指示を取得すると、図3で述べた設定処理と同様に、RAM114に格納された画像データが(a),(b)のいずれであるか、又は(a)の場合には上記付加情報データが(1),(2),(3)のいずれであるかを判別する。そして、この判別結果に応じて、RAM114に格納された動画像データのうちの一画面を抽出し、出力画像データに変換する変換方式について、入力画像処理部111に設定番号を設定する。また、入力画像処理部111は設定された設定番号に従い、上述したテープ再生記録動作での変換(図2)と同様に、抽出した一画面の画像データを出力画像データに変換してRAM114に格納する。   The user operates the operation key while confirming the reproduced image, and instructs to capture a still image at the timing when the image desired to be stored as a still image is reproduced. When the control program of the CPU 102 obtains an instruction for capturing a still image from the key operation processing unit 105, the image data stored in the RAM 114 is either (a) or (b) as in the setting process described in FIG. In the case of (a), it is determined whether the additional information data is (1), (2), or (3). Then, in accordance with this determination result, one screen of the moving image data stored in the RAM 114 is extracted, and a setting number is set in the input image processing unit 111 for a conversion method for converting it into output image data. Further, the input image processing unit 111 converts the extracted image data of one screen into output image data and stores it in the RAM 114 in the same manner as the conversion in the tape playback / recording operation (FIG. 2) according to the set setting number. To do.

次に、入力画像処理部111は、RAM114に格納された一画面の画像データを、JPEGコーデック113によってエンコードしてRAM114に格納する。次に、入力画像処理部111はRAM114に格納された静止画像データを、カード制御部115によってのメモリカードに記録する。   Next, the input image processing unit 111 encodes the image data of one screen stored in the RAM 114 by the JPEG codec 113 and stores the encoded image data in the RAM 114. Next, the input image processing unit 111 records the still image data stored in the RAM 114 on a memory card by the card control unit 115.

このように、1394端子から受信した入力画像データが(a)である場合に、画像データが(1)〜(3)のいずれであるかを判別し、その判別結果に応じて図2の変換方式に従って出力画像データに変換する。また、この出力画像データから抽出して記録したJPEG画像データを再生したときに、(2)の場合には、正方画素で構成されてアスペクト比がほぼ16:9(正確には15.9:9)の画像(図7)として再生できる。また、(3)の場合にも、正方画素で構成されてアスペクト比16:9の不要な領域を含まない画像(図7)として再生できる。また、1394端子から受信した入力画像データが(b)の場合にも、正方画素で構成されてアスペクト比が16:9の画像(図7)として再生できる。   Thus, when the input image data received from the 1394 terminal is (a), it is determined which of the image data is (1) to (3), and the conversion of FIG. 2 is performed according to the determination result. Convert to output image data according to the method. Further, when JPEG image data extracted and recorded from the output image data is reproduced, in the case of (2), it is composed of square pixels and has an aspect ratio of approximately 16: 9 (more precisely, 15.9: 9) (FIG. 7). Also in the case of (3), it can be reproduced as an image (FIG. 7) that is composed of square pixels and does not include an unnecessary area with an aspect ratio of 16: 9. Also, when the input image data received from the 1394 terminal is (b), it can be reproduced as an image (FIG. 7) composed of square pixels and having an aspect ratio of 16: 9.

次に、図1を参照して、外部入力端子により外部機器から画像、音声データを入力した場合の動作について説明する。   Next, with reference to FIG. 1, the operation when image and audio data is input from an external device through an external input terminal will be described.

出力画像処理部121は、ビデオ入出力制御部128を制御し、外部入出力端子で接続された外部の画像入出力機器190よりアナログビデオ信号を受信し、AD変換することで、画像データと、音声データをそれぞれRAM125に格納する。更に、入力されたアナログビデオ信号の垂直ブランキング期間の信号より上記(1),(2),(3)を判別するための識別情報を検出し、付加情報としてRAM125に格納する。   The output image processing unit 121 controls the video input / output control unit 128, receives an analog video signal from an external image input / output device 190 connected by an external input / output terminal, and performs AD conversion, thereby obtaining image data, Audio data is stored in the RAM 125, respectively. Further, identification information for discriminating the above (1), (2), (3) is detected from the signal in the vertical blanking period of the input analog video signal and stored in the RAM 125 as additional information.

また、出力画像処理部121は、RAM125に格納された画像データと、音声データと、付加情報データとを(a)DVフォーマットの通信仕様でDVフォーマットコーデック124によりエンコードする。そして、1394制御部129によって不図示の1394端子より出力する。   Further, the output image processing unit 121 encodes the image data, audio data, and additional information data stored in the RAM 125 by the DV format codec 124 according to (a) DV format communication specifications. And it outputs from a 1394 terminal not shown by 1394 control part 129.

更に、出力画像処理部121は、RAM125に格納された上記デジタル画像データを、LCD制御部123に出力して不図示のLCDで画像を表示する。また、RAM125に格納された上記音声データを、スピーカ制御部122によってAD変換し、不図示のスピーカより音声を出力する。   Further, the output image processing unit 121 outputs the digital image data stored in the RAM 125 to the LCD control unit 123 and displays an image on an LCD (not shown). In addition, the audio data stored in the RAM 125 is AD converted by the speaker control unit 122, and audio is output from a speaker (not shown).

更に、出力画像処理部121は、RAM125に格納された上記画像データと、音声データとを、入力画像処理部111に出力する。入力画像処理部111は入力された上記画像データと、音声データとをRAM114に格納する。   Further, the output image processing unit 121 outputs the image data and audio data stored in the RAM 125 to the input image processing unit 111. The input image processing unit 111 stores the input image data and audio data in the RAM 114.

次に、図1を参照して、外部機器より入力された動画像データ中の一画面を抽出して静止画像データとしてメモリカードCに記録する動作について説明する。   Next, with reference to FIG. 1, an operation of extracting one screen from moving image data input from an external device and recording it on the memory card C as still image data will be described.

ユーザは、再生画像を確認しながら、操作キーを操作し、静止画像として保存したい画像が再生されたタイミングで静止画取り込みを指示する。   The user operates the operation key while confirming the reproduced image, and instructs to capture a still image at the timing when the image desired to be stored as a still image is reproduced.

CPU102の制御プログラムは、キー操作処理部105より静止画取り込みの指示を取得すると、RAM114に格納された上記画像データに対応する上記付加情報データが(1),(2),(3)のいずれであるかを判別する。そして、RAM114に格納された動画像データのうちの一画面を抽出し、判別結果に応じて図3で述べた設定処理と同様に、上記画像データを出力画像データに変換する変換方式について、入力画像処理部111に設定番号を設定する。また、入力画像処理部111は設定された設定番号に従い、上述したテープ再生記録動作での変換方式(図2)と同様に、抽出した画像データを出力画像データに変換してRAM114に格納する。次に、入力画像処理部111は、RAM114に格納された一画面の画像データを、JPEGコーデック113によってエンコードしてRAM114に格納する。次に、入力画像処理部111はRAM114に格納された静止画像データを、カード制御部115によってメモリカードCに記録する。   When the control program of the CPU 102 acquires a still image capture instruction from the key operation processing unit 105, the additional information data corresponding to the image data stored in the RAM 114 is any one of (1), (2), and (3). Is determined. Then, one screen of the moving image data stored in the RAM 114 is extracted, and the conversion method for converting the image data into output image data is input in the same manner as the setting process described with reference to FIG. A setting number is set in the image processing unit 111. Further, the input image processing unit 111 converts the extracted image data into output image data and stores it in the RAM 114 in the same manner as the conversion method in the tape playback / recording operation (FIG. 2) according to the set setting number. Next, the input image processing unit 111 encodes the image data of one screen stored in the RAM 114 by the JPEG codec 113 and stores the encoded image data in the RAM 114. Next, the input image processing unit 111 records the still image data stored in the RAM 114 on the memory card C by the card control unit 115.

このように、ビデオ入出力端子から入力されたSDビデオ信号から得られる画像データが(1)〜(3)のいずれであるかを判別し、その判別結果に応じて図2の変換方式に従って出力画像データに変換する。また、この出力画像データから抽出して記録したJPEG画像データを再生したときに、(2)の場合には、正方画素で構成されてアスペクト比がほぼ16:9(正確には15.9:9)の画像(図7)として再生できる。また、(3)の場合にも、正方画素で構成されてアスペクト比16:9の不要な領域を含まない画像(図7)として再生できる。   In this way, it is determined whether the image data obtained from the SD video signal input from the video input / output terminal is (1) to (3), and output according to the determination method according to the conversion method of FIG. Convert to image data. Further, when JPEG image data extracted and recorded from the output image data is reproduced, in the case of (2), it is composed of square pixels and has an aspect ratio of approximately 16: 9 (more precisely, 15.9: 9) (FIG. 7). Also in the case of (3), it can be reproduced as an image (FIG. 7) that is composed of square pixels and does not include an unnecessary area with an aspect ratio of 16: 9.

[他の実施形態]
以上、本発明に係る実施形態について具体例を用いて詳述したが、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体(記録媒体)等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。
[Other Embodiments]
The embodiment according to the present invention has been described in detail using specific examples. However, the present invention can take an embodiment as a system, apparatus, method, program, storage medium (recording medium), or the like. is there. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

また、本発明の目的は、図1に示す機能ブロック及びフローチャートにおいて、いずれの部分をハードウェア回路により実現し、或いはコンピュータを用いたソフトウェア処理によって実現しても達成されることは言うまでもない。   Further, it goes without saying that the object of the present invention can be achieved even if any part of the functional blocks and flowchart shown in FIG. 1 is realized by a hardware circuit or by software processing using a computer.

尚、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(図示のフローチャートに対応したプログラム)を、システムあるいは装置に直接あるいは遠隔から供給することによって達成される場合も含む。その場合、システム等のコンピュータが該プログラムコードを読み出して実行することになる。   Note that the present invention includes a case where the present invention is achieved by directly or remotely supplying a software program (a program corresponding to the flowchart shown in the figure) that realizes the functions of the above-described embodiments to a system or apparatus. In that case, a computer such as a system reads and executes the program code.

従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.

プログラムを供給するための記録媒体(記憶媒体)としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク等がある。その他にも、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)等がある。   Examples of the recording medium (storage medium) for supplying the program include a flexible disk, a hard disk, an optical disk, and a magneto-optical disk. In addition, there are MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R) and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムそのものをダウンロードすることもできる。また圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   As another program supply method, it is also possible to connect to an Internet home page using a browser of a client computer and download the computer program itself of the present invention from the home page. It can also be supplied by downloading a compressed file including an automatic installation function to a recording medium such as a hard disk. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, the present invention includes a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザが、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードすることもできる。この場合、ダウンロードした鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現する。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and a user who satisfies predetermined conditions downloads key information for decryption from a homepage via the Internet. You can also In this case, the downloaded key information is used to execute the encrypted program and install it on the computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOS等が、実際の処理の一部又は全部を行うことによっても実現され得る。   In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS or the like operating on the computer based on the instruction of the program may be a part of the actual processing. Alternatively, it can be realized by performing all of them.

更に、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットのメモリに書き込まれた後、該ボード等のCPU等が実際の処理の一部又は全部を行うことによっても実現される。   Furthermore, after the program read from the recording medium is written in the memory of a function expansion board inserted into the computer or a function expansion unit connected to the computer, the CPU of the board or the like performs a part of the actual processing. Alternatively, it can be realized by performing all of them.

上記実施形態によれば、縦長の画像や不要な領域等を含む画像とはならないアスペクト比に変換された動画像から静止画像を抽出して保存できるので、縦長の画像や不要な領域等を含む画像が再生されるのを防止できる。   According to the above embodiment, a still image can be extracted and stored from a moving image that has been converted to an aspect ratio that does not become a vertically long image or an image that includes an unnecessary area. Therefore, a vertically long image, an unnecessary area, or the like is included. It is possible to prevent the image from being reproduced.

具体的には、入力される動画像が(a)SDビデオ画像か(b)HDビデオ画像のいずれであるか、又は上記(a)である場合には下記(1)〜(3)かを判別する。
(1)通常のアスペクト比で撮影され記録された通常画像か。
(2)ワイドなアスペクト比で撮影され通常のアスペクト比にスクイズされ記録されたワイドスクイズ画像か。
(3)ワイドなアスペクト比で撮影され通常のアスペクト比のレターボックスで記録されたワイドレターボックス画像か。
Specifically, the input moving image is either (a) an SD video image or (b) an HD video image, or in the case of (a), the following (1) to (3) Determine.
(1) Is it a normal image shot and recorded with a normal aspect ratio?
(2) A wide squeeze image shot with a wide aspect ratio and squeezed to a normal aspect ratio and recorded.
(3) Is it a wide letterbox image taken with a wide aspect ratio and recorded with a letterbox with a normal aspect ratio?

そして、上記判別結果に応じて決定される変換方式により、上記(1)通常画像の場合には画素数640×480の出力画像に変換する。また、上記(2)ワイドスクイズ画像の場合には画素数848×480の出力画像に変換し(縦方向の画素数はそのままで横方向をのばす)する。更に、上記(3)ワイドレターボックス画像の場合には画素数640×360に変換(上下の黒色領域を削除し画像エリアのみを保存)する。更には、上記(4)HDビデオ画像の場合には画素数1920×1080に変換する(縦方向の画素数はそのままで横方向をのばす)。   Then, according to the conversion method determined according to the determination result, in the case of the above (1) normal image, it is converted into an output image having 640 × 480 pixels. Further, in the case of (2) wide squeeze image, it is converted into an output image having 848 × 480 pixels (the number of pixels in the vertical direction is kept as it is, and the horizontal direction is extended). Further, in the case of the above (3) wide letterbox image, it is converted into the number of pixels of 640 × 360 (the upper and lower black areas are deleted and only the image area is saved). Further, in the case of the above (4) HD video image, it is converted into the number of pixels 1920 × 1080 (the number of pixels in the vertical direction is kept as it is and the horizontal direction is extended).

このように、縦長の画像や不要な領域等を含む画像とはならない正方画素のアスペクト比に変換された動画像から静止画像を抽出して保存できる。したがって、入力される動画像がアスペクト比1:1でない場合であっても、アスペクト比1:1の画像にしか対応していない多くのソフトウェアによって縦長にならず又は不要な領域を含まない動画像や静止画像を再生することができる。   In this manner, a still image can be extracted and stored from a moving image converted into an aspect ratio of square pixels that does not become a vertically long image or an image including unnecessary areas. Therefore, even if the input moving image is not an aspect ratio of 1: 1, the moving image does not become vertically long by many software that only supports an image with an aspect ratio of 1: 1 or does not include unnecessary areas. And still images can be played back.

また、1394端子やビデオ入出力端子で接続された外部機器より受信した画像データに対しても、縦長にならず又は不要な領域を含まない動画像や静止画像を再生することができる。また、受信したデータの付加情報から入力画像データのアスペクト比や有効領域を得ることができる。   Also, it is possible to reproduce a moving image or a still image that is not vertically long or does not include an unnecessary area for image data received from an external device connected by a 1394 terminal or a video input / output terminal. Further, the aspect ratio and effective area of the input image data can be obtained from the additional information of the received data.

また、上記動画像や静止画像をメモリカード等の記録媒体に記録することで、外部機器で再生したときにも、縦長にならず又は不要な領域を含まない動画像や静止画像を再生することができる。   In addition, by recording the moving image or still image on a recording medium such as a memory card, it is possible to reproduce the moving image or still image that does not become vertically long or does not include unnecessary areas even when played back by an external device. Can do.

本発明に係る実施形態の画像処理装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention. 画像データの変換処理を示す図である。It is a figure which shows the conversion process of image data. 画像データの変換方式の設定処理を示すフローチャートである。It is a flowchart which shows the setting process of the conversion system of image data. アスペクト比4:3の通常画像を例示する図である。It is a figure which illustrates the normal image of aspect ratio 4: 3. スクイズ画像を例示する図である。It is a figure which illustrates a squeeze image. レターボックス画像を例示する図である。It is a figure which illustrates a letterbox image. アスペクト比16:9のワイド画像を例示する図である。It is a figure which illustrates the wide image of aspect ratio 16: 9.

符号の説明Explanation of symbols

100 画像処理装置
101 CPUバス
102 CPU
103 RAM
104 ROM
105 キー操作処理部
111 入力画像処理部
112 CCD
113 JPEGコーデック
114 RAM
115 カード制御部
121 出力画像処理部
122 スピーカ制御部
123 LCD制御部
124 DVフォーマットコーデック
125 RAM
126 テープ制御部
127 HDVフォーマットコーデック
128 ビデオ入出力制御部
129 1394制御部
180 1394端子で接続された外部の画像入出力機器
190 ビデオ入出力端子で接続された外部の画像入出力機器
100 Image processing apparatus 101 CPU bus 102 CPU
103 RAM
104 ROM
105 Key operation processing unit 111 Input image processing unit 112 CCD
113 JPEG codec 114 RAM
115 Card control unit 121 Output image processing unit 122 Speaker control unit 123 LCD control unit 124 DV format codec 125 RAM
126 Tape Control Unit 127 HDV Format Codec 128 Video Input / Output Control Unit 129 1394 Control Unit 180 External Image Input / Output Device Connected with 1394 Terminal 190 External Image Input / Output Device Connected with Video Input / Output Terminal

Claims (12)

動画像データから静止画像データを抽出して保存する画像処理装置であって、
動画像データを入力する入力手段と、
前記入力手段により入力された動画像データが、第1のアスペクト比を有する第1の動画像データか、第2のアスペクト比の動画像データを加工して得られ、第2のアスペクト比に応じた有効領域を有する第2の動画像データかを判別する判別手段と、
前記第2の動画像データと判別された場合、前記第2のアスペクト比に応じた有効領域のみを抽出し、縦方向の画素数を増加させずに横方向の画素数を削減した静止画像データとして保存する保存手段とを具備することを特徴とする画像処理装置。
An image processing apparatus that extracts and stores still image data from moving image data,
Input means for inputting moving image data;
The moving image data input by the input means is obtained by processing the first moving image data having the first aspect ratio or the moving image data having the second aspect ratio, and depends on the second aspect ratio. Discriminating means for discriminating whether the second moving image data has an effective area;
If it is determined that the second moving image data, still image data in which only the effective area corresponding to the second aspect ratio is extracted and the number of pixels in the horizontal direction is reduced without increasing the number of pixels in the vertical direction An image processing apparatus comprising: storage means for storing the image as a storage device.
前記判別手段は、前記入力手段により入力された動画像データが、前記第2のアスペクト比の動画像データの横方向の画素数を削減して得られた第3のアスペクト比を有する第3の動画像データかをさらに判別し、
前記第3の動画像データと判別された場合、縦方向の画素数を削減せずに横方向の画素数を増やした静止画像データとして保存する保存手段とを具備することを特徴とする請求項1に記載の画像処理装置。
The determination unit includes a third aspect ratio in which the moving image data input by the input unit has a third aspect ratio obtained by reducing the number of pixels in the horizontal direction of the moving image data having the second aspect ratio. Further discriminate whether it is moving image data,
And a storage unit configured to store the image data as still image data in which the number of pixels in the horizontal direction is increased without reducing the number of pixels in the vertical direction when the third moving image data is determined. The image processing apparatus according to 1.
前記第2の動画像データは16:9のアスペクト比の動画像データをレターボックス画像データに変換した画像データであることを特徴とする請求項1または2に記載の画像処理装置。   3. The image processing apparatus according to claim 1, wherein the second moving image data is image data obtained by converting moving image data having an aspect ratio of 16: 9 into letterbox image data. 前記第3の動画像データは16:9のアスペクト比の動画像データの横方向の画素数を圧縮したスクイズ画像データであることを特徴とする請求項2または3に記載の画像処理装置。   The image processing apparatus according to claim 2 or 3, wherein the third moving image data is squeeze image data obtained by compressing the number of pixels in the horizontal direction of moving image data having an aspect ratio of 16: 9. 所定の記録媒体から動画像データの読み出しを行う読み出し手段を備え、
前記入力手段は、前記所定の記録媒体から読み出された動画像データを入力することを特徴とする請求項1からのいずれか1項に記載の画像処理装置。
Readout means for reading moving image data from a predetermined recording medium,
It said input means, the image processing apparatus according to any one of claims 1 4, characterized in that inputting the moving image data read from the predetermined recording medium.
前記読み出し手段は、前記所定の記録媒体から動画像データの付加情報を読み出し、
前記判別手段は、読み出した前記付加情報を用いて判別を行うことを特徴とする請求項に記載の画像処理装置。
The reading means reads additional information of moving image data from the predetermined recording medium,
The image processing apparatus according to claim 5 , wherein the determination unit performs determination using the read additional information.
外部機器から送信された信号を受信する受信手段を備え、
前記入力手段は、前記受信手段によって前記外部機器から受信した動画像データを入力することを特徴とする請求項1からのいずれか1項に記載の画像処理装置。
A receiving means for receiving a signal transmitted from an external device;
It said input means, the image processing apparatus according to any one of claims 1 to 6, characterized in that inputting the moving image data received from the external device by the receiving unit.
前記受信手段は、前記外部機器から動画像データの付加情報を受信し、
前記判別手段は、受信した前記付加情報を用いて判別を行うことを特徴とする請求項に記載の画像処理装置。
The receiving means receives additional information of moving image data from the external device,
The image processing apparatus according to claim 7 , wherein the determination unit performs determination using the received additional information.
動画像データから静止画像データを抽出して保存する画像処理方法であって、
動画像データを入力する入力工程と、
前記入力工程にて入力された動画像データが、第1のアスペクト比を有する第1の動画像データか、第2のアスペクト比の動画像データを加工して得られ、第2のアスペクト比に応じた有効領域を有する第2の動画像データかを判別する判別工程と、
前記第2の動画像データと判別された場合、前記第2のアスペクト比に応じた有効領域のみを抽出し、縦方向の画素数を増加させずに横方向の画素数を削減した静止画像データとして保存する保存工程とを具備することを特徴とする画像処理方法。
An image processing method for extracting still image data from moving image data and storing it,
An input process for inputting moving image data;
The moving image data input in the input step is obtained by processing the first moving image data having the first aspect ratio or the moving image data having the second aspect ratio, and has the second aspect ratio. A determination step of determining whether the second moving image data has a corresponding effective area;
If it is determined that the second moving image data, still image data in which only the effective area corresponding to the second aspect ratio is extracted and the number of pixels in the horizontal direction is reduced without increasing the number of pixels in the vertical direction And an image processing method characterized by comprising:
前記判別工程は、前記入力工程にて入力された動画像データが、前記第2のアスペクト比の動画像データの横方向の画素数を削減して得られた第3のアスペクト比を有する第3の動画像データかをさらに判別し、
前記第3の動画像データと判別された場合、縦方向の画素数を削減せずに横方向の画素数を増やした静止画像データとして保存する保存工程とを具備することを特徴とする請求項に記載の画像処理方法。
In the determination step, the moving image data input in the input step has a third aspect ratio obtained by reducing the number of pixels in the horizontal direction of the moving image data having the second aspect ratio. To further determine whether the video data is
And a storage step of storing as still image data in which the number of pixels in the horizontal direction is increased without reducing the number of pixels in the vertical direction when the third moving image data is determined. 10. The image processing method according to 9 .
請求項又は10に記載の画像処理方法をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute the image processing method according to claim 9 or 10 . 請求項11に記載のプログラムを記憶したことを特徴とするコンピュータ可読記憶媒体。 A computer-readable storage medium storing the program according to claim 11 .
JP2005190502A 2005-06-29 2005-06-29 Image processing apparatus and image processing method Expired - Fee Related JP4564896B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005190502A JP4564896B2 (en) 2005-06-29 2005-06-29 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005190502A JP4564896B2 (en) 2005-06-29 2005-06-29 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2007013470A JP2007013470A (en) 2007-01-18
JP4564896B2 true JP4564896B2 (en) 2010-10-20

Family

ID=37751392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005190502A Expired - Fee Related JP4564896B2 (en) 2005-06-29 2005-06-29 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4564896B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009044504A (en) * 2007-08-09 2009-02-26 Hitachi Ltd Imaging apparatus and control method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000312338A (en) * 1999-04-27 2000-11-07 Matsushita Electric Ind Co Ltd Method for outputting letter box conversion signal in high efficiency decoding of image
JP2006041897A (en) * 2004-07-27 2006-02-09 Sony Corp Video signal processor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3771954B2 (en) * 1995-08-04 2006-05-10 ソニー株式会社 Image display control apparatus and method
JP3953561B2 (en) * 1996-10-15 2007-08-08 株式会社日立製作所 Image signal format conversion signal processing method and circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000312338A (en) * 1999-04-27 2000-11-07 Matsushita Electric Ind Co Ltd Method for outputting letter box conversion signal in high efficiency decoding of image
JP2006041897A (en) * 2004-07-27 2006-02-09 Sony Corp Video signal processor

Also Published As

Publication number Publication date
JP2007013470A (en) 2007-01-18

Similar Documents

Publication Publication Date Title
JP4347724B2 (en) Image file generating apparatus and method, and image file reproducing apparatus and method
US9071806B2 (en) Reproducing apparatus
JP4881210B2 (en) Imaging apparatus, image processing apparatus, and control method thereof
JP2008252454A (en) Camera and gui switching method in camera
US20110052140A1 (en) Image editing device and imaging device provided with the image editing device, image reproduction device and imaging device provided with the image reproduction device
JP4372040B2 (en) Display processing apparatus and display processing method
JP5082973B2 (en) Video recording system and imaging apparatus
KR101341983B1 (en) Image processing apparatus, image capturing apparatus, image processing method, and computer readable recording medium recording computer program
JP2006203334A (en) Image recording apparatus, control method thereof and program
JP4564896B2 (en) Image processing apparatus and image processing method
JP4484775B2 (en) Playback apparatus and playback method
US20070274682A1 (en) Image processing apparatus
JP4440821B2 (en) Video / audio recording and playback device
JP4588287B2 (en) Recording apparatus and method, recording medium, and program
JP4288442B2 (en) Recording / reproducing apparatus and video processing method
JP2009088739A (en) Data transfer unit
JP4212531B2 (en) Recording method, moving picture recording apparatus and recording system
JP2004040518A (en) Imaging recorder and reproducing device
JP4293082B2 (en) Playback device with server function
US8521011B2 (en) Receiving apparatus and its control method, computer program, and storage medium
JP4253058B2 (en) Digital camera device
JP2006319480A (en) Video image processing apparatus and video image processing method
JP2001197410A (en) Image capture system and device adopting the same
JP2004186905A (en) Imaging device
US8482811B2 (en) Recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080630

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100604

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100708

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: 20100726

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: 20100802

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees