# API 최신 변경 사항

- Green 분류 도구의 High Detail 모드가 추가됨에 따라 API에도 변경 사항이 있습니다.

  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

- 다음은 HeatMap으로부터 Bitmap을 추출하는 코드입니다.

      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

      }

- 아래의 리스트는 더 이상 지원되지 않습니다.

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