Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6814484B2 - Image processing equipment, image processing method and image processing program - Google Patents
[go: Go Back, main page]

JP6814484B2 - Image processing equipment, image processing method and image processing program - Google Patents

Image processing equipment, image processing method and image processing program Download PDF

Info

Publication number
JP6814484B2
JP6814484B2 JP2018154387A JP2018154387A JP6814484B2 JP 6814484 B2 JP6814484 B2 JP 6814484B2 JP 2018154387 A JP2018154387 A JP 2018154387A JP 2018154387 A JP2018154387 A JP 2018154387A JP 6814484 B2 JP6814484 B2 JP 6814484B2
Authority
JP
Japan
Prior art keywords
target
sub
principal component
region
image
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
Application number
JP2018154387A
Other languages
Japanese (ja)
Other versions
JP2020030502A (en
Inventor
悠貴 小島
悠貴 小島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ACCELE CORP
Original Assignee
ACCELE CORP
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ACCELE CORP filed Critical ACCELE CORP
Priority to JP2018154387A priority Critical patent/JP6814484B2/en
Publication of JP2020030502A publication Critical patent/JP2020030502A/en
Application granted granted Critical
Publication of JP6814484B2 publication Critical patent/JP6814484B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は画像処理技術に関する。 The present invention relates to an image processing technique.

動画像を圧縮する重要な技術の一つとしてフレーム間予測符号化がある。フレーム間予測符号化では、符号化するフレーム(以下「対象フレーム」という)とは異なる時刻の符号化処理済のフレーム(以下「参照フレーム」という)を基に対象フレームの画像を予測し、対象フレームの実際の画像と予測した画像の差分を符号化する。対象フレームの符号化処理済のフレームとの差分を符号化することによりフレームのデータ量を削減することができる。 Interframe prediction coding is one of the important techniques for compressing moving images. In inter-frame prediction coding, the image of the target frame is predicted based on the coded frame (hereinafter referred to as "reference frame") at a time different from the frame to be encoded (hereinafter referred to as "target frame"), and the target is targeted. Encode the difference between the actual image of the frame and the predicted image. The amount of data in the frame can be reduced by encoding the difference between the target frame and the coded frame.

フレーム間予測符号化では、フレームを複数に分割したブロック単位で以下の(1)〜(3)の処理が行われる。
(1)対象フレーム内のブロック(以下「対象ブロック」という)に類似するブロック(以下「参照ブロック」という)を参照フレーム内から画像マッチング技術を用いて探索する。
(2)対象ブロックと探索で得られた参照ブロックとの差分画像を求める。
(3)探索で得られた参照ブロックから対象ブロックへの動きを示す動きベクトルを求める。
In the inter-frame prediction coding, the following processes (1) to (3) are performed in block units in which a frame is divided into a plurality of frames.
(1) A block (hereinafter referred to as "reference block") similar to a block in the target frame (hereinafter referred to as "target block") is searched from within the reference frame using an image matching technique.
(2) Obtain the difference image between the target block and the reference block obtained by the search.
(3) Obtain a motion vector indicating the movement from the reference block obtained by the search to the target block.

このようにして圧縮された動画像のフレームを復号するとき、参照ブロックと差分画像と動きベクトルから対象ブロックの画像を復元することができる。 When decoding the frame of the moving image compressed in this way, the image of the target block can be restored from the reference block, the difference image, and the motion vector.

上述したように上記(1)では、対象ブロックと類似する参照ブロックを探索する際に画像マッチング技術が用いられる。画像マッチング技術として特徴ベースマッチングや領域ベースマッチングといった様々な方式が知られている。動画像内での物体の動きには移動や伸縮(スケール変化)の他に回転が含まれる。上記(1)にて、動画像内で回転する物体が存在するブロック同士を互いに類似すると判断するために、対象ブロックと参照ブロックの相対角度を算出することが求められる。また、上述したように、上記(3)にて算出する参照ブロックから対象ブロックへの動きには、移動、伸縮、および回転が含まれる。そのため対象ブロックと参照ブロックの相対角度を算出する必要がある。 As described above, in the above (1), the image matching technique is used when searching for a reference block similar to the target block. Various methods such as feature-based matching and area-based matching are known as image matching techniques. The movement of an object in a moving image includes rotation in addition to movement and expansion and contraction (scale change). In (1) above, it is required to calculate the relative angle between the target block and the reference block in order to determine that the blocks in which the rotating object exists in the moving image are similar to each other. Further, as described above, the movement from the reference block to the target block calculated in (3) above includes movement, expansion / contraction, and rotation. Therefore, it is necessary to calculate the relative angle between the target block and the reference block.

特許文献1には動画像圧縮における動きを算出する技術が開示されている。画像平面上の現フレ−ムの既知の領域の3点とこれらの3点について探索された3つの平行移動ベクトルを用いて前フレ−ムの領域の3点の座標を求める。更に、現フレ−ムおよび前フレ−ムの領域の6点の位置座標より各々のベクトルの水平と垂直成分を算出し、それらのベクトルのx、y成分より、水平と垂直方向の回転角度、伸縮倍率、平行移動量の6個のアフィン変換パラメータを算出する。 Patent Document 1 discloses a technique for calculating motion in moving image compression. The coordinates of the three points in the region of the previous frame are obtained using the three points in the known region of the current frame on the image plane and the three translation vectors searched for these three points. Furthermore, the horizontal and vertical components of each vector are calculated from the position coordinates of the six points in the regions of the current frame and the previous frame, and the horizontal and vertical rotation angles are calculated from the x and y components of those vectors. Six affine conversion parameters of expansion / contraction magnification and translation amount are calculated.

また、非特許文献1には、画像のスケール変化や回転に関連する技術が開示されている。画像ブロックに含まれる画素の勾配に関するヒストグラムを作成し、ヒストグラムの最大値となるピークをキーポイントのオリエンテーションとして割り当てる。そして、キーポイントのオリエンテーション方向に画像を回転する。 In addition, Non-Patent Document 1 discloses a technique related to scale change and rotation of an image. A histogram about the gradient of the pixels included in the image block is created, and the peak that is the maximum value of the histogram is assigned as the orientation of the key points. Then, the image is rotated in the orientation direction of the key point.

特開平9−98424号公報Japanese Unexamined Patent Publication No. 9-98424

Gradientベースの特徴抽出-SIFTとHOG- 藤吉弘亘 情報処理学会 研究報告CVIM 160, pp. 211-224, September, 2007.Gradient-based feature extraction-SIFT and HOG- Hironobu Fujiyoshi Information Processing Society of Japan Research Report CVIM 160, pp. 211-224, September, 2007.

特許文献1に開示された技術では、平行移動ベクトルを探索する処理が複雑である。非特許文献1に開示された技術では、画像の勾配強度と勾配方向とを用いてヒストグラムを作成する処理が複雑である。そのため、対象ブロックと参照ブロックとの相対的な拡大または縮小の比率を求める計算量が多くなるという問題があった。拡大または縮小のことを以下「拡縮」という場合がある。また、拡大または縮小の比率のことを以下「拡縮率」という場合がある。 In the technique disclosed in Patent Document 1, the process of searching for a translation vector is complicated. In the technique disclosed in Non-Patent Document 1, the process of creating a histogram using the gradient intensity and the gradient direction of an image is complicated. Therefore, there is a problem that the amount of calculation for obtaining the relative enlargement / reduction ratio between the target block and the reference block increases. Enlargement or reduction may be referred to as "enlargement / reduction" below. In addition, the ratio of enlargement or reduction may be referred to as "scale ratio" below.

本発明の目的は、領域同士の拡大または縮小の比率を少ない計算量で算出する技術を提供することである。 An object of the present invention is to provide a technique for calculating the ratio of expansion or contraction between regions with a small amount of calculation.

1つの態様による画像処理装置は、対象領域の拡大または縮小の基準となる参照領域を決定する参照領域決定部と、前記対象領域内の複数のサブ対象領域と、前記サブ対象領域のそれぞれに対応する前記参照領域内の複数のサブ参照領域との相対的な位置関係に基づく複数のベクトルを主成分分析することにより得られる主成分の固有値に基づいて前記拡大または縮小の比率を決定する拡縮算出部と、を有する。 The image processing apparatus according to one embodiment corresponds to a reference area determination unit that determines a reference area that is a reference for enlargement or reduction of the target area, a plurality of sub-target areas in the target area, and each of the sub-target areas. Scale calculation that determines the enlargement or reduction ratio based on the eigenvalues of the principal components obtained by principal component analysis of a plurality of vectors based on the relative positional relationship with the plurality of subreference regions in the reference region. It has a part and.

本発明によれば、参照領域に対する対象領域の拡大または縮小の比率を少ない計算量で算出することができる。 According to the present invention, the ratio of expansion or contraction of the target area to the reference area can be calculated with a small amount of calculation.

画像処理装置の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of an image processing apparatus. 画像処理装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware structure of an image processing apparatus. 画像処理装置による全体処理のフローチャートである。It is a flowchart of the whole processing by an image processing apparatus. 対象画像の一例を示す図である。It is a figure which shows an example of the target image. 参照画像の一例を示す図である。It is a figure which shows an example of a reference image. 第1の拡縮演算処理のフローチャートである。It is a flowchart of the 1st scaling calculation processing. 対象領域内にサブ対象領域が作成された様子を示す図である。It is a figure which shows the state that the sub-target area was created in the target area. 参照領域内でサブ参照領域が決定された様子を示す図である。It is a figure which shows the state that the sub-reference area is determined in the reference area. サブ参照領域を基準として正規化されたサブ対象領域の一例を示す図である。It is a figure which shows an example of the sub-target area normalized with respect to a sub-reference area. ステップS203で求めた複数のベクトルの主成分の固有ベクトルを示す図である。It is a figure which shows the eigenvector of the principal component of a plurality of vectors obtained in step S203. 第2の拡縮演算処理のフローチャートである。It is the flowchart of the 2nd scaling calculation processing. 参照領域内にサブ参照領域が作成された様子を示す図である。It is a figure which shows the state that the sub-reference area is created in the reference area. 対象領域内でサブ対象領域が決定された様子を示す図である。It is a figure which shows the state that the sub-target area was determined in the target area. ステップS303で求めた複数のベクトルの主成分の固有ベクトルを示す図である。It is a figure which shows the eigenvector of the principal component of a plurality of vectors obtained in step S303. 拡縮決定処理のフローチャートである。It is a flowchart of scaling decision processing.

以下、本発明の実施形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

本実施形態では、画像の拡大あるいは縮小の比率を算出する装置の一例として画像の差分符号化を行う画像符号化装置を例示する。差分符号化は、符号化の対象となる静止画フレームの画像(対象画像)と、符号化に利用する静止画フレームの画像(参照画像)から予測した画像(予測画像)との差分を符号化する符号化方式である。参照画像は、例えば、既に符号化された前フレームの画像である。参照画像から対象画像にできるだけ近い予測画像を生成すれば、対象画像と予測画像との差分が小さくなり、その結果、符号化後のデータ量を小さくすることができる。例えば、対象画像に限りなく近い予測画像が得られれば差分がほとんどなくなり、符号化後のデータ量は小さくなる。逆に、予測が不能であれば、例えば、対象画像と参照画像との差分をそのまま符号化し、符号化後のデータ量が大きくなる。 In the present embodiment, an image coding device that performs differential coding of an image is illustrated as an example of a device that calculates the enlargement / reduction ratio of an image. In the difference coding, the difference between the image of the still image frame to be encoded (target image) and the image predicted from the image of the still image frame used for coding (reference image) (predicted image) is encoded. It is a coding method to be used. The reference image is, for example, an already encoded image of the previous frame. If a predicted image as close as possible to the target image is generated from the reference image, the difference between the target image and the predicted image becomes small, and as a result, the amount of data after encoding can be reduced. For example, if a predicted image as close as possible to the target image is obtained, the difference is almost eliminated, and the amount of data after encoding becomes small. On the contrary, if the prediction is unpredictable, for example, the difference between the target image and the reference image is encoded as it is, and the amount of data after encoding becomes large.

図1は、画像処理装置の機能構成を示すブロック図である。図2は、画像処理装置のハードウェア構成を示すブロック図である。 FIG. 1 is a block diagram showing a functional configuration of an image processing device. FIG. 2 is a block diagram showing a hardware configuration of the image processing device.

図1を参照すると、画像処理装置1は、制御部10と、記憶部20とを備える。記憶部20には、フレーム情報21と、差分符号情報22とが格納される。フレーム情報21は、動画を構成する各フレームの画像データである。差分符号情報22は、差分符号化により符号化された各フレームの画像データである。 Referring to FIG. 1, the image processing device 1 includes a control unit 10 and a storage unit 20. The storage unit 20 stores the frame information 21 and the difference code information 22. The frame information 21 is image data of each frame constituting the moving image. The difference code information 22 is image data of each frame encoded by the difference coding.

制御部10は、記憶部20に格納されたフレーム情報21を用いてフレームの画像を符号化し、符号化後の画像データを差分符号情報22として記憶部20に記録する。 The control unit 10 encodes the image of the frame using the frame information 21 stored in the storage unit 20, and records the encoded image data in the storage unit 20 as the difference code information 22.

図2を参照すると、画像処理装置1のハードウェアは一例としてコンピュータ装置400である。コンピュータ装置400は、制御回路401と、記憶装置402と、読書装置403と、記録媒体404と、通信インターフェイス405と、入出力インターフェイス406と、入力装置407と、表示装置408とを有している。制御回路401、記憶装置402、読書装置403、通信インターフェイス405、入出力インターフェイス406、および表示装置408はバス410により互いに接続される。記録媒体404は読書装置403に接続される。入力装置407は入出力インターフェイス406に接続される。また通信インターフェイス405はネットワーク409と接続される。 Referring to FIG. 2, the hardware of the image processing apparatus 1 is a computer apparatus 400 as an example. The computer device 400 includes a control circuit 401, a storage device 402, a reading device 403, a recording medium 404, a communication interface 405, an input / output interface 406, an input device 407, and a display device 408. .. The control circuit 401, the storage device 402, the reading device 403, the communication interface 405, the input / output interface 406, and the display device 408 are connected to each other by the bus 410. The recording medium 404 is connected to the reading device 403. The input device 407 is connected to the input / output interface 406. The communication interface 405 is also connected to the network 409.

制御回路401は、コンピュータ装置400全体を制御する。制御回路401は一例としてプロセッサである。制御回路401は、記憶装置402に記録された不図示の画像処理プログラムを実行することにより、図1に示した制御部10として動作する。 The control circuit 401 controls the entire computer device 400. The control circuit 401 is, for example, a processor. The control circuit 401 operates as the control unit 10 shown in FIG. 1 by executing an image processing program (not shown) recorded in the storage device 402.

記憶装置402は、制御回路401を制御部10として機能させる画像処理プログラムを記憶する。また、記憶装置402は、制御回路401が動作するための各種データを記憶する。また、記憶装置402は、図1における記憶部20として機能する。 The storage device 402 stores an image processing program that causes the control circuit 401 to function as the control unit 10. In addition, the storage device 402 stores various data for the control circuit 401 to operate. Further, the storage device 402 functions as the storage unit 20 in FIG.

読書装置403は、着脱可能な記録媒体404からデータを読み出し、また記録媒体404へデータを書き込む。 The reading device 403 reads data from the removable recording medium 404 and writes the data to the recording medium 404.

記録媒体404は、SD(Secure Digital)メモリーカード、FD(Floppy Disk)、CD(Compact Disc)、DVD(Digital Versatile Disk)、BD(Blu−ray Disk:登録商標)、およびフラッシュメモリなどの非一時的記録媒体である。記録媒体404は、例えば、コンピュータ装置400に与えるデータ、コンピュータ装置400で生成されたデータ、およびコンピュータ装置400で取得されたデータを格納する。また、記録媒体404は、図1に示した記憶部20内の情報を記憶してもよい。 The recording medium 404 is a non-temporary recording medium such as an SD (Secure Digital) memory card, an FD (Floppy Disk), a CD (Compact Disk), a DVD (Digital Versaille Disk), a BD (Blu-ray Disc: registered trademark), and a flash memory. It is a target recording medium. The recording medium 404 stores, for example, data given to the computer device 400, data generated by the computer device 400, and data acquired by the computer device 400. Further, the recording medium 404 may store the information in the storage unit 20 shown in FIG.

通信インターフェイス405は、ネットワーク409を介してコンピュータ装置400と不図示の他の装置とを通信可能に接続する。 The communication interface 405 connects the computer device 400 and another device (not shown) in a communicable manner via the network 409.

入出力インターフェイス406は、入力装置407等の各種入出力装置と接続するインターフェイスである。入出力インターフェイス406は、入力装置407から入力された信号を、バス410を介して制御回路401に出力する。また、入出力インターフェイス406は、制御回路401から出力された信号を、バス410を介して入出力装置に出力する。入力装置407は入出力装置の例である。 The input / output interface 406 is an interface for connecting to various input / output devices such as the input device 407. The input / output interface 406 outputs the signal input from the input device 407 to the control circuit 401 via the bus 410. Further, the input / output interface 406 outputs the signal output from the control circuit 401 to the input / output device via the bus 410. The input device 407 is an example of an input / output device.

入力装置407は、キーボード、マウス等の入力装置である。入力装置407は、ユーザによる情報の入力操作を受け付け、入力された情報に対応する信号を入出力インターフェイス406に出力する。例えば、ユーザが入力装置407に映像の差分符号化の開始の指示を入力すると、入力装置407は指示を示す信号を入出力インターフェイス406に出力する。 The input device 407 is an input device such as a keyboard and a mouse. The input device 407 accepts an information input operation by the user and outputs a signal corresponding to the input information to the input / output interface 406. For example, when the user inputs an instruction to start differential coding of video to the input device 407, the input device 407 outputs a signal indicating the instruction to the input / output interface 406.

表示装置408は、制御回路401からの制御により各種情報を画面に表示する。 The display device 408 displays various information on the screen under the control of the control circuit 401.

ネットワーク409は、コンピュータ装置400と他の装置を通信可能に接続する。 The network 409 connects the computer device 400 and other devices in a communicable manner.

以下、図1の制御部10の詳細について説明する。 Hereinafter, the details of the control unit 10 of FIG. 1 will be described.

図1を参照すると、制御部10は、参照領域決定部11と、拡縮算出部12と、予測画像生成部13と、差分符号化部14とを含む。 Referring to FIG. 1, the control unit 10 includes a reference area determination unit 11, a scale calculation unit 12, a prediction image generation unit 13, and a difference coding unit 14.

参照領域決定部11は、記憶部20のフレーム情報21から符号化対象である対象画像の画像データを取得し、対象画像内にあるブロック領域(対象領域)の符号化に利用する参照画像における対象領域に類似する領域を参照領域として決定する。類似するというのは、類似の程度を示す指標の値が大きいことをいう。以下、類似の程度を示す指標を類似度ともいう。画像同士の類似度の評価方法は特に限定されないが、例えば画素値の二乗誤差和などで評価することができる。例えば、対象領域との類似度が所定の閾値を超える領域を参照領域としてもよい。あるいは対象領域との類似度が参照画像における他の領域と比べて高い領域を参照領域としてもよい。参照領域を決定するとき、参照領域決定部11は、参照画像内で参照領域の候補を順次スライドしながら、総当たりで候補の領域と対象領域との類似度を算出することにより、対象領域との類似度が高い領域を探索する。後述する予測画像の作成において参照領域を拡大または縮小して対象領域の画像を予測するので、参照領域は対象領域の拡大または縮小の基準となる。 The reference area determination unit 11 acquires image data of the target image to be encoded from the frame information 21 of the storage unit 20, and uses the target in the reference image for encoding the block area (target area) in the target image. A region similar to the region is determined as a reference region. "Similarity" means that the value of the index indicating the degree of similarity is large. Hereinafter, an index showing the degree of similarity is also referred to as a degree of similarity. The method for evaluating the similarity between images is not particularly limited, but the evaluation can be performed by, for example, the sum of squared errors of pixel values. For example, a region whose similarity with the target region exceeds a predetermined threshold value may be used as a reference region. Alternatively, a region having a high degree of similarity to the target region as compared with other regions in the reference image may be used as the reference region. When determining the reference area, the reference area determination unit 11 sequentially slides the candidates of the reference area in the reference image and calculates the similarity between the candidate area and the target area by brute force to obtain the target area. Search for areas with high similarity. Since the image of the target area is predicted by enlarging or reducing the reference area in the creation of the prediction image described later, the reference area serves as a reference for enlarging or reducing the target area.

拡縮算出部12は、対象領域内の複数のサブ対象領域と、各サブ対象領域に対応する参照領域内の複数のサブ参照領域との相対的な位置関係に基づく複数のベクトルを主成分分析することにより得られる主成分の固有値に基づいて、対象領域の参照領域に対する拡大または縮小の比率を決定する。 The scaling calculation unit 12 performs principal component analysis of a plurality of vectors based on the relative positional relationship between the plurality of sub-target areas in the target area and the plurality of sub-reference areas in the reference area corresponding to each sub-target area. Based on the eigenvalues of the principal components obtained thereby, the ratio of enlargement or reduction of the target area to the reference area is determined.

本実施形態によれば、平行移動ベクトルを探索したり画像の勾配強度および勾配方向を用いたヒストグラムを作成したりするような複雑な処理を必要とせず、参照領域に対する対象領域の拡大または縮小の比率を少ない計算量で算出することができる。 According to the present embodiment, it is not necessary to perform complicated processing such as searching for a translation vector or creating a histogram using the gradient intensity and gradient direction of an image, and the expansion or contraction of the target area with respect to the reference area is not required. The ratio can be calculated with a small amount of calculation.

予測画像生成部13は、参照領域を拡縮算出部12により決定された比率で拡大または縮小した画像を用いて、参照画像から対象画像を予測した予測画像を生成する。 The prediction image generation unit 13 generates a prediction image in which the target image is predicted from the reference image by using an image in which the reference area is enlarged or reduced at a ratio determined by the scaling calculation unit 12.

差分符号化部14は、予測画像生成部13で生成された予測画像と対象画像との差分を符号化する。差分を符号化した符号データは記憶部20に差分符号情報22として記録される。 The difference coding unit 14 encodes the difference between the predicted image generated by the predicted image generation unit 13 and the target image. The code data in which the difference is encoded is recorded in the storage unit 20 as the difference code information 22.

本実施形態によれば、少ない計算量で比率を計算し、その比率で参照領域を拡大または縮小した画像を用いて対象領域の予測画像を生成するので、少ない計算量で良好な差分符号化を行うことができる。 According to the present embodiment, the ratio is calculated with a small amount of calculation, and the predicted image of the target area is generated using the image obtained by enlarging or reducing the reference area with the ratio. Therefore, good difference coding can be performed with a small amount of calculation. It can be carried out.

なお、参照領域決定部11は、参照画像内の互いに重複可能な複数の領域を候補領域とし、候補領域を所定の回転角度だけ回転させた回転候補領域と、対象領域との類似度を算出し、類似度に基づいて、複数の候補領域の中から参照領域を決定することにしてもよい。参照画像内の領域を回転させた領域と対象領域との類似度を用いて参照領域を探索するので、良好な参照領域を決定することができ、その結果、良好な差分符号化をすることができる。このとき、例えば、複数の回転角度を予め定めておき、それぞれの候補領域について各回転角度だけ回転させた回転候補領域を作成し、それら複数の回転候補領域と対象領域との類似度を総当たりで算出し、最も類似度の高い回転候補領域の元の候補領域を参照領域とすることにしてもよい。また、このときの回転候補領域の回転角度が、対象領域と参照領域の相対的な回転角度であると言える。 The reference area determination unit 11 uses a plurality of areas in the reference image that can overlap with each other as candidate areas, and calculates the degree of similarity between the rotation candidate area obtained by rotating the candidate area by a predetermined rotation angle and the target area. , The reference area may be determined from a plurality of candidate areas based on the similarity. Since the reference area is searched using the similarity between the rotated area and the target area in the reference image, a good reference area can be determined, and as a result, good difference coding can be performed. it can. At this time, for example, a plurality of rotation angles are determined in advance, rotation candidate regions are created by rotating each candidate region by each rotation angle, and the similarity between the plurality of rotation candidate regions and the target region is brute-forced. The original candidate area of the rotation candidate area having the highest degree of similarity may be used as the reference area. Further, it can be said that the rotation angle of the rotation candidate region at this time is the relative rotation angle between the target region and the reference region.

図3は、画像処理装置による全体処理のフローチャートである。 FIG. 3 is a flowchart of overall processing by the image processing apparatus.

図3を参照すると、まず、ステップS101にて、参照領域決定部11は、対象画像内の対象領域に類似する参照画像内の領域を参照領域として決定する。 Referring to FIG. 3, first, in step S101, the reference area determination unit 11 determines a region in the reference image similar to the target region in the target image as a reference region.

図4は対象画像の一例を示す図である。図5は参照画像の一例を示す図である。ここでは図4に示した対象画像100内の対象領域110と類似度が高い領域を、図5に示した参照画像200内から探索するものとする。本例では、参照領域決定部11は、参照画像200内で参照領域の候補である候補領域211を順次スライドさせ、候補領域211を所定の回転角度だけ回転させて回転候補領域とし、対象領域110との類似度を算出し、類似度が最も高かった回転候補領域の元となった候補領域211を参照領域210とする。 FIG. 4 is a diagram showing an example of the target image. FIG. 5 is a diagram showing an example of a reference image. Here, it is assumed that a region having a high degree of similarity to the target region 110 in the target image 100 shown in FIG. 4 is searched from the reference image 200 shown in FIG. In this example, the reference area determination unit 11 sequentially slides the candidate area 211 which is a candidate of the reference area in the reference image 200, and rotates the candidate area 211 by a predetermined rotation angle to make it a rotation candidate area, and the target area 110 The candidate region 211, which is the source of the rotation candidate region having the highest similarity, is set as the reference region 210.

次に、ステップS102にて、拡縮算出部12は第1の拡縮演算処理を実行する。第1の拡縮演算処理は対象領域から参照領域を見た場合の拡大または縮小に関する演算処理である。 Next, in step S102, the scaling calculation unit 12 executes the first scaling calculation process. The first scaling operation is an operation related to enlargement or reduction when the reference area is viewed from the target area.

図6は、第1の拡縮演算処理のフローチャートである。 FIG. 6 is a flowchart of the first scaling calculation process.

図6を参照すると、まず、ステップS201にて、拡縮算出部12は、対象領域内に複数のサブ対象領域を作成する。図7は、対象領域内にサブ対象領域が作成された様子を示す図である。図7に示すように、拡縮算出部12は、対象領域110の中心を中心とする円周上に等間隔で複数のサブ対象領域(第1サブ対象領域)121を作成する。ここでは1から8までの番号が付された8個のサブ対象領域121が作成されている。 Referring to FIG. 6, first, in step S201, the scaling calculation unit 12 creates a plurality of sub-target areas in the target area. FIG. 7 is a diagram showing how a sub-target area is created in the target area. As shown in FIG. 7, the scaling calculation unit 12 creates a plurality of sub-target areas (first sub-target areas) 121 at equal intervals on the circumference centered on the center of the target area 110. Here, eight sub-target areas 121 numbered from 1 to 8 are created.

次に、ステップS202にて、拡縮算出部12は、参照領域内で、複数のサブ対象領域121のそれぞれに類似する領域(サブ参照領域)を探索する。図8は、参照領域内でサブ参照領域が決定された様子を示す図である。拡縮算出部12は、図7に示したそれぞれのサブ対象領域121に類似する領域を参照領域210内で探索し、類似度の高い領域を当該サブ対象領域121に対応するサブ参照領域(第1サブ参照領域)221とする。具体例としては、拡縮算出部12は、対象領域110における当該サブ対象領域121を切り出した位置と同じ参照領域210内の位置から、参照領域210の中心を軸として対象領域110と参照領域210との相対的な回転角度だけ回転させた位置の近傍に候補の領域をスライドさせながら、その都度、その候補の領域とサブ対象領域121との類似度を評価し、評価した中で類似度の最も高い候補の領域をサブ参照領域221と定めることにしてもよい。 Next, in step S202, the scaling calculation unit 12 searches for a region (sub-reference region) similar to each of the plurality of sub-target regions 121 in the reference region. FIG. 8 is a diagram showing how the sub-reference area is determined in the reference area. The scaling calculation unit 12 searches the reference area 210 for a region similar to each sub-target region 121 shown in FIG. 7, and searches for a region having a high degree of similarity in the sub-reference region (first) corresponding to the sub-target region 121. Sub-reference area) 221. As a specific example, the scaling calculation unit 12 sets the target area 110 and the reference area 210 about the center of the reference area 210 from the same position in the reference area 210 as the position where the sub target area 121 is cut out in the target area 110. While sliding the candidate area near the position rotated by the relative rotation angle of, the similarity between the candidate area and the sub-target area 121 is evaluated each time, and the highest degree of similarity is evaluated. The high candidate region may be defined as the subreference region 221.

