Ask Your Question

ccng's profile - activity

2013-02-06 04:07:59 -0600 commented answer Mat output convertion is not working

Yes, the code is still not working. So, now I have to use excel convert it manually.

2013-02-05 07:33:04 -0600 commented answer Mat output convertion is not working

Thank you for the suggestion. I have tried it but is not working too. I got the same error as you have.

2013-02-04 03:42:33 -0600 commented question Mat output convertion is not working

Hi, I am using vs2010, .net ver 4.0, _MSC_VER = 1600.

2013-02-01 08:25:16 -0600 asked a question Mat output convertion is not working

Hi all, I have a problem while using cv::format. The error message is as following. My .net environment is win7, 64bit, opencv2.4.2

Windows has triggered a breakpoint in trialtemp.exe.

This may be due to a corruption of the heap, which indicates a bug in trialtemp.exe or any of the DLLs it has loaded.

HEAP[trialtemp.exe]: Invalid address specified to RtlValidateHeap( 0000000000380000, 0000000000398230 ) Windows has triggered a breakpoint in trialtemp.exe.

This may be due to a corruption of the heap, which indicates a bug in trialtemp.exe or any of the DLLs it has loaded.

The source code is as following.

#include <iostream>
#include <cv.h>
#include <cxcore.h>

int main(int argc, char *argv[])
{
  cv::Mat m(4, 2, CV_8UC3);
  cv::randu(m, cv::Scalar::all(0), cv::Scalar::all(255));

  std::cout << "m (default) = " << m << ";" << std::endl << std::endl;
  std::cout << "m (python) = " << cv::format(m,"python") << ";" << std::endl << std::endl;
  std::cout << "m (numpy) = " << cv::format(m,"numpy") << ";" << std::endl << std::endl;
  std::cout << "m (csv) = " << cv::format(m,"csv") << ";" << std::endl << std::endl; 
  std::cout << "m (c) = " << cv::format(m,"C") << ";" << std::endl << std::endl;
}

Looking forward to hear from you. Thanks in advance.