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
FastTemplateMatchingDemo Pyramid Depth #9
Comments
There appears to be similar bugs in LinearizedMapPyramid.cs on line 64 and 110. Line 64 should have source as the image to compute and line 110 should have image as a parameter to orientImgCalc(). As far as the secret sauce, I still haven't figured it out but it has to do with the MatchTemplate method in Dectector.cs. If anything other than the full image size is passed in as searchArea, around line 115, the matchTemplate() method on line 125 fails. |
Many thanks for the update!
…On 10 Oct 2017 8:02 pm, "Darren Schroeder" ***@***.***> wrote:
There appears to be similar bugs in LinearizedMapPyramid.cs on line 64 and
110. Line 64 should have source as the image to compute and line 110 should
have image as a parameter to orientImgCalc().
As far as the secret sauce, I still haven't figured it out but it has to
do with the MatchTemplate method in Dectector.cs. If anything other than
the full image size is passed in as searchArea, around line 115, the
matchTemplate() method on line 125 fails.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEMQJ5YoG-3IwfnDEENqdzyYjRovbyhiks5sq7E_gaJpZM4P0JjU>
.
|
Any tips on how to get this to work? I still cannot use more than 1 level in the pyramid. |
What's the secret sauce to getting multiple levels of the pyramid? I changed this line by adding the neighborhoodPerLevel parameter.
And this line by adding the maxNumberOfFeaturesPerLevel parameter.
And what I get is Debug.Assert thrown from from the second iteration of matchTemplate->calculateSimilarityMap->neighbourMap.AddTo()->AddTo() method because src.Width does not equal dst.Width nor does src.Height equal dst.Height.
I also think I found a bug. Shouldn't sourceImage be image after the var t = new T();
Before:
After:
The text was updated successfully, but these errors were encountered: