Commit 3535aacc authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed bug #1389

parent e0bf60fd
......@@ -588,6 +588,9 @@ CV_EXPORTS_W void accumulateProduct( InputArray src1, InputArray src2,
//! updates the running average (dst = dst*(1-alpha) + src*alpha)
CV_EXPORTS_W void accumulateWeighted( InputArray src, InputOutputArray dst,
double alpha, InputArray mask=noArray() );
CV_EXPORTS_W Point2d phaseCorrelate(InputArray src1, InputArray src2, InputArray window = noArray());
CV_EXPORTS_W void createHanningWindow(OutputArray dst, Size winSize, int type);
//! type of the threshold operation
enum { THRESH_BINARY=CV_THRESH_BINARY, THRESH_BINARY_INV=CV_THRESH_BINARY_INV,
......@@ -1137,14 +1140,6 @@ struct CvLSHOperations
virtual int hash_lookup(lsh_hash h, int l, int* ret_i, int ret_i_max) = 0;
};
namespace cv
{
CV_EXPORTS_W cv::Point2d phaseCorrelate(InputArray _src1, InputArray _src2, InputArray window = noArray());
CV_EXPORTS_W void createHanningWindow(OutputArray _dst, cv::Size winSize, int type);
}
#endif /* __cplusplus */
#endif
......
......@@ -184,7 +184,7 @@ icvCreateHidHaarClassifierCascade( CvHaarClassifierCascade* cascade )
int datasize;
int total_classifiers = 0;
int total_nodes = 0;
char errorstr[100];
char errorstr[1000];
CvHidHaarClassifier* haar_classifier_ptr;
CvHidHaarTreeNode* haar_node_ptr;
CvSize orig_window_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment