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

Index exceeds the Mat dimensions #20

Open
ereator opened this issue Oct 19, 2018 · 0 comments
Open

Index exceeds the Mat dimensions #20

ereator opened this issue Oct 19, 2018 · 0 comments

Comments

@ereator
Copy link
Member

ereator commented Oct 19, 2018

System information (version):

  • DGM: 1.7.0
  • OpenCV: 3.4
  • OS: Windows 10 64bit
  • Compiler: Visual Studio 2017

Describe the bug
The bug is located in:

n1.at<short>(0, j) = key.at<short>(0, j) + m_featureSize; // TODO

where index j exceeds the dimensions of the key matrix, which is m_featureSize. In the loop we have:
for(int j = 0; j <= m_featureSize; j++) {

Steps To Reproduce
Run the Demo Dense project in Debug mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant