JP2005094094A - Image processor and image processing method - Google Patents

Image processor and image processing method Download PDF

Info

Publication number
JP2005094094A
JP2005094094A JP2003320921A JP2003320921A JP2005094094A JP 2005094094 A JP2005094094 A JP 2005094094A JP 2003320921 A JP2003320921 A JP 2003320921A JP 2003320921 A JP2003320921 A JP 2003320921A JP 2005094094 A JP2005094094 A JP 2005094094A
Authority
JP
Japan
Prior art keywords
image data
frame memory
pull
frame
repeated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003320921A
Other languages
Japanese (ja)
Inventor
Daisuke Okazawa
大介 岡澤
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 JP2003320921A priority Critical patent/JP2005094094A/en
Publication of JP2005094094A publication Critical patent/JP2005094094A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that the amount of information is not possibly reduced effectively when a special processing, e.g. repeat or skip, occurs because pull down detection results do not match image data being read out. <P>SOLUTION: In correspondence with respective frame memories 11-1 to 11-n, a pull down detection system including pull down detection circuits 13-1 to 13-n and pull down detection judging flags 14-1 to 14-n, and a nonstandard decision system including nonstandard decision circuits 17-1 to 17-n and nonstandard decision flags 18-1 to 18-n are provided. When image data is read out from the frame memory, image data repeated under control of a cpu 19 is processed while being regarded as image data repeated by 3-2 pull down processing whereas skipped image data is processed while being regarded as image data different from that of one frame before thus eliminating contradiction between image data being read out and pull down detection results. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像処理装置および画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method.

映画フィルムなどの毎秒24フレーム(コマ)で記録された24Hzプログレッシブの映像を、テレビ放送などで用いられる例えばNTSC(National Television System Committee)方式の毎秒30フレーム(60フィールド)、即ち60Hzインターレースで表示する場合、図7に示すように、フレームの画像をフィールドに分解し、同じフィールドを繰り返して表示することによってレートを変換する3−2プルダウン処理が行われる。逆に、3−2プルダウン処理された画像データを記録媒体に記録する際には、この繰り返された画像データを捨てれば、記録媒体に記録する情報量を減らすことができる。そのためには、3−2プルダウン処理により繰り返された画像データであることを検出する必要がある。   A 24 Hz progressive video recorded at 24 frames per second (such as a movie film) is displayed at 30 frames per second (60 fields) of the NTSC (National Television System Committee) system used in television broadcasting, for example, at 60 Hz interlace. In this case, as shown in FIG. 7, a 3-2 pull-down process for converting the rate by decomposing the frame image into fields and displaying the same field repeatedly is performed. Conversely, when recording the image data subjected to the 3-2 pull-down process on the recording medium, if the repeated image data is discarded, the amount of information recorded on the recording medium can be reduced. For this purpose, it is necessary to detect that the image data is repeated by 3-2 pull-down processing.

従来、3−2プルダウン処理された画像データを記録媒体に記録する場合に、3−2プルダウン処理により繰り返された画像データであることを検出するに当たっては、1フレーム前の画像データを保持しておき、現フレームの画像データと1フレーム前の画像データとの差分をとり、その差分がある閾値よりも小さいか否かを判断することにより、3−2プルダウン処理により繰り返された画像データであるか否かを検出するようにしていた(例えば、特許文献1参照)。   Conventionally, when recording image data that has been subjected to 3-2 pulldown processing on a recording medium, when detecting that the image data has been repeated by 3-2 pulldown processing, the image data of the previous frame is retained. The difference between the image data of the current frame and the image data of the previous frame is taken, and it is determined whether or not the difference is smaller than a certain threshold value. Whether or not is detected (see, for example, Patent Document 1).

具体的には、図8に示すように、複数のフレームメモリを有するメモリ装置101を用意し、当該メモリ装置101の各フレームメモリに1フレーム前の画像データを保存し、この保存した1フレーム前の画像データと現フレームの画像データとの差分を減算回路102でとり、その減算結果をプルダウン検出回路103に与える。プルダウン検出回路103は、減算回路102の減算結果をある閾値と比較し、当該閾値よりも差分が小さいときに3−2プルダウン処理により繰り返された画像データであることを検出し、その検出結果をCPU104に与える。   Specifically, as shown in FIG. 8, a memory device 101 having a plurality of frame memories is prepared, and image data of one frame before is stored in each frame memory of the memory device 101, and the stored one frame before The subtraction circuit 102 takes the difference between the image data of the current frame and the image data of the current frame, and gives the subtraction result to the pull-down detection circuit 103. The pull-down detection circuit 103 compares the subtraction result of the subtraction circuit 102 with a certain threshold, detects that the image data has been repeated by 3-2 pull-down processing when the difference is smaller than the threshold, and determines the detection result. It gives to CPU104.

CPU104は、プルダウン検出回路103から3−2プルダウン処理により繰り返された画像データである旨の検出結果を受けると、メモリ装置101に対して繰り返された画像データであると判断された現フレームの画像データをエンコーダ105へ読み出すのを禁止する指令を与えるとともに、エンコーダ105に対してエンコード処理を禁止する指令を与える。これにより、3−2プルダウン処理により繰り返された画像データであると判断された現フレームの画像データは、メモリ装置101からエンコーダ105へ読み出されず、例えばMPEGへのエンコード処理も行われないため、記録媒体に記録されることもない。その結果、記録媒体に記録する情報量を減らすことができる。   When the CPU 104 receives a detection result indicating that the image data has been repeated by the 3-2 pull-down process from the pull-down detection circuit 103, the image of the current frame determined to be the repeated image data for the memory device 101. A command for prohibiting reading of data to the encoder 105 is given, and a command for prohibiting encoding processing is given to the encoder 105. As a result, the image data of the current frame determined to be image data repeated by the 3-2 pull-down process is not read from the memory device 101 to the encoder 105, and is not subjected to, for example, an MPEG encoding process. It is not recorded on the medium. As a result, the amount of information recorded on the recording medium can be reduced.

国際公開第00/13418号パンフレットInternational Publication No. 00/13418 Pamphlet

しかしながら、上記の従来技術では、外部からフレームメモリに画像データを書き込むタイミングと内部でフレームメモリから画像データを読み出すタイミングとが非同期の場合や、外部から入力された画像データが非標準信号であった場合に、次のような不具合が発生する可能性がある。ここで、非標準信号とは、早送りや巻き戻しなどにより、垂直同期信号の間隔や水平同期信号の間隔などが標準の間隔よりも長かったり、短かったりする映像信号を言う。外部からフレームメモリに画像データを書き込むタイミングと内部でフレームメモリから画像データを読み出すタイミングが非同期の場合や、非標準信号が外部から入力された場合、メモリ装置101に画像データを書き込むタイミングと読み出すタイミングとの間に相関がない。   However, in the above prior art, when the timing for writing image data to the frame memory from the outside is asynchronous with the timing for reading the image data from the frame memory internally, or the image data input from the outside is a non-standard signal. In some cases, the following problems may occur. Here, the non-standard signal refers to a video signal in which the vertical synchronization signal interval, the horizontal synchronization signal interval, or the like is longer or shorter than the standard interval due to fast forward or rewind. When the timing for writing image data to the frame memory from the outside and the timing for reading image data from the frame memory internally are asynchronous, or when a non-standard signal is input from the outside, the timing for writing image data to the memory device 101 and the timing for reading it There is no correlation.

このように、書き込みタイミングと読み出しタイミングとの間に相関がないと、外部から画像データを書き込み中のフレームメモリから画像データを読み出す場合に、例えば書き込み速度よりも読み出し速度が速いと、書き込み中の画像データを追い越して読み出し処理が行われたりするため画像の崩れが生じる。この画像の崩れを防ぐため、フレーム同期処理によるスキップ、リピートなどの特殊な処理が一般的に行われる。しかし、このような特殊な処理が発生すると、プルダウン検出回路103では入力される画像データについて順次プルダウン検出が行われるのに対して、画像データを読み出す側では例えばリピート処理が行われることによって同じ画像データが読み出されることになるため、プルダウン検出回路103の検出結果と読み出す画像データとが一致しなくなってしまう。その結果、エンコーダ105で例えばMPEGにエンコードするときなど、有効に情報量を削減できない可能性がある。   Thus, if there is no correlation between the write timing and the read timing, when reading image data from the frame memory in which image data is being written from the outside, for example, if the read speed is faster than the write speed, Since image data is overtaken and read processing is performed, image corruption occurs. In order to prevent this image from collapsing, special processing such as skip and repeat by frame synchronization processing is generally performed. However, when such special processing occurs, the pull-down detection circuit 103 sequentially performs pull-down detection on the input image data, whereas the image data reading side performs, for example, repeat processing to perform the same image. Since data is read out, the detection result of the pull-down detection circuit 103 does not match the read image data. As a result, there is a possibility that the amount of information cannot be reduced effectively, for example, when the encoder 105 encodes to MPEG.

本発明は、上記課題に鑑みてなされたものであって、その目的とするところは、外部から画像データを書き込むタイミングと内部で画像データを読み出すタイミングとが非同期の場合や、外部から非標準信号が入力された場合であっても、画像の崩れを防止しつつ情報量を有効に削減することが可能な画像処理装置および画像処理方法を提供することにある。   The present invention has been made in view of the above problems, and the object of the present invention is to provide a case where the timing of writing image data from the outside and the timing of reading out image data are asynchronous, or a non-standard signal from the outside. An object of the present invention is to provide an image processing apparatus and an image processing method capable of effectively reducing the amount of information while preventing image collapse even when the image is input.

上記目的を達成するために、本発明では、入力される画像データを格納するフレームメモリを有し、前記フレームメモリから前記入力される画像データと非同期のタイミングで画像データを読み出す画像処理装置において、前記フレームメモリに格納された1フレーム前の画像データと現フレームの画像データとを減算し、当該減算結果に基づいて前記現フレームの画像データがプルダウン処理により繰り返された画像データであるか否かを検出し、当該検出結果を保持しておく。そして、前記フレームメモリから画像データを読み出す際に、保持しておいた前記検出結果に基づいて、前記フレームメモリから読み出す画像データがプルダウン処理により繰り返された画像データであるか否かを判定する。   In order to achieve the above object, in the present invention, an image processing apparatus having a frame memory for storing input image data and reading image data from the frame memory at a timing asynchronous with the input image data, Whether the image data of the previous frame stored in the frame memory is subtracted from the image data of the current frame, and whether the image data of the current frame is the image data repeated by the pull-down process based on the subtraction result Is detected and the detection result is retained. Then, when the image data is read from the frame memory, it is determined whether the image data read from the frame memory is the image data repeated by the pull-down process based on the detection result held.

フレームメモリから画像データを読み出す際に、保持しておいたプルダウン検出結果を用いることで、読み出す画像データとプルダウン検出結果とを確実に対応付けることができる。また、読み出す画像データが同じ画像データを繰り返して読み出すリピートや一定量の画像データを飛び越すスキップ等の特殊処理された画像データであるかを判別し、リピートされた画像データの場合には、プルダウン処理により繰り返された画像データと判定し、スキップされた画像データの場合には、1フレーム前の画像データと異なった画像データと判定することで、読み出す画像データとプルダウン検出結果との間に生じる矛盾を無くすことができる。   By using the held pull-down detection result when reading the image data from the frame memory, it is possible to reliably associate the read-out image data with the pull-down detection result. Also, it is determined whether the image data to be read is image data that has been subjected to special processing such as repeat for repeatedly reading the same image data or skipping over a certain amount of image data. In the case of repeated image data, pull-down processing is performed. In the case of skipped image data, it is determined that the image data is different from the image data of the previous frame, and inconsistency occurs between the read image data and the pull-down detection result. Can be eliminated.

本発明ではさらに、入力される画像データを格納するフレームメモリを有し、前記フレームメモリから前記入力される画像データと非同期のタイミングで画像データを読み出す画像処理装置において、前記入力される画像データに含まれる垂直同期信号の周期を計測し、計測結果が所定の周期であるか否かを識別して当該識別結果を保持する。そして、前記フレームメモリから画像データを読み出す際に、保持しておいた前記検出結果および前記識別結果に基づいて、前記フレームメモリから読み出す画像データが前記プルダウン処理により繰り返された画像データであるか否かを判定する。   In the present invention, the image processing apparatus further includes a frame memory for storing input image data, and reads the image data from the frame memory at a timing asynchronous with the input image data. The period of the included vertical synchronizing signal is measured, whether or not the measurement result is a predetermined period is identified, and the identification result is held. Whether or not the image data read from the frame memory is the image data repeated by the pull-down process based on the detection result and the identification result held when the image data is read from the frame memory Determine whether.

ここで、計測結果が所定の周期であるか否かの識別結果は、計測結果が所定の周期であるときは入力される画像データが標準信号であることを示し、当該計測結果が所定の周期でないときは入力される画像データが非標準信号であることを示す。そして、当該識別結果が非標準信号の入力を示すときは、1フレーム前の画像データを読み出す際に、検出結果に関係なくプルダウン処理により繰り返された画像データと判定して処理する。また、当該識別結果が標準信号の入力を示し、かつ1フレーム前の識別結果が非標準信号の入力を示すときは、1フレーム前の画像データが正常な画像データではなく、前記検出結果が信用できないことから、プルダウン処理により繰り返されていない画像データとして処理する。これらの処理により、読み出した画像データが1フレーム前に処理した画像データと同じものであるか、違うものであるかを矛盾なく判定できる。   Here, the identification result of whether or not the measurement result has a predetermined cycle indicates that the input image data is a standard signal when the measurement result has a predetermined cycle, and the measurement result has a predetermined cycle. If not, it indicates that the input image data is a non-standard signal. When the identification result indicates the input of a non-standard signal, when the image data of the previous frame is read, it is determined that the image data has been repeated by pull-down processing regardless of the detection result. Further, when the identification result indicates the input of the standard signal and the identification result of the previous frame indicates the input of the non-standard signal, the image data of the previous frame is not normal image data, and the detection result is reliable. Since it cannot be performed, it is processed as image data that is not repeated by pull-down processing. By these processes, it can be determined without contradiction whether the read image data is the same as or different from the image data processed one frame before.

本発明によれば、外部から画像データを書き込むタイミングと内部で画像データを読み出すタイミングとが非同期のときに、読み出す画像がリピートやスキップ等の特殊処理された画像データであれば、プルダウン検出結果の値に関係なく、当該プルダウン検出結果を特殊処理に対応した値に設定することにより、読み出す画像データとプルダウン検出結果との間に生じる矛盾を無くすことができるため有効に情報量を削減できる。   According to the present invention, when the timing for writing image data from the outside and the timing for reading image data internally are asynchronous, if the read image is image data that has undergone special processing such as repeat or skip, the pull-down detection result Regardless of the value, by setting the pull-down detection result to a value corresponding to the special processing, it is possible to eliminate the contradiction between the read image data and the pull-down detection result, so that the amount of information can be effectively reduced.

また、識別結果が非標準信号の入力を示すときは、その1つ前のフレームメモリの画像データを読み出し、プルダウン処理により繰り返された画像データとみなして処理する一方、当該識別結果が標準信号の入力を示し、かつ1フレーム前の識別結果が非標準信号の入力を示すときは、プルダウン処理により繰り返されていない画像データとして処理することにより、読み出した画像データが1フレーム前に処理した画像データと同じものであるか、違うものであるかを矛盾なく判定できるため有効に情報量を削減できる。   When the identification result indicates the input of a non-standard signal, the image data of the previous frame memory is read and processed as image data repeated by pull-down processing, while the identification result is the standard signal. When the identification result of one frame before indicates an input of a non-standard signal, it is processed as image data that is not repeated by pull-down processing, and the read image data is processed one frame before. Therefore, it is possible to determine whether they are the same or different from each other without contradiction, and the amount of information can be effectively reduced.

以下、本発明の実施の形態について図面を参照して詳細に説明する。図1は、本発明の一実施形態に係る画像処理装置の構成例を示すブロック図である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration example of an image processing apparatus according to an embodiment of the present invention.

図1に示すように、本実施形態に係る画像処理装置は、入力される画像データを格納する複数のフレームメモリ11−1〜11−nを備えている。ここで、フレームメモリ11−1〜11−nに対する画像データの外部からの書き込みおよび内部での読み出しに当たっては、入力される画像データに同期したタイミングで当該画像データのフレームメモリ11−1〜11−nへの書き込みが行われる一方、フレームメモリ11−1〜11−nからの画像データの読み出しは入力される画像データと非同期のタイミングで行われる。   As shown in FIG. 1, the image processing apparatus according to the present embodiment includes a plurality of frame memories 11-1 to 11-n that store input image data. Here, when the image data is externally written to and read from the frame memories 11-1 to 11-n, the frame memories 11-1 to 11- of the image data are synchronized with the input image data. While writing to n is performed, reading of the image data from the frame memories 11-1 to 11-n is performed at a timing asynchronous with the input image data.

フレームメモリ11−1〜11−nの各々には、減算手段である減算回路12−1〜12−n、検出手段であるプルダウン検出回路13−1〜13−n、保持手段であるプルダウン検出判定フラグ14−1〜14−n、垂直同期信号分離回路15−1〜15−n、計数手段である垂直同期信号間隔カウンタ16−1〜16−n、識別手段である非標準判定回路17−1〜17−n、別の保持手段である非標準判定フラグ18−1〜18−nがそれぞれ対応して設けられている。なお、減算回路12−1〜12−n、プルダウン検出回路13−1〜13−n、垂直同期信号分離回路15−1〜15−n、垂直同期信号間隔カウンタ16−1〜16−nおよび非標準判定回路17−1〜17−nについてはフレームメモリ11−1〜11−nごとに対応して個々に持たなくても、フレームメモリ11−1〜11−nに対して共通化しても良い。また、フレームメモリ11−1〜11−nに対して共通に、判定手段であるCPU19とエンコーダ20とが設けられている。   Each of the frame memories 11-1 to 11-n includes subtraction circuits 12-1 to 12-n as subtraction means, pull-down detection circuits 13-1 to 13-n as detection means, and pull-down detection determination as holding means. Flags 14-1 to 14-n, vertical synchronizing signal separation circuits 15-1 to 15-n, vertical synchronizing signal interval counters 16-1 to 16-n serving as counting means, and nonstandard determination circuit 17-1 serving as identification means To 17-n and non-standard determination flags 18-1 to 18-n, which are other holding means, are provided correspondingly. Note that subtraction circuits 12-1 to 12-n, pull-down detection circuits 13-1 to 13-n, vertical synchronization signal separation circuits 15-1 to 15-n, vertical synchronization signal interval counters 16-1 to 16-n, and non- The standard determination circuits 17-1 to 17-n may not be provided individually corresponding to the frame memories 11-1 to 11-n, but may be shared with the frame memories 11-1 to 11-n. . Further, a CPU 19 and an encoder 20 which are determination means are provided in common for the frame memories 11-1 to 11-n.

減算回路12−1〜12−nは、外部から入力される現フレームの画像データとフレームメモリ11−1〜11−nに格納されている1フレーム前の画像データとを減算することによって両画像データの差分をとる。減算回路12−1〜12−nの減算結果(差分)は、プルダウン検出回路13−1〜13−nに与えられる。プルダウン検出回路13−1〜13−nは、入力される画像データから垂直同期信号分離回路15−1〜15−nで分離されて得られる垂直同期信号Vsyncに同期して、減算回路12−1〜12−nの減算結果、即ち現フレームの画像データと1フレーム前の画像データとの差分をある閾値と比較することで、現フレームの画像データが3−2プルダウン処理で繰り返されている画像データであるか否かを検出する。   The subtraction circuits 12-1 to 12-n subtract both the images by subtracting the image data of the current frame input from the outside and the image data of the previous frame stored in the frame memories 11-1 to 11-n. Take data differences. The subtraction results (differences) of the subtraction circuits 12-1 to 12-n are given to the pull-down detection circuits 13-1 to 13-n. The pull-down detection circuits 13-1 to 13-n are synchronized with the vertical synchronization signal Vsync obtained by being separated from the input image data by the vertical synchronization signal separation circuits 15-1 to 15-n, and the subtraction circuit 12-1. The result of subtraction of ˜12-n, that is, the image data of the current frame is repeated by the 3-2 pull-down process by comparing the difference between the image data of the current frame and the image data of the previous frame with a certain threshold value Detect whether it is data.

より具体的には、プルダウン検出回路13−1〜13−nは、複数のフレームメモリ11−1〜11−nごとに、現フレームの画像データと1フレーム前の画像データとの差分が閾値よりも小さいときに現フレームの画像データが3−2プルダウン処理で繰り返されている画像データであるとする検出結果1を出力し、当該差分が閾値以上のときに現フレームの画像データが3−2プルダウン処理で繰り返されている画像データでないとする検出結果0を出力する。プルダウン検出回路13−1〜13−nの検出結果1/0は、複数のフレームメモリ11−1〜11−nごとに、対応するプルダウン検出判定フラグ14−1〜14−nに保持される。   More specifically, the pull-down detection circuits 13-1 to 13-n determine the difference between the image data of the current frame and the image data of the previous frame from the threshold for each of the plurality of frame memories 11-1 to 11-n. Detection result 1 indicating that the image data of the current frame is the image data repeated in the 3-2 pull-down process is output when the difference is equal to or smaller than 3-2, and the image data of the current frame is 3-2 A detection result 0 indicating that the image data is not repeated in the pull-down process is output. The detection results 1/0 of the pull-down detection circuits 13-1 to 13-n are held in the corresponding pull-down detection determination flags 14-1 to 14-n for each of the plurality of frame memories 11-1 to 11-n.

なお、本例では、プルダウン検出判定フラグ14−1〜14−nをプルダウン検出回路13−1〜13−nとは別の構成要素として設けているが、プルダウン検出判定フラグ14−1〜14−nをプルダウン検出回路13−1〜13−n内に設けることもできる。また、プルダウン検出回路13−1〜13−nおよびプルダウン検出判定フラグ14−1〜14−nを複数のフレームメモリ11−1〜11−nごとに設けるとしたが、複数のフレームメモリ11−1〜11−nに対して共通に設けるようにすることも可能である。共通に設ける場合には、フレームメモリ11−1〜11−nごとに3−2プルダウン処理で繰り返されている画像データであるか否かを検出し、当該検出結果を複数のフレームメモリ11−1〜11−nの各々と対応付けて保持しておくようにすれば良い。   In this example, the pull-down detection determination flags 14-1 to 14-n are provided as components different from the pull-down detection circuits 13-1 to 13-n, but the pull-down detection determination flags 14-1 to 14-n are provided. n can also be provided in the pull-down detection circuits 13-1 to 13-n. The pull-down detection circuits 13-1 to 13-n and the pull-down detection determination flags 14-1 to 14-n are provided for the plurality of frame memories 11-1 to 11-n. It is also possible to provide them in common for ˜11-n. If the image data is provided in common, it is detected for each frame memory 11-1 to 11-n whether or not the image data is repeated in the 3-2 pull-down process, and the detection result is stored in a plurality of frame memories 11-1. ˜11-n may be held in association with each other.

垂直同期信号分離回路15−1〜15−nは、入力される画像データから当該画像データに含まれる垂直同期信号Vsyncを分離する。この分離された垂直同期信号Vsyncは、プルダウン検出回路13−1〜13−nおよびCPU19に与えられるとともに、垂直同期信号間隔カウンタ16−1〜16−nおよび非標準判定回路17−1〜17−nに与えられる。垂直同期信号間隔カウンタ16−1〜16−nは、連続する2つの垂直同期信号Vsync間で一定のクロックに同期して例えばアップカウントするカウンタである。したがって、垂直同期信号間隔カウンタ16−1〜16−nのカウント値は、連続する2つの垂直同期信号Vsyncの周期に対応する。すなわち、カウント値×クロック周期が連続する2つの垂直同期信号Vsyncの周期となる。   The vertical synchronization signal separation circuits 15-1 to 15-n separate the vertical synchronization signal Vsync included in the image data from the input image data. The separated vertical synchronization signal Vsync is supplied to the pull-down detection circuits 13-1 to 13-n and the CPU 19, and the vertical synchronization signal interval counters 16-1 to 16-n and the nonstandard determination circuits 17-1 to 17-. given to n. The vertical synchronization signal interval counters 16-1 to 16-n are counters that count up, for example, in synchronization with a constant clock between two consecutive vertical synchronization signals Vsync. Accordingly, the count values of the vertical synchronization signal interval counters 16-1 to 16-n correspond to the period of two consecutive vertical synchronization signals Vsync. That is, it becomes a cycle of two vertical synchronization signals Vsync in which count value × clock cycle continues.

非標準判定回路17−1〜17−nは、標準信号に対応した判定ウインドウをもっており、垂直同期信号間隔カウンタ16−1〜16−nのカウント値が判定ウインドウ外である否かを判定することで、入力される画像データに含まれる垂直同期信号Vsyncの周期が所定の周期であるか否か、即ち入力された画像データが標準信号に準拠しているか否かを識別する。より具体的には、非標準判定回路17−1〜17−nは、垂直同期信号間隔カウンタ16−1〜16−nのカウント値が判定ウインドウ内であれば入力された画像データが標準信号に準拠しているとする識別結果0を出力し、当該カウント値が判定ウインドウ外であれば入力された画像データが標準信号に準拠していない(非標準)とする識別結果1を出力する。   The non-standard determination circuits 17-1 to 17-n have a determination window corresponding to the standard signal, and determine whether or not the count values of the vertical synchronization signal interval counters 16-1 to 16-n are outside the determination window. Thus, it is identified whether or not the period of the vertical synchronization signal Vsync included in the input image data is a predetermined period, that is, whether or not the input image data conforms to the standard signal. More specifically, the non-standard determination circuits 17-1 to 17-n have the input image data become standard signals if the count values of the vertical synchronization signal interval counters 16-1 to 16-n are within the determination window. An identification result 0 that is compliant is output, and if the count value is outside the determination window, an identification result 1 that the input image data does not conform to the standard signal (non-standard) is output.

一例として、NTSC方式に準拠した映像信号を標準信号とした場合、NTSC方式では垂直周波数が30Hzであるから、判定ウインドウを(1/30)±α(αはあるマージン分)に対応した値に設定しておき、垂直同期信号間隔カウンタ16−1〜16−nのカウント値が当該判定ウインドウ内であるか否かを判定することにより、入力された画像データがNTSC方式に準拠しているか否かを識別することができる。非標準判定回路17−1〜17−nの識別結果1/0は、複数のフレームメモリ11−1〜11−nごとに、対応する非標準判定フラグ18−1〜18−nに保持される。   As an example, when a video signal conforming to the NTSC system is used as a standard signal, the vertical window is 30 Hz in the NTSC system, so the determination window is set to a value corresponding to (1/30) ± α (α is a margin). Whether the input image data conforms to the NTSC system is determined by determining whether the count values of the vertical synchronization signal interval counters 16-1 to 16-n are within the determination window. Can be identified. The identification results 1/0 of the nonstandard determination circuits 17-1 to 17-n are held in the corresponding nonstandard determination flags 18-1 to 18-n for each of the plurality of frame memories 11-1 to 11-n. .

なお、本例では、垂直同期信号分離回路15−1〜15−nおよび垂直同期信号間隔カウンタ16−1〜16−nを複数のフレームメモリ11−1〜11−nごとに設けるとしたが、複数のフレームメモリ11−1〜11−nに対して共通に設けるようにすることも可能である。さらに、非標準判定回路17−1〜17−nおよび非標準判定フラグ18−1〜18−nについても、複数のフレームメモリ11−1〜11−nに対して共通に設けるようにすることが可能である。共通に設ける場合には、入力される画像データを格納するフレームメモリ11−1〜11−nごとに、当該画像データの非標準識別を行い、当該識別結果を複数のフレームメモリ11−1〜11−nの各々と対応付けて保持しておくようにすれば良い。   In this example, the vertical synchronization signal separation circuits 15-1 to 15-n and the vertical synchronization signal interval counters 16-1 to 16-n are provided for each of the plurality of frame memories 11-1 to 11-n. It is also possible to provide a plurality of frame memories 11-1 to 11-n in common. Further, the nonstandard determination circuits 17-1 to 17-n and the nonstandard determination flags 18-1 to 18-n may be provided in common for the plurality of frame memories 11-1 to 11-n. Is possible. When provided in common, the image data is subjected to non-standard identification for each of the frame memories 11-1 to 11-n storing the input image data, and the identification result is used as a plurality of frame memories 11-1 to 11-11. It may be held in association with each of -n.

CPU19は、複数のフレームメモリ11−1〜11−nのいずれか1つのフレームメモリ11−i(iは1〜nの任意の値)から当該フレームメモリ11−iに格納されている画像データを読み出す際に、フレームメモリ11−iに対応したプルダウン検出判定フラグ14−iに保持されているプルダウン検出回路13−iの検出結果1/0および非標準判定フラグ18−iに保持されている非標準判定回路17−iの識別結果1/0を参照する。そして、これら検出結果1/0および識別結果1/0に基づいて、フレームメモリ11−iから読み出す画像データが3−2プルダウン処理により繰り返された画像データであるか否かを判定し、その判定結果に基づいてフレームメモリ11−iへのアクセスを制御する。   The CPU 19 obtains image data stored in the frame memory 11-i from any one of the plurality of frame memories 11-1 to 11-n (i is an arbitrary value of 1 to n). When reading, the detection result 1/0 of the pull-down detection circuit 13-i held in the pull-down detection determination flag 14-i corresponding to the frame memory 11-i and the non-holding held in the non-standard determination flag 18-i. The identification result 1/0 of the standard determination circuit 17-i is referred to. Based on the detection result 1/0 and the identification result 1/0, it is determined whether or not the image data read from the frame memory 11-i is the image data repeated by the 3-2 pull-down process. Based on the result, access to the frame memory 11-i is controlled.

CPU19は、フレームメモリ11−iから読み出す画像データが3−2プルダウン処理により繰り返された画像データであると判定した場合は、フレームメモリ11−iに対してエンコーダ20への画像データの読み出しを禁止する指令を与えるとともに、エンコーダ20に対してエンコード処理を禁止する指令を与える。これにより、繰り返された画像データであると判断されたフレームメモリ11−iの画像データは、当該フレームメモリ11−iからエンコーダ20へ読み出されず、エンコーダ20での例えばMPEGへのエンコード処理も行われない。したがって、3−2プルダウン処理により繰り返された画像データについては記録媒体に記録されないため、当該記録媒体に記録する情報量を減らすことができる。   When the CPU 19 determines that the image data read from the frame memory 11-i is the image data repeated by the 3-2 pull-down process, the CPU 19 prohibits the frame memory 11-i from reading the image data to the encoder 20. And a command for prohibiting the encoding process to the encoder 20. Thereby, the image data of the frame memory 11-i determined to be repeated image data is not read from the frame memory 11-i to the encoder 20, and the encoder 20 performs an encoding process, for example, to MPEG. Absent. Therefore, since the image data repeated by the 3-2 pull-down process is not recorded on the recording medium, the amount of information recorded on the recording medium can be reduced.

また、フレームメモリ11−iから読み出す画像データが3−2プルダウン処理により繰り返された画像データでないと判定した場合は、CPU19は、フレームメモリ11−iに対してエンコーダ20への画像データの読み出し指令を与えるとともに、エンコーダ20に対してエンコード処理の実行指令を与える。これにより、繰り返された画像データでないと判断されたフレームメモリ11−iの画像データは、当該フレームメモリ11−iから読み出され、エンコーダ20において例えばMPEGへのエンコード処理が行われた後記録媒体に記録される。   If the CPU 19 determines that the image data read from the frame memory 11-i is not the image data repeated by the 3-2 pull-down process, the CPU 19 instructs the frame memory 11-i to read the image data to the encoder 20. And an encoding execution command to the encoder 20. Thereby, the image data of the frame memory 11-i determined not to be repeated image data is read from the frame memory 11-i, and after being subjected to, for example, encoding processing to MPEG in the encoder 20, the recording medium To be recorded.

続いて、上記構成の本実施形態に係る画像処理装置における具体的な画像処理方法の一例について説明する。以下の説明では、フレームメモリの個数nがn=4、即ちフレームメモリが4フレーム分ある場合を例に挙げて説明するものとする。   Subsequently, an example of a specific image processing method in the image processing apparatus according to the present embodiment having the above-described configuration will be described. In the following description, the case where the number n of frame memories is n = 4, that is, there are four frame memories, will be described as an example.

先ず、外部から入力される画像データが標準信号であり、また外部からフレームメモリに画像データを書き込むタイミング間隔と内部でフレームメモリから画像データを読み出すタイミング間隔とが同じ場合について、図2の動作説明図を用いて説明する。   First, when the image data input from the outside is a standard signal, and the timing interval for writing image data from the outside to the frame memory is the same as the timing interval for reading image data from the frame memory internally, the operation description of FIG. This will be described with reference to the drawings.

図2において、wt(write top)は一方のフィールドの書き込みを、wb(write bottom)は一方のフィールドの書き込みを、rt(read top)は他方のフィールドの読み出しを、rb(read bottom)は他方のフィールドの読み出しをそれぞれ意味している(他の図においても同じ)。また、図の上段が外部から画像データを書き込むタイミング関係を、図の下段が内部で画像データを読み出すタイミング関係をそれぞれ示している(他の図においても同じ)。   In FIG. 2, wt (write top) writes one field, wb (write bottom) writes one field, rt (read top) reads the other field, and rb (read bottom) reads the other. This means reading out of the field (same for other figures). Further, the upper part of the figure shows the timing relation of writing image data from the outside, and the lower part of the figure shows the timing relation of reading image data inside (the same applies to other figures).

3−2プルダウン方式では、最初のフレーム(コマ)から3フィールド、次のフレームから2フィールド、以降、順に3フィールド、2フィールド、……と変換される。したがって、この3−2プルダウン処理された画像データを4つのフレームメモリ1〜4に書き込む際には、図2に示すように、フレームメモリ1,2に最初の3フィールド分(白抜き部分のwt,wb,wt)、フレームメモリ2,3に次の2フィールド分(斜線部分のwb,wt)、フレームメモリ3,4に次の3フィールド分(白抜き部分のwb,wt,wb)、フレームメモリ1に次の2フィールド分(斜線部分のwt,wb)の各画像データを書き込むことになる。   In the 3-2 pull-down method, the first frame (frame) is converted into 3 fields, the next frame is converted into 2 fields, and thereafter, 3 fields, 2 fields,. Therefore, when the image data subjected to the 3-2 pull-down process is written in the four frame memories 1 to 4, as shown in FIG. , Wb, wt), frame memory 2 and 3 for the next two fields (shaded wb, wt), frame memory 3 and 4 for the next three fields (outlined wb, wt, wb), frame Each image data for the next two fields (the shaded area wt and wb) is written in the memory 1.

この5フレーム(10フィールド)が3−2プルダウン方式の1シーケンスとなる。ここで、3フィールドの部分では、3フィールド目の画像データが3−2プルダウン処理により繰り返された画像データとなるため、3フィールド目の画像データのプルダウン検出結果が1となる。そして、画像データを書き込むタイミング間隔と読み出すタイミング間隔とが同じということは、1フィールド分の画像データの書き込み期間Aと1フィールド分の画像データの読み出し期間Bとが等しいということであるから、図2に示すように、読み出す画像データとプルダウン検出結果とが矛盾の無い関係になる。   These 5 frames (10 fields) form one sequence of the 3-2 pull-down method. Here, in the portion of the third field, the image data of the third field becomes image data repeated by the 3-2 pull-down process, and therefore the pull-down detection result of the image data of the third field is 1. The fact that the timing interval for writing image data is the same as the timing interval for reading out means that the writing period A for image data for one field is equal to the reading period B for image data for one field. As shown in FIG. 2, the read image data and the pull-down detection result have a consistent relationship.

次に、外部から入力される画像データが標準信号であって、外部からフレームメモリに画像データを書き込むタイミングと内部でフレームメモリから画像データを読み出すタイミングとが非同期の場合について、図3および図4の動作説明図を用いて説明する。   Next, when image data input from the outside is a standard signal and the timing for writing image data from the outside to the frame memory and the timing for reading image data from the frame memory internally are asynchronous, FIG. 3 and FIG. The operation will be described with reference to FIG.

外部からフレームメモリに画像データを書き込むタイミングと内部でフレームメモリから画像データを読み出すタイミングとが非同期なときは、CPU19は、プルダウン検出に用いている1フレーム前の画像データが格納されているフレームメモリと同じフレームメモリから画像データを読み出すように制御する。これにより、内部で画像データを読み出すタイミングが外部から画像データを書き込むタイミングよりも速かったり、逆に遅かったりしても、確実に1フレーム分の画像データが書き込まれているフレームメモリから画像データを読み出すことができる。このような処理をフレームシンク処理と言う。   When the timing at which image data is written to the frame memory from the outside and the timing at which image data is read from the frame memory are asynchronous, the CPU 19 stores a frame memory in which image data for the previous frame used for pull-down detection is stored. To read image data from the same frame memory. As a result, even if the timing for reading the image data internally is faster than the timing for writing the image data from the outside or vice versa, the image data is surely read from the frame memory in which the image data for one frame is written. Can be read. Such a process is called a frame sync process.

しかし、このフレームシンク処理の際に、読み出す画像データに対して同じ画像データを繰り返して読み出すリピートや一定量の画像データを飛び越すスキップ等の特殊処理が行われると、入力される画像データについて順次プルダウン検出が行われるのに対して、画像データを読み出す側では例えばリピート処理が行われることによって同じ画像データが読み出されることになるため、プルダウン検出結果と読み出す画像データとの間に矛盾が生じてしまう。その矛盾を無くすために、CPU19は、読み出す画像データがリピートされた画像データであるかスキップされた画像データであるかを判別する。そして、リピートされた画像データの場合は、プルダウン検出判定フラグの値に関係なく当該プルダウン検出判定フラグを強制的に1とし、繰り返された画像データとみなして処理する。逆に、スキップされた画像の場合は、プルダウン検出判定フラグの値に関係なく当該プルダウン検出判定フラグプルを強制的に0とし、1フレーム前の画像データと異なった画像データとみなして処理する。   However, during this frame sync process, if special processing such as repeat to read the same image data repeatedly for the image data to be read or skip to skip a certain amount of image data is performed, the input image data is sequentially pulled down. While the detection is performed, the same image data is read out by performing, for example, repeat processing on the image data reading side, so that there is a contradiction between the pull-down detection result and the read image data. . In order to eliminate the contradiction, the CPU 19 determines whether the image data to be read is repeated image data or skipped image data. In the case of repeated image data, the pull-down detection determination flag is forcibly set to 1 regardless of the value of the pull-down detection determination flag, and processing is performed assuming that the image data is repeated. Conversely, for a skipped image, the pull-down detection determination flag pull is forcibly set to 0 regardless of the value of the pull-down detection determination flag, and processing is performed assuming that the image data is different from the image data of the previous frame.

具体的には、図3に示すように、1フィールド分の画像データの書き込み期間Aよりも1フィールド分の画像データの読み出し期間Bが短い場合(A>B)には、フレームメモリ2の2番目のフィールドの読み出し期間中に内部で画像データを読み出すタイミングが外部から画像データを書き込むタイミングを追い越すため、リピート処理によって再度同じ2フィールド分の画像データの読み出しが行われる。したがって、このリピート処理による2フィールド分の画像データについては、プルダウン検出判定フラグの値に関係なく当該プルダウン検出判定フラグを強制的に1とし、3−2プルダウン処理により繰り返された画像データとみなして処理する。   Specifically, as shown in FIG. 3, when the image data read period B for one field is shorter than the image data write period A for one field (A> B), 2 of the frame memory 2 is used. During the reading period of the second field, the timing for reading the image data internally overtakes the timing for writing the image data from the outside, so that the same two fields of image data are read again by the repeat process. Therefore, regarding the image data for two fields by this repeat processing, the pull-down detection determination flag is forcibly set to 1 regardless of the value of the pull-down detection determination flag, and is regarded as image data repeated by the 3-2 pull-down processing. Process.

