Skip to content

Index exceeds the Mat dimensions #20

@ereator

Description

@ereator

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions