Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confuse about transform disp_instanceInput to disp_instanceFrame #20

Open
tchvsps opened this issue Mar 23, 2018 · 0 comments
Open

Confuse about transform disp_instanceInput to disp_instanceFrame #20

tchvsps opened this issue Mar 23, 2018 · 0 comments

Comments

@tchvsps
Copy link

tchvsps commented Mar 23, 2018

hi,luca!
in file cfnet/src/tracking/tracker_step.m line:42
% displacement from the center in instance final representation ...
disp_instanceFinal = p_corr - (p.scoreSize*p.responseUp + 1)/2;
% ... in instance input ...
disp_instanceInput = disp_instanceFinal * p.totalStride / p.responseUp;
% ... in instance original crop (in frame coordinates)
disp_instanceFrame = disp_instanceInput * s_x / p.instanceSize;
% position within frame in frame coordinates
newTargetPosition = targetPosition + disp_instanceFrame;

for disp_instanceFrame = disp_instanceInput * s_x / p.instanceSize
s_x is scale coefficient;I think it depend on the best_scale you find. not always s_x;

@tchvsps tchvsps changed the title Error in transform disp_instanceInput to disp_instanceFrame Confuse about transform disp_instanceInput to disp_instanceFrame Mar 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant