Exemple #1
0
 /// <summary>
 /// Set a segmentation.
 /// </summary>
 public override void SetSegmentation(Intarray segmentation)
 {
     maxrange   = PGeti("maxrange");
     maxdist    = PGeti("maxdist");
     fullheight = PGetb("fullheight");
     labels.Copy(segmentation);
     SegmRoutine.make_line_segmentation_black(labels);
     GrouperRoutine.check_approximately_sorted(labels);
     boxes.Dealloc();
     segments.Dealloc();
     class_outputs.Dealloc();
     class_costs.Dealloc();
     spaces.Dealloc();
     computeGroups();
 }
Exemple #2
0
 public override void Clear()
 {
     data.Dealloc();
 }