4 #include "random_forest_image.h"
12 void determineImageCacheSizeAndSamplesPerBatch(
const std::vector<LabeledRGBDImage>& images,
13 const std::vector<int>& deviceId,
const size_t featureCount,
const size_t numThresholds,
14 size_t imageCacheSizeMB,
unsigned int& imageCacheSize,
unsigned int& maxSamplesPerBatch);
24 RandomForestImage train(std::vector<LabeledRGBDImage>& images,
size_t trees,
25 const TrainingConfiguration& configuration,
size_t numLabels,
bool trainTreesInParallel);