problam with cvinitmatheader

asked 2013-12-08 05:15:25 -0600

amin.karimi gravatar image

updated 2013-12-08 05:16:12 -0600

when i implement this program

include <iostream>

include <highgui.h>

include <core\core_c.h>

include <core\types_c.h>

using namespace std; int main() {

float vals[] = { 0.866025, -0.500000, 0.500000, 0.866025 }; CvMat rotmat; cvInitMatHeader( &rotmat, 2, 2, CV_32FC1, vals ); cout << M << endl; cin>>b;

return(0); } when i run it visual produce abnormal answer like this 1234awdedn455 rather than my matrix why?

edit retag flag offensive close merge delete