void Projection2()
{
#ifdef _UNICODE
typedef std::wstring _TSTRING;
#else
typedef std::string _TSTRING;
#endif
double msec;
std::map<_TSTRING, double> times;
{
times[_T("FVCL.Blob.CFvBlob")] = msec;
}
{
filters[0].SetMin(100);
times[_T("FVCL.Blob.GetList")] = msec;
}
{
times[_T("FVCL.Blob.GetSortList")] = msec;
}
{
{
data.SetBlobNo( blob_numbers[0] );
data.GetRegion(®ion);
}
times[_T("FVCL.Measure.CFvProjection.Execute")] = msec;
_tprintf(_T("%-5s,%5s,%9s,%9s,%9s,%9s,%9s,%9s\n"),
_T("No."), _T("Count"), _T("Sum"), _T("Mean"), _T("Min"), _T("Max"), _T("Sigma"), _T("Var"));
{
_tprintf(_T("[%03d] %5d,%9.0f,%9.3f,%9.3f,%9.3f,%9.3f,%9.3f\n"),
}
}
_tprintf(_T("\n"));
for(std::map<_TSTRING, double>::iterator iter = times.begin() ; iter != times.end() ; iter++)
{
_tprintf(_T("%9.3f msec : %s\n"), iter->second, iter->first.c_str());
}
}