逆に、図4に示すように、1フィールド分の画像データの書き込み期間Aよりも1フィールド分の画像データの読み出し期間Bが長い場合(A<B)には、最初のシーケンスでは問題なく画像データの読み出しが行われるが、次のシーケンスのフレームメモリ1の読み出し期間中に外部から画像データを書き込むタイミングが内部で画像データを読み出すタイミングを追い越すため、スキップ処理によってフレームメモリ2を飛び越してフレームメモリ3の画像データの読み出しが行われる。したがって、このスキップ処理によるフレームメモリ3の2フィールド分の画像データについては、プルダウン検出判定フラグの値に関係なく当該プルダウン検出判定フラグを強制的に0にして1フレーム前の画像データと異なった画像データとみなして処理する。   On the contrary, as shown in FIG. 4, when the image data read period B for one field is longer than the image data write period A for one field (A <B), there is no problem in the first sequence. Although data is read out, the timing of writing image data from the outside during the reading period of the frame memory 1 of the next sequence overtakes the timing of reading out the image data internally, so the frame memory is skipped over the frame memory 2 by skip processing. 3 image data is read out. Therefore, for the image data for two fields in the frame memory 3 by this skip processing, the pull-down detection determination flag is forcibly set to 0 regardless of the value of the pull-down detection determination flag and an image different from the image data of the previous frame. Treat as data.

このように、外部から入力される画像データが標準信号であって、フレームメモリに画像データを書き込むタイミングとフレームメモリから画像データを読み出すタイミングが非同期の場合には、リピートやスキップ等の特殊な処理による読み出す画像データとプルダウン検出結果との間に生じる矛盾を無くすために、読み出す画像データがリピートされた画像データであるかスキップされた画像データであるかを判別し、リピートされた画像データの場合には、3−2プルダウン処理により繰り返された画像データとみなして処理し、スキップされた画像データの場合には、1フレーム前の画像データと異なった画像データとみなして処理することで、読み出した画像データが1フレーム前に処理した画像データと同じものであるか、違うものであるかを矛盾なく判定できるため、有効に情報量の削減を行うことができる。   In this way, when image data input from the outside is a standard signal and the timing for writing image data to the frame memory and the timing for reading image data from the frame memory are asynchronous, special processing such as repeat and skip In order to eliminate the contradiction between the image data read by and the pull-down detection result, it is determined whether the read image data is repeated image data or skipped image data. In the case of skipped image data, processing is performed by regarding it as image data different from the image data of the previous frame. The image data is the same as or different from the image data processed one frame ago Therefore, it is possible to effectively reduce the amount of information.

次に、外部から入力される画像データが非標準信号の場合について、図5のフローチャートおよび図6の動作説明図を用いて説明する。なお、図6の動作説明図には、標準よりも短い垂直同期信号が入力されたときの例を示している。   Next, the case where image data input from the outside is a non-standard signal will be described with reference to the flowchart of FIG. 5 and the operation explanatory diagram of FIG. The operation explanatory diagram of FIG. 6 shows an example when a vertical synchronization signal shorter than the standard is input.

外部から非標準信号が入力された場合にも、基本的に、外部から入力される画像データが標準信号であって、外部からフレームメモリに画像データを書き込むタイミングと内部でフレームメモリから画像データを読み出すタイミングが非同期の場合と同様に、内部で読み出す画像データとしては、プルダウン検出で読んでいるフレームメモリと同じフレームメモリから画像データを読み出すことになる。その際に、CPU19は、読み出すフレームメモリに対応した非標準判定フラグと1フレーム前の非標準判定フラグを参照する。このときのメモリアクセスのアルゴリズムを図5のフローチャートに示す。   Even when a non-standard signal is input from the outside, the image data input from the outside is basically a standard signal, and the timing for writing the image data to the frame memory from the outside and the image data from the frame memory internally As in the case where the read timing is asynchronous, the image data read internally is read from the same frame memory as the frame memory read by pull-down detection. At that time, the CPU 19 refers to the non-standard determination flag corresponding to the frame memory to be read and the non-standard determination flag one frame before. The memory access algorithm at this time is shown in the flowchart of FIG.

図5のフローチャートにおいて、先ず、画像データを読み出すフレームメモリに対応した非標準判定フラグを参照し、当該非標準判定フラグが1であるか否かを判定する(ステップS11)。非標準判定フラグが1であれば、崩れた画像データを読み出してしまわないように、その1つ前のフレームメモリの画像データを読み出し、プルダウン検出判定フラグの値に関係なく当該プルダウン検出判定フラグを強制的に1とし、3−2プルダウン処理により繰り返された画像とみなして処理する(ステップS12)。   In the flowchart of FIG. 5, first, a non-standard determination flag corresponding to a frame memory from which image data is read is referred to, and it is determined whether or not the non-standard determination flag is 1 (step S11). If the non-standard determination flag is 1, the image data of the previous frame memory is read so that the corrupted image data is not read, and the pull-down detection determination flag is set regardless of the value of the pull-down detection determination flag. The image is forcibly set to 1 and processed as an image repeated by the 3-2 pull-down process (step S12).

画像データを読み出すフレームメモリに対応した非標準判定フラグが0の場合は、1フレーム前の非標準判定フラグを参照し、当該非標準判定フラグが1であるか否かを判定する(ステップS13)。1フレーム前の非標準判定フラグが1の場合は、画像データを読み出すフレームメモリのプルダウン検出判定フラグが1であったとしても1フレーム前の画像データが正常な画像データではなく、その判定は信用できないことから強制的にプルダウン検出判定フラグを0とし、3−2プルダウン処理により繰り返されていない画像データとして処理する(ステップS14)。1フレーム前の非標準判定フラグも0の場合は、プルダウン検出判定フラグをそのまま参照して画像データを読み出す通常の処理を実行する(ステップS15)。   If the non-standard determination flag corresponding to the frame memory from which the image data is read is 0, the non-standard determination flag of the previous frame is referred to and it is determined whether the non-standard determination flag is 1 (step S13). . If the non-standard judgment flag of 1 frame before is 1, even if the pull-down detection judgment flag of the frame memory from which the image data is read is 1, the image data of the previous frame is not normal image data and the judgment is reliable. Since this is not possible, the pull-down detection determination flag is forcibly set to 0 and the image data is not repeated by the 3-2 pull-down process (step S14). If the non-standard determination flag of one frame before is also 0, normal processing for reading image data with reference to the pull-down detection determination flag as it is is executed (step S15).

このように、画像データを読み出すフレームメモリに対応した非標準判定フラグを参照し、当該非標準判定フラグが1のときは、その1つ前のフレームメモリの画像データを読み出し、3−2プルダウン処理により繰り返された画像データとみなして処理する一方、非標準判定フラグが0で、1フレーム前の非標準判定フラグが1のときは、3−2プルダウン処理により繰り返されていない画像データとして処理することで、読み出した画像データが1フレーム前に処理した画像データと同じものであるか、違うものであるかを矛盾なく判定できるため、有効に情報量の削減を行うことができる。   As described above, the non-standard determination flag corresponding to the frame memory from which the image data is read is referred to. When the non-standard determination flag is 1, the image data of the previous frame memory is read and 3-2 pull-down processing is performed. When the non-standard determination flag is 0 and the non-standard determination flag of 1 frame before is 1, the image data is processed as non-repeated image data by 3-2 pull-down processing. Thus, since it can be determined without contradiction whether the read image data is the same as or different from the image data processed one frame before, the amount of information can be effectively reduced.

なお、上記実施形態では、減算回路12−1〜12−n、プルダウン検出回路13−1〜13−nおよびプルダウン検出判定フラグ14−1〜14−nを含むプルダウン検出の系と、垂直同期信号分離回路15−1〜15−n、垂直同期信号間隔カウンタ16−1〜16−n、非標準判定回路17−1〜17−nおよび非標準判定フラグ18−1〜18−nを含む非標準判定の系とを共に備えた構成としたが、上述した動作説明から明らかなように、外部から入力される画像データが標準信号のときには非標準判定フラグを参照せずに、プルダウン検出判定フラグのみを参照すれば良いことから、外部から非標準信号が入力されないことを前提とするシステムの場合には、プルダウン検出の系のみを備えるだけで、所期の目的を達成することができる。   In the above embodiment, the pull-down detection system including the subtraction circuits 12-1 to 12-n, the pull-down detection circuits 13-1 to 13-n, and the pull-down detection determination flags 14-1 to 14-n, and the vertical synchronization signal Non-standard including separation circuits 15-1 to 15-n, vertical synchronization signal interval counters 16-1 to 16-n, non-standard determination circuits 17-1 to 17-n, and non-standard determination flags 18-1 to 18-n However, when the image data input from the outside is a standard signal, only the pull-down detection determination flag is used without referring to the non-standard determination flag. If the system is based on the assumption that non-standard signals are not input from the outside, only the pull-down detection system is provided and the intended purpose is achieved. It can be.

