Created an iterator instance that is used to iterate over pixels in an
ImageMap. It can be used for rectangular regions.