-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMaskData.cs
More file actions
32 lines (27 loc) · 809 Bytes
/
MaskData.cs
File metadata and controls
32 lines (27 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
namespace YOLIC
{
/// <summary>
/// A structure for storing masks and their related data in batched format.
/// Implements basic filtering and concatenation.
/// </summary>
class MaskData
{
public int[] mShape;
public List<float> mMask;
public List<float> mIoU;
public List<float> mStalibility;
public List<int> mBox;
public List<List<float>> mfinalMask;
public MaskData()
{
this.mShape = new int[4];
this.mMask = new List<float>();
this.mIoU = new List<float>();
this.mStalibility = new List<float>();
this.mBox = new List<int>();
this.mfinalMask = new List<List<float>>();
}
}
}