Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mat::resize() hangs in 64bit

` Mat frame;

if (Cap.read(frame))

{

Size_<int> s(1024, 1024);

Mat test;

resize(frame, test, s);

}`

Running x86 this works perfectly in 2.4.3. Running x64 execution hits resize() but never returns. Any ideas what I've done wrong? Or a different way to resize Mats?

Thanks!

Mat::resize() hangs in 64bit

`

Mat frame;

frame; if (Cap.read(frame))

{

(Cap.read(frame)) { Size_<int> s(1024, 1024);

1024); Mat test;

test; resize(frame, test, s);

}`

s); }

Running x86 this works perfectly in 2.4.3. Running x64 execution hits resize() but never returns. Any ideas what I've done wrong? Or a different way to resize Mats?

Thanks!

Mat::resize() hangs in 64bit

EDIT: This was caused by code outside of OpenCV. Still haven't tracked down exactly what's going on, but it is not the fault of OpenCV.

Mat frame;
if (Cap.read(frame))
{
   Size_<int> s(1024, 1024);
   Mat test;
   resize(frame, test, s);
}

Running x86 this works perfectly in 2.4.3. Running x64 execution hits resize() but never returns. Any ideas what I've done wrong? Or a different way to resize Mats?

Thanks!