Next: 5.1 Constructors Up: cppguide Previous: 4.13 Video operations Contents

# 5. The `VMask` class

The `VMask` class is an abstraction over the VIPS `DOUBLEMASK` and `INTMASK` types which gives convenient and safe representation of matricies.

`VMask` has two sub-classes, `VIMask` and `VDMask`. These represent matricies of integers and doubles respectively.

Subsections

- 5.1 Constructors
- 5.2 Projection functions
- 5.3 Assignment
- 5.4 Computing with `VMask`
  - 5.4.1 `VIMask` operations
  - 5.4.2 `VDMask` operations
- 5.5 Output of masks