Breaking Changes to the API

  • As a new mode of Green Classify Tool which is High Detail mode added, there are some changes to API as well.

    Assembly Namespace Interface or Enumeration Member Description
    ViDi.NET.Interfaces ViDi2 ToolType.GreenHighDetail A new enumerator element for Green Classify Tool in High Detail model
    ViDi.NET.Interfaces ViDi2.Training IGreenHighDetailParameters Training parameters for Green Classify Tool in High Detail mode
    ViDi.NET.Interfaces ViDi2.Runtime IGreenHighDetailParameters Runtime parameters for Green Classify Tool in High Detail mode
    ViDi.NET.Interfaces ViDi2 HeatMap HeatMap for Green Classify Tool in High Detail mode
  • Following codes are for how to get Bitmap from HeatMap.

    sample.Process(greenTool); // mode of greenTool should be High-detail to get HeatMap. sample is ISample
    IGreenMarking greenMarking = sample.Markings[greenTool.Name] as IGreenMarking;
    foreach (IGreenView view in greenMarking.Views)
    {
    IImage heatmap = view.HeatMap; // get HeatMap
    System.Drawing.Bitmap bitmap = heatmap.Bitmap; // get Bitmap
    // you can use bitmap for whatever you want
    }


  • Below list is no longer supported.

    Assembly Namespace Interface or Enumeration Member Description
    ViDi.NET.Interfaces ViDi2 GpuMode.MultipleDevicesPerTool A member for using multiple GPUs per tool