demo/2023816/tuneParameter.h

24 lines
573 B
C
Raw Permalink Normal View History

2023-10-08 22:10:52 +08:00
#pragma once
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui_c.h>
#include <iostream>
using std::cout;
using std::endl;
/// <summary>
/// <20><><EFBFBD>ڶԴ<DAB6><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>trackbar<61><72><EFBFBD><EFBFBD>
/// </summary>
void CallBack_threshold(int pos, void* userdata); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>Ļص<C4BB><D8B5><EFBFBD><EFBFBD><EFBFBD>
void CallBack_dilate(int pos, void* userdata); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵Ļص<C4BB><D8B5><EFBFBD><EFBFBD><EFBFBD>
//void CallBack_erode(int pos, void* userdata); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʴ<EFBFBD>Ļص<C4BB><D8B5><EFBFBD><EFBFBD><EFBFBD>
//void CallBack_insideCircle(int element_size, void* strElement);//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȧ<EFBFBD><C8A6><EFBFBD>ֵĻص<C4BB><D8B5><EFBFBD><EFBFBD><EFBFBD>
void tuneParameter(cv::Mat src); //<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD>