Method GetMaskBinary
| Edit this page View SourceGetMaskBinary(bool, bool)
Export occupancy as a binary mask.
Declaration
public byte[] GetMaskBinary(bool flipSign = false, bool boundaryAsInside = false)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | flipSign | flip outside and inside |
| bool | boundaryAsInside | treat boundary as inside? |
Returns
| Type | Description |
|---|---|
| byte[] | (0=outside, 1=inside) |