本発明の一実施形態に係る画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus which concerns on one Embodiment of this invention. 外部から入力される画像データが標準信号であって、フレームメモリに画像データを書き込むタイミング間隔とフレームメモリから画像データを読み出すタイミング間隔が同じ場合の動作説明図である。FIG. 10 is an operation explanatory diagram when image data input from the outside is a standard signal, and a timing interval at which image data is written to the frame memory and a timing interval at which image data is read from the frame memory are the same. 外部から入力される画像データが標準信号であって、フレームメモリに画像データを書き込むタイミングとフレームメモリから画像データを読み出すタイミングが非同期の場合のリピート処理時の動作説明図である。FIG. 10 is an operation explanatory diagram at the time of repeat processing when image data input from the outside is a standard signal and the timing of writing image data to the frame memory and the timing of reading image data from the frame memory are asynchronous. 外部から入力される画像データが標準信号であって、フレームメモリに画像データを書き込むタイミングとフレームメモリから画像データを読み出すタイミングが非同期の場合のスキップ処理時の動作説明図である。FIG. 10 is an operation explanatory diagram of skip processing in a case where image data input from the outside is a standard signal and the timing for writing image data to the frame memory and the timing for reading image data from the frame memory are asynchronous. 外部から入力される画像データが非標準信号の場合のメモリアクセスのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of a memory access when the image data input from the outside is a nonstandard signal. 外部から入力される画像データが非標準信号の場合の動作説明図である。It is operation | movement explanatory drawing when the image data input from the outside is a nonstandard signal. 3−2プルダウン処理の概念図である。It is a conceptual diagram of 3-2 pulldown processing. 従来例に係る画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus which concerns on a prior art example.

符号の説明Explanation of symbols

11−1〜11−n…フレームメモリ、12−1〜12−n…減算回路、13−1〜13−n…プルダウン検出回路、14−1〜14−n…プルダウン検出判定フラグ、15−1〜15−n…垂直同期信号分離回路、16−1〜16−n…垂直同期信号間隔カウンタ、17−1〜17−n…非標準判定回路、18−1〜18−n…非標準判定フラグ、19…CPU、20…エンコーダ   11-1 to 11-n: frame memory, 12-1 to 12-n: subtraction circuit, 13-1 to 13-n: pull-down detection circuit, 14-1 to 14-n: pull-down detection determination flag, 15-1 -15-n ... vertical synchronization signal separation circuit, 16-1 to 16-n ... vertical synchronization signal interval counter, 17-1 to 17-n ... non-standard determination circuit, 18-1 to 18-n ... non-standard determination flag , 19 ... CPU, 20 ... encoder

Claims (12)

