Thank you for sharing your code.
I hade used this code.
Initial position vector ([left bottom width height]),the unit is 'pixels' ,the width and height can be right,but left and bottom are wrong. the same problem is with 'initialPositionMagnifier'.
[Tempfirst,rect] = imcrop(Picfirst);
figure(2);imshow(Picfirst);title('Picfirst and Tempfirst');
'mode','interactive','edgeWidth', 3,'edgeColor', 'red');
Hello, this code does not give right results if the training database contains the image that we choose for testing. If the image chosen for testing is a face that already exists in training database but a different image of the face, it's not giving the correct results, anyone having same problem?
Works well. Could you comment on why you are using the rotated template to calculate the local sums of T and T^2? This isn't completely clear to me from the paper of J.P. Lewis. I do understand you need to use the rotated template in the convolution but why should you use it in the local sum calculations as well? Thanks in advance for your answer.