全てのサブ対象領域121に対応するサブ参照領域221が決定したら、次に、ステップS203にて、拡縮算出部12は、対象領域110の中心を原点とし複数のサブ対象領域121の位置を示す座標ベクトルの大きさが1となるように、参照領域210の中心を原点とし複数のサブ参照領域221の位置を示す座標ベクトルを正規化した複数のベクトル(第1ベクトル)を求める。ここで求めたベクトルの集合は、対象領域の参照領域に対する拡大または縮小の比率の方向毎の分布を示す。図9は、正規化されたサブ対象領域の一例を示す図である。図9には、正規化の結果として、対応するサブ参照領域221に対して原点Oからの距離が拡大または縮小されたサブ対象領域122が示されている。 After the sub-reference areas 221 corresponding to all the sub-target areas 121 are determined, then in step S203, the scaling calculation unit 12 has coordinates indicating the positions of the plurality of sub-target areas 121 with the center of the target area 110 as the origin. A plurality of vectors (first vector) obtained by normalizing the coordinate vectors indicating the positions of the plurality of sub-reference regions 221 with the center of the reference region 210 as the origin so that the magnitude of the vector becomes 1. The set of vectors obtained here shows the distribution of the enlargement or reduction ratio of the target area with respect to the reference area in each direction. FIG. 9 is a diagram showing an example of a normalized sub-target region. FIG. 9 shows a sub-target area 122 in which the distance from the origin O is increased or decreased with respect to the corresponding sub-reference area 221 as a result of normalization.

