我想将cvsnakeimage函数用于opencv的活动轮廓。
问题是我无法在opencv2.2下找到此功能,名称已更改或有什么问题。 提前谢谢!
答案 0 :(得分:3)
函数cvSnakeImage
驻留在legacy
模块中。 (818行opencv2/legacy/legacy.hpp
)
/* Updates active contour in order to minimize its cummulative
(internal and external) energy. */
CVAPI(void) cvSnakeImage( const IplImage* image, CvPoint* points,
int length, float* alpha,
float* beta, float* gamma,
int coeff_usage, CvSize win,
CvTermCriteria criteria, int calc_gradient CV_DEFAULT(1));