Xcode 6.1.1自动补全函数时,显示参数不完全是怎么回事?
xuewenyuan
由 xuewenyuan
发布于 2015年03月04日
| 更新于 2015年03月04日
无人欣赏。
最近在忙着做一个关于车牌识别的毕设,但是xcode在自动补全一个opencv库的函数时,出现了显示参数不完整的情况,自动补全时只有四个参数显示原函数:
int area = cv::floodFill(<#InputOutputArray image#>, <#InputOutputArray mask#>, <#Point seedPoint#>, <#Scalar newVal#>);
查看原函数有8个参数:
//! fills the semi-uniform image region and/or the mask starting from the specified seed point
CV_EXPORTS_W int floodFill( InputOutputArray image, InputOutputArray mask,
Point seedPoint, Scalar newVal, CV_OUT Rect* rect=0,
Scalar loDiff=Scalar(), Scalar upDiff=Scalar(),
int flags=4 );
自己补全8个参数后,显示 no matching function for call to "floodFill":
int area = cv::floodFill(cvImage, mask, seed, cv::Scalar(255, 0, 0), &ccomp, cv::Scalar(loDiff, loDiff, loDiff), cv::Scalar(upDiff, upDiff, upDiff), flags);
网上Remove from Organizer的方法也试过了,但是不管用,真实不知道该怎么办了,求助各位大神!
共2条回复
楼长
·
lionlee
回复于 2015年03月04日
贴出来才能帮到你啊
2楼
·
xuewenyuan
回复于 2015年03月04日