JP5968011B2 - Image processing apparatus and control method thereof - Google Patents
Image processing apparatus and control method thereof Download PDFInfo
- Publication number
- JP5968011B2 JP5968011B2 JP2012084086A JP2012084086A JP5968011B2 JP 5968011 B2 JP5968011 B2 JP 5968011B2 JP 2012084086 A JP2012084086 A JP 2012084086A JP 2012084086 A JP2012084086 A JP 2012084086A JP 5968011 B2 JP5968011 B2 JP 5968011B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image processing
- processing circuit
- feature
- input
- 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
Landscapes
- Image Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Description
本発明は、画像処理装置及びその制御方法に関する。 The present invention relates to an image processing apparatus and a control method thereof.
近年、画像の高解像度化が進んでいる。入力画像が高解像度の画像である場合、入力画像を1つの画像処理回路で処理することができないため、入力画像を複数の分割画像に分割して、複数の分割画像を複数の画像処理回路で処理することがある。画像処理回路は、例えばLSI(Large Scale Integration)である。
複数の分割画像を複数のLSIで処理する場合、LSI間で処理に必要な情報を通信する必要がある。処理に必要な情報は、例えば、各LSIで取得した輝度情報や色差情報、フィルタ処理に必要な画像領域の画素値などである。各LSIは、自身に入力された分割画像から取得した情報を、自身に対応するメモリに記録する。
In recent years, the resolution of images has been increased. When the input image is a high-resolution image, the input image cannot be processed by one image processing circuit. Therefore, the input image is divided into a plurality of divided images, and the plurality of divided images are processed by a plurality of image processing circuits. May be processed. The image processing circuit is, for example, an LSI (Large Scale Integration).
When processing a plurality of divided images with a plurality of LSIs, it is necessary to communicate information necessary for the processing between the LSIs. Information necessary for processing is, for example, luminance information and color difference information acquired by each LSI, pixel values of an image area necessary for filter processing, and the like. Each LSI records information acquired from the divided image input to itself in a memory corresponding to the LSI.
LSI間の通信を行うための方法として、高速バスであるPCI Express(以下、PCIe)を用いた方法がある。PCIeでは、メモリからの情報の読み出し(メモリ・リード)と、メモリへの情報の書き込み(メモリ・ライト)とでトランザクションの動作が異なる。
PCIeで使用するトランザクションには、「ポステッド・トランザクション」、「ノンポステッド・トランザクション」、「コンプリーション・トランザクション」の3つがある。
メモリ・ライトは、ポステッド・トランザクションであり、書き込み対象のLSIからの応答を必要としない。
メモリ・リードは、ノンポステッド・トランザクションであり、読み出し対象のLSIからのACKnowledge(以下、Ack)の伝送であるコンプリーション・トランザクションが必要である。メモリ・リードでは、Ackの受信タイミングにより実効速度が大きく低下する場合がある。
As a method for performing communication between LSIs, there is a method using PCI Express (hereinafter, PCIe) which is a high-speed bus. In PCIe, transaction operations differ between reading information from memory (memory read) and writing information to memory (memory write).
There are three transactions used in PCIe: “posted transaction”, “non-posted transaction”, and “completion transaction”.
The memory write is a posted transaction and does not require a response from the LSI to be written.
The memory read is a non-posted transaction and requires a completion transaction that is transmission of ACKnowledge (hereinafter, Ack) from the LSI to be read. In the memory read, the effective speed may greatly decrease depending on the reception timing of Ack.
複数の分割画像を複数のLSIで処理する従来技術は、例えば特許文献1に開示されている。具体的には、特許文献1に開示の技術では、各LSI(画像補正ブロック)が、入力された分割画像に基づいてヒストグラム、輝度総和、及び彩度総和(これらを総和データと呼ぶ)を算出する。統計値算出部は、各画像補正ブロックで算出された総和データから入力画像の統計値を算出する。そして、各LSIが、上記算出された統計値に基づいて、入力された分割画像に画像処理を施す。
A conventional technique for processing a plurality of divided images with a plurality of LSIs is disclosed in
複数の分割画像を複数のLSIで処理する場合、元画像の特徴を表す特徴画像を表示するには、各LSIで得られた特徴量(各分割画像の特徴量)を、特徴画像を生成するLSIに転送する必要がある。この転送にはPCIeのような高速バスが使用される。元画像は、複数の分割画像に分割する前の画像である。特徴画像は、例えば、画素値のヒストグラムを表す画像、波形モニタ画像、ベクトルスコープ画像などである。特徴量は、特徴画像を生成するために必要な情報であり、例えば、輝度情報、色差情報、画素値の統計量などである。
特徴画像は、元画像のフレームレート(60Hzや120Hz)で更新する必要がある。そのため、特徴画像を表示するには、限られた時間(例えば画像データの垂直ブランキング期間)内に、各LSIで得られた特徴量を特徴画像を生成するLSIに転送する必要がある。
しかし、前述したように、PCIeを用いたメモリ・リードでは、コンプリーション・トランザクションが必要となるため、通信の実効速度が大きく低下する場合がある。そのため、目標の性能を実現すること(例えば、元画像のフレームレートで特徴画像を更新すること)ができなくなる場合がある。
When processing a plurality of divided images with a plurality of LSIs, in order to display a feature image representing the features of the original image, a feature image is generated from the feature values obtained by each LSI (feature values of each divided image). It is necessary to transfer to LSI. A high-speed bus such as PCIe is used for this transfer. The original image is an image before being divided into a plurality of divided images. The feature image is, for example, an image representing a histogram of pixel values, a waveform monitor image, a vector scope image, or the like. The feature amount is information necessary for generating a feature image, and is, for example, luminance information, color difference information, a pixel value statistic, or the like.
The feature image needs to be updated at the frame rate (60 Hz or 120 Hz) of the original image. Therefore, in order to display a feature image, it is necessary to transfer the feature amount obtained by each LSI to the LSI that generates the feature image within a limited time (for example, the vertical blanking period of the image data).
However, as described above, the memory read using PCIe requires a completion transaction, and thus the effective communication speed may be greatly reduced. For this reason, the target performance may not be realized (for example, the feature image is updated at the frame rate of the original image).
本発明は、複数の分割画像を複数の画像処理回路で処理する画像処理装置において、元画像の特徴を表す特徴画像を効率よく生成することのできる技術を提供することを目的とする。 An object of the present invention is to provide a technique capable of efficiently generating a feature image representing a feature of an original image in an image processing apparatus that processes a plurality of divided images by a plurality of image processing circuits.
本発明の画像処理装置は、
画面に画像を表示する表示手段に接続可能な画像処理装置であって、
元画像を分割して得られる複数の分割画像のうち、1または2以上の分割画像からなる第1入力画像を用いて前記画面の第1領域に表示される第1表示画像を生成して出力する第1の画像処理回路と、
前記複数の分割画像のうち、前記第1入力画像とは異なる1または2以上の分割画像からなる第2入力画像を用いて前記画面の第2領域に表示される第2表示画像を生成して出力する第2の画像処理回路と、
前記第1入力画像の特徴量と前記第2入力画像の特徴量とを示す特徴画像が表示される前記画面内の位置に基づいて、前記第1の画像処理回路と前記第2の画像処理回路とを制御する制御手段と、
を備え、
前記制御手段は、
前記第1領域に前記特徴画像が表示される場合、前記第2の画像処理回路が前記第2入力画像の特徴量を前記第1の画像処理回路に書込み、かつ、前記第1の画像処理回路が前記特徴画像を含む前記第1表示画像を生成するように制御し、
前記第2領域に前記特徴画像が表示される場合、前記第1の画像処理回路が前記第1入力画像の特徴量を前記第2の画像処理回路に書込み、かつ、前記第2の画像処理回路が前記
特徴画像を含む前記第2表示画像を生成するように制御する
ことを特徴とする。
The image processing apparatus of the present invention
An image processing apparatus connectable to Viewing means that shows the image on a screen,
Among the plurality of divided images obtained by divided the original image, and generates a first display image displayed in the first area of the screen by using the first input image of one or two or more divided images a first image processing circuit for outputting,
Generating a second display image to be displayed in the second region of the screen using a second input image composed of one or more divided images different from the first input image among the plurality of divided images; A second image processing circuit for outputting ;
Based on the position of said screen wherein image showing the feature quantity of the feature quantity and the second input image of the first input image is displayed, the first image processing circuit and the second image processing circuit Control means for controlling
With
The control means includes
When the feature image is displayed in the first region, the second image processing circuit writes the feature amount of the second input image to the first image processing circuit , and the first image processing circuit Control to generate the first display image including the feature image,
When the feature image is displayed in the second region, the first image processing circuit writes the feature amount of the first input image to the second image processing circuit , and the second image processing circuit There characterized <br/> be controlled so as to generate the second display image including the <br/> feature image.
本発明の画像処理装置の制御方法は、
画面に画像を表示する表示手段に接続可能な画像処理装置であって、
元画像を分割して得られる複数の分割画像のうち、1または2以上の分割画像からなる第1入力画像を用いて前記画面の第1領域に表示される第1表示画像を生成して出力する第1の画像処理回路と、
前記複数の分割画像のうち、前記第1入力画像とは異なる1または2以上の分割画像からなる第2入力画像を用いて前記画面の第2領域に表示される第2表示画像を生成して出力する第2の画像処理回路と、
を備えた画像処理装置の制御方法であって、
前記第1入力画像の特徴量と前記第2入力画像の特徴量とを示す特徴画像が表示される前記画面内の位置に基づいて、前記第1の画像処理回路と前記第2の画像処理回路とを制御する制御ステップを有し、
前記制御ステップは、
前記第1領域に前記特徴画像が表示される場合、前記第2の画像処理回路が前記第2入力画像の特徴量を前記第1の画像処理回路に書込み、かつ、前記第1の画像処理回路が前記特徴画像を含む前記第1表示画像を生成するように制御し、
前記第2領域に前記特徴画像が表示される場合、前記第1の画像処理回路が前記第1入力画像の特徴量を前記第2の画像処理回路に書込み、かつ、前記第2の画像処理回路が前記特徴画像を含む前記第2表示画像を生成するように制御する
ことを特徴とする。
The control method of the image processing apparatus of the present invention includes:
An image on a screen an image processing equipment which can be connected to Viewing means simply showing table,
Among the plurality of divided images obtained by divided the original image, and generates a first display image displayed in the first area of the screen by using the first input image of one or two or more divided images a first image processing circuit for outputting,
Generating a second display image to be displayed in the second region of the screen using a second input image composed of one or more divided images different from the first input image among the plurality of divided images; A second image processing circuit for outputting ;
An image processing apparatus control method comprising:
Based on the position of said screen wherein image showing the feature quantity of the feature quantity and the second input image of the first input image is displayed, the first image processing circuit and the second image processing circuit And a control step for controlling
The control step includes
When the feature image is displayed in the first region, the second image processing circuit writes the feature amount of the second input image to the first image processing circuit , and the first image processing circuit Control to generate the first display image including the feature image,
When the feature image is displayed in the second region, the first image processing circuit writes the feature amount of the first input image to the second image processing circuit , and the second image processing circuit There characterized <br/> be controlled so as to generate the second display image including the feature image.
本発明によれば、複数の分割画像を複数の画像処理回路で処理する画像処理装置において、元画像の特徴を表す特徴画像を効率よく生成することができる。 According to the present invention, in an image processing apparatus that processes a plurality of divided images with a plurality of image processing circuits, it is possible to efficiently generate a feature image representing the characteristics of the original image.
以下、図面を参照して本実施形態に係る画像処理装置及びその制御方法について説明する。本実施形態に係る画像処理装置は、元画像の一部の領域に特徴画像を合成して表示するための表示用画像を生成する。特徴画像は、元画像の特徴を表す画像である。特徴画像は、例えば、元画像の輝度データのサンプリング結果である波形モニタ画像、元画像の色差データのサンプリング結果であるベクトルスコープ画像、元画像の画素値のサンプリング結果であるヒストグラム画像などである。波形モニタ画像は、元画像の水平位置または垂直位置ごとの輝度を表す。例えば、波形モニタ画像は、元画像の水平位置または垂直位置ごとに、その位置の各画素の輝度の分布を表す。ベクトルスコープ画像は、元画像の彩度と色相を表す。ヒストグラム画像は、元画像の画素値のヒストグラムを表す。 Hereinafter, an image processing apparatus and a control method thereof according to the present embodiment will be described with reference to the drawings. The image processing apparatus according to the present embodiment generates a display image for combining and displaying a feature image in a partial region of the original image. The feature image is an image representing the feature of the original image. The feature image is, for example, a waveform monitor image that is a sampling result of luminance data of the original image, a vector scope image that is a sampling result of color difference data of the original image, a histogram image that is a sampling result of pixel values of the original image, or the like. The waveform monitor image represents the luminance for each horizontal position or vertical position of the original image. For example, the waveform monitor image represents the luminance distribution of each pixel at that position for each horizontal position or vertical position of the original image. The vectorscope image represents the saturation and hue of the original image. The histogram image represents a histogram of pixel values of the original image.
図1は、本実施形態に係る画像処理装置の大まかな構成を示す図である。
図1の例では、画像処理装置100には、分割部106から複数の分割画像が入力される。そして、画像処理装置100は、複数の分割画像を処理して表示部107に出力する。
分割部106は、分割部106に入力された元画像を複数の分割画像に分割し、画像処理装置100に出力する。本実施形態では、図1に示すように、元画像が2×2の4つの分割画像に分割されて出力される。元画像は、例えば、4K2Kの画像(画像サイズが4096画素×2048画素の画像)のような高解像度の画像である。なお、分割画像の数は4つに限らない。分割画像の数は、例えば、2つや8つであってもよい。また、図1の例では、元画像がマトリクス状の複数の分割画像に分割される場合の例を示したが、元画像の分割方法はこれに限らない。例えば、元画像が短冊状の複数の分割画像に分割されてもよい。
表示部107は、画像処理装置100で処理が施された複数の分割画像を1枚の画像に合成して表示する表示装置である。
なお、本実施形態では、画像処理装置100と分割部106と表示部107がそれぞれ別体であるものとするが、この構成に限らない。例えば、画像処理装置100と分割部106と表示部107は一体であってもよい。画像処理装置100は、表示部107の機能の一部(例えば、分割画像を合成する機能)を有していてもよい。
FIG. 1 is a diagram showing a rough configuration of an image processing apparatus according to the present embodiment.
In the example of FIG. 1, a plurality of divided images are input from the dividing
The dividing
The
In the present embodiment, the
画像処理装置100は、元画像を分割して得られる複数の分割画像がそれぞれ入力され、入力された分割画像に対応する領域の表示用画像の生成を担当する、複数の画像処理回路(LSI)から構成される。本実施形態では、画像処理装置100は、2つの画像処理
回路(LSI(Large Scale Integration)101,102)から構成される。
LSI101とLSI102が連携して処理を行うことにより、元画像の一部の領域に特徴画像を合成して表示するための表示用画像が生成される。
The
By processing the
各LSIはメモリを有する。具体的には、LSI101はDRAM(Dynamic Random Access Memory)104を有し、LSI102はDRAM105を有する。
また、各LSIは、互いに通信可能(制御可能)に接続されている。本実施形態では、LSI101とLSI102はPCIe103で互いに通信可能に接続されている。
また、各LSIは、入力された分割画像に所定の画像処理を施すなどの処理を行い、表示用画像を生成する。LSIは、画像処理を行う際に、他のLSIと通信を行い、画像処理に必要な情報(例えば、統計情報やフィルタ演算に必要な画像データ)などを取得する。図1の例では、LSI101には、分割部106から出力された4つの分割画像のうちの2つが入力され、LSI102には、上記4つの分割画像のうちの残り2つが入力される。具体的には、LSI101には、元画像の左半分を構成する2つの分割画像が入力され、LSI102には、元画像の右半分を構成する2つの分割画像が入力される。以後、元画像の左半分の画像を左画像、元画像の右半分の画像を右画像と記載する。
そして、各LSIは、生成した表示用画像を表示部107に出力する。本実施形態では、LSI101,102は、生成した表示用画像を縦2つに分割して出力する。
なお、画像処理装置100に入力される画像、及び、画像処理装置100から出力される画像は、上述した画像に限らない。例えば、分割部106が元画像を左画像と右画像に分割して画像処理装置100に出力してもよい。LSI101,102は、生成した表示用画像を分割せずに表示部107に出力してもよい。
Each LSI has a memory. Specifically, the
Each LSI is connected to be communicable (controllable). In the present embodiment, the
Further, each LSI performs processing such as performing predetermined image processing on the input divided image, and generates a display image. When performing image processing, the LSI communicates with other LSIs to acquire information necessary for image processing (for example, statistical information and image data necessary for filter calculation). In the example of FIG. 1, two of the four divided images output from the dividing
Then, each LSI outputs the generated display image to the
Note that the image input to the
以下、LSI101の構成の詳細について説明する。なお、LSI102の構成は、LSI101の構成と同様であるため、その説明は省略する。
図2は、LSI101の構成の一例を示すブロック図である。
通信部201は、PCIe103を介して他のLSIと通信を行うためのI/Fである。通信部201は、PCIeのコンフィギュレーションやパケットを解釈する。
サンプリング部202は、入力された左画像から、特徴画像の生成に必要な特徴量(本実施形態では輝度データと色差データ)をサンプリング(抽出)する。サンプリング部202は、RGBデータをYCbCrデータに変換する不図示の色変換部を有しており、入力された分割画像がRGBデータとYCbCrデータのどちらのデータであっても特徴量をサンプリングすることができる。
Details of the configuration of the
FIG. 2 is a block diagram illustrating an example of the configuration of the
The
The
WDMAC203は、サンプリングされた輝度データをデータバス215を通じてDRAM104やDRAM105に書き込むDMA(Direct Memory Access)コントローラである。
WDMAC204は、サンプリングされた色差データをデータバス215を通じてDRAM104やDRAM105に書き込むDMAコントローラである。
本実施形態では、WDMAC203,204は、対応するLSI101が第1の画像処理回路であり、LSI102が第2の画像処理回路である場合に、サンプリングデータ(輝度データ、色差データ)を、LSI102のDRAM105に書き込む。また、WDMAC203,204は、対応するLSI101が第2の画像処理回路である場合に、サンプリングデータを、対応するLSI101のDRAM104に書き込む。第1の画像処理回路は、担当する領域内に特徴画像を合成する領域が含まれていない画像処理回路である。第2の画像処理回路は、担当する領域内に特徴画像を合成する領域が含まれている画像処理回路である。
すなわち、本実施形態では、左画像の領域に特徴画像が重畳される場合には、LSI1
01が第2の画像処理回路、LSI102が第1の画像処理回路となる。そして、LSI101のWDMAC203,204は、サンプリングデータをDRAM104に書き込む。LSI102のWDMAC203,204もまた、サンプリングデータをDRAM104に書き込む。右画像の領域に特徴画像が重畳される場合には、LSI101が第1の画像処理回路、LSI102が第2の画像処理回路となる。そして、LSI101のWDMAC203,204は、サンプリングデータをDRAM105に書き込む。LSI102のWDMAC203,204もまた、サンプリングデータをDRAM105に書き込む。
The
The
In this embodiment, the
That is, in the present embodiment, when the feature image is superimposed on the area of the left image, the
01 is the second image processing circuit, and the
画像処理部205は、入力された左画像に所定の画像処理を施す。所定の画像処理は、例えば、色変換処理、ノイズリダクション処理、エッジ強調処理、画像の統計量に基づいてガンマ値などを変えるダイナミック処理などである。
プロット部206は、表示用画像を生成して出力する。具体的には、対応するLSI101が第1の画像処理回路である場合に、プロット部206は、表示用画像として、上記所定の画像処理が施された左画像(LSI102の場合は右画像)を出力する。対応するLSI101が第2の画像処理回路である場合に、プロット部206は、DRAMから読み出したサンプリングデータを用いて特徴画像を生成する。そして、プロット部206は、上記所定の画像処理が施された左画像に特徴画像が合成(重畳)された画像を生成して出力する。本実施形態では、サンプリングされた輝度データから波形モニタ画像が生成され、サンプリングされた色差データからベクトルスコープ画像が生成される。
The
The plotting
RDMAC207は、対応するLSI101が第2の画像処理回路である場合に、LSI101のサンプリング部202でサンプリングされた輝度データをデータバス215を通じてDRAM104から読み出す、DMAコントローラである。
RDMAC208は、対応するLSI101が第2の画像処理回路である場合に、LSI102のサンプリング部202でサンプリングされた輝度データをデータバス215を通じてDRAM104から読み出す、DMAコントローラである。
RDMAC209は、対応するLSI101が第2の画像処理回路である場合に、LSI101のサンプリング部202でサンプリングされた色差データをデータバス215を通じてDRAM104から読み出す、DMAコントローラである。
RDMAC210は、対応するLSI101が第2の画像処理回路である場合に、LSI102のサンプリング部202でサンプリングされた色差データをデータバス215を通じてDRAM104から読み出す、DMAコントローラである。
The
The RDMAC 208 is a DMA controller that reads luminance data sampled by the
The
The
制御部211は、LSI101とLSI102の制御を行う。制御部211は、レイアウト決定部212、サンプリングデータ保存先決定部213、サンプリングデータ演算判断部214などを有する。
レイアウト決定部212は、特徴画像(波形モニタやベクトルスコープ)の表示位置、すなわち、特徴画像を合成する領域を、ユーザからの指示(ユーザ操作)に応じて決定する。具体的には、レイアウト決定部212は、特徴画像を右画像内に表示するか、左画像内に表示するかをユーザ操作に応じて決定する。ユーザからの指示は不図示の指示部から入力される。例えば、指示部はキーボード、マウス、リモコン、画像処理装置100に設けられた操作ボタンなどである。ユーザが指示部を操作することで、指示部から上記指示が入力される。
サンプリングデータ保存先決定部213は、レイアウト決定部212の結果に基づいて、サンプリングデータをDRAM104に保存するか、DRAM105に保存するかを決定する。
サンプリングデータ演算判断部214は、プロット部206が読み出した各LSIのサンプリングデータを1つのデータ群として扱うか否かを判断する。具体例については後述する。
なお、本実施形態では、LSI101がマスターとして動作し、スレーブであるLSI
102はLSI101の制御部211により、PCIを通して制御されるものとする。そのため、LSI102の制御部211は上述した処理を行わない。なお、LSI101とLSI102の両方で、特徴画像の表示位置、サンプリングデータの保存先、サンプリングデータの演算方法が判断されてもよい。また、制御部211は、LSI101,102とは別の回路であってもよい。
The
The
The sampling data storage
The sampling data calculation determination unit 214 determines whether or not to handle the sampling data of each LSI read by the
In the present embodiment, the
102 is controlled by the
上述した全てのブロックは、データバス215に接続されている。ブロック間のデータの転送は、データバス215を介して行われる。
All the blocks described above are connected to the
図3は、表示部107に表示される画像の一例を示す図である。
符号301は元画像を示す。
符号302は、特徴画像として波形モニタ画像304とベクトルスコープ画像305が元画像に重畳された画像を示す。具体的には、画像302は、波形モニタ画像304とベクトルスコープ画像305が元画像301の左半分の領域内(左画像の領域内)に合成された画像である。本実施形態では、初期状態において、画像302を表示するための表示用画像が生成される。
符号303は、波形モニタ画像304とベクトルスコープ画像305が元画像に重畳された画像を示す。具体的には、画像303は、波形モニタ画像304とベクトルスコープ画像305が元画像301の右半分の領域内(右画像の領域内)に合成された画像である。例えば、ユーザが表示領域の変更を指示することで、画像302から画像303へ表示が切り替わる。即ち、ユーザが表示領域の変更を指示することで、生成する表示用画像が、画像302を表示するための表示用画像から、画像303を表示するための表示用画像へ切り替えられる。
FIG. 3 is a diagram illustrating an example of an image displayed on the
図4は、LSI101(DRAM104)の物理アドレス空間401、PCIeバスアドレス空間402、LSI102(DRAM105)の物理アドレス空間403の一例を示している。
BASE401−1〜401−4は、物理アドレス空間401内のベースアドレスを示している。BASE402−1〜402−4は、PCIeバスアドレス空間402内のベースアドレスを示している。BASE403−1〜403−4は、物理アドレス空間403内のベースアドレスを示している。
符号404は、ベースアドレスに加算されるオフセットアドレスの一例を示す。
FIG. 4 shows an example of the
Bases 401-1 to 401-4 indicate base addresses in the
PCIeバスアドレス空間402は、画像処理装置100(画像処理装置100、分割部106、及び、表示部107からなるシステム)の起動時に、LSI101の制御部211により作成される。
PCIeバスアドレス空間402内のMEM101−2は、物理アドレス空間401のMEM101−1と、物理アドレス空間403内のWMEM101−3とに対してデータの読み書きを行う際に利用される。例えば、MEM101−2は、LSI101がDRAM105のWMEM101−3にデータを書き込む際に利用される。
PCIeバスアドレス空間402内のMEM102−2は、物理アドレス空間403のMEM102−1と、物理アドレス空間401内のWMEM102−3とに対してデータの読み書きを行う際に利用される。例えば、MEM102−2は、LSI102がDRAM104のWMEM102−3にデータを書き込む際に利用される。
このようにPCIeのアドレス空間を通してLSI101とLSI102が通信することにより、LSI101とLSI102は互いのメモリやレジスタにアクセスすることができる。なお、レジスタのアドレス空間は図示していない。
The PCIe
The MEM 101-2 in the PCIe
The MEM 102-2 in the PCIe
As described above, the
以下、マスターであるLSI101の制御部211の処理フローについて説明する。図5は、制御部211の処理フローの一例を示すフローチャートである。本フローは、例え
ば、画像処理装置100の電源がONされたことや、画像処理装置100への画像データの入力をトリガとして開始される。なお、LSI101とLSI102を接続しているPCIe103のコンフィギュレーションは完了しているものとする。
まず、画像処理装置100に画像データ(4つの分割画像)が入力される。ここではYCbCr色空間の画像データが入力されるとする。
画像データが入力されると、制御部211は、画像データの最初の垂直同期信号(元画像の垂直同期信号)のタイミングで、左画像用DMA設定を行う(ステップS501)。左画像用DMA設定は、左画像の領域内に特徴画像が合成される場合(LSI101が第2の画像処理回路であり、LSI102が第1の画像処理回路である場合)に行われる設定処理である。上述したように、本実施形態では、初期状態において、画像処理装置100は、特徴画像が元画像の左半分の領域内に合成された画像を表示するための表示用画像を生成する。そのため、最初に左画像用DMA設定が行われる。
Hereinafter, a processing flow of the
First, image data (four divided images) is input to the
When image data is input, the
ステップS501の処理について、図6を用いて説明する。図6はステップS501の処理を示すフローチャートである。
ステップS601〜S603は、LSI101に関する処理であり、ステップS604,S605は、LSI102に関する処理である。
まず、LSI101に関する処理について説明する。
ステップS601では、制御部211が、LSI101のWDMAC203がDRAM104に輝度データを書き込む際の書き込み開始アドレス203ad−1に、BASE401−1を設定する。
ステップS602では、制御部211が、LSI101のWDMAC204がDRAM104に色差データを書き込む際の書き込み開始アドレス204ad−1に、BASE401−1にオフセットアドレスofst1を加算したアドレスを設定する。
ステップS603では、制御部211が、読み出し設定(LSI101のRDMAC207〜210によるサンプリングデータの読み出し(DRAM104からの読み出し)の設定)を行う。ステップS603の処理の詳細は、後で図8を用いて説明する。
The process of step S501 will be described with reference to FIG. FIG. 6 is a flowchart showing the process of step S501.
Steps S601 to S603 are processes related to the
First, processing related to the
In step S <b> 601, the
In step S602, the
In step S <b> 603, the
次に、LSI102に関する処理について説明する。
ステップS604では、制御部211が、LSI102のWDMAC203がDRAM104に輝度データを書き込む際の書き込み開始アドレス203ad−2に、BASE403−3にオフセットアドレスofst2を加算したアドレスを設定する。
ステップS605では、制御部211が、LSI102のWDMAC203がDRAM104に色差データを書き込む際の書き込み開始アドレス204ad−2に、BASE403−3にオフセットアドレスofst3を加算したアドレスを設定する。
ステップS604,S605により、LSI102の書き込み設定(抽出したサンプリングデータをDRAM104のWMEM102−3にPICeを通して書き込む設定)が完了する。
Next, processing related to the
In step S604, the
In step S605, the
Through steps S604 and S605, the writing setting of the LSI 102 (setting for writing the extracted sampling data into the WMEM 102-3 of the
ステップS601〜S605により、LSI101で抽出されたサンプリングデータと、LSI102で抽出されたサンプリングデータとを、第2の画像処理回路であるLSI101のDRAM104に書き込むDMA設定が完了したことになる。これらのアドレス設定は、制御部211のサンプリングデータ保存先決定部213により、レイアウト決定部212からの情報に基づいて行われる。
Through steps S601 to S605, the DMA setting for writing the sampling data extracted by the
ステップS603の処理について、図8を用いて説明する。図8はステップS603の処理を示すフローチャートである。
ステップS603の処理は、第2の画像処理回路のDRAMからサンプリングデータを読み出す際の、読み出しアドレスを決定する処理である。
The process of step S603 will be described with reference to FIG. FIG. 8 is a flowchart showing the process of step S603.
The process of step S603 is a process of determining a read address when reading sampling data from the DRAM of the second image processing circuit.
ステップS801では、制御部211が、特徴画像として、波形モニタ画像を表示するのか、ベクトルスコープ画像を表示するのか、それら両方を表示するのかを判断する。波形モニタ画像のみを表示する場合には、ステップS802とステップS803の処理が行われる。ベクトルスコープ画像のみを表示する場合には、ステップS804〜S806の処理が行われる。波形モニタ画像とベクトルスコープ画像の両方を表示する場合には、ステップS802〜S806の処理が行われる。
In step S801, the
ステップS802では、制御部211が、第2の画像処理回路のRDMAC207が第2の画像処理回路内のDRAMから輝度データを読み出す際の読み出し開始アドレス207adに、書き込み開始アドレス203ad−1を設定する。即ち、読み出し開始アドレス207adとして、第2の画像処理回路で抽出された輝度データを読み出すためのアドレスが設定される。
ステップS803では、制御部211が、第2の画像処理回路のRDMAC208が第2の画像処理回路内のDRAMから輝度データを読み出す際の読み出し開始アドレス208adに、書き込み開始アドレス203ad−2を設定する。即ち、読み出し開始アドレス208adとして、第1の画像処理回路で抽出された輝度データを読み出すためのアドレスが設定される。
In step S802, the
In step S803, the
ステップS804では、制御部211が、第2の画像処理回路のRDMAC209が第2の画像処理回路内のDRAMから色差データを読み出す際の読み出し開始アドレス209adに、書き込み開始アドレス204ad−1を設定する。即ち、読み出し開始アドレス209adとして、第2の画像処理回路で抽出された色差データを読み出すためのアドレスが設定される。
ステップS805では、制御部211が、第2の画像処理回路のRDMAC210が第2の画像処理回路内のDRAMから色差データを読み出す際の読み出し開始アドレス210adに、書き込み開始アドレス204ad−2を設定する。即ち、読み出し開始アドレス210adとして、第1の画像処理回路で抽出された色差データを読み出すためのアドレスが設定される。
ステップS806では、制御部211が、RDMAC209で読み出された色差データと、RDMAC210で読み出された色差データとを1つのデータ群として扱う加算制御を行うためのイネーブル信号をONにする。ステップS806の処理は、制御部211のサンプリングデータ演算判断部214により行われる。また、ステップS806の処理は、RDMAC209とRDMAC210の色差データの読み出しタイミングを揃える処理も含む。
In step S804, the
In step S805, the
In step S806, the
第2の画像処理回路のRDMAC207〜210は、設定されたアドレスからサンプリングデータの読み出しを行う。以下、図9を用いてサンプリングデータの読み出し方法の一例を説明する。
図9の波形モニタ画像304は、横軸を元画像の水平方向位置、縦軸を輝度値とするグラフ(フレーム内の輝度分布統計量)の画像である。符号903は左画像の波形モニタ画像であり、符号904は右画像の波形モニタ画像である。第2の画像処理回路のプロット部206は、RDMAC207で読み出された輝度データと、RDMAC208で読み出された輝度データとを別々に用いて、画像903,904を生成する。具体的には、画像903は、LSI101で抽出された輝度データから生成され、画像904は、LSI102で抽出された輝度データから生成される。また、画像904が画像903の右側に隣接して描画されるように画像903,904が生成されることにより、波形モニタ画像304が生成される。
RDMAC207,208は、画像903と画像904が並列に描画(生成)されるように、輝度データの読み出しを並列に行う。また、RDMAC207,208は、画像903と画像904の生成が同時に開始されるように、同じタイミングで輝度データの読み
出しを開始する。本実施形態では、画素901から矢印で示す順番で各画素を生成して画像903を生成する処理と、画素902から矢印で示す順番で各画素を生成して画像904を生成する処理とが並列に行われるように、RDMAC207,208による読み出しが制御される。
The
The
The
図9のベクトルスコープ画像305は、元画像の彩度と色相を表す画像(例えば、縦軸をCr値、横軸をCb値とするグラフ(フレーム内の色分布統計量)の画像)である。第2の画像処理回路のプロット部206は、RDMAC209で読み出された色差データと、RDMAC210で読み出された色差データとを1つのデータ群とし、該データ群に基づいてベクトルスコープ画像305を生成する。ベクトルスコープ画像305を生成する場合に、RDMAC209で読み出された色差データと、RDMAC210で読み出された色差データとを1つのデータ群として扱うためのイネーブル信号をONとするのは、このためである。
RDMAC209,210は、画素905から矢印で示す順番で各画素を生成してベクトルスコープ画像305がされるように、同時に読み出しを開始する。
The
The
プロット部206は、例えば、読み出されたサンプリングデータに基づいて、特徴画像としてRGBデータを生成する。
For example, the plotting
図5のフローチャートの説明に戻る。
ステップS502では、制御部211が、LSI101,102のWDMAC203,204、及び、RDMAC207〜RDMAC210をイネーブルにする。本実施形態では、WDMACとRDMACは、入力された画像データ(例えば、元画像の水力同期信号)に同期してイネーブルにされる。
Returning to the flowchart of FIG.
In step S <b> 502, the
ステップS503では、LSI101のサンプリング部202と、LSI102のサンプリング部202とが、入力された画像データに同期して輝度データと色差データのサンプリングを行う。
ここでは、左画像用DMA設定がなされている。そのため、LSI101のサンプリング部202で抽出された輝度データと色差データは、LSI101のWDMAC203,204により、DRAM104にDMA転送される。LSI102のサンプリング部202で抽出された輝度データと色差データは、LSI102のWDMAC203,204により、PCIe103を介してDRAM104にDMA転送される。サンプリングデータは、入力された画像データのブランキング期間内に、DMA転送される。
In step S503, the
Here, the DMA setting for the left image is made. For this reason, the luminance data and color difference data extracted by the
ステップS504では、ユーザ操作に応じて、不図示の指示部から制御部211に特徴画像の表示指示が入力される。
ステップS505では、制御部211が、特徴画像の表示を行うことをLSI101,102のプロット部206に送信する。ここでは、左画像用DMA設定がなされているため、LSI101のRDMAC207〜210によってDRAM104からサンプリングデータが読み出され、LSI101のプロット部206により特徴画像が生成される。そして、LSI101のプロット部206は、左画像(所定の画像処理が施された左画像)に特徴画像が合成された表示用画像を生成し、表示部107に出力する。LSI102のプロット部206は、所定の画像処理が施された右画像を、表示用画像として表示部107に出力する。それにより、図3の画像302のような画像が表示部107に表示される。
In step S504, a feature image display instruction is input to the
In step S505, the
ステップS506では、制御部211は、不図示の指示部から特徴画像の表示位置の変更指示(レイアウト変更指示)が入力されるまで待機する。レイアウト変更指示があった場合には、制御部211は、レイアウト変更指示に基づいて、特徴画像を合成する領域が
左画像内の領域か、右画像内の領域かを判断する。特徴画像を合成する領域が左画像内の領域である場合にはステップS507へ処理が進められ、特徴画像を合成する領域が右画像内の領域である場合にはステップS508へ処理が進められる。
ステップS507の処理は、ステップS501(図6のフローチャート)の処理と同じであるため、その説明は省略する。
ステップS508では、制御部211は、右画像用DMA設定を行う。右画像用DMA設定は、右画像の領域内に特徴画像が合成される場合(LSI101が第1の画像処理回路であり、LSI102が第2の画像処理回路である場合)に行われる設定処理である。
ステップS509では、制御部211は、不図示の指示部から終了指示が入力されたか否かを判断する。終了指示は、例えば、画像処理装置100の電源をOFFにする指示や、特徴画像の表示を終了する指示などである。終了指示が入力されていない場合には、ステップS506へ処理が戻される。終了指示が入力された場合には、所定の終了処理が行われて本フローが終了される。例えば、終了指示が特徴画像の表示を終了する指示である場合には、制御部211が、輝度データと色差データのサンプリングを停止したり、WDMACとRDMACをディセーブルにしたり、特徴画像の生成を停止したりする。特徴画像の表示を終了する指示が入力された後、特徴画像の表示指示が入力された場合には、ステップS505からの処理が行われる。
In step S506, the
Since the process of step S507 is the same as the process of step S501 (flowchart of FIG. 6), description thereof is omitted.
In step S508, the
In step S509, the
ステップS508の処理について、図7を用いて説明する。図7はステップS508の処理を示すフローチャートである。
ステップS701,S702は、LSI101に関する処理であり、ステップS703〜S705は、LSI102に関する処理である。
まず、LSI101に関する処理について説明する。
ステップS701では、制御部211が、LSI101のWDMAC203がDRAM105に輝度データを書き込む際の書き込み開始アドレス203ad−1に、BASE401−3を設定する。
ステップS702では、制御部211が、LSI101のWDMAC204がDRAM105に色差データを書き込む際の書き込み開始アドレス204ad−1に、BASE401−3にオフセットアドレスofst1を加算した値を設定する。
ステップS701,S702により、LSI101の書き込み設定(抽出したサンプリングデータをDRAM105のWMEM101−3にPICeを通して書き込む設定)が完了する。
The process of step S508 will be described with reference to FIG. FIG. 7 is a flowchart showing the process of step S508.
Steps S701 and S702 are processes related to the
First, processing related to the
In step S701, the
In step S702, the
In steps S701 and S702, the
次に、LSI102に関する処理について説明する。
ステップS703では、制御部211が、LSI102のWDMAC203がDRAM105に輝度データを書き込む際の書き込み開始アドレス203ad−2に、BASE403−1にオフセットアドレスofst2を加算した値を設定する。
ステップS704では、制御部211が、LSI102のWDMAC204がDRAM105に色差データを書き込む際の書き込み開始アドレス204ad−2に、BASE403−1にオフセットアドレスofst3を加算した値を設定する。
ステップS705では、制御部211が、LSI102のRDMAC207〜210によるサンプリングデータの読み出し(DRAM105からの読み出し)の設定を行う。ステップS705の処理の詳細は、図8で説明したとおりである。
Next, processing related to the
In step S703, the
In step S704, the
In step S <b> 705, the
ステップS701〜S705により、LSI101で抽出されたサンプリングデータと、LSI102で抽出されたサンプリングデータとを、第2の画像処理回路であるLSI102のDRAM105に書き込むDMA設定が完了したことになる。これらのアドレス設定は、制御部211のサンプリングデータ保存先決定部213により、レイアウト決定部212からの情報に基づいて行われる。
図7の処理が終わると、入力される画像データに同期して、レジスタ(サンプリングデ
ータを読み書きする際のアドレス)が書き変わる。その結果、LSI101から出力される表示用画像が、所定の画像処理が施された左画像に切り替えられる。また、LSI102では、右画像(所定の画像処理が施された右画像)に特徴画像が合成された画像が生成される。そして、LSI102から出力される表示用画像が、右画像に特徴画像が合成された画像に切り替えられる。それにより、図3の画像303のような画像が表示部107に表示される。
Through steps S701 to S705, the DMA setting for writing the sampling data extracted by the
When the processing of FIG. 7 is completed, the register (address for reading and writing sampling data) is rewritten in synchronization with the input image data. As a result, the display image output from the
図10は、本実施形態に係る画像処理装置100の処理タイミングの一例を示すタイミングチャートである。
Vsyncは、入力された画像データの垂直同期信号である。
図10の例では、各フレームの画像データがVsyncのタイミングから入力される。画像データが入力されている期間は有効画像期間であり、それ以外の期間はブランキング期間(垂直ブランキング期間)である。図中、0、1、2、3は、フレーム番号を示す。
サンプリング期間は、特徴量のサンプリング(抽出)が行われる期間である。図10の例では、有効画像期間中にサンプリングが行われている。
DMA転送期間は、サンプリングした特徴量(サンプリングデータ)をDRAMに書き込む期間である。図10の例では、ブランキング期間中にサンプリングデータの書き込みが行われている。s0は、フレーム番号0の画像データから抽出した特徴量を示す。s1は、フレーム番号1の画像データから抽出した特徴量を示す。s2は、フレーム番号2の画像データから抽出した特徴量を示す。
プロット期間は、特徴画像を画像データに合成(重畳)させる期間を示している。図10の例では、次のフレームの画像データの有効画像期間内に、サンプリングデータの読み出し、特徴画像の生成、表示用画像の生成及び出力が行われる。
FIG. 10 is a timing chart showing an example of processing timing of the
Vsync is a vertical synchronization signal of the input image data.
In the example of FIG. 10, the image data of each frame is input from the timing of Vsync. The period during which image data is input is an effective image period, and the other period is a blanking period (vertical blanking period). In the figure, 0, 1, 2, and 3 indicate frame numbers.
The sampling period is a period during which the feature amount is sampled (extracted). In the example of FIG. 10, sampling is performed during the effective image period.
The DMA transfer period is a period during which sampled feature values (sampling data) are written to the DRAM. In the example of FIG. 10, sampling data is written during the blanking period. s0 indicates the feature amount extracted from the image data of
The plot period indicates a period during which the feature image is combined (superposed) with the image data. In the example of FIG. 10, sampling data is read out, a feature image is generated, and a display image is generated and output within the effective image period of the image data of the next frame.
以上述べたように、本実施形態によれば、第1の画像処理回路では、入力された分割画像に基づき表示用画像を生成する際に、入力された分割画像から特徴量が抽出され、抽出された特徴量が第2の画像処理回路内のメモリに書き込まれる。第2の画像処理回路では、入力された分割画像に基づき表示用画像を生成する際に、入力された分割画像から特徴量が抽出されると共に、第1の画像処理回路によって書き込まれた他の分割画像の特徴量が第2の画像処理回路内のメモリから読み込まれる。そして、それらの特徴量を用いて特徴画像が生成され、生成した特徴画像が合成された表示用画像が生成される。
このような構成により、複数の分割画像を複数の画像処理回路で処理する画像処理装置において、元画像の特徴を表す特徴画像を効率よく生成することができる。
具体的には、特徴画像を合成する領域に応じて、他の画像処理回路内のメモリからの特徴量の読み出しを行わなくて済むように、特徴量を書き込むメモリが切り替えられる。その結果、PCIeを用いた通信でボトルネックとなるリードトランザクションは行われず、ライトトランザクションのみが行われることとなり、処理の効率を向上することができる。ひいては、元画像のフレームレート(60Hzや120Hz)で特徴画像を更新することが可能となる。
As described above, according to the present embodiment, when the first image processing circuit generates a display image based on the input divided image, the feature amount is extracted from the input divided image and extracted. The obtained feature amount is written in the memory in the second image processing circuit. In the second image processing circuit, when the display image is generated based on the input divided image, the feature amount is extracted from the input divided image and the other image data written by the first image processing circuit is used. The feature amount of the divided image is read from the memory in the second image processing circuit. Then, a feature image is generated using these feature amounts, and a display image in which the generated feature images are combined is generated.
With such a configuration, in an image processing apparatus that processes a plurality of divided images with a plurality of image processing circuits, a feature image representing the characteristics of the original image can be efficiently generated.
Specifically, the memory for writing the feature amount is switched so that the feature amount need not be read from the memory in the other image processing circuit in accordance with the region where the feature image is synthesized. As a result, a read transaction that becomes a bottleneck in communication using PCIe is not performed, but only a write transaction is performed, and the processing efficiency can be improved. As a result, the feature image can be updated at the frame rate (60 Hz or 120 Hz) of the original image.
なお、本実施形態では、元画像を左右に分割して得られる左画像と右画像を処理する場合の例を示したが、元画像を上下に分割して得られる2つの画像(上画像と下画像)を処理する構成であってもよい。その場合、RDMAC207とRDMAC208の輝度データの読み出しを同時に開始し、RDMAC207の輝度データと、RDMAC208の輝度データとを1つのデータ群として扱うように制御すればよい。それにより、水平方向位置毎に輝度データを得ることができ、波形モニタ画像を生成することができる。上画像と下画像が入力される場合のベクトルスコープ画像の生成方法は、左画像と右画像が入力される場合と同じである。
このように、特徴画像を生成するための演算は、複数の分割画像を得るための分割方法によって異なることがある。例えば、RDMAC207の輝度データと、RDMAC20
8の輝度データとを別々に用いる必要がある場合と、それらの輝度データを1つのデータ群として用いる必要がある場合とがある。
そのため、画像処理回路が上記複数種類の演算を実行可能であることが好ましい。そして、サンプリングデータ演算判断部214により、分割方法に応じて第2の画像処理回路が実行する演算が切り替えられることが好ましい。そのような構成にすることにより、どのような分割画像が入力される場合であっても、正確な特徴画像を生成することができる。また、ユーザが演算方法の切り替えなどを行わなくて済むため、ユーザの負荷を低減することができる。
In this embodiment, an example in which a left image and a right image obtained by dividing an original image into left and right are shown, but two images (upper image and The lower image) may be processed. In that case, reading of the luminance data of the
Thus, the calculation for generating the feature image may differ depending on the division method for obtaining a plurality of divided images. For example, luminance data of
There are a case where it is necessary to separately use the luminance data of 8 and a case where it is necessary to use the luminance data as one data group.
For this reason, it is preferable that the image processing circuit can execute the above-described plural types of operations. Then, it is preferable that the sampling data calculation determination unit 214 switches the calculation executed by the second image processing circuit according to the division method. By adopting such a configuration, an accurate feature image can be generated regardless of what divided images are input. In addition, since the user does not have to switch the calculation method, the load on the user can be reduced.
図2の画像処理回路は、上述した2つの演算(RDMAC207の輝度データと、RDMAC208の輝度データとを別々に用いる第1の演算、及び、それらの輝度データとを1つのデータ群として扱う第2の演算)を実行可能な構成を有する。
そのため、サンプリングデータ演算判断部214は、複数の分割画像が元画像を第1の方向(左右)に分割して得られた複数の画像である場合に、第2の画像処理回路に第1の演算を実行させればよい。また、サンプリングデータ演算判断部214は、複数の分割画像が元画像を第2の方向(上下)に分割して得られた複数の画像である場合に、第2の画像処理回路に第2の演算を実行させればよい。そのような制御(切替処理)を行うことにより、左画像と右画像、上画像と下画像のいずれが入力される場合であっても、演算方法が自動的に切り替えられて、正確な波形モニタ画像を生成することが可能となる。
The image processing circuit in FIG. 2 performs the above-described two operations (a first operation that uses the luminance data of the
Therefore, when the plurality of divided images are a plurality of images obtained by dividing the original image in the first direction (left and right), the sampling data calculation determination unit 214 sets the first image processing circuit to the first image processing circuit. What is necessary is just to perform a calculation. In addition, the sampling data calculation determination unit 214 outputs the second image processing circuit to the second image processing circuit when the plurality of divided images are a plurality of images obtained by dividing the original image in the second direction (up and down). What is necessary is just to perform a calculation. By performing such control (switching process), the calculation method is automatically switched regardless of whether the left image and the right image, or the upper image and the lower image are input, and an accurate waveform monitor is performed. An image can be generated.
なお、本実施形態では、表示用画像が、所定の画像処理が施された分割画像、または、所定の画像処理が施された分割画像に特徴画像が合成された画像である。そのため、表示部107では、元画像に所定の画像処理を施して得られる画像に特徴画像が合成された画像が表示される。しかし、表示用画像はこれに限らない。例えば、上記所定の画像処理は行わなくてもよい。その場合には、入力された分割画像、または、入力された分割画像に特徴画像が合成された画像が表示用画像とされ、表示部107で、上記所定の画像処理が施されていない元画像に特徴画像が合成された画像が表示される。
In the present embodiment, the display image is a divided image that has been subjected to predetermined image processing, or an image in which a feature image is combined with a divided image that has been subjected to predetermined image processing. Therefore, the
なお、本実施形態では、特徴画像が、所定の画像処理が施されていない元画像の特徴を表すものとしたが、特徴画像はこれに限らない。例えば、入力された分割画像からなる元画像(入力された元画像)の特徴ではなく、現在表示されている画像(元画像に所定の画像処理を施して得られる画像)の特徴を知りたい場合もある。その場合には、各画像処理回路が、入力された分割画像に所定の画像処理を施し、所定の画像処理が施された分割画像から特徴画像の生成に必要な特徴量を抽出すれよい。そのような特徴量を用いることにより、元画像に所定の画像処理を施して得られる画像の特徴を表す特徴画像を生成することが可能となる。
なお、入力された元画像の特徴を表す特徴画像と、現在表示されている画像の特徴を表す特徴画像との両方を表示する構成であってもよい。その場合には、各画像処理回路が、入力された分割画像と、所定の画像処理が施された分割画像とから特徴量を抽出すればよい。
In the present embodiment, the feature image represents the feature of the original image that has not been subjected to the predetermined image processing. However, the feature image is not limited to this. For example, if you want to know the characteristics of the currently displayed image (the image obtained by applying the predetermined image processing to the original image) instead of the characteristics of the original image (input original image) consisting of the input divided images There is also. In this case, each image processing circuit may perform predetermined image processing on the input divided image and extract a feature amount necessary for generating a feature image from the divided image subjected to the predetermined image processing. By using such a feature amount, it is possible to generate a feature image representing the feature of an image obtained by performing predetermined image processing on the original image.
In addition, the structure which displays both the characteristic image showing the characteristic of the input original image and the characteristic image showing the characteristic of the image currently displayed may be sufficient. In that case, each image processing circuit may extract a feature amount from the input divided image and the divided image subjected to predetermined image processing.
なお、本実施形態では、画像処理装置が2つのLSI(画像処理回路)からなる場合の例を示したが、LSIの数は2つに限らない。LSIの数は、例えば、3つ、4つ、5つ、8つなどであってもよい。具体的には、各LSIが、特徴量の種類毎に、連携して処理を行う画像処理回路の数のRDMACを有していればよい。そして、アドレス空間が複数のLSIが連携するようにマッピングされていればよい。そのような構成であれば、LSIの数に依らず上述した処理と同様の処理を行うことが可能となる。 In the present embodiment, an example in which the image processing apparatus includes two LSIs (image processing circuits) has been described. However, the number of LSIs is not limited to two. The number of LSIs may be three, four, five, eight, etc., for example. Specifically, each LSI may have RDMACs corresponding to the number of image processing circuits that perform processing in cooperation for each type of feature amount. The address space only needs to be mapped so that a plurality of LSIs cooperate. With such a configuration, the same processing as described above can be performed regardless of the number of LSIs.
なお、本実施形態では、波形モニタ画像とベクトルスコープ画像の両方が左画像と右画像のいずれか一方の画像の領域内に合成される場合の例を示したが、これに限らない。例
えば、波形モニタ画像とベクトルスコープ画像の一方が左画像の領域内に合成され、他方が右画像の領域内に合成されてもよい。その場合には、波形モニタ画像の生成を担うLSIのDRAMに輝度データ、ベクトルスコープ画像の生成を担うLSIのDRAMに色差データが書き込まれればよい。
In the present embodiment, an example in which both the waveform monitor image and the vector scope image are combined in the region of either the left image or the right image has been described, but the present invention is not limited to this. For example, one of the waveform monitor image and the vector scope image may be combined in the region of the left image, and the other may be combined in the region of the right image. In that case, luminance data and color difference data may be written into the LSI DRAM responsible for generating the vectorscope image, and the LSI DRAM responsible for generating the waveform monitor image.
なお、特徴画像を合成する領域が左画像と右画像の領域を跨ぐ場合も考えられる。そのような場合には、各画像処理回路が、担当する領域内に特徴画像を合成する領域を含む全ての画像処理回路のDRAMに特徴量を書き込めばよい。そして、担当する領域内に特徴画像を合成する領域を含む各画像処理回路が、担当する領域内に合成される特徴画像を生成し、特徴画像が合成された表示用画像を生成すればよい。例えば、ベクトルスコープ画像を合成する領域が元画像の中心位置である場合も考えられる。そのような場合には、LSI101が、DRAM104とDRAM105に抽出した色差データを書き込み、LSI102が、DRAM104とDRAM105に抽出した色差データを書き込めばよい。そして、LSI101が、DRAM104に書き込まれた色差データから、ベクトルスコープ画像の左半分を生成し、LSI102が、DRAM105に書き込まれた色差データから、ベクトルスコープ画像の右半分を生成すればよい。
Note that it is also conceivable that the region where the feature image is combined straddles the region of the left image and the right image. In such a case, each image processing circuit may write the feature amount into the DRAM of all the image processing circuits including the area where the characteristic image is synthesized within the area in charge. Then, each image processing circuit including a region where a feature image is synthesized in the region in charge may generate a feature image synthesized in the region in charge, and generate a display image in which the feature image is synthesized. For example, a case where the region where the vector scope image is combined is the center position of the original image. In such a case, the
なお、本実施形態では、メモリとしてDRAMを用いたが、これに限らない。例えば、メモリとしてSRAMが用いられてもよい。 In this embodiment, DRAM is used as the memory, but the present invention is not limited to this. For example, an SRAM may be used as the memory.
100 画像処理装置
101 LSI
102 LSI
100
102 LSI
Claims (10)
元画像を分割して得られる複数の分割画像のうち、1または2以上の分割画像からなる第1入力画像を用いて前記画面の第1領域に表示される第1表示画像を生成して出力する第1の画像処理回路と、
前記複数の分割画像のうち、前記第1入力画像とは異なる1または2以上の分割画像からなる第2入力画像を用いて前記画面の第2領域に表示される第2表示画像を生成して出力する第2の画像処理回路と、
前記第1入力画像の特徴量と前記第2入力画像の特徴量とを示す特徴画像が表示される前記画面内の位置に基づいて、前記第1の画像処理回路と前記第2の画像処理回路とを制御する制御手段と、
を備え、
前記制御手段は、
前記第1領域に前記特徴画像が表示される場合、前記第2の画像処理回路が前記第2入力画像の特徴量を前記第1の画像処理回路に書込み、かつ、前記第1の画像処理回路が前記特徴画像を含む前記第1表示画像を生成するように制御し、
前記第2領域に前記特徴画像が表示される場合、前記第1の画像処理回路が前記第1入力画像の特徴量を前記第2の画像処理回路に書込み、かつ、前記第2の画像処理回路が前記特徴画像を含む前記第2表示画像を生成するように制御する
ことを特徴とする画像処理装置。 An image processing apparatus connectable to Viewing means that shows the image on a screen,
Among the plurality of divided images obtained by divided the original image, and generates a first display image displayed in the first area of the screen by using the first input image of one or two or more divided images a first image processing circuit for outputting,
Generating a second display image to be displayed in the second region of the screen using a second input image composed of one or more divided images different from the first input image among the plurality of divided images; A second image processing circuit for outputting ;
Based on the position of said screen wherein image showing the feature quantity of the feature quantity and the second input image of the first input image is displayed, the first image processing circuit and the second image processing circuit Control means for controlling
With
The control means includes
When the feature image is displayed in the first region, the second image processing circuit writes the feature amount of the second input image to the first image processing circuit , and the first image processing circuit Control to generate the first display image including the feature image,
When the feature image is displayed in the second region, the first image processing circuit writes the feature amount of the first input image to the second image processing circuit , and the second image processing circuit There the image processing apparatus according to claim <br/> be controlled so as to generate the second display image including the feature image.
前記第1表示画像を生成する第1の生成手段と、First generation means for generating the first display image;
前記第2の画像処理回路と通信を行う第1の通信手段と、First communication means for communicating with the second image processing circuit;
前記第2の画像処理回路から取得した特徴量を記憶する第1メモリと、A first memory for storing a feature amount acquired from the second image processing circuit;
を備え、With
前記第2の画像処理回路は、 The second image processing circuit includes:
前記第2表示画像を生成する第2の生成手段と、Second generating means for generating the second display image;
前記第1の画像処理回路と通信を行う第2の通信手段と、Second communication means for communicating with the first image processing circuit;
前記第1の画像処理回路から取得した特徴量を記憶する第2メモリと、A second memory for storing a feature amount acquired from the first image processing circuit;
を備え、With
前記制御手段は、 The control means includes
前記第1領域に前記特徴画像が表示される場合、前記第2の通信手段が前記第2入力画像の特徴量を前記第1メモリに書込み、かつ、前記第1の生成手段が前記第1入力画像の特徴量と前記第2入力画像の特徴量とを用いて前記特徴画像を生成し、When the feature image is displayed in the first area, the second communication unit writes the feature amount of the second input image to the first memory, and the first generation unit performs the first input. Generating the feature image using the feature amount of the image and the feature amount of the second input image;
前記第2領域に前記特徴画像が表示される場合、前記第1の通信手段が前記第1入力画像の特徴量を前記第2メモリに書込み、かつ、前記第2の生成手段が前記第1入力画像の特徴量と前記第2入力画像の特徴量とを用いて前記特徴画像を生成するように制御するWhen the feature image is displayed in the second area, the first communication unit writes the feature amount of the first input image into the second memory, and the second generation unit performs the first input. Control to generate the feature image using the feature amount of the image and the feature amount of the second input image
ことを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1.
ことを特徴とする請求項1〜3のいずれか1項に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記第1の画像処理回路は、前記分割装置から前記第1入力画像を取得し、 The first image processing circuit obtains the first input image from the dividing device;
前記第2の画像処理回路は、前記分割装置から前記第2入力画像を取得する The second image processing circuit acquires the second input image from the dividing device.
ことを特徴とする請求項1〜4のいずれか1項に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記制御手段は、前記分割装置が前記複数の分割画像を得るための分割方法に応じて、前記第1の画像処理回路および前記第2の画像処理回路のうち前記特徴画像を生成する画像処理回路が実行する演算を切り替える
ことを特徴とする請求項5に記載の画像処理装置。 Each of the first image processing circuit and the second image processing circuit is capable of executing a plurality of types of operation to generate the feature image,
Said control means, said dividing apparatus according to the division method for obtaining the plurality of divided images, the image processing circuit for generating the feature image of the first image processing circuit and the second image processing circuit Ru switching but the operation to be performed
The image processing apparatus according to claim 5, wherein the this.
前記制御手段は、前記第1の画像処理回路および前記第2の画像処理回路のうち、前記特徴画像を生成する画像処理回路に、前記複数の分割画像が元画像を第1の方向に分割して得られた場合に、前記第1演算処理を実行させ、前記複数の分割画像が元画像を前記第1の方向とは異なる第2の方向に分割して得られた場合に、前記第2演算処理を実行させる
ことを特徴とする請求項6に記載の画像処理装置。 First calculation process of calculating each of the first image processing circuit and the second image processing circuit, the feature quantity of the first input image and the feature quantity of the second input image independently, or the first it is possible to generate the feature image by executing one of the second computation process that calculates as a feature quantity of the feature quantity of the input image and the second input image and one data group,
The control means is configured to divide the original image in the first direction by the plurality of divided images into an image processing circuit that generates the feature image out of the first image processing circuit and the second image processing circuit. in case the obtained Te, wherein to execute the first arithmetic processing, the case obtained the plurality of divided images by dividing in a second direction different from said first direction of the original image, the image processing apparatus according to claim 6, characterized in that to execute the second arithmetic processing.
ことを特徴とする請求項1〜7のいずれか1項に記載の画像処理装置。 The feature images are waveform monitor image representing the luminance of every horizontal position or vertical position of the original image, the vector scope image representing the saturation and hue of the original image, and, among the image representing a histogram of pixel values of the original image at least the image processing apparatus according to any one of claims 1 to 7, wherein a is <br/> that single image.
前記第2の画像処理回路は、前記第2入力画像に前記所定の画像処理を施す第2の画像処理手段を備え、
前記特徴画像は、前記所定の画像処理が施された前記第1入力画像の特徴量と、前記所定の画像処理が施された前記第2入力画像の特徴量とを示す画像である
ことを特徴とする請求項1〜8のいずれか1項に記載の画像処理装置。 The first image processing circuit includes first image processing means for performing predetermined image processing on the first input image,
The second image processing circuit includes second image processing means for performing the predetermined image processing on the second input image,
The feature image, a feature value of the predetermined image processing is performed wherein the first input image, the predetermined image processing is an image showing the feature quantity of the decorated second input image <br / > that the image processing apparatus according to any one of claims 1 to 8, wherein.
元画像を分割して得られる複数の分割画像のうち、1または2以上の分割画像からなる第1入力画像を用いて前記画面の第1領域に表示される第1表示画像を生成して出力する第1の画像処理回路と、
前記複数の分割画像のうち、前記第1入力画像とは異なる1または2以上の分割画像からなる第2入力画像を用いて前記画面の第2領域に表示される第2表示画像を生成して出力する第2の画像処理回路と、
を備えた画像処理装置の制御方法であって、
前記第1入力画像の特徴量と前記第2入力画像の特徴量とを示す特徴画像が表示される前記画面内の位置に基づいて、前記第1の画像処理回路と前記第2の画像処理回路とを制御する制御ステップを有し、
前記制御ステップは、
前記第1領域に前記特徴画像が表示される場合、前記第2の画像処理回路が前記第2入力画像の特徴量を前記第1の画像処理回路に書込み、かつ、前記第1の画像処理回路が前記特徴画像を含む前記第1表示画像を生成するように制御し、
前記第2領域に前記特徴画像が表示される場合、前記第1の画像処理回路が前記第1入力画像の特徴量を前記第2の画像処理回路に書込み、かつ、前記第2の画像処理回路が前記特徴画像を含む前記第2表示画像を生成するように制御する
ことを特徴とする画像処理装置の制御方法。 An image on a screen an image processing equipment which can be connected to Viewing means simply showing table,
Among the plurality of divided images obtained by divided the original image, and generates a first display image displayed in the first area of the screen by using the first input image of one or two or more divided images a first image processing circuit for outputting,
Generating a second display image to be displayed in the second region of the screen using a second input image composed of one or more divided images different from the first input image among the plurality of divided images; A second image processing circuit for outputting ;
An image processing apparatus control method comprising:
Based on the position of said screen wherein image showing the feature quantity of the feature quantity and the second input image of the first input image is displayed, the first image processing circuit and the second image processing circuit And a control step for controlling
The control step includes
When the feature image is displayed in the first region, the second image processing circuit writes the feature amount of the second input image to the first image processing circuit , and the first image processing circuit Control to generate the first display image including the feature image,
When the feature image is displayed in the second region, the first image processing circuit writes the feature amount of the first input image to the second image processing circuit , and the second image processing circuit the method of but image processing apparatus according to claim <br/> be controlled so as to generate the second display image including the feature image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012084086A JP5968011B2 (en) | 2012-04-02 | 2012-04-02 | Image processing apparatus and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012084086A JP5968011B2 (en) | 2012-04-02 | 2012-04-02 | Image processing apparatus and control method thereof |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2013213928A JP2013213928A (en) | 2013-10-17 |
JP2013213928A5 JP2013213928A5 (en) | 2015-05-21 |
JP5968011B2 true JP5968011B2 (en) | 2016-08-10 |
Family
ID=49587298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012084086A Active JP5968011B2 (en) | 2012-04-02 | 2012-04-02 | Image processing apparatus and control method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5968011B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015210375A (en) * | 2014-04-25 | 2015-11-24 | キヤノン株式会社 | Image processing apparatus, control method thereof, and program |
JP6815839B2 (en) * | 2016-11-16 | 2021-01-20 | キヤノン株式会社 | Image analyzer and its control method |
JP6864757B2 (en) * | 2017-11-01 | 2021-04-28 | シャープ株式会社 | Video processing equipment, display devices, video processing methods, control programs, and recording media |
JPWO2019111815A1 (en) * | 2017-12-06 | 2020-12-17 | シャープ株式会社 | Video processing equipment and display equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4062291B2 (en) * | 2004-09-01 | 2008-03-19 | セイコーエプソン株式会社 | Automatic image correction circuit |
JP4760288B2 (en) * | 2005-10-13 | 2011-08-31 | ソニー株式会社 | Image display system, display device, image resynthesis device, image resynthesis method, and program |
JP2007288555A (en) * | 2006-04-18 | 2007-11-01 | Pioneer Electronic Corp | Device and method for adjusting image |
JP2008205719A (en) * | 2007-02-19 | 2008-09-04 | Sony Corp | Display device and display method |
-
2012
- 2012-04-02 JP JP2012084086A patent/JP5968011B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013213928A (en) | 2013-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20040095482A1 (en) | Image processing circuit of image input device | |
US20150371607A1 (en) | Multiple display pipelines driving a divided display | |
JP5968011B2 (en) | Image processing apparatus and control method thereof | |
KR102248789B1 (en) | Application processor for sharing resource based on image resolution and devices having same | |
US9569703B2 (en) | Data transfer apparatus and method thereof | |
TW200414754A (en) | System and method for processing memory with YCbCr 4:2:0 planar video data format | |
US9154665B2 (en) | Image processing apparatus and control method thereof | |
US20150042669A1 (en) | Rotating displayed content on an electronic device | |
CN109308862B (en) | Signal control method, control device, processing device and signal control equipment | |
JP2011259511A (en) | Image processing apparatus and image processing method | |
KR20170037205A (en) | Method for controlling parameter of image sensor | |
US10262624B2 (en) | Separating a compressed stream into multiple streams | |
KR20180056268A (en) | Image processing apparatus and controlling method thereof | |
US8966145B2 (en) | Data conversion apparatus and method | |
US20120144150A1 (en) | Data processing apparatus | |
JP4618012B2 (en) | Image processing device | |
JP6283297B2 (en) | Method, apparatus and system for resizing and restoring original depth frame | |
JP6048046B2 (en) | Image composition apparatus and image composition method | |
JP2013195963A (en) | Image processing device, integrated circuit apparatus, and image display system | |
JP2018093346A (en) | Image processing apparatus and control method thereof, program, storage medium | |
TWI464673B (en) | Electronic apparatus and method for sending data from an electronic apparatus to a display device | |
JP5321799B2 (en) | A system including a microcomputer | |
JP2011048238A (en) | Display controller and electronic equipment using the same | |
CN108369794B (en) | Data processing apparatus, data processing method, and computer-readable recording medium | |
JP2015034891A (en) | Register setting control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150401 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150401 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160204 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160301 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160428 |
|
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: 20160607 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160705 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5968011 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |