opencv/cvaux.h中代码里面有乱码

来源:互联网 发布:淘宝云客服考试答案 编辑:程序博客网 时间:2024/05/01 23:23

在opencv,cvaux.h这个文件中.有一处代码注释错误.

#define CV_BG_STAT_MODEL_FIELDS()                                                   /
    int             type; /*type of BG model*/                                      /
    CvReleaseBGStatModel release;                                                   /
    CvUpdateBGStatModel update;                                                     /
    IplImage*       background;   /*8UC3 reference background image*/               /
    IplImage*       foreground;   /*8UC1 foreground image*/                         /
    IplImage**      layers;       /*8UC3 reference background image, can be null */ /
    int             layer_count;  /* can be zero */                                 /
    CvMemStorage*   storage;      /*storage for foreground_regions*/              /
    CvSeq*          foreground_regions /*foreground object contours*/

typedef struct CvBGStatModel
{
    CV_BG_STAT_MODEL_FIELDS();
}
CvBGStatModel;

 

这是修改过后的代码.原来的代码

 

#define CV_BG_STAT_MODEL_FIELDS()                                                   /
    int             type; /*type of BG model*/                                      /
    CvReleaseBGStatModel release;                                                   /
    CvUpdateBGStatModel update;                                                     /
    IplImage*       background;   /*8UC3 reference background image*/               /
    IplImage*       foreground;   /*8UC1 foreground image*/                         /
    IplImage**      layers;       /*8UC3 reference background image, can be null */ /
    int             layer_count;  /* can be zero */                                 /
    CvMemStorage*   storage;      /*storage for 揻oreground_regions?/              /
    CvSeq*          foreground_regions /*foreground object contours*/

typedef struct CvBGStatModel
{
    CV_BG_STAT_MODEL_FIELDS();
}
CvBGStatModel;

 

这些乱码导致编译工程的时候,cvaux.h文件中有些奇怪的错误.

原创粉丝点击