Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The 4th parameter passed to cvWarpAffine looks wrong. The function definition is

void cvWarpAffine(const CvArr* src, CvArr* dst, const CvMat* mapMatrix, int flags=CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS, CvScalar fillval=cvScalarAll(0))

might not solve your original problem though.