Skip to content

ObjectnessBING::FilterTIG::matchTemplate Assertion failed #629

@connichiha

Description

@connichiha
  Mat matchCost1f;
  scores( Rect( 8, 8, W - 7, H - 7 ) ).copyTo( matchCost1f );
  return matchCost1f;

while return the Mat, I got error in the unmap function in matrix.cpp
ntdll.dll!7778152c() Unknown

OpenCV Error: Assertion failed <udata<<uchar*>ptr &&<<uchar*>ptr-udata><=.... in cv::fastFree, file ****src\alloc.cpp, line 78

I suppose that this may be caused by Mat_< int64_t > or so.
According to this , I changed the function matchTemplate of FilterTIG.cpp,and now, you can check the code here.
It works fine in my PC, can anyone help me check it?
Windows7 64 bit
Cmake:3.3.0 VS2013 X86 with tbb

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