3#include "../_cexports/c_polimago.h"
5#include "../global.hpp"
6#include "test_result_factory.hpp"
7#include "../minos/training_set.hpp"
8#include "classification_predictor.hpp"
9#include "classification_test_result.hpp"
10#include "regression_predictor.hpp"
11#include "../sample_database/sample_classification_image_list.hpp"
12#include "../sample_database/sample_regression_image_list.hpp"
61 return Internal::DoResCallObjectOut<ClassificationTestResult>([&](
void* & res)
63 return CVB_CALL_CAPI(PMSampleTestOnSil (database.
Handle (), ..., clf.
Handle(), res));
77 return Internal::DoResCallObjectOut<RegressionTestResult>([&](
void* & res)
79 return CVB_CALL_CAPI(PMSampleTestOnSil (database.
Handle (), ..., clf.Handle(), res));
91 std::unique_ptr<ClassificationTestResult> RunTest (
const ClassificationPredictor & clf,
const Minos::TrainingSet & database)
93 return Internal::DoResCallObjectOut<ClassificationTestResult>([&](
void* & res)
95 return CVB_CALL_CAPI(PMSampleTestOnMts (database.Handle (), ..., clf.Handle(), res));
Predictor to classify patterns with.
Definition classification_predictor.hpp:57
void * Handle() const noexcept
Classic API Polimago handle.
Definition predictor_base.hpp:68
SampleTestResultFactory()
Constructor.
Definition sample_test_result_factory.hpp:38
Factory object for running a sample test in which all the elements of a training database are classif...
Definition sample_test_result_factory.hpp:32
SampleTestResultFactory()
Constructor.
Definition sample_test_result_factory.hpp:38
Classifier type that operates on images.
Definition decl_classification_sil.hpp:213
void * Handle() const noexcept
Classic API SIL handle.
Definition sample_list.hpp:411
Classifier type that operates on images.
Definition decl_regression_sil.hpp:190
Namespace for the Polimago package testing functionality.
Definition classification_test_result.hpp:21
std::shared_ptr< SampleTestResultFactory > SampleTestResultFactoryPtr
Convenience shared pointer for SampleTestResultFactory.
Definition sample_test_result_factory.hpp:102
Namespace for the Polimago package.
Definition classification_predictor.hpp:38
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17