diff --git a/openbr/plugins/cmake/likely.cmake b/openbr/plugins/cmake/likely.cmake index ba894d6..6b7a114 100644 --- a/openbr/plugins/cmake/likely.cmake +++ b/openbr/plugins/cmake/likely.cmake @@ -5,6 +5,6 @@ if(${BR_WITH_LIKELY}) set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${Likely_LIBS}) else() set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/core/likely.cpp) - set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/format/lmat.cpp) - set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/gallery/lmat.cpp) + set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/format/lm.cpp) + set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/gallery/lm.cpp) endif() diff --git a/openbr/plugins/format/lmat.cpp b/openbr/plugins/format/lm.cpp index 9dc2ed2..ac1308e 100644 --- a/openbr/plugins/format/lmat.cpp +++ b/openbr/plugins/format/lm.cpp @@ -13,7 +13,7 @@ namespace br * www.liblikely.org * \author Josh Klontz \cite jklontz */ -class lmatFormat : public Format +class lmFormat : public Format { Q_OBJECT @@ -33,8 +33,8 @@ class lmatFormat : public Format } }; -BR_REGISTER(Format, lmatFormat) +BR_REGISTER(Format, lmFormat) } // namespace br -#include "format/lmat.moc" +#include "format/lm.moc" diff --git a/openbr/plugins/gallery/lmat.cpp b/openbr/plugins/gallery/lm.cpp index 1818d01..606927e 100644 --- a/openbr/plugins/gallery/lmat.cpp +++ b/openbr/plugins/gallery/lm.cpp @@ -14,12 +14,12 @@ namespace br * www.liblikely.org * \author Josh Klontz \cite jklontz */ -class lmatGallery : public Gallery +class lmGallery : public Gallery { Q_OBJECT QList mats; - ~lmatGallery() + ~lmGallery() { const likely_const_mat m = likelyFromOpenCVMat(OpenCVUtils::toMatByRow(mats)); likely_write(m, qPrintable(file.name)); @@ -38,8 +38,8 @@ class lmatGallery : public Gallery } }; -BR_REGISTER(Gallery, lmatGallery) +BR_REGISTER(Gallery, lmGallery) } // namespace br -#include "gallery/lmat.moc" +#include "gallery/lm.moc"