Exemplo n.º 1
0
Image::Image(int num_channels, int width, int height, int classification) {
    init();

    setWidth(width);
    setHeight(height);
    setNumChannels(num_channels);
    setClassification(classification);
}
Exemplo n.º 2
0
/// <summary>
/// Classify the given image using the given classification index (or personID)
/// </summary>
/// <param name="classificationID">The classification index or personID to be assigned to the winning unit</param>
void Ttopmap::classify(int classificationID)
{
  update();
  setClassification(classificationID);
  learn();
}