JP5622990B2 - Image processing apparatus, image display system, and image processing method - Google Patents
Image processing apparatus, image display system, and image processing method Download PDFInfo
- Publication number
- JP5622990B2 JP5622990B2 JP2011013003A JP2011013003A JP5622990B2 JP 5622990 B2 JP5622990 B2 JP 5622990B2 JP 2011013003 A JP2011013003 A JP 2011013003A JP 2011013003 A JP2011013003 A JP 2011013003A JP 5622990 B2 JP5622990 B2 JP 5622990B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- bank
- writing
- selection value
- banks
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
本発明は、画像を処理する技術に関する。 The present invention relates to a technique for processing an image.
表示装置への表示に用いる映像信号は、画像(フレーム)を所定の周期で含んでいる。このような映像信号を処理対象とする画像処理装置は、映像信号の同期タイミングを調整するために、画像を記憶するフレームメモリを一般に利用する。例えば、画像処理装置は、映像信号に含まれる画像をフレームメモリに周期的に書き込む。そして、画像処理装置は、このフレームメモリから所定のタイミングで画像を周期的に読み出すことにより、映像信号の同期タイミングを調整することができる。 The video signal used for display on the display device includes images (frames) at a predetermined cycle. An image processing apparatus that processes such a video signal generally uses a frame memory that stores an image in order to adjust the synchronization timing of the video signal. For example, the image processing apparatus periodically writes an image included in the video signal in the frame memory. The image processing apparatus can adjust the synchronization timing of the video signal by periodically reading out images from the frame memory at a predetermined timing.
フレームメモリには、それぞれ画像を記憶可能な複数のバンクが設けられる。画像処理装置は、画像の書き込み対象とするバンクと、画像の読み出し対象とするバンクとを異ならせることで、書き込み途中の画像を読み出すことを防止するようにしている。 The frame memory is provided with a plurality of banks each capable of storing an image. The image processing apparatus prevents an image being written from being read by making the bank to which the image is to be written different from the bank to which the image is to be read.
なお、本明細書で説明する技術に関連する技術を開示した文献として特許文献1がある。
Note that there is
ところで、フレームメモリへの画像の書き込みタイミングを規定する同期信号と、画像の読み出しタイミングを規定する同期信号とは異なる水晶振動子に基づいて生成される。水晶振動子には個体差がある。このため、画像の書き込み周期と画像の読み出し周期とを設計上において一致させたとしても、画像の書き込みタイミングと画像の読み出しタイミングとの相対関係は時間経過に伴って変化する。 By the way, the synchronization signal that defines the timing for writing the image to the frame memory and the synchronization signal that defines the timing for reading the image are generated based on different crystal oscillators. There are individual differences in crystal units. For this reason, even if the image writing cycle and the image reading cycle are matched in design, the relative relationship between the image writing timing and the image reading timing changes with time.
このようなタイミングの変化に起因して、画像の書き込み対象とするバンクと、画像の読み出し対象とするバンクとが競合する(すなわち、同一となる)可能性がある。このようなバンクの競合が発生すると、書き込み途中の不完全な画像を読み出す恐れがある。 Due to such a change in timing, there is a possibility that the bank to which the image is to be written and the bank from which the image is to be read compete (that is, the same). When such a bank conflict occurs, an incomplete image in the middle of writing may be read.
このため、従来の画像処理装置では、書き込み対象とするバンクと読み出し対象とするバンクとが競合するか否かを常時に監視して、競合する場合は読み出し対象とするバンクを他のバンクに変更するという複雑な手法によってこのような競合を回避するようにしていた。 For this reason, the conventional image processing apparatus constantly monitors whether or not the bank to be written and the bank to be read conflict, and if there is a conflict, the bank to be read is changed to another bank. Such a conflict was avoided by a complicated method.
しかしながら、このような複雑な手法を採用した場合、フレームメモリを制御する制御部の回路規模が大きくなり、コストの上昇や回路の設計ミスに繋がる可能性がある。 However, when such a complicated method is employed, the circuit scale of the control unit that controls the frame memory increases, which may lead to an increase in cost and a circuit design error.
本発明は、上記課題に鑑みてなされたものであり、単純な手法でバンクの競合を回避できる技術を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique capable of avoiding bank competition by a simple method.
上記課題を解決するため、請求項1の発明は、画像を処理する画像処理装置であって、連続する識別番号が割り振られた複数のバンクを有するメモリと、前記複数のバンクのうち第1選択値に対応する識別番号のバンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む書込手段と、前記複数のバンクのうち第2選択値に対応する識別番号のバンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す読出手段と、前記書込タイミングごとに前記第1選択値を番号順に変更する変更手段と、前記読出タイミングごとに前記第1選択値に一定のオフセット値を加算した値を、前記第2選択値に設定する設定手段と、を備えている。
In order to solve the above-mentioned problem, the invention of
また、請求項2の発明は、請求項1に記載の画像処理装置において、前記オフセット値は−1である。 According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the offset value is -1.
また、請求項3の発明は、画像処理装置であって、複数のバンクを有するメモリと、前記複数のバンクのうちの一のバンクである書込対象バンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む書込手段と、前記複数のバンクのうちの一のバンクである読出対象バンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す読出手段と、前記書込タイミングごとに前記書込対象バンクを変更する変更手段と、前記読出タイミングごとに前記複数のバンクのうち前記書込手段による前記画像の書き込みが直近に完了したバンクを、前記読出対象バンクに設定する設定手段と、を備えている。
According to a third aspect of the present invention, there is provided an image processing apparatus comprising: a memory having a plurality of banks; and a write based on a first synchronization signal in a write target bank which is one of the plurality of banks. The image is written at a read timing based on a second synchronization signal different from the first synchronization signal from a writing means for periodically writing an image at a timing and a read target bank which is one of the plurality of banks. complete reading means for periodically reading and changing means for changing the write target banks for each of the write timing, the last write of the image by the writing means of the plurality of banks for each of the read timing Setting means for setting the bank as the read target bank.
また、請求項4の発明は、画像を表示する画像表示システムであって、請求項1ないし3のいずれかに記載の画像処理装置と、前記画像処理装置の前記読出手段に読み出された画像を表示する表示手段と、を備えている。 According to a fourth aspect of the present invention, there is provided an image display system for displaying an image, wherein the image processing apparatus according to any one of the first to third aspects and an image read by the reading means of the image processing apparatus. Display means for displaying.
また、請求項5の発明は、画像を処理する画像処理方法であって、(a)メモリが備える連続する識別番号が割り振られた複数のバンクのうち第1選択値に対応する識別番号のバンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む工程と、(b)前記複数のバンクのうち第2選択値に対応する識別番号のバンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す工程と、(c)前記書込タイミングごとに前記第1選択値を番号順に変更する工程と、(d)前記読出タイミングごとに前記第1選択値に一定のオフセット値を加算した値を、前記第2選択値に設定する工程と、を備えている。
The invention of
また、請求項6の発明は、画像を処理する画像処理方法であって、(a)メモリが備える複数のバンクのうちの一のバンクである書込対象バンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む工程と、(b)前記複数のバンクのうちの一のバンクである読出対象バンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す工程と、(c)前記書込タイミングごとに前記書込対象バンクを変更する工程と、(d)前記読出タイミングごとに前記複数のバンクのうち前記工程(a)の前記画像の書き込みが直近に完了したバンクを、前記読出対象バンクに設定する工程と、を備えている。 According to a sixth aspect of the present invention, there is provided an image processing method for processing an image, wherein: (a) a write based on a first synchronization signal is written in a write target bank which is one of a plurality of banks included in a memory . A step of periodically writing an image at a read timing ; and (b) from a read target bank, which is one of the plurality of banks, at a read timing based on a second synchronization signal different from the first synchronization signal. A step of periodically reading an image, (c) a step of changing the bank to be written at each write timing , and (d) the step (a) of the plurality of banks at each read timing. And a step of setting a bank in which image writing has been completed most recently as the bank to be read.
請求項1ないし5の発明によれば、第1選択値に一定のオフセット値を加算した値を第2選択値に設定するため、単純な手法でバンクの競合を回避できる。 According to the first to fifth aspects of the present invention, a value obtained by adding a certain offset value to the first selection value is set as the second selection value, so that bank competition can be avoided by a simple method.
また、特に請求項2の発明によれば、第1選択値に1を減算した値を第2選択値として設定するため、画像の書き込みが直近に完了したバンクから画像を読み出すことができ、画像を速やかに処理することができる。
In particular, according to the invention of
また、特に請求項3の発明によれば、書込手段による画像の書き込みが直近に完了したバンクを読出対象バンクに設定するため、単純な手法でバンクの競合を回避できる。
In particular, according to the invention of
以下、図面を参照しつつ本発明の実施の形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<1.システムの構成>
図1は、本実施の形態の画像表示システム10の概略構成を示す図である。この画像表示システム10は、自動車などの車両に搭載され、当該車両の周辺の様子を示す画像を車室内に表示する機能を有している。より具体的には、画像表示システム10は、車両の後方に設けられる車載カメラ1と車室内に設けられる表示装置3とを備えており、車載カメラ1で取得された車両の後方を示す画像を表示装置3に表示するバックモニタシステムとして機能する。
<1. System configuration>
FIG. 1 is a diagram showing a schematic configuration of an
画像表示システム10は、車載カメラ1と表示装置3とともに、画像処理装置2を備えている。画像処理装置2は、車載カメラ1で取得された画像を表示に適合するように調整して、表示装置3に表示させる。画像処理装置2は、画像取得部21、メモリ制御部22、画像出力部23及びフレームメモリ24を備えている。
The
画像取得部21は、車載カメラ1からアナログの画像を所定の周期で取得し、その画像をデジタルの画像に変換(A/D変換)する。これにより、画像取得部21は、デジタルの画像を所定の周期で含む映像信号を出力する。この映像信号は、インターレース方式に対応しており、一つおきに水平ラインを有するインターレース画像(フィールド)を所定の周期で含んでいる。
The
メモリ制御部22は、例えば、ASICなどの集積回路である。メモリ制御部22は、フレームメモリ24を利用して、インターレース方式に対応した映像信号を、プログレッシブ方式の映像信号に変換する。これとともに、メモリ制御部22は、映像信号の同期タイミングを、表示装置3の同期タイミングに適合するように調整する。これにより、メモリ制御部22は、全ての水平ラインを有するプログレッシブ画像(フレーム)を所定の周期で含み、表示に適合するように同期タイミングが調整された映像信号を出力する。
The
画像出力部23は、メモリ制御部22から出力された映像信号を、表示装置3に出力する。これにより、車両の後方の様子を示す画像が表示装置3に表示される。
The
また、画像表示システム10は、システム全体を統括的に制御するシステム制御部5を備えている。システム制御部5は、車両に設けられるシフトセンサ9から車両のシフトポジション(”P(駐車)”,”D(前進)”,”N(中立)”,”R(後退)”など)を示す信号を受信する。そして、システム制御部5は、シフトポジションが”R(後退)”となった場合に、車載カメラ1、画像処理装置2及び表示装置3を起動し、車両の後方の様子を示す画像を表示装置3に表示させる。これにより、ユーザは、車両を後退させる場合に車両の後方の様子を略リアルタイムに確認できるようになっている。
Further, the
<2.画像処理装置>
次に、画像処理装置2についてさらに詳細に説明する。図2は、画像処理装置2の詳細な構成を示す図である。
<2. Image processing device>
Next, the
図に示すように、フレームメモリ24は、4つのバンクB1〜B4を備えている。これら4つのバンクB1〜B4はそれぞれフレームメモリ24の記憶領域の一部であり、これらは互いに異なる部分に設定される。4つのバンクB1〜B4はそれぞれ、映像信号の一のフレームを記憶可能な記憶容量を有している。
As shown in the figure, the
また、4つのバンクB1〜B4にはそれぞれ異なる識別番号が割り振られている。4つのバンクB1〜B4に割り振られた4つの識別番号には連続した整数が採用される。例えば、第1バンクB1の識別番号は「1」、第2バンクB2の識別番号は「2」、第3バンクB3の識別番号は「3」、第4バンクB4の識別番号は「4」となっている。 Different identification numbers are assigned to the four banks B1 to B4, respectively. Successive integers are adopted for the four identification numbers assigned to the four banks B1 to B4. For example, the identification number of the first bank B1 is “1”, the identification number of the second bank B2 is “2”, the identification number of the third bank B3 is “3”, and the identification number of the fourth bank B4 is “4”. It has become.
また、図に示すように、メモリ制御部22は、画像書込部41と、書込カウンタ42と、画像読出部43と、読出設定部44とを備えている。
As shown in the figure, the
画像書込部41は、画像取得部21から出力された映像信号(以下、「入力映像信号」という。)に含まれる画像をフレームメモリ24に周期的に書き込む。前述のように、入力映像信号は、インターレース方式に対応し、奇数フィールドと偶数フィールドとを交互に含んでいる。これら奇数フィールドと偶数フィールドとを合わせたものが一のフレームとなる。入力映像信号には、例えば1/60秒ごとにフィールドが含まれている。したがって、入力映像信号には、1/30秒ごとにフレームが含まれる。
The
画像書込部41は、入力映像信号に含まれるフレームをフレームメモリ24に周期的(1/30秒ごと)に書き込む。画像書込部41は、奇数フィールドと偶数フィールドとの一組を書き込むことにより、一のフレーム(奇数フィールドと偶数フィールドとの組からなるプログレッシブ画像)をフレームメモリ24に書き込む。画像書込部41は、一のフレームを、4つのバンクB1〜B4のいずれか一のバンクに書き込む。
The
画像読出部43は、フレームメモリ24に形成されたプログレッシブ画像を、フレームメモリ24から周期的に読み出す。このように画像読出部43に読み出された画像を含む映像信号が画像出力部23を介して表示装置3に出力され、映像信号(以下、「出力映像信号」という。)に含まれる画像が表示装置3に表示される。
The
画像読出部43は、4つのバンクB1〜B4のいずれかから、表示装置3の同期タイミングに合わせて1/30秒ごとにフレーム(プログレッシブ画像)を読み出す。これにより、画像読出部43は、1/30秒ごとにフレームを含み、表示に適合するように同期タイミングが調整された出力映像信号を生成する。
The
書込カウンタ42は、画像書込部41が画像の書き込み対象とするバンクの選択に用いる変数である第1選択値V1を変更する。書込カウンタ42は、画像書込部41が一のフレームを書き込むごとに、第1選択値V1を番号順に1ずつ増加させる。具体的には、書込カウンタ42は、第1選択値V1を「1」、「2」、「3」、「4」の順で変更し、第1選択値V1が「4」の場合は「1」に変更する。
The
画像書込部41は、第1選択値V1に対応する識別番号のバンクに、フレームを書き込む。具体的には、画像書込部41は、第1選択値V1が「1」のときは識別番号が「1」の第1バンクB1にフレームを書き込む。同様に、画像書込部41は、第1選択値V1が「2」のときは第2バンクB2、第1選択値V1が「3」のときは第3バンクB3、第1選択値V1が「4」のときは第4バンクB4にそれぞれフレームを書き込むことになる。
The
また、読出設定部44は、画像読出部43がフレームの読み出し対象とするバンクの選択に用いる変数である第2選択値V2を設定する。画像読出部43は、読出設定部44が設定した第2選択値V2に対応する識別番号のバンクからフレームを読み出す。具体的には、画像読出部43は、第2選択値V2が「1」のときは識別番号が「1」の第1バンクB1からフレームを読み出す。同様に、画像読出部43は、第2選択値V2が「2」のときは第2バンクB2、第2選択値V2が「3」のときは第3バンクB3、第2選択値V2が「4」のときは第4バンクB4からそれぞれフレームを読み出すことになる。
Further, the
画像書込部41がフレームを書き込む周期と、画像読出部43がフレームを読み出す周期とは、ともに設計上において1/30秒となっている。このため、理論的には、フレームの書き込みタイミングとフレームの読み出しタイミングとの相対関係は一定となり、タイミング相互の間隔に変化が生じることはない。しかしながら、フレームの書き込みタイミングを規定する同期信号と、フレームの読み出しタイミングを規定する同期信号とは異なる水晶振動子に基づいて生成される。そして、水晶振動子には個体差があるため、フレームを書き込む周期とフレームを読み出す周期とに僅かな差が発生し、フレームの書き込みタイミングとフレームの読み出しタイミングとの相対関係は時間経過に伴って変化する。
The cycle in which the
このようなタイミングの変化に起因して、フレームの書き込み対象とするバンクとフレームの読み出し対象とするバンクとが競合する(すなわち、同一となる)と、画像書込部41が書き込み途中の不完全な画像を画像読出部43が読み出す恐れがある。例えば、奇数ラインが上書き後のデータである一方で、偶数ラインが上書き前のデータとなる画像を画像読出部43がフレームとして読み出す可能性がある。
Due to such a change in timing, when the bank to which the frame is to be written competes with the bank from which the frame is to be read (that is, the same), the
読出設定部44は、このようなバンクの競合を回避するように、第1選択値V1に基づいて第2選択値V2を設定する。具体的には、読出設定部44は、第1選択値V1に一定のオフセット値を加算した値を第2選択値V2に設定することになるが詳細は後述する。
The
<3.処理>
次に、メモリ制御部22の処理の流れを具体的に説明する。まず、メモリ制御部22の書き込み側の処理部(画像書込部41及び書込カウンタ42)の処理の流れについて説明する。図3は、メモリ制御部22の書き込み側の処理部の処理の流れを示す図である。
<3. Processing>
Next, the processing flow of the
まず、入力映像信号の同期信号に基づいて、入力映像信号の一のフレームを書き込むべき書込タイミングであるか否かが判断される(ステップS11)。 First, based on the synchronization signal of the input video signal, it is determined whether or not it is a write timing for writing one frame of the input video signal (step S11).
書込タイミングの場合は(ステップS11にてYes)、まず、書込カウンタ42が第1選択値V1を1増加する(ステップS12)。続いて、画像書込部41が、この第1選択値V1に対応する識別番号のバンクに、一のフレームを書き込む。すなわち、画像書込部41は、入力映像信号の奇数フィールドと偶数フィールドとの一組を一のバンクに書き込む(ステップS13)。
In the case of the write timing (Yes in step S11), first, the
このようなメモリ制御部22の書き込み側の処理部の処理(ステップS12,S13)は、書込タイミングごと(1/30秒ごと)に繰り返される。 Such processing of the processing unit on the writing side of the memory control unit 22 (steps S12 and S13) is repeated at every writing timing (every 1/30 seconds).
図4は、入力映像信号に含まれる連続するフレームFが書き込まれるバンクを示すタイムチャートである。書込カウンタ42は、書込タイミングごと、すなわち、画像書込部41が一のフレームFを書き込むごとに、第1選択値V1を番号順(「1」、「2」、「3」、「4」、「1」、「2」…)に変更する。これにより、書込カウンタ42は実質的に、画像書込部41が書き込み対象とするバンク(以下、「書込対象バンク」)を変更する。
FIG. 4 is a time chart showing banks in which successive frames F included in the input video signal are written. The
したがって、書込対象バンクは、4つのバンクB1〜B4の識別番号の番号順に変更される。すなわち、図4に示すように、画像書込部41は、入力映像信号に含まれる連続するフレームF(奇数フィールドと偶数フィールドとの組)を、識別番号の順(「1」、「2」、「3」、「4」、「1」、「2」…)に、4つのバンクB1〜B4に順次に書き込むことになる。
Therefore, the write target bank is changed in the order of the identification numbers of the four banks B1 to B4. That is, as shown in FIG. 4, the
次に、メモリ制御部22の読み出し側の処理部(画像読出部43及び読出設定部44)の処理の流れについて説明する。図5は、メモリ制御部22の読み出し側の処理部の処理の流れを示す図である。
Next, a processing flow of the processing unit (
まず、表示装置3に同期タイミングに合わせた同期信号に基づいて、出力映像信号の一のフレームを読み出すべき読出タイミングであるか否かが判断される(ステップS21)。 First, it is determined whether or not it is the read timing at which one frame of the output video signal is to be read based on the synchronization signal that matches the synchronization timing of the display device 3 (step S21).
読出タイミングの場合は(ステップS21にてYes)、まず、読出設定部44が第1選択値V1に基づいて第2選択値V2を設定する。具体的には、読出設定部44は、その時点における書込対象バンクを示す第1選択値V1を、書込カウンタ42から取得する。そして、読出設定部44は、第1選択値V1に一定のオフセット値である「+3」を加算した値を第2選択値V2に設定する(ステップS22)。
In the case of the read timing (Yes in step S21), first, the
なお、第1選択値V1に「3」を加算した結果が「4」を超える場合は、読出設定部44は、その結果からバンクの総数「4」を減算した値を第2選択値V2に設定する。したがって、第1選択値V1が「1」の場合は第2選択値V2は「4」、第1選択値V1が「2」の場合は第2選択値V2は「1」、第1選択値V1が「3」の場合は第2選択値V2は「2」、第1選択値V1が「4」の場合は第2選択値V2は「3」にそれぞれ設定される。
If the result of adding “3” to the first selection value V1 exceeds “4”, the
そして、画像読出部43が、この第2選択値V2に対応する識別番号のバンクから、出力映像信号の一のフレームを読み出すことになる(ステップS23)。
Then, the
このようなメモリ制御部22の読み出し側の処理部の処理(ステップS22,S23)は、読出タイミングごと(1/30秒ごと)に繰り返される。 Such processing of the processing unit on the reading side of the memory control unit 22 (steps S22 and S23) is repeated at every reading timing (every 1/30 seconds).
上記では、第1選択値V1にオフセット値「+3」を加算した値を第2選択値V2に設定すると説明したが、この処理は、第1選択値V1にオフセット値「−1」を加算した値を第2選択値V2に設定することと同義である。換言すれば、この処理は、第1選択値V1からオフセット値「+1」を減算した値を第2選択値V2に設定することであるともいえる。 In the above description, the value obtained by adding the offset value “+3” to the first selection value V1 is set as the second selection value V2. However, in this process, the offset value “−1” is added to the first selection value V1. This is synonymous with setting the value to the second selection value V2. In other words, it can be said that this process is to set a value obtained by subtracting the offset value “+1” from the first selection value V1 as the second selection value V2.
すなわち、読出設定部44は実質的に、その時点の書込対象バンクに対して識別番号の番号順で1つ前となるバンクを、画像読出部43が読み出し対象とするバンク(以下、「読出対象バンク」という。)に設定することになる。前述のように、書込対象バンクは4つのバンクB1〜B4の識別番号の番号順に変更される。したがって、読出設定部44は、フレームFの書き込みが直近に完了したバンク(前回の書込対象バンク)を読出対象バンクに設定することになる。
In other words, the
画像表示システム10では、このように読出設定部44が第1選択値V1に一定のオフセット値を加算した値を第2選択値V2に設定することで、バンクの競合が回避される。
In the
図6は、画像書込部41がフレームを書き込む周期が、画像読出部43がフレームを読み出す周期よりも短い場合における、書込対象バンクと読出対象バンクとの関係を示すタイムチャートである。なお、説明の便宜上、図中では、フレームを書き込む周期とフレームを読み出す周期とに明確な差を設けているが、実際にはこれらの差は微差である。
FIG. 6 is a time chart showing the relationship between the write target bank and the read target bank when the cycle in which the
第1選択値V1は書込タイミングごとに番号順(「1」、「2」、「3」、「4」、「1」、「2」…)に変更されることから、書込対象バンクは4つのバンクB1〜B4の識別番号の番号順に変更される。 Since the first selection value V1 is changed in order of numbers (“1”, “2”, “3”, “4”, “1”, “2”...) At each writing timing, Are changed in the order of the identification numbers of the four banks B1 to B4.
一方、読出対象バンクは、読出タイミングとなる時点T11〜T14における第1選択値V1に基づいて設定される。 On the other hand, the read target bank is set based on the first selection value V1 at the time points T11 to T14 which is the read timing.
時点T11では、第1選択値V1は「1」であるため第2選択値V2は「4」となり、読出対象バンクは第4バンクB4となる。時点T12では、第1選択値V1は「2」であるため第2選択値V2は「1」となり、読出対象バンクは第1バンクB1となる。時点T13では、第1選択値V1は「4」であるため第2選択値V2は「3」となり、読出対象バンクは第3バンクB3となる。時点T14では、第1選択値V1は「1」であるため第2選択値V2は「4」となり、読出対象バンクは第4バンクB4となる。 At time T11, the first selection value V1 is “1”, so the second selection value V2 is “4”, and the read target bank is the fourth bank B4. At time T12, since the first selection value V1 is “2”, the second selection value V2 is “1”, and the read target bank is the first bank B1. At time T13, since the first selection value V1 is “4”, the second selection value V2 is “3”, and the read target bank is the third bank B3. At time T14, since the first selection value V1 is “1”, the second selection value V2 is “4”, and the read target bank is the fourth bank B4.
このように、読出タイミングとなる時点T11〜T14のいずれであっても、フレームFの書き込みが直近に完了したバンク(前回の書込対象バンク)が読出対象バンクに設定される。このため、バンクの競合が発生することはない。なお、時点T13においては、読出対象バンクが、第1バンクB1から第3バンクB3に移り、第2バンクB2に記録されたフレームが間引きされている。 In this way, at any time point T11 to T14 that is the read timing, the bank in which the writing of the frame F has been completed most recently (the previous write target bank) is set as the read target bank. Therefore, there is no bank conflict. At time T13, the bank to be read moves from the first bank B1 to the third bank B3, and the frames recorded in the second bank B2 are thinned out.
図7は、画像書込部41がフレームを書き込む周期が、画像読出部43がフレームを読み出す周期よりも長い場合における、書込対象バンクと読出対象バンクとの関係を示すタイムチャートである。なお、説明の便宜上、図中では、フレームを書き込む周期とフレームを読み出す周期とに明確な差を設けているが、実際にはこれらの差は微差である。
FIG. 7 is a time chart showing the relationship between the write target bank and the read target bank when the cycle in which the
この場合も、第1選択値V1は書込タイミングごとに番号順(「1」、「2」、「3」、「4」、「1」、「2」…)に変更されることから、書込対象バンクは4つのバンクB1〜B4の識別番号の番号順に変更される。 Also in this case, the first selection value V1 is changed in order of numbers (“1”, “2”, “3”, “4”, “1”, “2”...) At each writing timing. The write target banks are changed in the order of the identification numbers of the four banks B1 to B4.
また、読出対象バンクは、読出タイミングとなる時点T21〜T26における第1選択値V1に基づいて設定される。 Further, the bank to be read is set based on the first selection value V1 at the time points T21 to T26 that are the read timing.
時点T21では、第1選択値V1は「1」であるため第2選択値V2は「4」となり、読出対象バンクは第4バンクB4となる。時点T22では、第1選択値V1は「2」であるため第2選択値V2は「1」となり、読出対象バンクは第1バンクB1となる。時点T23では、第1選択値V1は「3」であるため第2選択値V2は「2」となり、読出対象バンクは第2バンクB2となる。時点T24では、第1選択値V1は「3」であるため第2選択値V2は「2」となり、読出対象バンクは第2バンクB2となる。時点T25では、第1選択値V1は「4」であるため第2選択値V2は「3」となり、読出対象バンクは第3バンクB3となる。時点T26では、第1選択値V1は「1」であるため第2選択値V2は「4」となり、読出対象バンクは第4バンクB4となる。 At time T21, since the first selection value V1 is “1”, the second selection value V2 is “4”, and the read target bank is the fourth bank B4. At time T22, since the first selection value V1 is “2”, the second selection value V2 is “1”, and the read target bank is the first bank B1. At time T23, since the first selection value V1 is “3”, the second selection value V2 is “2”, and the read target bank is the second bank B2. At time T24, since the first selection value V1 is “3”, the second selection value V2 is “2”, and the read target bank is the second bank B2. At time T25, the first selection value V1 is “4”, so the second selection value V2 is “3”, and the read target bank is the third bank B3. At time T26, since the first selection value V1 is “1”, the second selection value V2 is “4”, and the read target bank is the fourth bank B4.
このように、読出タイミングとなる時点T21〜T26のいずれであっても、フレームFの書き込みが直近に完了したバンク(前回の書込対象バンク)が読出対象バンクに設定される。このため、バンクの競合が発生することはない。なお、時点T24においては、読出対象バンクが第2バンクB2のまま維持されており、第2バンクB2に記録されたフレームが重複して読み出されている。 In this way, at any time T21 to T26 that is the read timing, the bank in which writing of the frame F has been completed most recently (previous write target bank) is set as the read target bank. Therefore, there is no bank conflict. At time T24, the bank to be read is maintained as the second bank B2, and the frames recorded in the second bank B2 are read out redundantly.
以上説明したように、画像表示システム10では、フレームメモリ24が、連続する識別番号が割り振られた複数のバンクB1〜B4を有している。画像書込部41は、第1選択値V1に対応する識別番号のバンクにフレームを周期的に書き込む。一方で、画像読出部43は、第2選択値V2に対応する識別番号のバンクからフレームを周期的に読み出す。また、書込カウンタ42は、画像書込部41がフレームを書き込むごとに第1選択値V1を番号順に変更する。そして、読出設定部44が、この第1選択値V1に一定のオフセット値を加算した値を第2選択値V2に設定することで、バンクの競合を回避する。したがって、第1選択値V1に一定のオフセット値を加算するという非常に単純な手法で、バンクの競合を回避できる。その結果、フレームメモリ24を制御するメモリ制御部22の回路規模を小さくできるため、コストを減少できるとともに、回路の設計ミスを防止できる。
As described above, in the
また、読出設定部44は、第1選択値V1にオフセット値として「−1」を加算した値を第2選択値V2に設定する。すなわち、読出設定部44は、画像書込部41によるフレームの書き込みが直近に完了したバンクを読出対象バンクに設定する。このため、単純な手法でバンクの競合を回避できるとともに、書き込みが完了したフレームを速やかに処理することができる。
Further, the
<4.変形例>
以上、本発明の実施の形態について説明してきたが、この発明は上記実施の形態に限定されるものではなく様々な変形が可能である。以下では、このような変形例について説明する。上記実施の形態で説明した形態及び以下で説明する形態を含む全ての形態は、適宜に組み合わせ可能である。
<4. Modification>
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications are possible. Below, such a modification is demonstrated. All forms including those described in the above embodiment and those described below can be combined as appropriate.
上記実施の形態では、オフセット値は「+3」あるいは「−1」であると説明したが、他の値であってもよい。 In the above embodiment, the offset value is described as “+3” or “−1”, but other values may be used.
また、上記実施の形態では、フレームを書き込む周期とフレームを読み出す周期とは設計上において一致されていると説明したが、これらの周期が異なる場合であっても、上記で説明した技術を適用することが可能である。 Further, in the above-described embodiment, it has been described that the frame writing cycle and the frame reading cycle are identical in design, but the technique described above is applied even when these cycles are different. It is possible.
また、上記実施の形態では、車両に搭載される画像表示システム10について具体的に説明したが、フレームメモリを利用する画像処理装置であればどのようなものであっても、上記で説明した技術を採用することが可能である。
In the above-described embodiment, the
3 表示装置
22 メモリ制御部
24 フレームメモリ
41 画像書込部
42 書込カウンタ
43 画像読出部
44 読出設定部
B1〜B4 バンク
F フレーム
3
Claims (6)
連続する識別番号が割り振られた複数のバンクを有するメモリと、
前記複数のバンクのうち第1選択値に対応する識別番号のバンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む書込手段と、
前記複数のバンクのうち第2選択値に対応する識別番号のバンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す読出手段と、
前記書込タイミングごとに前記第1選択値を番号順に変更する変更手段と、
前記読出タイミングごとに前記第1選択値に一定のオフセット値を加算した値を、前記第2選択値に設定する設定手段と、
を備えることを特徴とする画像処理装置。 An image processing apparatus for processing an image,
A memory having a plurality of banks assigned consecutive identification numbers;
A writing means for periodically writing an image to a bank having an identification number corresponding to a first selection value among the plurality of banks at a writing timing based on a first synchronization signal ;
Reading means for periodically reading the image at a reading timing based on a second synchronization signal different from the first synchronization signal from a bank having an identification number corresponding to a second selection value among the plurality of banks;
Changing means for changing the first selection value in numerical order at each writing timing ;
Setting means for setting, as the second selection value, a value obtained by adding a certain offset value to the first selection value at each reading timing ;
An image processing apparatus comprising:
前記オフセット値は−1であることを特徴とする画像処理装置。 The image processing apparatus according to claim 1.
The image processing apparatus, wherein the offset value is -1.
複数のバンクを有するメモリと、
前記複数のバンクのうちの一のバンクである書込対象バンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む書込手段と、
前記複数のバンクのうちの一のバンクである読出対象バンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す読出手段と、
前記書込タイミングごとに前記書込対象バンクを変更する変更手段と、
前記読出タイミングごとに前記複数のバンクのうち前記書込手段による前記画像の書き込みが直近に完了したバンクを、前記読出対象バンクに設定する設定手段と、
を備えることを特徴とする画像処理装置。 An image processing apparatus,
A memory having a plurality of banks;
Writing means for periodically writing an image to a writing target bank, which is one of the plurality of banks, at a writing timing based on a first synchronization signal ;
Reading means for periodically reading the image from a reading target bank, which is one of the plurality of banks, at a reading timing based on a second synchronization signal different from the first synchronization signal ;
Changing means for changing the write target bank at each write timing ;
Setting means for setting, as the read target bank, a bank in which writing of the image by the writing means has been completed most recently among the plurality of banks at each reading timing ;
An image processing apparatus comprising:
請求項1ないし3のいずれかに記載の画像処理装置と、
前記画像処理装置の前記読出手段に読み出された画像を表示する表示手段と、
を備えることを特徴とする画像表示システム。 An image display system for displaying an image,
An image processing apparatus according to any one of claims 1 to 3,
Display means for displaying the read image on the reading means of the image processing apparatus;
An image display system comprising:
(a)メモリが備える連続する識別番号が割り振られた複数のバンクのうち第1選択値に対応する識別番号のバンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む工程と、
(b)前記複数のバンクのうち第2選択値に対応する識別番号のバンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す工程と、
(c)前記書込タイミングごとに前記第1選択値を番号順に変更する工程と、
(d)前記読出タイミングごとに前記第1選択値に一定のオフセット値を加算した値を、前記第2選択値に設定する工程と、
を備えることを特徴とする画像処理方法。 An image processing method for processing an image,
(A) a step of periodically writing an image at a write timing based on a first synchronization signal in a bank having an identification number corresponding to the first selection value among a plurality of banks to which consecutive identification numbers provided in the memory are allocated; ,
(B) periodically reading the image at a read timing based on a second synchronization signal different from the first synchronization signal from a bank having an identification number corresponding to a second selection value among the plurality of banks;
(C) changing the first selection value in numerical order at each writing timing ;
(D) setting a value obtained by adding a certain offset value to the first selection value at each read timing as the second selection value;
An image processing method comprising:
(a)メモリが備える複数のバンクのうちの一のバンクである書込対象バンクに、第1同期信号に基づく書込タイミングで画像を周期的に書き込む工程と、
(b)前記複数のバンクのうちの一のバンクである読出対象バンクから、前記第1同期信号とは異なる第2同期信号に基づく読出タイミングで前記画像を周期的に読み出す工程と、
(c)前記書込タイミングごとに前記書込対象バンクを変更する工程と、
(d)前記読出タイミングごとに前記複数のバンクのうち前記工程(a)の前記画像の書き込みが直近に完了したバンクを、前記読出対象バンクに設定する工程と、
を備えることを特徴とする画像処理方法。 An image processing method for processing an image,
(A) periodically writing an image at a write timing based on a first synchronization signal to a write target bank that is one of a plurality of banks included in the memory;
(B) periodically reading the image at a read timing based on a second synchronization signal different from the first synchronization signal from a read target bank that is one of the plurality of banks;
(C) changing the write target bank at each write timing ;
(D) setting the bank in which the writing of the image in step (a) was completed most recently among the plurality of banks at each read timing as the read target bank;
An image processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011013003A JP5622990B2 (en) | 2011-01-25 | 2011-01-25 | Image processing apparatus, image display system, and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011013003A JP5622990B2 (en) | 2011-01-25 | 2011-01-25 | Image processing apparatus, image display system, and image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012155460A JP2012155460A (en) | 2012-08-16 |
JP5622990B2 true JP5622990B2 (en) | 2014-11-12 |
Family
ID=46837145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011013003A Active JP5622990B2 (en) | 2011-01-25 | 2011-01-25 | Image processing apparatus, image display system, and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5622990B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6836289B2 (en) * | 1999-12-20 | 2004-12-28 | Texas Instruments Incorporated | Digital still camera architecture with red and blue interpolation using green as weighting factors |
JP2001356961A (en) * | 2000-06-13 | 2001-12-26 | Nec Corp | Arbitration device |
KR100370239B1 (en) * | 2000-10-25 | 2003-01-29 | 삼성전자 주식회사 | Memory device for applying to high speed block pipelined reed-solomon decoder and method of memory access and reed-solomon decoder having the memory device |
JP4226386B2 (en) * | 2003-05-02 | 2009-02-18 | 株式会社藤商事 | Game machine |
JP2008172410A (en) * | 2007-01-10 | 2008-07-24 | Sony Corp | Imaging apparatus, image processing apparatus, image processing method, program for image processing method, and recording medium recorded with program for image processing method |
-
2011
- 2011-01-25 JP JP2011013003A patent/JP5622990B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012155460A (en) | 2012-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9210344B2 (en) | Display control device | |
JP4561353B2 (en) | Video signal processing apparatus and method, and in-vehicle camera system | |
JP6210743B2 (en) | Data processing device and data transfer control device | |
JP5952782B2 (en) | Image processing apparatus, control method therefor, program, and storage medium | |
JP6013247B2 (en) | Imaging device | |
CN102857694B (en) | Image composition equipment and control method thereof | |
JP5829122B2 (en) | Imaging apparatus and evaluation value generation apparatus | |
EP1455338A1 (en) | Image processor with frame-rate conversion | |
JP5622990B2 (en) | Image processing apparatus, image display system, and image processing method | |
JP5849724B2 (en) | Video acquisition apparatus and method | |
US20180063399A1 (en) | Image processing apparatus and method, image capturing apparatus, and storage medium | |
US11394907B2 (en) | Imaging apparatus, image processing method, and program | |
US8982235B2 (en) | Image processing device and image processing method | |
JP2009071616A (en) | Image processor and control method thereof | |
WO2013030914A1 (en) | 3d image signal processing device | |
JP2014099820A (en) | Image photographing device and image photographing method | |
US20080291323A1 (en) | Image processing device, data recording device, and method of controlling image processing device | |
JP6659195B2 (en) | Imaging device, control method thereof, and program | |
JP4424097B2 (en) | Electronic zoom device | |
JP5460710B2 (en) | Video signal processing device | |
TWI304703B (en) | Module and method for data processing | |
JP2008294574A (en) | Image processing device and control method of image processing device | |
JP2016096435A (en) | Imaging apparatus, method for controlling the same, program, and storage medium | |
JP2021097364A5 (en) | ||
JP5958039B2 (en) | Data transfer device, data transfer method, and semiconductor device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140526 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140624 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140822 |
|
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: 20140909 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140923 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5622990 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |