togglemask

I = togglemask(I::Union{GMTimage{<:Bool, 2}, GMTimage{<:UInt8, 2}}) -> GMTimage

Convert between UInt8 and Boolean representations of the mask images. A new object is returned with a copy of the input data.

Methods

# 2 methods for generic function "togglemask" from GMT:
 [1] togglemask(I::GMTimage{<:UInt8, 2})
 [2] togglemask(I::GMTimage{<:Bool, 2})

See Also