JP2018191154A - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP2018191154A JP2018191154A JP2017092624A JP2017092624A JP2018191154A JP 2018191154 A JP2018191154 A JP 2018191154A JP 2017092624 A JP2017092624 A JP 2017092624A JP 2017092624 A JP2017092624 A JP 2017092624A JP 2018191154 A JP2018191154 A JP 2018191154A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image processing
- unit
- output
- clock
- 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
Links
Images
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、画像処理装置、画像処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program.
デジタルカメラ等のレンズにより撮影された画像データは、レンズ収差によって歪んでいる。特に広角レンズ又は魚眼レンズで撮影した画像は、画像データの歪みが一段と強い。広角レンズ又は魚眼レンズでは、レンズの歪面収差特性のため、周辺部ほど歪曲率が大きく、画像の歪みが著しい。歪んだ画像データを歪みが低減された画像データに変換して画像の視認性を向上させる手段として、アフィン変換等の画像の任意画像変形回路がある。また、任意画像変形回路は、360度カメラ又はパノラマ画像の場合、センサから入力された複数枚の入力画像から生成される2枚の画像の合成を行う機能によって、大きなサイズの出力画像を生成する。 Image data taken by a lens such as a digital camera is distorted by lens aberration. In particular, an image taken with a wide-angle lens or a fish-eye lens has much stronger distortion of image data. In a wide-angle lens or a fish-eye lens, because of the distortion surface aberration characteristics of the lens, the peripheral portion has a larger distortion and the image is significantly distorted. As means for improving image visibility by converting distorted image data into image data with reduced distortion, there is an arbitrary image deformation circuit for an image such as affine transformation. In the case of a 360-degree camera or a panoramic image, the arbitrary image deformation circuit generates a large-size output image by a function of combining two images generated from a plurality of input images input from a sensor. .
レンズを通して得られた入力画像を一旦格納しておくフレームメモリには、DDR−SDRAM(Double Data Rate - Synchronous Dynamic Random Access Memory。以下、DDRメモリという。)が使用される場合が多い。出力画像を生成するために対応する入力画素をDDRメモリから読み出していく処理を、出力画素ごとに順に実行しようとすると、特に任意画像変形ではDDRメモリに対してランダムアクセスが必要となり、膨大な処理時間を必要とするという問題がある。そこで、出力画像を複数のエリアに分割し、それぞれの出力画像エリアで必要とする入力画像の一部の領域を切り出して高速に読み書き可能なSRAM(Static RAM)に一旦取り込んだ後、補正演算により出力画素を生成していく手法が既に知られている(例えば特許文献1)。当該出力画像を映像出力するときの要求として、ライン等時性を要求される場合がある。 In many cases, a DDR-SDRAM (Double Data Rate-Synchronous Dynamic Random Access Memory, hereinafter referred to as DDR memory) is used as a frame memory for temporarily storing an input image obtained through a lens. If the process of reading out the corresponding input pixel from the DDR memory to generate the output image is to be executed sequentially for each output pixel, random access to the DDR memory is required especially for arbitrary image transformation, and a huge amount of processing is required. There is a problem of requiring time. Therefore, the output image is divided into a plurality of areas, a partial area of the input image required in each output image area is cut out, and once taken into an SRAM (Static RAM) that can be read and written at high speed, and then corrected. A method of generating output pixels is already known (for example, Patent Document 1). As a request when outputting the output image, line isochronism may be required.
しかしながら、従来の技術で1枚の出力画像を生成する際に、画像の合成が多数必要になると処理に時間がかかり、遅延が大きくなってライン出力の等時性を満たせずエラーとなり、後段に画像データを出力できなくなるという問題があった。 However, when a single output image is generated by the conventional technique, if a large number of image synthesis is required, the processing takes time, and the delay increases, resulting in an error that does not satisfy the isochronism of line output. There was a problem that image data could not be output.
本発明は上記の点に鑑みてなされたものであって、出力画像を生成する処理速度を処理状況に応じて変更することによって、出力画像のライン出力の等時性を保ち続けることを目的とする。 The present invention has been made in view of the above points, and aims to maintain the isochronism of line output of an output image by changing the processing speed for generating an output image according to the processing status. To do.
そこで上記課題を解決するため、画像処理装置は、入力される複数の画像の一部又は全部を合成し、複数のラインで構成される画像を出力し、前記合成が必要である前記ラインを構成する複数の領域の数が、所定の数以上であるか否かを前記ラインごとに判定する判定部と、前記判定に基づいて、複数の異なるクロックからクロックを選択し、前記選択されたクロックを供給する供給部と、前記供給されるクロックにより駆動され、前記合成を実行し、前記合成の結果に基づいて画像を出力する合成部とを有する。 In order to solve the above problem, the image processing apparatus combines a part or all of a plurality of input images, outputs an image composed of a plurality of lines, and configures the lines that need to be combined. A determination unit that determines for each line whether or not the number of the plurality of regions is equal to or greater than a predetermined number, and based on the determination, selects a clock from a plurality of different clocks, and selects the selected clock A supply unit that supplies the image data, and a synthesis unit that is driven by the supplied clock, executes the synthesis, and outputs an image based on the result of the synthesis.
出力画像を生成する処理速度を処理状況に応じて変更することによって、出力画像のライン出力の等時性を保ち続けることができる。 By changing the processing speed for generating the output image according to the processing status, the isochronism of the line output of the output image can be maintained.
以下、図面に基づいて本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態における画像処理装置100の機能構成例(1)を示す図である。図1に示されるように、画像処理装置100は、入力I/F10、画像処理部11、天頂補正部12、任意画像変形部13、制御部14、出力I/F15、インターコネクト部16及び外部メモリ部17を有する。
FIG. 1 is a diagram illustrating a functional configuration example (1) of an
入力I/F10は、外部から画像データを取り込み、インターコネクト部16を介して外部メモリ部17に格納する。入力I/F10とインターコネクト部16の間は、DMA(Direct Memory Access)コントローラ、画像処理等の機能部が存在してもよい。
The input I /
画像処理部11は、任意画像変形部13による画像処理以外の画像処理を行う。当該画像処理は、複数の画像処理を含んでよい。天頂補正部12は、360度撮影カメラ等で、カメラの撮影方向によらず、録画された画像で上下方向を常に一定にするよう、入力画像の回転角度の情報を例えばジャイロ等から入手して、頂点の位置を補正する。当該補正は、外部メモリに格納されたパラメータを読み出して、回転角度に基づいてパラメータを書き換えて、外部メモリに書き戻しを行うことにより実行される。任意画像変形部13は、回転、拡大、縮小等の画像変形を実行する。制御部14は、レジスタのリード又はライトを実行する。出力I/F15は、外部メモリ部17に格納された画像に様々な画像処理を施したのち、画像データを外部に出力するインタフェースである。インターコネクト部16は、各機能部間の画像データ等のやり取りを行う。外部メモリ部17は、入力された画像データ、画像処理が施された画像データ、画像処理に使用されるパラメータ等を記憶する。
The
図2は、本発明の実施の形態における画像処理装置100の機能構成例(2)を示す図である。図2においては、図1に示される構成との差分として、任意画像変形部13が、出力I/F15の前段に配置され、接続されている。
FIG. 2 is a diagram illustrating a functional configuration example (2) of the
図3は、本発明の実施の形態における画像処理装置100のハードウェア構成例を示す図である。図3に示されるように、画像処理装置100は、バス106を介して相互に接続されているCPU(Central Processing Unit)101、ネットワークインタフェース102、入出力インタフェース103、内部メモリ104、外部メモリインタフェース105及び外部メモリ107を有する。
FIG. 3 is a diagram illustrating a hardware configuration example of the
画像処理装置100での処理を実現するプログラムは、内部メモリ104又は外部メモリ107に格納される。内部メモリ104又は外部メモリ107は、インストールされたプログラムを格納すると共に、必要なファイル及びデータ等を格納する。内部メモリ104又は外部メモリ107は、SRAM、DDRメモリ、ROM(Read Only Memory)、フラッシュメモリ又は外部記憶媒体であるメモリカード等のいずれであってもよいし、それらの複数を含んでもよい。
A program for realizing processing in the
ネットワークインタフェース102は、ネットワークを介して外部装置と通信を行うためのインタフェースである。当該インタフェースは、有線又は無線LAN(Local Area Network)であってもよいし、他の通信方式を使用するものでもよい。
The
入出力インタフェース103は、スマートフォン、USB(Universal Serial Bus)機器、ハードウェアキー、状態通知用LED(Light Emitting Diode)、液晶ディスプレイ等の様々な入出力装置との接続を行うためのインタフェースである。
The input /
外部メモリインタフェース105は、外部メモリ107と接続及び制御するためのインタフェースである。
The
なお、図1における入力I/F10及び出力I/F15は、入出力インタフェース103により実現されてもよい。図1における画像処理部11、天頂補正部12、任意画像変形部13及び制御部14は、画像処理装置100にインストールされた1以上のプログラムがCPU101に実行させる処理により実現されてもよい。また、図1における画像処理部11、天頂補正部12、任意画像変形部13及び制御部14は、図3に示されるハードウェア構成の一部又は全部をそれぞれ個別に有していてもよい。図1におけるインターコネクト部16は、バス106により実現されてもよい。図1における外部メモリ部17は、外部メモリ107により実現されてもよい。
Note that the input I /
図4は、本発明の実施の形態における任意画像変形部13の機能構成例を示す図である。図4に示されるように、任意画像変形部13は、演算部21、参照画像メモリA22A、参照画像メモリB22B、画像処理パラメータメモリ23、補正後画素メモリ24、全体制御部25、インタフェース部26、クロック制御部27及びレジスタ制御部28を有する。CLK信号30、CPU制御信号31、DDRコントローラ32、DDRメモリ33及び外部出力34は、任意画像変形部13と連携して動作する機能部である。
FIG. 4 is a diagram illustrating a functional configuration example of the arbitrary
演算部21、全体制御部25、インタフェース部26、クロック制御部27、レジスタ制御部28及びCPU制御信号31は、画像処理装置100にインストールされた1以上のプログラムがCPU101に実行させる処理により実現されてもよい。参照画像メモリA22A、参照画像メモリB22B、画像処理パラメータメモリ23及び補正後画素メモリ24は、内部メモリ104により実現されてもよい。当該内部メモリ104は、高速処理及びランダムアクセス処理を実現するため、SRAMであってもよい。CLK信号30は、クロック発信機により実現されてもよい。DDRコントローラ32は、外部メモリインタフェース105により実現されてもよい。DDRメモリ33は、外部メモリ107又は内部メモリ104により実現されてもよい。DDR当該外部メモリ107は、DDRメモリであってもよい。外部出力34は、入出力インタフェース103により実現されてもよい。
The
DDRメモリ33は、任意画像変形部13が使用する参照画像となる入力画像、出力画像のエリアごとの画像処理パラメータが格納されている。図1に示される画像処理装置100の機能構成の場合、出力画像もDDRメモリ33に格納される。
The
参照画像メモリA22A及び参照画像メモリB22Bは、DDRメモリ33に格納されている入力画像から取得する参照画像データを格納する領域である。RAMREFA(1)〜RAMREFA(P)は、出力画像に対応する参照画像が格納される。同様に、RAMREFB(1)〜RAMREFB(P)は、出力画像に対応する参照画像が格納される。Pは、演算部21において並行して演算を行う並列処理数であり、1又は2でもよく、求められる性能に応じてPは決定される。すなわち、参照画像メモリは、必要な処理速度に基づいて決定された並列処理数を演算部21で実行するために、参照画像をPだけ並列して記憶する。
The reference image memory A22A and the reference image memory B22B are areas for storing reference image data acquired from an input image stored in the
画像処理パラメータメモリ23は、DDRメモリ33から取得する画像処理パラメータを格納する領域である。RAMREFAに対応する画像処理パラメータが格納される領域がRAMPIXAであり、RAMREFBに対応する画像処理パラメータが格納される領域がRAMPIXBである。
The image
演算部21は、画像処理パラメータRAMPIXA又はRAMPIXBに基づいて、参照画像RAMREFA又はRAMREFBを読み取って、出力画像の画素ごとに補正演算を実行する。図4に示されるafn_cal(1)〜afn_cal(P)は、当該補正演算処理を示し、Pだけ並行して実行することができる。演算部21は、補正演算処理をエリアごとに繰り返して、補正後画素メモリ24に補正演算後のデータを出力する。
The
補正後画素メモリ24は、補正演算後のデータを格納し、画像処理パラメータに基づいて必要であれば合成処理を実行する(詳細は後述)。RAMREVA及びRAMREVBは、出力画像が格納される領域である。補正後又は合成後の出力画像は、全体制御部25及びインタフェース部26を介してDDRメモリ33に書き戻されるか、外部出力34に出力される。
The
全体制御部25は、各部間の画像データ及び制御データの転送に係る制御を行う。
The
インタフェース部26は、全体制御部25及びDDRコントローラ32と接続され、DDRメモリ33に格納されている画像データ及び制御データを全体制御部25へ転送する。
The
クロック制御部27は、CLK信号30から複数のクロック信号を取得し、演算部21又は任意画像変形部13全体を駆動する動作クロックを、当該クロック信号のいずれかを選択して供給する。図4に示されるCLK信号30からは、2本のクロックが入力されているが、3本以上のクロックが入力されてもよい。
The
レジスタ制御部28は、参照画像の主走査・副走査画像サイズ等の情報を保持する。
The
図5は、本発明の実施の形態における補正後画素メモリ24の機能構成を示す図である。補正後画素メモリ24では、演算部21から補正演算後のデータを取得し、画像処理パラメータで設定されるブレンド係数を乗算し、RAMREVに格納する。ブレンド係数とは、画素の合成をする際のウエイト情報である。ブレンド係数は、例えば入力画像Aと入力画像Bを合成するときに、入力画像Aを90%、第2の入力画像Bを10%のウエイトとして合成する等、合成時の入力画像のそれぞれのウエイトを設定可能である。画像処理パラメータのエリア合成設定が有効であれば、格納されたRAMREVからデータを読み出し、次のエリアの補正演算後のデータと加算を行い、他方のRAMREVに当該データを格納する。補正後画素メモリ24は、RAMREVA又はRAMREVBのいずれかの画像データをセレクタにより切り替えて出力する。
FIG. 5 is a diagram showing a functional configuration of the corrected
図6は、本発明の実施の形態におけるクロック制御部27の機能構成を示す図である。図6に示されるCLK1又はCLK2は、互いに異なる周波数のクロックである。画像処理パラメータからエリアごとに取得されるクロックを指定する情報に基づくCLK選択信号によりセレクタを切り替え、CLK1又はCLK2を演算用CLKとして、演算部21又は任意画像変形部13全体に動作クロックを供給する。
FIG. 6 is a diagram showing a functional configuration of the
図7は、本発明の実施の形態における出力画像の処理を示す図である。任意画像変形部13によって出力される出力画像は、図7に示されるようにエリアごとに分割されて、主走査方向にN個、副走査方向にM個出力される。出力画像において、1〜Nを1エリアライン、N+1〜2Nを2エリアライン、最終のエリアラインをMエリアラインという。画像の出力順は、図7に示される矢印のように、主走査方向にエリアがN個出力されたのち、次のエリアラインが出力される。
FIG. 7 is a diagram showing output image processing in the embodiment of the present invention. As shown in FIG. 7, the output images output by the arbitrary
図8は、本発明の実施の形態における画像処理パラメータがDDRメモリ33に配置される例を示す図である。図7に示される出力画像の出力順に対応するように、入力画像の使用する部分を指定する参照画像切り出しデータ及び当該参照画像に対する画像処理パラメータを指定する参照画素指定データ(詳細は後述)が、エリアごとに順番に配置される。任意画像変形部13は、DDRメモリ33上に配置されたエリア1に対応する画像処理パラメータから順番に取得して、出力画像が生成される。
FIG. 8 is a diagram illustrating an example in which the image processing parameters are arranged in the
図9は、本発明の実施の形態における画像合成用の画像処理パラメータがDDRメモリ33に配置される例を示す図である。入力画像A及び入力画像Bが合成される場合、入力画像Aに対する画像処理パラメータ(エリア1a)の次に、入力画像Bに対する画像処理パラメータ(エリア1b)が配置されるように、入力画像A又は入力画像Bに対する画像処理パラメータが交互に配置される。出力画像の1エリアを生成するために、入力画像A及び入力画像Bがそれぞれ対応する計2エリア分の画像処理パラメータに基づいて、補正演算処理が実行される。交互に配置された画像処理パラメータは順番に読み取られるため、重ね合わせを行う入力画像A及び入力画像Bは連続して補正演算処理が行われる。続いて、画像処理パラメータに含まれるエリア合成設定を参照して、合成するか否かが判断され、補正後画素メモリ24にて合成が行われる。
FIG. 9 is a diagram illustrating an example in which image processing parameters for image synthesis are arranged in the
図10は、本発明の実施の形態における任意画像変形部13で使用される画像処理パラメータの一例を示す図である。画像処理パラメータは、入力画像から参照画像を切り出すための参照画像切り出しデータと、出力画像の1画素を生成するための参照画像の画素値及びサブピクセル値を指定する参照画素指定データとから構成される。1画素に対する参照画素指定データは、複数であってもよい。参照画像切り出しデータ及び参照画素指定データは、出力画像の1エリア単位で用意され、エリア出力順に応じて、DDRメモリ33に配置されてもよい。入力画像を撮像したレンズのレンズパラメータの歪み率等に基づいて、エリアごとの画像処理パラメータが決定される。
FIG. 10 is a diagram showing an example of image processing parameters used in the arbitrary
参照画像切り出しデータに含まれる「参照画像の先頭DDRアドレス」は、参照画像とする入力画像が格納されているDDRメモリ33の先頭アドレスである。参照画像切り出しデータに含まれる「エリア合成指定」は、当該エリアが合成されるか否かを指定する。参照画像切り出しデータに含まれる「エリア飛ばし指定」は、当該エリアが補正演算処理の対象であるか否かを指定する。「エリア飛ばし指定」がされている場合、入力画像は、補正演算処理されることなく出力画像となる。参照画像切り出しデータに含まれる「参照画像の主走査画素数」は、参照画像の主走査方向の画素数を示す。参照画像切り出しデータに含まれる「CLK指定」は、当該エリアの補正演算処理に使用するクロックを指定する。参照画像切り出しデータに含まれる「参照画像の副走査画素数」は、参照画像の副走査方向の画素数を示す。
The “reference image start DDR address” included in the reference image cut-out data is the start address of the
参照画素指定データに含まれる「Xアドレス」及び「Yアドレス」は、出力画像の1画素を生成する参照画像の画素を指定する。参照画素指定データに含まれる「Xサブピクセル」及び「Yサブピクセル」は、出力画像の1画素を生成する参照画像の画素を詳細に指定する情報である。参照画素指定データに含まれる「ブレンド係数」は、図5に示される画素の合成をする際のウエイト情報である。 “X address” and “Y address” included in the reference pixel designation data designate a pixel of the reference image for generating one pixel of the output image. “X sub-pixel” and “Y sub-pixel” included in the reference pixel specifying data are information for specifying in detail the pixel of the reference image for generating one pixel of the output image. The “blend coefficient” included in the reference pixel designation data is weight information when the pixels shown in FIG. 5 are combined.
本実施例では、画像処理パラメータは、入出力画像データを格納するフレームメモリであるDDRメモリ33に格納される。入力画像データ、補正後の出力画像データ及び画像処理パラメータは、それぞれアドレスオフセットが付与されて、DDRメモリ33に配置されてもよい。
In this embodiment, the image processing parameters are stored in a
図11は、本発明の実施の形態におけるDDRメモリ33に画像が格納される一例を示す図である。DDRメモリ33に、魚眼画像である入力画像A及び入力画像Bが格納されている。以下、魚眼画像である入力画像A及び入力画像Bから、1枚の全天球画像を生成する場合の処理について説明する。
FIG. 11 is a diagram illustrating an example in which an image is stored in the
図12は、本発明の実施の形態における出力画像の一例を示す図である。出力画像1は、図11に示される魚眼画像である入力画像A及び入力画像Bに補正演算処理を施し、それぞれ左右に並べたものである。入力画像Aから生成される領域A及び入力画像Bから生成される領域B以外の斜線で示される領域は、入力画像A及び入力画像Bを合成して生成した領域である。出力画像2は、出力画像1において、領域Aを画像の中心に移動したものである。出力画像3は、出力画像2において、さらに垂直方向に画像の半分だけ移動したものである。
FIG. 12 is a diagram showing an example of an output image in the embodiment of the present invention. The
出力画像1、出力画像2及び出力画像3における差異は、カメラの撮影方向の違いによって入力画像の向きが異なり、それに対して出力画像の位置を天頂補正部12によって補正する等の理由により発生する。出力画像に対する入力画像A及び入力画像Bの配置は、図12に示されるように変化する。
The difference between the
図13は、本発明の実施の形態における出力画像の合成領域の一例を示す図である。図13に示されるひとつの白枠は、1エリアに対応し、図12に示される各出力画像において合成が必要な領域を示している。領域A及び領域Bは、入力画像の合成は不要であり、画像処理パラメータには「エリア飛ばし設定」がされている。 FIG. 13 is a diagram illustrating an example of a composite region of output images in the embodiment of the present invention. One white frame shown in FIG. 13 corresponds to one area, and indicates an area that needs to be combined in each output image shown in FIG. The area A and the area B do not require the synthesis of the input image, and “area skip setting” is set as the image processing parameter.
図13に示されるように、出力画像1及び出力画像2は、出力画像の最初の1エリアライン及び最終のエリアラインに合成が必要なエリアが多く存在する。出力画像3は、出力画像の中央のエリアラインに合成が必要なエリアが多く存在する。すなわち、出力画像に対する入力画像A及び入力画像Bの配置によって、合成が必要なエリアを多く含むエリアラインが変化する。入力画像が動画の場合、毎フレーム合成が必要なエリアが多く存在するエリアラインが変化する可能性がある。合成が必要なエリアは、入力画像A及び入力画像Bの両方から参照画像を取得し、補正演算処理を行う必要があるため、合成が必要ないエリアと比べた場合、約2倍の処理時間を要する。そのため、1エリアラインの全てのエリアで合成が必要である場合、合成が全く必要ない1エリアラインと比べた場合、約2倍の処理時間を要する。したがって、ライン出力の等時性を保証する場合、合成が全く必要ない1エリアラインに要する処理時間の約2倍の時間をライン出力間に設定する必要があり、処理遅延が大きくなる。
As shown in FIG. 13, the
そこで、例えば、図6に示されるクロックについて、CLK1が100MHz、CLK2が200MHzとする。例えば、天頂補正部12において、カメラの向きにより画像の回転角度を変える必要が生じて天頂補正を行った場合、天頂補正部12は、合成が必要であるエリアが所定の数又は割合よりも多いエリアラインを判定し、当該エリアラインに含まれるエリアの画像処理パラメータの「CLK指定」にCLK2を、当該エリアライン以外のエリアラインは「CLK指定」にCLK1を設定する。また、当該判定は、例えば、画像処理部11によって行われてもよい。当該「CLK指定」により、任意画像変形部13は、合成が必要であるエリアが多いエリアラインを補正演算処理するとき、CLK2による200MHzのクロックを使用することが可能となり、合成が必要であるエリアが多いエリアラインの処理が早くなるため、ライン出力の等時性を保証する場合であっても、処理遅延を低減することができる。なお、「CLK指定」について、エリアラインごとに設定するのではなく、エリアごとに設定してもよい。
Therefore, for example, for the clock shown in FIG. 6, it is assumed that CLK1 is 100 MHz and CLK2 is 200 MHz. For example, in the
また、例えば、図1に示される画像処理部11において、外部メモリ部17からエリアごとの画像処理パラメータを取得して、「エリア合成指定」の情報を参照して、当該エリアが合成されるエリアである場合、「CLK指定」にCLK2を設定して、外部メモリ部17に書き戻すことで、合成が必要であるエリアの補正演算処理の処理遅延を低減することができる。
Also, for example, in the
図14は、本発明の実施の形態における出力画像のタイミングチャートの一例を示す図である。図14において、図13に示される出力画像1に補正演算処理を行う場合のタイミングチャートが示されている。
FIG. 14 is a diagram illustrating an example of a timing chart of an output image in the embodiment of the present invention. FIG. 14 shows a timing chart when the correction calculation process is performed on the
LSYNCは、ライン等時を保つためのライン周期信号である。CLK1及びCLK2は、CLK指定により選択されるクロックである。CLK指定は、画像処理パラメータで指定される。演算部CLKは、演算部21に供給されるクロックの波形である。DATAINは、演算期間を示す。
LSYNC is a line period signal for keeping the time of the line etc. CLK1 and CLK2 are clocks selected by CLK designation. The CLK designation is designated by an image processing parameter. The calculation unit CLK is a waveform of a clock supplied to the
図14において、左端のLSYNCは、図13に示される出力画像1の1エリアラインの開始を示すライン周期信号である。出力画像1の1エリアラインは、合成が必要なエリアが多いため、CLK指定によりCLK2が演算部CLKに供給されて、処理速度を向上させている。その結果、LSYNCのタイミングに遅延を生じさせることなく、2エリアラインの補正演算処理を開始することができる。図14に示されるように、2エリアラインは、合成が必要なエリアが少ないため、CLK指定によりCLK1が演算部CLKに供給されて、通常の処理速度で処理される。
In FIG. 14, LSYNC at the left end is a line cycle signal indicating the start of one area line of the
上述したように、本発明の実施の形態によれば、画像処理装置100は、合成が必要なエリアが多いエリアラインを補正演算処理するとき、通常よりも高いクロックを任意画像変形部13に供給して処理速度を上げることで、ライン周期に間に合うように当該エリアラインの補正演算処理が完了する。すなわち、出力画像を生成する処理速度を処理状況に応じて変更することによって、出力画像のライン出力の等時性を保ち続けることができる。
As described above, according to the embodiment of the present invention, the
なお、本発明の実施の形態において、エリアラインは、ラインの一例である。エリアは、領域の一例である。天頂補正部12又は画像処理部11は、判定部の一例である。クロック制御部27は、供給部の一例である。演算部21及び補正後画素メモリ24は、合成部の一例である。DDRメモリ33は、第1の記憶部の一例である。参照画像メモリ22は、第2の記憶部の一例である。
In the embodiment of the present invention, the area line is an example of a line. An area is an example of a region. The
なお、本発明は、プロジェクタ、医療用機器又はテレビ会議システム等の画像処理装置又は画像処理システムに適用可能である。また、本発明は、撮像した画像を処理する装置又はシステムとなり得る、携帯電話、携帯型情報端末、車載機器等の通信端末又は情報処理装置に適用可能である。また、本発明の画像処理装置は、一つの装置にすべての機能を含んで構成されてもよいし、複数の装置によって構成されてもよい。 The present invention can be applied to an image processing apparatus or an image processing system such as a projector, a medical device, or a video conference system. The present invention is also applicable to communication terminals or information processing apparatuses such as mobile phones, portable information terminals, and in-vehicle devices, which can be apparatuses or systems for processing captured images. In addition, the image processing apparatus of the present invention may be configured to include all functions in one apparatus, or may be configured from a plurality of apparatuses.
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.
100 画像処理装置
10 入力I/F
11 画像処理部
12 天頂補正部
13 任意画像変形部
14 制御部
15 出力I/F
16 インターコネクト部
17 外部メモリ部
101 CPU
102 ネットワークインタフェース
103 入出力インタフェース
104 内部メモリ
105 外部メモリインタフェース
106 バス
107 外部メモリ
21 演算部
22 参照画像メモリ
23 画像処理パラメータメモリ
24 補正後画素メモリ
25 全体制御部
26 インタフェース部
27 クロック制御部
28 レジスタ制御部
30 CLK信号
31 CPU制御信号
32 DDRコントローラ
33 DDRメモリ
34 外部出力
100
11
16
102
Claims (6)
前記合成が必要である前記ラインを構成する複数の領域の数が、所定の数以上であるか否かを前記ラインごとに判定する判定部と、
前記判定に基づいて、複数の異なるクロックからクロックを選択し、前記選択されたクロックを供給する供給部と、
前記供給されるクロックにより駆動され、前記合成を実行し、前記合成の結果に基づいて画像を出力する合成部とを有する画像処理装置。 An image processing apparatus that combines a part or all of a plurality of input images and outputs an image composed of a plurality of lines,
A determination unit that determines, for each line, whether the number of a plurality of regions constituting the line that needs to be combined is a predetermined number or more;
Based on the determination, a supply unit that selects a clock from a plurality of different clocks and supplies the selected clock;
An image processing apparatus including a combining unit that is driven by the supplied clock, executes the combining, and outputs an image based on the result of the combining;
前記合成に使用される入力された画像を記憶する第2の記憶部とをさらに有し、
前記第1の記憶部及び前記第2の記憶部は、前記供給されるクロックにより駆動される請求項1記載の画像処理装置。 A first storage unit for storing the plurality of input images;
A second storage unit for storing the input image used for the composition;
The image processing apparatus according to claim 1, wherein the first storage unit and the second storage unit are driven by the supplied clock.
前記合成が必要である前記ラインを構成する複数の領域の数が、所定の数以上であるか否かを前記ラインごとに判定する判定手順と、
前記判定に基づいて、複数の異なるクロックからクロックを選択し、前記選択されたクロックを供給する供給手順と、
前記供給されるクロックにより駆動され、前記合成を実行し、前記合成の結果に基づいて画像を出力する合成手順とを実行する画像処理方法。 An image processing method for combining a part or all of a plurality of input images and outputting an image composed of a plurality of lines,
A determination procedure for determining, for each line, whether or not the number of a plurality of regions constituting the line that needs to be combined is equal to or greater than a predetermined number;
A supply procedure for selecting a clock from a plurality of different clocks based on the determination and supplying the selected clock;
An image processing method that is driven by the supplied clock, executes the composition, and performs a composition procedure for outputting an image based on the result of the composition.
前記合成が必要である前記ラインを構成する複数の領域の数が、所定の数以上であるか否かを前記ラインごとに判定する判定手順と、
前記判定に基づいて、複数の異なるクロックからクロックを選択し、前記選択されたクロックを供給する供給手順と、
前記供給されるクロックにより駆動され、前記合成を実行し、前記合成の結果に基づいて画像を出力する合成手順とを前記画像処理装置に実行させるためのプログラム。 A program that can be executed by an image processing apparatus that synthesizes some or all of a plurality of input images and outputs an image composed of a plurality of lines,
A determination procedure for determining, for each line, whether or not the number of a plurality of regions constituting the line that needs to be combined is equal to or greater than a predetermined number;
A supply procedure for selecting a clock from a plurality of different clocks based on the determination and supplying the selected clock;
A program for causing the image processing apparatus to execute a synthesis procedure that is driven by the supplied clock, executes the synthesis, and outputs an image based on the result of the synthesis.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017092624A JP2018191154A (en) | 2017-05-08 | 2017-05-08 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017092624A JP2018191154A (en) | 2017-05-08 | 2017-05-08 | Image processing apparatus, image processing method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018191154A true JP2018191154A (en) | 2018-11-29 |
Family
ID=64480261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017092624A Pending JP2018191154A (en) | 2017-05-08 | 2017-05-08 | Image processing apparatus, image processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018191154A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020075424A1 (en) | 2018-10-09 | 2020-04-16 | アサヒグループホールディングス株式会社 | Immunostimulator and method for preventing infection |
CN113744114A (en) * | 2020-05-27 | 2021-12-03 | 京东方科技集团股份有限公司 | Vector diagram drawing method and device based on 8k video system and storage medium |
-
2017
- 2017-05-08 JP JP2017092624A patent/JP2018191154A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020075424A1 (en) | 2018-10-09 | 2020-04-16 | アサヒグループホールディングス株式会社 | Immunostimulator and method for preventing infection |
CN113744114A (en) * | 2020-05-27 | 2021-12-03 | 京东方科技集团股份有限公司 | Vector diagram drawing method and device based on 8k video system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110149467B (en) | Mobile telephone | |
JP2016025515A (en) | Imaging apparatus, imaging display device, and control method thereof | |
JP2012095075A (en) | Semiconductor integrated circuit and full-perimeter video system | |
US20160070642A1 (en) | Memory control and data processing using memory address generation based on differential addresses | |
JP2018191154A (en) | Image processing apparatus, image processing method, and program | |
US9154665B2 (en) | Image processing apparatus and control method thereof | |
JP2010081024A (en) | Device for interpolating image | |
JP2010176547A (en) | Controller included in image processor, control method and control processing program | |
JP6041630B2 (en) | Image processing device | |
JP2011259107A (en) | Projection device and control method thereof | |
JP2003304481A (en) | Image processor and image processing method | |
JP2018005389A (en) | Image deformation circuit, image processing apparatus, and image deformation method | |
JP2015099959A (en) | Apparatus and method of image processing, and electronic apparatus | |
JP6762775B2 (en) | Image processing equipment, imaging equipment, control methods and programs | |
CN108696670A (en) | Tile reuse is carried out in imaging | |
JP6273881B2 (en) | Image processing apparatus, image processing method, and program | |
JP6141062B2 (en) | Data processing apparatus and clock supply method | |
JP2013195963A (en) | Image processing device, integrated circuit apparatus, and image display system | |
CN111436214B (en) | Image signal processing apparatus and method | |
JP6828604B2 (en) | Image processing equipment, image processing methods and programs | |
JP2009017060A (en) | Image processing apparatus | |
US10672107B2 (en) | Image processing apparatus and method of controlling the same | |
JP2015034891A (en) | Register setting control device | |
JP5890044B2 (en) | vehicle | |
JP2003143474A (en) | Image signal processing system |