次に、ステップS204にて、拡縮算出部12は、ステップS203で求めた複数のベクトルを主成分分析して主成分(主成分A)を求める。ここで求まる主成分の固有ベクトルは拡大または縮小の方向を示し、固有値は拡大または縮小の比率を示す。第1主成分の固有値をα´とし、第2主成分の固有値をβ´とする。第1主成分の固有ベクトルをVα´とし、第2主成分の固有ベクトルをVβ´とする。図10は、ステップS203で求めた複数のベクトルの主成分の固有ベクトルを示す図である。図10を参照すると、第1主成分の固有ベクトルをVα´と、第2主成分の固有ベクトルをVβ´とが示されている。 Next, in step S204, the scaling calculation unit 12 analyzes the plurality of vectors obtained in step S203 for principal component analysis to obtain the principal component (principal component A). The eigenvector of the principal component obtained here indicates the direction of expansion or contraction, and the eigenvalue indicates the ratio of expansion or contraction. Let the eigenvalue of the first principal component be α'and the eigenvalue of the second principal component be β'. Let the eigenvector of the first principal component be Vα'and the eigenvector of the second principal component be Vβ'. FIG. 10 is a diagram showing eigenvectors of the principal components of the plurality of vectors obtained in step S203. With reference to FIG. 10, the eigenvector of the first principal component is Vα'and the eigenvector of the second principal component is Vβ'.

