diff --git a/openbr/plugins/format.cpp b/openbr/plugins/format.cpp index 62d7a73..aad33e8 100644 --- a/openbr/plugins/format.cpp +++ b/openbr/plugins/format.cpp @@ -296,19 +296,9 @@ BR_REGISTER(Format, mtxFormat) * \brief Reads a NIST BEE mask matrix. * \author Josh Klontz \cite jklontz */ -class maskFormat : public Format +class maskFormat : public mtxFormat { Q_OBJECT - - Template read() const - { - return BEE::readMat(file); - } - - void write(const Template &t) const - { - BEE::writeMat(t, file); - } }; BR_REGISTER(Format, maskFormat)