ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Method GetMaskBinary

    | Edit this page View Source

    GetMaskBinary(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)