図3に戻り、更に、ステップS103にて、拡縮算出部12は第2の拡縮演算処理を実行する。第2の拡縮演算処理は参照領域から対象領域を見た場合の拡大または縮小に関する演算処理である。 Returning to FIG. 3, in step S103, the scaling calculation unit 12 executes the second scaling calculation process. The second scaling calculation process is a calculation process relating to scaling when the target area is viewed from the reference area.

図11は、第2の拡縮演算処理のフローチャートである。 FIG. 11 is a flowchart of the second scaling calculation process.

図11を参照すると、まず、ステップS301にて、拡縮算出部12は、参照領域内に複数のサブ参照領域を作成する。図12は、参照領域内にサブ参照領域が作成された様子を示す図である。図12に示すように、拡縮算出部12は、参照領域210の中心を中心とする円周上に等間隔で複数のサブ参照領域(第2サブ参照領域)222を作成する。ここでは1から8までの番号が付された8個のサブ参照領域222が作成されている。 Referring to FIG. 11, first, in step S301, the scaling calculation unit 12 creates a plurality of sub-reference areas in the reference area. FIG. 12 is a diagram showing how a subreference area is created in the reference area. As shown in FIG. 12, the scaling calculation unit 12 creates a plurality of sub-reference regions (second sub-reference regions) 222 on the circumference centered on the center of the reference region 210 at equal intervals. Here, eight sub-reference areas 222 numbered from 1 to 8 are created.

次に、ステップS302にて、拡縮算出部12は、対象領域内で、複数のサブ参照領域222に類似する領域(サブ対象領域)を探索する。図13は、対象領域内でサブ対象領域が決定された様子を示す図である。拡縮算出部12は、図12に示したそれぞれのサブ参照領域222に類似する領域を対象領域110内で探索し、類似度の高い領域を当該サブ参照領域222に対応するサブ対象領域(第2サブ対象領域)122とする。具体例としては、拡縮算出部12は、参照領域210における当該サブ参照領域222を切り出した位置と同じ対象領域110内の位置から、対象領域110の中心を軸として参照領域210と対象領域110との相対的な回転角度だけ回転させた位置の近傍に候補の領域をスライドさせながら、その都度、その候補の領域とサブ参照領域222との類似度を評価し、評価した中で類似度の最も高い候補の領域をサブ対象領域122と定めることにしてもよい。 Next, in step S302, the scaling calculation unit 12 searches for a region (sub-target region) similar to the plurality of sub-reference regions 222 in the target region. FIG. 13 is a diagram showing how a sub-target area is determined within the target area. The scaling calculation unit 12 searches for a region similar to each sub-reference region 222 shown in FIG. 12 in the target region 110, and searches for a region having a high degree of similarity in the sub-target region (second) corresponding to the sub-reference region 222. Sub target area) 122. As a specific example, the scaling calculation unit 12 sets the reference area 210 and the target area 110 about the center of the target area 110 from the same position in the target area 110 as the position where the sub-reference area 222 is cut out in the reference area 210. While sliding the candidate area near the position rotated by the relative rotation angle of, the similarity between the candidate area and the sub-reference area 222 was evaluated each time, and the highest degree of similarity was evaluated. The high candidate area may be defined as the sub-target area 122.

全てのサブ参照領域222に対応するサブ対象領域122が決定したら、次に、ステップS303にて、拡縮算出部12は、参照領域210の中心を原点とし複数のサブ参照領域222の位置を示す座標ベクトルの大きさが1となるように正規化した、対象領域110の中心を原点とし複数のサブ対象領域122の位置を示す座標ベクトルである複数のベクトル(第2ベクトル)を求める。ここで求めたベクトルの集合は、対象領域の参照領域に対する拡大または縮小の比率の方向毎の分布を示す。 After the sub-target areas 122 corresponding to all the sub-reference areas 222 are determined, then in step S303, the scaling calculation unit 12 has coordinates indicating the positions of the plurality of sub-reference areas 222 with the center of the reference area 210 as the origin. A plurality of vectors (second vectors), which are coordinate vectors indicating the positions of the plurality of sub-target areas 122 with the center of the target area 110 as the origin, are obtained, which are normalized so that the magnitude of the vector is 1. The set of vectors obtained here shows the distribution of the enlargement or reduction ratio of the target area with respect to the reference area in each direction.

次に、ステップS304にて、拡縮算出部12は、ステップS303で求めた複数のベクトルを主成分分析して主成分(主成分B)を求める。ここで求まる主成分の固有ベクトルは拡大または縮小の方向を示し、固有値は拡大または縮小の比率を示す。第1主成分の固有値をαとし、第2主成分の固有値をβとする。第1主成分の固有ベクトルをVαとし、第2主成分の固有ベクトルをVβとする。図14は、ステップS303で求めた複数のベクトルの主成分の固有ベクトルを示す図である。図14を参照すると、第1主成分の固有ベクトルをVαと、第2主成分の固有ベクトルをVβとが示されている。 Next, in step S304, the scaling calculation unit 12 analyzes the plurality of vectors obtained in step S303 by principal component analysis to obtain the principal component (main component B). The eigenvector of the principal component obtained here indicates the direction of expansion or contraction, and the eigenvalue indicates the ratio of expansion or contraction. Let α be the eigenvalue of the first principal component and β be the eigenvalue of the second principal component. Let Vα be the eigenvector of the first principal component and Vβ be the eigenvector of the second principal component. FIG. 14 is a diagram showing eigenvectors of the principal components of the plurality of vectors obtained in step S303. With reference to FIG. 14, the eigenvector of the first principal component is Vα, and the eigenvector of the second principal component is Vβ.