入力される画像データを格納するフレームメモリを有し、前記フレームメモリから前記入力される画像データと非同期のタイミングで画像データを読み出す画像処理装置であって、
前記フレームメモリに格納された1フレーム前の画像データと現フレームの画像データとを減算する減算手段と、
前記減算手段の減算結果に基づいて前記現フレームの画像データがプルダウン処理により繰り返された画像データであるか否かを検出する検出手段と、
前記検出手段の検出結果を保持する保持手段と、
前記フレームメモリから画像データを読み出す際に、前記保持手段に保持されている前記検出結果に基づいて、前記フレームメモリから読み出す画像データが前記プルダウン処理により繰り返された画像データであるか否かを判定する判定手段と
を備えたことを特徴とする画像処理装置。
An image processing apparatus having a frame memory for storing input image data and reading image data from the frame memory at a timing asynchronous with the input image data,
Subtracting means for subtracting the image data of the previous frame and the image data of the current frame stored in the frame memory;
Detection means for detecting whether the image data of the current frame is image data repeated by pull-down processing based on a subtraction result of the subtraction means;
Holding means for holding a detection result of the detecting means;
When reading image data from the frame memory, it is determined whether the image data read from the frame memory is image data repeated by the pull-down process based on the detection result held in the holding unit. An image processing apparatus comprising: a determination unit that performs the determination.
前記判定手段は、前記フレームメモリから読み出す画像データが、繰り返して読み出された画像データの場合は前記検出結果に関係なくプルダウン処理により繰り返された画像データと判定する
ことを特徴とする請求項1記載の画像処理装置。
The determination unit determines that the image data read from the frame memory is image data repeated by pull-down processing regardless of the detection result when the image data is read repeatedly. The image processing apparatus described.
前記判定手段は、前記フレームメモリから読み出す画像データが、一定量の画像データを飛び越した画像データの場合は前記検出結果に関係なく1フレーム前の画像データと異なった画像データと判定する
ことを特徴とする請求項1記載の画像処理装置。
The determination means determines that the image data read from the frame memory is different from the image data of the previous frame regardless of the detection result when the image data skips a certain amount of image data. The image processing apparatus according to claim 1.
入力される画像データを格納するフレームメモリを有し、前記フレームメモリから前記入力される画像データと非同期のタイミングで画像データを読み出す画像処理装置であって、
前記フレームメモリに格納された1フレーム前の画像データと現フレームの画像データとを減算する減算手段と、
前記減算手段の減算結果に基づいて前記現フレームの画像データがプルダウン処理により繰り返された画像データであるか否かを検出する検出手段と、
前記入力される画像データに含まれる垂直同期信号の周期を計測する計測手段と、
前記計測手段の計測結果が所定の周期であるか否かを識別する識別手段と、
前記検出手段の検出結果および前記識別手段の識別結果を保持する保持手段と、
前記フレームメモリから画像データを読み出す際に、前記保持手段に保持されている前記検出結果および前記識別結果に基づいて、前記フレームメモリから読み出す画像データが前記プルダウン処理により繰り返された画像データであるか否かを判定する判定手段と
を備えたことを特徴とする画像処理装置。
An image processing apparatus having a frame memory for storing input image data and reading image data from the frame memory at a timing asynchronous with the input image data,
Subtracting means for subtracting the image data of the previous frame and the image data of the current frame stored in the frame memory;
Detection means for detecting whether the image data of the current frame is image data repeated by pull-down processing based on a subtraction result of the subtraction means;
Measuring means for measuring a period of a vertical synchronizing signal included in the input image data;
Identification means for identifying whether the measurement result of the measurement means is a predetermined cycle;
Holding means for holding the detection result of the detection means and the identification result of the identification means;
Whether the image data read from the frame memory is the image data repeated by the pull-down process based on the detection result and the identification result held in the holding means when reading the image data from the frame memory An image processing apparatus comprising: determination means for determining whether or not.
前記判定手段は、前記保持手段に保持されている前記識別結果が、前記所定の周期でないことを示すときは、1フレーム前の画像データを読み出す際に、前記検出手段の検出結果に関係なくプルダウン処理により繰り返された画像データと判定する
ことを特徴とする請求項4記載の画像処理装置。
When the identification means held in the holding means indicates that the predetermined period is not the predetermined period, the determination means pulls down regardless of the detection result of the detection means when reading image data one frame before. The image processing apparatus according to claim 4, wherein the image processing apparatus determines that the image data has been repeated by the processing.
前記判定手段は、前記保持手段に保持されている前記識別結果が前記所定の周期であることを示し、かつ1フレーム前の画像データに対応して前記保持手段に保持されている前記識別結果が前記所定の周期でないことを示すときは、前記検出手段の検出結果に関係なくプルダウン処理により繰り返されていない画像データと判定する
ことを特徴とする請求項4記載の画像処理装置。
The determination means indicates that the identification result held in the holding means is the predetermined cycle, and the identification result held in the holding means corresponding to the image data of one frame before is 5. The image processing apparatus according to claim 4, wherein when the predetermined period is not indicated, it is determined that the image data is not repeated by pull-down processing regardless of a detection result of the detection unit.
入力される画像データをフレームメモリに書き込み、前記フレームメモリから前記入力される画像データと非同期のタイミングで画像データを読み出す画像処理方法であって、
前記複数のフレームメモリに格納された1フレーム前の画像データと現フレームの画像データとを減算する第1ステップと、
前記第1ステップでの減算結果に基づいて前記現フレームの画像データがプルダウン処理により繰り返された画像データであるか否かを検出する第2ステップと、
前記第2ステップでの検出結果を保持する第3ステップと、
前記フレームメモリから画像データを読み出す際に、前記第3ステップで保持した前記検出結果に基づいて、前記フレームメモリから読み出す画像データが、前記プルダウン処理により繰り返された画像データであるか否かを識別する第4ステップと
を含むことを特徴とする画像処理方法。
An image processing method for writing input image data to a frame memory and reading the image data from the frame memory at a timing asynchronous with the input image data,
A first step of subtracting the image data of the previous frame stored in the plurality of frame memories and the image data of the current frame;
A second step of detecting whether the image data of the current frame is image data repeated by pull-down processing based on the subtraction result in the first step;
A third step for holding the detection result in the second step;
When reading image data from the frame memory, based on the detection result held in the third step, it is identified whether the image data read from the frame memory is image data repeated by the pull-down process And a fourth step. An image processing method comprising:
前記第4ステップでは、前記フレームメモリから読み出す画像データが、繰り返して読み出された画像データの場合は前記検出結果に関係なくプルダウン処理により繰り返された画像データと判定する
ことを特徴とする請求項7記載の画像処理方法。
5. In the fourth step, when the image data read from the frame memory is image data read repeatedly, it is determined as image data repeated by pull-down processing regardless of the detection result. 8. The image processing method according to 7.
前記第4ステップでは、前記フレームメモリから読み出す画像データが、一定量の画像データを飛び越した画像データの場合は前記検出結果に関係なく1フレーム前の画像データと異なった画像データと判定する
ことを特徴とする請求項7記載の画像処理方法。
In the fourth step, if the image data read from the frame memory is image data that skips a certain amount of image data, it is determined that the image data is different from the image data of the previous frame regardless of the detection result. The image processing method according to claim 7, wherein:
入力される画像データをフレームメモリに書き込み、前記フレームメモリから前記入力される画像データと非同期のタイミングで画像データを読み出す画像処理方法であって、
前記フレームメモリに格納された1フレーム前の画像データと現フレームの画像データとを減算する第1ステップと、
前記第1ステップでの減算結果に基づいて前記現フレームの画像データがプルダウン処理により繰り返された画像データであるか否かを検出する第2ステップと、
前記第2ステップでの検出結果を保持する第3ステップと、
前記入力される画像データに含まれる垂直同期信号の周期を計測する第4ステップと、
前記第4ステップでの計測結果が所定の周期であるか否かを識別する第5ステップと、
前記第5ステップでの識別結果を保持する第6ステップと、
前記フレームメモリから画像データを読み出す際に、前記第3ステップで保持した前記検出結果および前記第6ステップで保持した前記識別結果に基づいて、前記フレームメモリから読み出す画像データが前記プルダウン処理により繰り返された画像データであるか否かを判定する第7ステップと
を含むことを特徴とする画像処理方法。
An image processing method for writing input image data to a frame memory and reading the image data from the frame memory at a timing asynchronous with the input image data,
A first step of subtracting the image data of the previous frame stored in the frame memory from the image data of the current frame;
A second step of detecting whether the image data of the current frame is image data repeated by pull-down processing based on the subtraction result in the first step;
A third step for holding the detection result in the second step;
A fourth step of measuring a period of a vertical synchronization signal included in the input image data;
A fifth step for identifying whether or not the measurement result in the fourth step has a predetermined period;
A sixth step for holding the identification result in the fifth step;
When reading image data from the frame memory, the image data read from the frame memory is repeated by the pull-down process based on the detection result held in the third step and the identification result held in the sixth step. And a seventh step of determining whether or not the image data is an image data.
前記第7ステップでは、前記第6ステップで保持した前記識別結果が、前記所定の周期でないことを示すときは、1フレーム前の画像データを読み出す際に、前記第2ステップでの検出結果に関係なくプルダウン処理により繰り返された画像データと判定する
ことを特徴とする請求項10記載の画像処理方法。
In the seventh step, when the identification result held in the sixth step indicates that it is not the predetermined cycle, when the image data of the previous frame is read, the detection result in the second step is related. The image processing method according to claim 10, wherein the image data is determined to be repeated by pull-down processing.
前記第7ステップでは、前記第6ステップで保持した前記識別結果が前記所定の周期であることを示し、かつ1フレーム前の画像データに対応して前記第6ステップで保持した前記識別結果が前記所定の周期でないことを示すときは、前記第2ステップでの検出結果に関係なくプルダウン処理により繰り返されていない画像データと判定する
ことを特徴とする請求項10記載の画像処理方法。
In the seventh step, the identification result held in the sixth step indicates the predetermined cycle, and the identification result held in the sixth step corresponding to the image data one frame before is 11. The image processing method according to claim 10, wherein when it indicates that the period is not a predetermined period, it is determined that the image data is not repeated by the pull-down process regardless of the detection result in the second step.
JP2003320921A 2003-09-12 2003-09-12 Image processor and image processing method Pending JP2005094094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003320921A JP2005094094A (en) 2003-09-12 2003-09-12 Image processor and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003320921A JP2005094094A (en) 2003-09-12 2003-09-12 Image processor and image processing method

Publications (1)

Publication Number Publication Date
JP2005094094A true JP2005094094A (en) 2005-04-07

Family

ID=34452751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003320921A Pending JP2005094094A (en) 2003-09-12 2003-09-12 Image processor and image processing method

Country Status (1)

Country Link
JP (1) JP2005094094A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005295134A (en) * 2004-03-31 2005-10-20 Pioneer Electronic Corp Adaptive frame synchronization system
JP2008118223A (en) * 2006-10-31 2008-05-22 Toshiba Corp Pull-down signal detecting apparatus and method, and video-signal converting apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005295134A (en) * 2004-03-31 2005-10-20 Pioneer Electronic Corp Adaptive frame synchronization system
JP2008118223A (en) * 2006-10-31 2008-05-22 Toshiba Corp Pull-down signal detecting apparatus and method, and video-signal converting apparatus
US8203650B2 (en) 2006-10-31 2012-06-19 Kabushiki Kaisha Toshiba Pull-down signal detecting apparatus, pull-down signal detecting method, and video-signal converting apparatus

Similar Documents

Publication Publication Date Title
JP3106987B2 (en) Audio / video synchronous playback device
JP4762052B2 (en) Stream data processing apparatus and stream data processing method
US8144791B2 (en) Apparatus, method, and medium for video synchronization
US6337883B1 (en) Method and apparatus for synchronously reproducing audio data and video data
JP2009517947A (en) Method and apparatus for detecting video data errors
US7460182B2 (en) Circuit for processing video signal including information such as caption
US20080211962A1 (en) Frame synchronizer circuit
US8666187B2 (en) Image reproduction apparatus and image reproduction method
JP2012105236A (en) Synchronous control apparatus and synchronous control method
JP2005094094A (en) Image processor and image processing method
JP2002520638A (en) Multiple image display by reading image data from memory
US7551227B2 (en) Signal processor
JP2007081500A (en) Image processing apparatus, method and program for deciding field order of moving image data
JP2003324690A (en) Video record playback device
US8264603B2 (en) Film-mode video stream handling method and system
JP3721867B2 (en) Video display device and display method
US20110229109A1 (en) Chapter information creation apparatus and control method therefor
US6819363B2 (en) Video signal processing device
JP6952615B2 (en) Video transmission device and video transmission method
JP2004023541A (en) Frame deviation detecting apparatus
JP3171178B2 (en) MPEG video decoding device
JP3509658B2 (en) Operation mode switching circuit and method
JP2005295134A (en) Adaptive frame synchronization system
JP3770823B2 (en) Frame synchronizer
US8625026B2 (en) Apparatus and method for detecting video film with mix mode