D
daniele.g
I though the two form are equivalent, but when I look at this code some
doubt arises:
CvMat * tmp, * q3;
....
cvCopy(q3, tmp, 0);
but elsewhere
CvMat* tmp;
IplImage * complexInput;
....
cvCopy( complexInput, &tmp, NULL );
Here, CvMat is a general matrix, IplImage is an image which derives from
CvMat.
The point is the use of tmp and &tmp indistinctly.
Any clue?
Thanks in advance
doubt arises:
CvMat * tmp, * q3;
....
cvCopy(q3, tmp, 0);
but elsewhere
CvMat* tmp;
IplImage * complexInput;
....
cvCopy( complexInput, &tmp, NULL );
Here, CvMat is a general matrix, IplImage is an image which derives from
CvMat.
The point is the use of tmp and &tmp indistinctly.
Any clue?
Thanks in advance