I am trying to do MACE filter for pose invariant face recognition but I faced the value of PSR output is not as I expected. Can someone give me an idea on how to modify my coding ?

4 views (last 30 days)
Data = zeros(1, 20^2-5^2); count = 0; for i=MaxLoc_row - 10;i<=MaxLoc_row + 9:i+1 for j=MaxLoc_col - 10;j<=MaxLoc_col + 9:j+1
if(abs(MaxLoc_col-j)>2)||((abs(MaxLoc_row-i))>2)&&(i>=1)&&(i<=row)&&(j>=1)&&(j<=col)
count=count+1;
Data(count) = Cor2D_Abs(i,j);
end
end
end

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!