23 #include "pybind11/pybind11.h" 
   32     py::class_<PixelRegion> clsPixelRegion(mod, 
"PixelRegion");
 
   35     clsPixelRegion.def(py::init<Ellipse const &>());
 
   40     clsPixelRegion.def(
"__iter__",
 
   41                        [](
const PixelRegion &
self) { 
return py::make_iterator(
self.begin(), 
self.
end()); },
 
   42                        py::keep_alive<0, 1>() );