Commit 47ab471eda256cd1cb5eabb8ff6e3e7e85e4bebe
1 parent
9bc26a41
Consolidate mask/mtx formats
Showing
1 changed file
with
1 additions
and
11 deletions
openbr/plugins/format.cpp
| @@ -296,19 +296,9 @@ BR_REGISTER(Format, mtxFormat) | @@ -296,19 +296,9 @@ BR_REGISTER(Format, mtxFormat) | ||
| 296 | * \brief Reads a NIST BEE mask matrix. | 296 | * \brief Reads a NIST BEE mask matrix. |
| 297 | * \author Josh Klontz \cite jklontz | 297 | * \author Josh Klontz \cite jklontz |
| 298 | */ | 298 | */ |
| 299 | -class maskFormat : public Format | 299 | +class maskFormat : public mtxFormat |
| 300 | { | 300 | { |
| 301 | Q_OBJECT | 301 | Q_OBJECT |
| 302 | - | ||
| 303 | - Template read() const | ||
| 304 | - { | ||
| 305 | - return BEE::readMat(file); | ||
| 306 | - } | ||
| 307 | - | ||
| 308 | - void write(const Template &t) const | ||
| 309 | - { | ||
| 310 | - BEE::writeMat(t, file); | ||
| 311 | - } | ||
| 312 | }; | 302 | }; |
| 313 | 303 | ||
| 314 | BR_REGISTER(Format, maskFormat) | 304 | BR_REGISTER(Format, maskFormat) |