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

function"NNConf" #11

Open
yangxian opened this issue Dec 29, 2011 · 1 comment
Open

function"NNConf" #11

yangxian opened this issue Dec 29, 2011 · 1 comment

Comments

@yangxian
Copy link

I don't understand the code:
matchTemplate(m_pEx[i], example, ncc, CV_TM_CCORR_NORMED); // measure NCC to positive examples
nccP = (ncc.at(0) + 1) * 0.5f;
I think the nccP's result can't > 0.95 forever.
who can tell me the writer‘s mean?
Thanks very much.

@zttkkk
Copy link

zttkkk commented Jul 17, 2012

ncc.at(0) ranges from 0.0 to 1.0
so (ncc.at(0) + 1) * 0.5f; ranges from 0.5 to 1.0
the threshold 0.95 is good

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

2 participants