void EnsembleClassifier::classifyWindow(int windowIdx)
{
    int *featureVector = detectionResult->featureVectors + numTrees * windowIdx;
    calcFeatureVector(windowIdx, featureVector);

    detectionResult->posteriors[windowIdx] = calcConfidence(featureVector);
}
void EnsembleClassifier::classifyWindow(int windowIdx)
{
    int *featureVector = detectionResult->featureVectors + numTrees * windowIdx; //numTrees = 10
    calcFeatureVector(windowIdx, featureVector); // Fern Feature Calculation

    detectionResult->posteriors[windowIdx] = calcConfidence(featureVector); // confidence calculation
}