OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 2651|回复: 1

菜鸟求解CheckColor找不到标示符怎解决 ??

[复制链接]
发表于 2016-11-25 20:54:05 | 显示全部楼层 |阅读模式
#include <stdlib.h>
#include <stdio.h>  
#include <math.h>  
#include <cv.h>  
#include <highgui.h>  
#include <stdio.h>
#include <tchar.h>
#include <iostream>
#include <fstream>

#include <opencv2/opencv.hpp>

using namespace cv;
int main()
{
        string filepath = "C:\\Users\Administrator\Desktop\qq\fire2.jpg";
        Mat inputImg = imread(filepath, 1);

        CheckColor(inputImg);
        return 0;
}
//////////////////////////////////
//The Color Check is According to "An Early Fire-Detection Method Based on Image Processing"
//The Author is:Thou-Ho (Chao-Ho) Chen, Ping-Hsueh Wu, and Yung-Chuen Chiou
//////////////////////////////////////
Mat CheckColor(Mat &inImg)
{
        Mat fireImg;
。。。。


错误        5        error C3861: “CheckColor”:  找不到标识符        c:\users\administrator\desktop\qq\qq\aa.cpp        19        1        qq

谢谢  各位 帮个忙

回复

使用道具 举报

发表于 2016-11-28 07:27:31 | 显示全部楼层
添加头文件
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-4-23 14:10 , Processed in 0.009329 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表