なお、上述した第1の拡縮演算処理と第2の拡縮演算処理を実行する順序は特に限定されない。第2の拡縮演算処理を第1の拡縮演算処理より先に実行してもよい。 The order in which the first scaling calculation process and the second scaling calculation process described above are executed is not particularly limited. The second scaling calculation process may be executed before the first scaling calculation process.

図3に戻り、更に、ステップS104にて、拡縮算出部12は、拡縮決定処理を実行する。拡縮決定処理は第1の拡縮演算処理の処理結果と第2の拡縮演算処理の処理結果とに基づき、対象領域の参照領域に対する拡大または縮小の方向および比率を決定する処理である。 Returning to FIG. 3, in step S104, the scaling calculation unit 12 executes the scaling determination process. The scaling determination process is a process of determining the direction and ratio of scaling with respect to the reference area of the target area based on the processing result of the first scaling calculation process and the processing result of the second scaling calculation process.

図15は、拡縮決定処理のフローチャートである。 FIG. 15 is a flowchart of the scaling determination process.

図15を参照すると、拡縮算出部12は、ステップS401にて、αα´≦1かつββ´<1であるか否か判定する。ステップS401の判定がYESであれば、拡縮算出部12は、ステップS402にて、固有ベクトルVαが示す方向に固有値αが示す比率で縮小し、固有ベクトルVβが示す方向に固有値βが示す比率で縮小していると判断する。 With reference to FIG. 15, the scaling calculation unit 12 determines in step S401 whether or not αα ′ ≦ 1 and ββ ′ <1. If the determination in step S401 is YES, the scaling calculation unit 12 reduces in step S402 by the ratio indicated by the eigenvalue α in the direction indicated by the eigenvector Vα and by the ratio indicated by the eigenvalue β in the direction indicated by the eigenvector Vβ. Judge that

ステップS401の判定がNOであれば、拡縮算出部12は、ステップS403にて、αα´>1かつββ´≧1であるか否か判定する。ステップS403の判定がYESであれば、拡縮算出部12は、ステップS404にて、固有ベクトルVα´が示す方向に固有値α´が示す比率で拡大し、固有ベクトルVβ´が示す方向に固有値β´が示す比率で拡大していると判断する。 If the determination in step S401 is NO, the scaling calculation unit 12 determines in step S403 whether or not αα ′> 1 and ββ ′ ≧ 1. If the determination in step S403 is YES, the scaling calculation unit 12 expands in the direction indicated by the eigenvector Vα'at the ratio indicated by the eigenvalue α'in step S404, and the eigenvalue β'indicates in the direction indicated by the eigenvector Vβ'. Judge that it is expanding at a rate.

ステップS403の判定がNOであれば、拡縮算出部12は、ステップS405にて、αα´>1かつββ´<1かつ固有ベクトルVαと固有ベクトルVα´のなす角が所定角度(例えば45°)より小さいか否か判定する。ステップS405の判定がYESであれば、拡縮算出部12は、ステップS406にて、拡大あるいは縮小の再計算を行う。再計算では、拡縮算出部12は、固有ベクトルVα´付近の第1ベクトルと、固有ベクトルVβ付近の第2ベクトルとの和集合に対して主成分分析をし、得られた主成分の固有値を拡大または縮小の比率とし、固有ベクトルを拡大または縮小の方向とする。なお、固有ベクトルVα´付近のベクトルにいうのは、固有ベクトルVα´に方向が近いベクトルという意味であり、つまり、固有ベクトルVα´の方向と所定範囲内に方向が向いているベクトルをいう。また、本例において、固有ベクトルVαと固有ベクトルVα´のなす角が所定角度(例えば45°)より小さいことを条件としているのは、固有ベクトルVαと固有ベクトルVα´は本来的には近い方向にあるはずなので、これらのなす角度が大きい場合を除外するものである。 If the determination in step S403 is NO, the scaling calculation unit 12 determines in step S405 that the angle formed by αα'> 1 and ββ'<1 and the eigenvector Vα and the eigenvector Vα'is smaller than a predetermined angle (for example, 45 °). Judge whether or not. If the determination in step S405 is YES, the scaling calculation unit 12 recalculates scaling in step S406. In the recalculation, the scaling calculation unit 12 performs principal component analysis on the sum set of the first vector near the eigenvector Vα'and the second vector near the eigenvector Vβ, and expands or expands the eigenvalues of the obtained principal components. The reduction ratio and the eigenvectors are the direction of expansion or contraction. The vector near the eigenvector Vα'means a vector whose direction is close to the eigenvector Vα', that is, a vector whose direction is oriented within a predetermined range with the direction of the eigenvector Vα'. Further, in this example, the condition that the angle formed by the eigenvector Vα and the eigenvector Vα'is smaller than a predetermined angle (for example, 45 °) is that the eigenvector Vα and the eigenvector Vα'should be in originally close directions. , Excludes cases where these angles are large.

ステップS405の判定がNOであれば、拡縮算出部12は、ステップS407にて、αα´=1かつββ´=1であるか否か判定する。ステップS407の判定がYESであれば、拡縮算出部12は、ステップS408にて、対象領域は参照領域に対して拡大も縮小もしていないと判断する。ステップS407の判定がNOであれば、拡縮算出部12は、ステップS409にて、対象領域は参照領域に対して拡大しているのか縮小しているのか不明であると判断する。 If the determination in step S405 is NO, the scaling calculation unit 12 determines in step S407 whether or not αα ′ = 1 and ββ ′ = 1. If the determination in step S407 is YES, the scaling calculation unit 12 determines in step S408 that the target area is neither expanded nor contracted with respect to the reference area. If the determination in step S407 is NO, the scaling calculation unit 12 determines in step S409 that it is unclear whether the target area is expanded or contracted with respect to the reference area.

図3に戻り、更に、ステップS105にて、予測画像生成部13は、参照画像から対象画像を予測した予測画像を生成する。その際、予測画像生成部13は、参照領域を拡縮算出部12により決定された比率で拡大または縮小した画像を予測画像の対象領域110に相当する領域に用いる。そのために、予測画像生成部13は、参照領域から対象領域への移動量を示す動きベクトルと、参照領域の画像から予測した画像と対象領域の画像との差分画像とを生成する。生成されたデータは予測画像のデータに含められる。なお、拡縮算出部12が拡大しているのか縮小しているのか不明と判断した対象領域に相当する領域には等倍の参照領域の画像を用いてもよい。 Returning to FIG. 3, in step S105, the prediction image generation unit 13 generates a prediction image in which the target image is predicted from the reference image. At that time, the prediction image generation unit 13 uses an image in which the reference area is enlarged or reduced at a ratio determined by the scaling calculation unit 12 as the area corresponding to the target area 110 of the prediction image. Therefore, the predicted image generation unit 13 generates a motion vector indicating the amount of movement from the reference region to the target region, and a difference image between the image predicted from the image in the reference region and the image in the target region. The generated data is included in the predicted image data. An image of a reference region having the same magnification may be used for the region corresponding to the target region where it is determined whether the scaling calculation unit 12 is expanding or contracting.

続いて、ステップS106にて、差分符号化部14は、予測画像生成部13で生成された予測画像と対象画像との差分画像を用いて対象画像を符号化し、差分を符号化した符号データを記憶部20に差分符号情報22として記録する。 Subsequently, in step S106, the difference coding unit 14 encodes the target image using the difference image between the predicted image and the target image generated by the prediction image generation unit 13, and obtains the code data obtained by encoding the difference. It is recorded in the storage unit 20 as the difference code information 22.

以上説明したように、本実施形態の画像処理装置1では、参照領域決定部11は、対象領域の拡大または縮小の基準となる参照領域を決定する。そして、拡縮算出部12は、対象領域内の複数のサブ対象領域と、サブ対象領域のそれぞれに対応する参照領域内の複数のサブ参照領域との相対的な位置関係に基づく複数のベクトルを主成分分析することにより得られる主成分の固有値に基づいて拡大または縮小の比率を決定する。このようにすることで、平行移動ベクトルを探索したり画像の勾配強度および勾配方向を用いたヒストグラムを作成したりするような複雑な処理を必要とせず、参照領域に対する対象領域の拡大または縮小の比率を少ない計算量で算出することができる。 As described above, in the image processing apparatus 1 of the present embodiment, the reference area determination unit 11 determines a reference area as a reference for enlargement or reduction of the target area. Then, the scaling calculation unit 12 mainly uses a plurality of vectors based on the relative positional relationship between the plurality of sub-target areas in the target area and the plurality of sub-reference areas in the reference area corresponding to each of the sub-target areas. The ratio of enlargement or reduction is determined based on the eigenvalues of the principal components obtained by component analysis. By doing so, it is not necessary to perform complicated processing such as searching for a translation vector or creating a histogram using the gradient intensity and gradient direction of the image, and the expansion or contraction of the target area with respect to the reference area is not required. The ratio can be calculated with a small amount of calculation.

また、拡縮算出部12は、複数のベクトルを主成分分析して主成分の固有値および固有ベクトルを算出し、対象領域が参照領域に対して、固有ベクトルに基づいて定まる方向に、固有値に基づいて定まる比率で拡大または縮小していることを算出する。このようにすることで、拡大または縮小の比率だけでなく拡大または縮小の方向も求まるので、どの方向にどれだけ拡大または縮小しているかを求めることができる。 Further, the scaling calculation unit 12 analyzes a plurality of vectors for principal component analysis, calculates the eigenvalues and eigenvectors of the principal components, and determines the ratio of the target area to the reference area in the direction determined based on the eigenvectors. Calculate that it is enlarged or reduced with. By doing so, not only the enlargement / reduction ratio but also the enlargement / reduction direction can be obtained, so that it is possible to obtain how much the enlargement / reduction is in which direction.

また、拡縮算出部12は、第1主成分と第2主成分を算出し、第1主成分の固有ベクトルに基づいて定まる方向に、第1主成分の固有値に基づいて定まる比率で拡大または縮小し、第2主成分の固有ベクトルに基づいて定まる方向に、第2主成分の固有値に基づいて定まる比率で拡大または縮小していることを算出する。このようにすることで、拡大または縮小を画像平面上の直交する2軸のそれぞれ毎に求めることができるので、画像の拡大または縮小を良好に表すことができる。 Further, the scaling calculation unit 12 calculates the first principal component and the second principal component, and enlarges or reduces the first principal component and the second principal component in a direction determined based on the eigenvector of the first principal component at a ratio determined based on the eigenvalue of the first principal component. , It is calculated that the enlargement or reduction is performed at a ratio determined based on the eigenvalue of the second principal component in the direction determined based on the eigenvector of the second principal component. By doing so, the enlargement or reduction can be obtained for each of the two orthogonal axes on the image plane, so that the enlargement or reduction of the image can be well represented.

また、拡縮算出部12は、対象領域に含まれる所定の円周上に複数の第1サブ対象領域を定める。また、拡縮算出部12は、複数の第1サブ対象領域のそれぞれとの類似度に基づいて、参照領域に、複数の第1サブ対象領域のそれぞれに対応する複数の第1サブ参照領域を定める。更に、拡縮算出部12は、参照領域における複数の第1サブ参照領域の位置に基づいて複数の第1ベクトルを定める。そして、拡縮算出部12は、複数の第1ベクトルを主成分分析して主成分Aを算出する。 Further, the scaling calculation unit 12 defines a plurality of first sub-target areas on a predetermined circumference included in the target area. Further, the scaling calculation unit 12 determines a plurality of first sub-reference areas corresponding to each of the plurality of first sub-target areas in the reference area based on the similarity with each of the plurality of first sub-target areas. .. Further, the scaling calculation unit 12 determines a plurality of first vectors based on the positions of the plurality of first sub-reference regions in the reference region. Then, the scaling calculation unit 12 calculates the principal component A by performing principal component analysis on the plurality of first vectors.

また、拡縮算出部12は、参照領域に含まれる所定の円周上に複数の第2サブ参照領域を定める。また、拡縮算出部12は、複数の第2サブ参照領域のそれぞれとの類似度に基づいて、対象領域に、複数の第2サブ参照領域のそれぞれに対応する複数の第2サブ対象領域を定める。更に、拡縮算出部12は、対象領域における複数の第2サブ対象領域の位置に基づいて複数の第2ベクトルを定める。そして、拡縮算出部12は、複数の第2ベクトルを主成分分析して主成分Bを算出する。 In addition, the scaling calculation unit 12 defines a plurality of second sub-reference regions on a predetermined circumference included in the reference region. Further, the scaling calculation unit 12 determines a plurality of second sub-target areas corresponding to each of the plurality of second sub-reference areas in the target area based on the similarity with each of the plurality of second sub-reference areas. .. Further, the scaling calculation unit 12 determines a plurality of second vectors based on the positions of the plurality of second sub-target regions in the target region. Then, the scaling calculation unit 12 calculates the principal component B by performing principal component analysis on the plurality of second vectors.

更に、拡縮算出部12は、主成分Aと主成分Bとに基づいて、拡大または縮小の比率を決定する。このようにすることで、対象領域から参照領域を見た場合と参照領域から対象領域を見た場合の両方の主成分分析から得られる主成分を用いて拡大または縮小の比率を算出するので、画像の拡大または縮小を良好に表すことができる。 Further, the scaling calculation unit 12 determines the scaling ratio based on the principal component A and the principal component B. By doing so, the enlargement / reduction ratio is calculated using the principal components obtained from both the principal component analysis when the reference area is viewed from the target area and when the target area is viewed from the reference area. The enlargement or reduction of the image can be well represented.

また、拡縮算出部12は、対象領域の中心を原点とし複数の第1サブ対象領域の位置を示す座標ベクトルの大きさが1となるように、参照領域の中心を原点とし複数の第1サブ参照領域の位置を示す座標ベクトルを正規化したベクトルを複数の第1ベクトルと定める。また、拡縮算出部12は、参照領域の中心を原点とし複数の第2サブ参照領域の位置を示す座標ベクトルの大きさが1となるように正規化した、前記対象領域の中心を原点とし複数の第2サブ対象領域の位置を示す座標ベクトルを複数の第2ベクトルと定める。 Further, the scaling calculation unit 12 has a plurality of first subs with the center of the reference region as the origin so that the size of the coordinate vector indicating the position of the plurality of first sub target regions is 1 with the center of the target region as the origin. A vector obtained by normalizing the coordinate vector indicating the position of the reference region is defined as a plurality of first vectors. Further, the scaling calculation unit 12 is normalized so that the size of the coordinate vector indicating the position of the plurality of second sub-reference regions is 1 with the center of the reference region as the origin, and the center of the target region is the origin. The coordinate vectors indicating the positions of the second sub-target areas of the above are defined as a plurality of second vectors.

また、拡縮算出部12は、主成分Aの第1主成分の固有値α´および固有ベクトルVα´と、主成分Aの第2主成分の固有値β´および固有ベクトルVβ´と、主成分Bの第1主成分の固有値αおよび固有ベクトルVαと、主成分Bの第2主成分の固有値βおよび固有ベクトルVβとを算出する。 Further, the scaling calculation unit 12 includes the eigenvalue α'and the eigenvector Vα' of the first principal component of the principal component A, the eigenvalues β'and the eigenvector Vβ' of the second principal component of the principal component A, and the first principal component B. The eigenvalue α and the eigenvector Vα of the principal component and the eigenvalue β and the eigenvector Vβ of the second principal component of the principal component B are calculated.

そして、拡縮算出部12は、αα´≦1,ββ´<1であれば、前記固有ベクトルVαが示す方向に前記固有値αに基づく比率で縮小し、前記固有ベクトルVβが示す方向に前記固有値βに基づく比率で縮小しているとする。また、拡縮算出部12は、αα´>1,ββ´≧1であれば、前記固有ベクトルVα´が示す方向に前記固有値α´に基づく比率で拡大し、前記固有ベクトルVβ´が示す方向に前記固有値β´に基づく比率で拡大しているとする。また、拡縮算出部12は、αα´>1,ββ´<1,固有ベクトルVαと固有ベクトルVα´のなす角が所定角度より小さければ、固有ベクトルVα´の方向と所定範囲内に方向が向いている第1ベクトルと、固有ベクトルVβの方向と所定範囲内に方向が向いている第2ベクトルとの和集合に対して主成分分析をし、得られた主成分の固有値を拡縮率とし、固有ベクトルを拡縮方向とする。また、拡縮算出部12は、αα´=1,ββ´=1であれば、前記対象領域と前記参照領域は等倍であるとする。 Then, if αα ′ ≦ 1, ββ ′ <1, the scaling calculation unit 12 reduces in the direction indicated by the eigenvector Vα at a ratio based on the eigenvalue α, and is based on the eigenvalue β in the direction indicated by the eigenvector Vβ. It is assumed that the ratio is shrinking. Further, if αα ′> 1, ββ ′ ≧ 1, the scaling calculation unit 12 expands in the direction indicated by the eigenvector Vα ′ at a ratio based on the eigenvalue α ′, and the eigenvalue calculation unit 12 expands in the direction indicated by the eigenvector Vβ ′. It is assumed that the ratio is based on β'. Further, if the angle formed by αα'> 1, ββ'<1, the eigenvector Vα and the eigenvector Vα'is smaller than the predetermined angle, the scaling calculation unit 12 is oriented in the direction of the eigenvector Vα'and within the predetermined range. Principal component analysis is performed on the sum set of one vector and the direction of the eigenvector Vβ and the second vector whose direction is oriented within a predetermined range, the eigenvalue of the obtained principal component is used as the scaling factor, and the eigenvector is defined as the scaling direction. And. Further, the scaling calculation unit 12 assumes that the target region and the reference region have the same magnification if αα ′ = 1 and ββ ′ = 1.

また、本実施形態では、対象領域は符号化の対象となる対象画像に含まれる領域であり、参照領域は対象画像の符号化に用いる参照画像に含まれる領域である。そして、画像処理装置1では、予測画像生成部13は、参照領域を上記比率で拡大または縮小した画像を用いて、対象画像を予測した予測画像を生成する。差分符号化部14は、予測画像と対象画像との差分を符号化する。参照領域決定部11は、参照画像内の互いに重複可能な複数の領域を候補領域とし、候補領域を所定の回転角度だけ回転させた回転候補領域と、対象領域との類似度を算出し、その類似度に基づいて候補領域の中から参照領域を決定する。このようにすることで、少ない計算量で比率を計算し、その比率で参照領域を拡大または縮小した画像を用いて対象領域の予測画像を生成するので、少ない計算量で良好な差分符号化をすることができる。また、参照画像内の領域を回転させた領域と対象領域との類似度を用いて参照領域を探索するので、良好な参照領域を決定することができ、その結果、良好な差分符号化をすることができる。 Further, in the present embodiment, the target area is an area included in the target image to be encoded, and the reference area is an area included in the reference image used for encoding the target image. Then, in the image processing device 1, the prediction image generation unit 13 generates a prediction image that predicts the target image by using an image in which the reference area is enlarged or reduced at the above ratio. The difference coding unit 14 encodes the difference between the predicted image and the target image. The reference area determination unit 11 uses a plurality of overlapping regions in the reference image as candidate regions, calculates the degree of similarity between the rotation candidate region obtained by rotating the candidate region by a predetermined rotation angle and the target region, and calculates the similarity thereof. The reference area is determined from the candidate areas based on the similarity. By doing so, the ratio is calculated with a small amount of calculation, and the predicted image of the target area is generated using the image in which the reference area is enlarged or reduced at that ratio, so that good difference coding can be performed with a small amount of calculation. can do. In addition, since the reference area is searched using the similarity between the rotated area in the reference image and the target area, a good reference area can be determined, and as a result, good difference coding is performed. be able to.

上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の範囲を逸脱することなしに、他の様々な態様で本発明を実施することができる。上記各実施例の装置は、ソフトウェアプログラムをプロセッサで実行することにより実現されるものとして例示したが、これに限定されることはない。制御部10の一部または全部の機能をハードウェアで実現するものであってもよい。また、制御部10の一部または全部の機能を専用プロセッサで実現するものであってもよい。 The embodiments of the present invention described above are examples for the purpose of explaining the present invention, and the scope of the present invention is not limited to those embodiments. One of ordinary skill in the art can practice the present invention in various other aspects without departing from the scope of the present invention. The devices of each of the above embodiments have been illustrated as being realized by executing a software program on a processor, but the present invention is not limited thereto. A part or all the functions of the control unit 10 may be realized by hardware. Further, a part or all the functions of the control unit 10 may be realized by a dedicated processor.

1…画像処理装置、10…制御部、11…参照領域決定部、12…拡縮算出部、13…予測画像生成部、14…差分符号化部、20…記憶部、21…フレーム情報、22…差分符号情報、100…対象画像、110…対象領域、121…サブ対象領域、122…サブ対象領域、200…参照画像、210…参照領域、211…候補領域、221…サブ参照領域、222…サブ参照領域、400…コンピュータ装置、401…制御回路、402…記憶装置、403…読書装置、404…記録媒体、405…通信インターフェイス、406…入出力インターフェイス、407…入力装置、408…表示装置、409…ネットワーク、410…バス 1 ... Image processing device, 10 ... Control unit, 11 ... Reference area determination unit, 12 ... Scale calculation unit, 13 ... Prediction image generation unit, 14 ... Difference coding unit, 20 ... Storage unit, 21 ... Frame information, 22 ... Difference code information, 100 ... target image, 110 ... target area, 121 ... sub target area, 122 ... sub target area, 200 ... reference image, 210 ... reference area, 211 ... candidate area, 221 ... sub reference area, 222 ... sub Reference area, 400 ... Computer device, 401 ... Control circuit, 402 ... Storage device, 403 ... Reading device, 404 ... Recording medium, 405 ... Communication interface, 406 ... Input / output interface, 407 ... Input device, 408 ... Display device, 409 ... network, 410 ... bus

Claims (9)

対象領域の拡大または縮小の基準となる参照領域を決定する参照領域決定部と、
前記対象領域内の複数のサブ対象領域と、前記サブ対象領域のそれぞれに対応する前記参照領域内の複数のサブ参照領域との相対的な位置関係に基づく複数のベクトルを主成分分析することにより得られる主成分の固有値に基づいて前記拡大または縮小の比率を決定する拡縮算出部と、
を有する画像処理装置。
A reference area determination unit that determines a reference area that serves as a reference for expanding or contracting the target area,
By principal component analysis of a plurality of vectors based on the relative positional relationship between the plurality of sub-target regions in the target region and the plurality of sub-reference regions in the reference region corresponding to each of the sub-target regions. A scaling calculation unit that determines the scaling ratio based on the eigenvalues of the obtained principal components, and
An image processing device having.
前記拡縮算出部は、前記複数のベクトルを主成分分析して前記主成分の前記固有値および固有ベクトルを算出し、前記対象領域が前記参照領域に対して、前記固有ベクトルに基づいて定まる方向に、前記固有値に基づいて定まる比率で拡大または縮小していることを算出する、
請求項1に記載の画像処理装置。
The scaling calculation unit analyzes the plurality of vectors with principal components to calculate the eigenvalues and eigenvectors of the principal components, and the eigenvalues in a direction in which the target region is determined with respect to the reference region based on the eigenvectors. Calculates that it is expanding or contracting at a rate determined based on
The image processing apparatus according to claim 1.
前記拡縮算出部は、第1主成分と第2主成分を算出し、前記第1主成分の固有ベクトルに基づいて定まる方向に、前記第1主成分の固有値に基づいて定まる比率で拡大または縮小し、前記第2主成分の固有ベクトルに基づいて定まる方向に、前記第2主成分の固有値に基づいて定まる比率で拡大または縮小していることを算出する、
請求項2に記載の画像処理装置。
The scaling calculation unit calculates the first principal component and the second principal component, and enlarges or reduces the first principal component and the second principal component in a direction determined based on the eigenvector of the first principal component at a ratio determined based on the eigenvalue of the first principal component. , Calculates that the enlargement or reduction is performed at a ratio determined based on the eigenvalue of the second principal component in the direction determined based on the eigenvector of the second principal component.
The image processing apparatus according to claim 2.
前記拡縮算出部は、
前記対象領域に所定の円周上に複数の第1サブ対象領域を定め、前記複数の第1サブ対象領域のそれぞれとの類似度に基づいて、前記参照領域に、前記複数の第1サブ対象領域のそれぞれに対応する複数の第1サブ参照領域を定め、前記参照領域における前記複数の第1サブ参照領域の位置に基づいて複数の第1ベクトルを定め、前記複数の第1ベクトルを主成分分析して主成分Aを算出し、
前記参照領域に所定の円周上に複数の第2サブ参照領域を定め、前記複数の第2サブ参照領域のそれぞれとの類似度に基づいて、前記対象領域に、前記複数の第2サブ参照領域のそれぞれに対応する複数の第2サブ対象領域を定め、前記対象領域における前記複数の第2サブ対象領域の位置に基づいて複数の第2ベクトルを定め、前記複数の第2ベクトルを主成分分析して主成分Bを算出し、
前記主成分Aと前記主成分Bとに基づいて、前記拡大または縮小の比率を決定する、
請求項1に記載の画像処理装置。
The scaling calculation unit
A plurality of first sub-target areas are defined on a predetermined circumference in the target area, and the plurality of first sub-targets are set in the reference area based on the degree of similarity with each of the plurality of first sub-target areas. defining a plurality of first sub-reference region corresponding to each region, defining a first vector of multiple based on the position of the plurality of first sub-reference area in the reference area, the main the plurality of first vector Principal component A is calculated by component analysis,
A plurality of second sub-reference regions are defined in the reference region on a predetermined circumference, and the plurality of second sub-reference regions are defined in the target region based on the degree of similarity with each of the plurality of second sub-reference regions. defining a plurality of second sub-target region corresponding to each region, defining a second vector of multiple based on the position of the plurality of second sub-target region in the target area, the main the plurality of second vectors Principal component B is calculated by component analysis,
The enlargement or reduction ratio is determined based on the main component A and the main component B.
The image processing apparatus according to claim 1.
前記拡縮算出部は、
前記対象領域の中心を原点とし前記複数の第1サブ対象領域の位置を示す座標ベクトルの大きさが1となるように、前記参照領域の中心を原点とし前記複数の第1サブ参照領域の位置を示す座標ベクトルを正規化したベクトルを前記複数の第1ベクトルと定め、
前記参照領域の中心を原点とし前記複数の第2サブ参照領域の位置を示す座標ベクトルの大きさが1となるように正規化した、前記対象領域の中心を原点とし前記複数の第2サブ対象領域の位置を示す座標ベクトルを前記複数の第2ベクトルと定め、
請求項4に記載の画像処理装置。
The scaling calculation unit
The positions of the plurality of first sub-reference regions with the center of the reference region as the origin so that the size of the coordinate vector indicating the positions of the plurality of first sub-target regions is 1 with the center of the target region as the origin. The vector obtained by normalizing the coordinate vector indicating the above is defined as the plurality of first vectors.
The plurality of second sub-objects are normalized so that the size of the coordinate vector indicating the position of the plurality of second sub-reference regions is 1 with the center of the reference region as the origin. The coordinate vector indicating the position of the region is defined as the plurality of second vectors.
The image processing apparatus according to claim 4.
前記拡縮算出部は、
前記主成分Aの第1主成分の固有値α´および固有ベクトルVα´と、前記主成分Aの第2主成分の固有値β´および固有ベクトルVβ´と、前記主成分Bの第1主成分の固有値αおよび固有ベクトルVαと、前記主成分Bの第2主成分の固有値βおよび固有ベクトルVβとを算出し、
αα´≦1,ββ´<1であれば、前記固有ベクトルVαが示す方向に前記固有値αに基づく比率で縮小し、前記固有ベクトルVβが示す方向に前記固有値βに基づく比率で縮小しているとし、
αα´>1,ββ´≧1であれば、前記固有ベクトルVα´が示す方向に前記固有値α´に基づく比率で拡大し、前記固有ベクトルVβ´が示す方向に前記固有値β´に基づく比率で拡大しているとし、
αα´>1,ββ´<1,前記固有ベクトルVαと前記固有ベクトルVα´のなす角が所定角度より小さければ、固有ベクトルVα´の方向と所定範囲内に方向が向いている第1ベクトルと、固有ベクトルVβの方向と所定範囲内に方向が向いている第2ベクトルとの和集合に対して主成分分析をし、得られた主成分の固有値を拡縮率とし、固有ベクトルを拡縮方向とし、
αα´=1,ββ´=1であれば、前記対象領域と前記参照領域は等倍であるとする、
請求項4に記載の画像処理装置。
The scaling calculation unit
The eigenvalues α ′ and eigenvectors Vα ′ of the first principal component of the principal component A, the eigenvalues β ′ and the eigenvectors Vβ ′ of the second principal component of the principal component A, and the eigenvalues α of the first principal component of the principal component B. And the eigenvector Vα, and the eigenvalue β and the eigenvector Vβ of the second principal component of the principal component B are calculated.
If αα ′ ≦ 1, ββ ′ <1, it is assumed that the eigenvector Vα is reduced in the direction indicated by the eigenvalue α and the eigenvector Vβ is reduced in the direction indicated by the eigenvalue β.
If αα ′> 1, ββ ′ ≧ 1, the eigenvector Vα ′ expands in the direction indicated by the eigenvalue α ′, and the eigenvector Vβ ′ expands in the direction indicated by the eigenvalue β ′. And
αα'> 1, ββ'<1, If the angle between the eigenvector Vα and the eigenvector Vα'is smaller than the predetermined angle, the direction of the eigenvector Vα'and the first vector whose direction is within the predetermined range and the eigenvector Vβ Principal component analysis is performed on the sum set of the direction of and the second vector whose direction is within a predetermined range, the eigenvalues of the obtained principal components are set as the scaling ratio, and the eigenvectors are set as the scaling direction.
If αα ′ = 1 and ββ ′ = 1, it is assumed that the target region and the reference region have the same magnification.
The image processing apparatus according to claim 4.
前記対象領域は符号化の対象となる対象画像に含まれる領域であり、前記参照領域は前記対象画像の符号化に用いる参照画像に含まれる領域であり、
前記画像処理装置は、
前記参照領域を前記比率で拡大または縮小した画像を用いて、前記対象画像を予測した予測画像を生成する予測画像生成部と、
前記予測画像と前記対象画像との差分を符号化する差分符号化部と、を更に有し、
前記参照領域決定部は、前記参照画像内の互いに重複可能な複数の領域を候補領域とし、前記候補領域を所定の回転角度だけ回転させた回転候補領域と、前記対象領域との類似度を算出し、前記類似度に基づいて前記候補領域の中から前記参照領域を決定する、
請求項1に記載の画像処理装置。
The target area is a region included in the target image to be encoded, and the reference region is a region included in the reference image used for encoding the target image.
The image processing device is
A prediction image generation unit that generates a prediction image that predicts the target image by using an image obtained by enlarging or reducing the reference area at the ratio.
It further has a difference coding unit that encodes the difference between the predicted image and the target image.
The reference area determination unit calculates the degree of similarity between the rotation candidate area obtained by rotating the candidate area by a predetermined rotation angle and the target area, using a plurality of regions in the reference image that can overlap each other as candidate areas. Then, the reference region is determined from the candidate regions based on the similarity.
The image processing apparatus according to claim 1.
参照領域決定部が、対象領域の拡大または縮小の基準となる参照領域を決定し、
拡縮算出部が、互いに対応する前記対象領域内の複数のサブ対象領域と前記参照領域内の複数のサブ参照領域との相対的な位置関係に基づく複数のベクトルを主成分分析することにより得られる主成分の固有値に基づいて前記拡大または縮小の比率を決定する、
画像処理方法。
The reference area determination unit determines the reference area that serves as a reference for expanding or contracting the target area .
The scaling calculation unit obtains by principal component analysis of a plurality of vectors based on the relative positional relationship between a plurality of sub-target regions in the target region and a plurality of sub-reference regions in the reference region corresponding to each other. The enlargement or reduction ratio is determined based on the eigenvalues of the principal components.
Image processing method.
参照領域決定部が、対象領域の拡大または縮小の基準となる参照領域を決定し、
拡縮算出部が、互いに対応する前記対象領域内の複数のサブ対象領域と前記参照領域内の複数のサブ参照領域との相対的な位置関係に基づく複数のベクトルを主成分分析することにより得られる主成分の固有値に基づいて前記拡大または縮小の比率を決定する、
処理をコンピュータに実行させることを特徴とする画像処理プログラム。
The reference area determination unit determines the reference area that serves as a reference for expanding or contracting the target area .
The scaling calculation unit obtains by principal component analysis of a plurality of vectors based on the relative positional relationship between a plurality of sub-target regions in the target region and a plurality of sub-reference regions in the reference region corresponding to each other. The enlargement or reduction ratio is determined based on the eigenvalues of the principal components.
An image processing program characterized by causing a computer to perform processing.
JP2018154387A 2018-08-21 2018-08-21 Image processing equipment, image processing method and image processing program Active JP6814484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018154387A JP6814484B2 (en) 2018-08-21 2018-08-21 Image processing equipment, image processing method and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018154387A JP6814484B2 (en) 2018-08-21 2018-08-21 Image processing equipment, image processing method and image processing program

