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.
Source Code
This function has multiple methods:
togglemask(I::GMTimage{<:UInt8, 2})- grd_operations.jl:314togglemask(I::GMTimage{<:Bool, 2})- grd_operations.jl:313