资源简介
以matlab為架構對圖片做full search的碼源
代码片段和文件信息
function [mv_x mv_ypredict_img]=EBMA(Target_Img Anchor_Img BlockSize BlockLocation RangeStart RangeEnd accuracy)
%EBMA compute Motion Vector for one block in Anchor frame from Target frame
%This function is called by function Motion_Estimation_2D().
%
% Target_ImgAnchor_Img:
% Image Matrixs of Target frame and Anchor frame
% BlockSize:
% The size of Macro Block is BlockSize(1) by BlockSize(2)
% BlcokLocation:
% The Macro Block Location in Anchor frame
% RangeStartRangeEnd:
% The Search Field in frame A is from (RangeStart(1)RangeStart(2)) to (RangeEnd(1)RangeEnd(2))
% Target_ImgAnchor_ImgPredict_Img:
% Image Matrix for Target frame Anchor frame Predicted frame
% accuracy:
% Calculation Accuracy: 1 for integer pel; 2 for hal
- 上一篇:matlab认知无线电
- 下一篇:matlab 图像球面化变形
评论
共有 条评论