コード例 #1
0
 public void SelectBackground()
 {
     bool[,,] black = m_data.selectBlackPixels((byte)threshold);
     //threshold = threshold - 20;
     m_data.AddSegment(black);
     m_legendScript.LoadLegendFromSegmentationHandler();
 }
コード例 #2
0
 // This runs in the main thread
 protected override void OnFinished()
 {
     Debug.LogError("entered OnFinished for flood fill");
     m_data.AddSegment(visited);
     m_segmentationHandler.FinishedSegmentationCallback();
 }