diff --git a/modules/PlaYUVerModuleFactory.cpp b/modules/PlaYUVerModuleFactory.cpp index 0481b9a..1fdb689 100644 --- a/modules/PlaYUVerModuleFactory.cpp +++ b/modules/PlaYUVerModuleFactory.cpp @@ -38,7 +38,10 @@ PlaYUVerModuleFactory::PlaYUVerModuleFactory() Register( "FrameDifference", &FrameDifference::Create ); Register( "AbsoluteFrameDifference", &AbsoluteFrameDifference::Create ); Register( "LumaAverage", &LumaAverage::Create ); +#ifdef USE_OPENCV Register( "DisparityStereoVar", &DisparityStereoVar::Create ); +#endif + } PlaYUVerModuleFactory::~PlaYUVerModuleFactory()