You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
777 B
33 lines
777 B
#include "TcsCheck.h"
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
CHECK_PARAM cp;
|
|
cp.nAreaLowFilter = 80;
|
|
cp.nBlockSize = 100;
|
|
cp.nDiscardTop = 200;
|
|
cp.nDiscardBottom = 200;
|
|
cp.nDiscardLeft = 300;
|
|
cp.nDiscardRight = 600;
|
|
cp.fZoomRatio = 0.25;
|
|
cp.nFilterLow = 15;
|
|
cp.nFilterHigh = 15;
|
|
cp.nAreaFilter = 10;
|
|
cp.nCountFilter = 50;
|
|
|
|
CTcsCheck detect;
|
|
detect.SetChecConfig(&cp);
|
|
|
|
std::string strDirIn = "/home/aidlux/cbh/CellAoiTcs/TestImage/G3A00M62293829AL03";
|
|
std::string strDirOut = "/home/aidlux/cbh/CellAoiTcs/OutImage";
|
|
|
|
detect.SetCheckDir(strDirIn, strDirOut);
|
|
|
|
std::cout << "Image start process" << std::endl;
|
|
detect.ProcessImages(true);
|
|
|
|
std::cout << "Image finished " << std::endl;
|
|
|
|
return 0;
|
|
}
|