Image::Image(int num_channels, int width, int height, int classification) { init(); setWidth(width); setHeight(height); setNumChannels(num_channels); setClassification(classification); }
/// <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(); }