Image mask class with STL-compatible iterator through masked points.