Matlab编写最佳宏块匹配:二维对数搜索法、三步搜索法和对偶搜索法
先看结果:
二维对数搜索法:
三步搜索法:
对偶搜索法:
运动向量和算法所用时间:
直接上代码:
二维对数搜索法:
function [ Motion_vector,MB_center ] = Mylog( Reference,Target,N,p,x0,y0 )
[row,col] = size(Reference);
Motion_vector = zeros...
原创
2019-11-29 16:32:43 ·
3345 阅读 ·
0 评论