Publications (2)

Publication Number Publication Date
JP2020030502A JP2020030502A (en) 2020-02-27
JP6814484B2 true JP6814484B2 (en) 2021-01-20

Family

ID=69622468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018154387A Active JP6814484B2 (en) 2018-08-21 2018-08-21 Image processing equipment, image processing method and image processing program

Country Status (1)

Country Link
JP (1) JP6814484B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7388737B2 (en) * 2021-05-28 2023-11-29 株式会社アクセル Image processing device, image processing method, and image processing program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4513365B2 (en) * 2004-03-12 2010-07-28 コニカミノルタエムジー株式会社 Medical image processing apparatus and medical image processing program
JP2007079771A (en) * 2005-09-13 2007-03-29 Mitsubishi Electric Corp Personal identification device
JP2010182150A (en) * 2009-02-06 2010-08-19 Seiko Epson Corp Image processing apparatus for detecting coordinate position of characteristic part of face
JP2011224346A (en) * 2010-03-31 2011-11-10 Toshiba Corp Ultrasound diagnosis apparatus, image processing apparatus, and image processing method
JP6610853B2 (en) * 2014-03-18 2019-11-27 パナソニックIpマネジメント株式会社 Predicted image generation method, image encoding method, image decoding method, and predicted image generation apparatus

Also Published As

Publication number Publication date
JP2020030502A (en) 2020-02-27

Similar Documents

Publication Publication Date Title
JP3576987B2 (en) Image template matching method and image processing apparatus
US8718324B2 (en) Method, apparatus and computer program product for providing object tracking using template switching and feature adaptation
JP5777311B2 (en) How to generate high-resolution video from low-resolution video
CN115393761A (en) Video key frame extraction method, device, equipment and storage medium
KR102080694B1 (en) Method and Device of Motion Estimation for Depth Video Coding by curved surface Modeling, and NON-TRANSITORY COMPUTER READABLE RECORDING MEDIUM
US9693076B2 (en) Video encoding and decoding methods based on scale and angle variation information, and video encoding and decoding apparatuses for performing the methods
JP6814484B2 (en) Image processing equipment, image processing method and image processing program
JP2003169338A (en) MOTION VECTOR DETECTION METHOD, DEVICE, AND MEDIUM RECORDING METHOD PROGRAM
JP2005167976A (en) Motion vector detecting device and motion vector detecting program
US11908144B2 (en) Image processing apparatus, method, and medium using degrees of reliability and similarity in motion vectors
JP6918661B2 (en) Coding device, coding method and program
JP4496992B2 (en) Animal up-frame detection method, program, and storage medium storing program, and animal up-shot detection method, animal up-frame or shot detection method, program, and storage medium
JP7388737B2 (en) Image processing device, image processing method, and image processing program
JP6681078B2 (en) Image processing apparatus, image processing method, and image processing program
KR101670987B1 (en) Method for endcoding image data and method for and decoding image data based on scale and angle variation information and apparatus for encoding image data and apparatus for decoding image data based on scale and angle variation information
JP4228705B2 (en) Motion vector search method and apparatus
JP6740549B2 (en) Moving picture coding apparatus, method, program, and moving picture coding system
JP3734488B2 (en) Image encoding device
KR20150062215A (en) Stereo matching method and apparatus using block based fast census transform
JP6468703B2 (en) Motion detection device, motion detection method, and program
JP6990998B2 (en) Camera work judgment device and program
JP2002051342A (en) Coding apparatus, method of coding and storage medium
JPH0998424A (en) Affine transformation parameter extraction method and apparatus
JP2009267726A (en) Moving image encoding apparatus, recorder, moving image encoding method, moving image encoding program
JP6680796B2 (en) Efficient low complexity video compression

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201214

R150 Certificate of patent or registration of utility model

Ref document number: 6814484

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250