Two type conversions are defined: you can cast VImage to a VDMask and to a VIMask.
VImage
VDMask
VIMask
operator VDMask(); operator VIMask();
These operations are slow and need a lot of memory! Emergencies only.