What do 2 & 3 mean in this and how can I change them?
CvMat* rot = cvCreateMat(2,3,CV_32FC1)
When I change these two values I get an openCV GUI error handler.
size of input arguments do not match()
in function cvConvertScale.\cxconvert.cpp(1601)
I want to understand what that means
Update:
The code is:
#include <cv.h>
#include <highgui.h>
int main()
{
    CvMat* rot = cvCreateMat(2,3,CV_32FC1);
    IplImage *src, *dst;
    src=cvLoadImage("doda.jpg");
//  make acopy of gray image(src)
    dst = cvCloneImage( src );
    dst->origin = src->origin;
// make dstof zeros 
    cvZero( dst );
// Compute rotation matrix
    double x=0.0;
// loop to get rotation from 0 to 360 by 4 press on anykey
    for(int i=1;i<=5;i++)
    {
     CvPoint2D32f center = cvPoint2D32f(src->width/2,src->height/2);
     double angle = 0+x;
     double scale = 0.6;
     cv2DRotationMatrix( center, angle, scale, rot );
// Do the transformation
     cvWarpAffine( src, dst, rot);
     cvNamedWindow( "Affine_Transform", 1 );
     cvShowImage( "Affine_Transform", dst );
     if (i<=4)
      x=x+90.0;
     else
      x=0.0;
     cvWaitKey();
    }
    cvReleaseImage( &dst );
    cvReleaseMat( &rot );
    return 0;
}