Method ToBinaryMask
ToBinaryMask(YoloMask, Size, float)
Declaration
public static Image<Gray, byte> ToBinaryMask(this YoloMask mask, Size size, float threshold = 0.5)
Parameters
Type | Name | Description |
---|---|---|
YoloMask | mask | |
Size | size | |
float | threshold |
Returns
Type | Description |
---|---|
Image<Gray, byte> |