From 1dffec6c1f93028fddf2631c48c84618cdeec765 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 31 Aug 2021 17:01:45 -0600 Subject: [PATCH] removed arff format --- openbr/plugins/gallery/arff.cpp | 67 ------------------------------------------------------------------- 1 file changed, 0 insertions(+), 67 deletions(-) delete mode 100644 openbr/plugins/gallery/arff.cpp diff --git a/openbr/plugins/gallery/arff.cpp b/openbr/plugins/gallery/arff.cpp deleted file mode 100644 index f3a90a6..0000000 --- a/openbr/plugins/gallery/arff.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright 2012 The MITRE Corporation * - * * - * Licensed under the Apache License, Version 2.0 (the "License"); * - * you may not use this file except in compliance with the License. * - * You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software * - * distributed under the License is distributed on an "AS IS" BASIS, * - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * - * See the License for the specific language governing permissions and * - * limitations under the License. * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -#include -#include - -namespace br -{ - -/*! - * \ingroup galleries - * \brief Weka ARFF file format. - * \author Josh Klontz \cite jklontz - * \br_link http://weka.wikispaces.com/ARFF+%28stable+version%29 - */ -class arffGallery : public Gallery -{ - Q_OBJECT - QFile arffFile; - - TemplateList readBlock(bool *done) - { - (void) done; - qFatal("Not implemented."); - return TemplateList(); - } - - void write(const Template &t) - { - if (!arffFile.isOpen()) { - arffFile.setFileName(file.name); - arffFile.open(QFile::WriteOnly); - arffFile.write("% OpenBR templates\n" - "@RELATION OpenBR\n" - "\n"); - - const int dimensions = t.m().rows * t.m().cols; - for (int i=0; i("Label") + "'\n")); - } -}; - -BR_REGISTER(Gallery, arffGallery) - -} // namespace br - -#include "gallery/arff.moc" -- libgit2 0.21.4