/// <summary> /// Phân tích hình /// </summary> /// <param name="colors"></param> /// <param name="bounds"></param> public AnalystImageService(Color[,] colors, Bounds bounds) { Colors = colors; Bounds = bounds; SetValue(); //SetColorWhenDuplicate(); var temp = new FindWay(Image, Bounds); GeoJson = temp.FindGeoJson(); }
/// <summary> /// Phân tích hình /// </summary> /// <param name="colors"></param> /// <param name="box"></param> public AnalystImageService(Color[,] colors, string box, int zoom) { Colors = colors; Bounds = new Bounds(box, zoom); SetValue(); //SetColorWhenDuplicate(); var temp = new FindWay(Image, Bounds); GeoJson = temp.FindGeoJson(); }