EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ domain()

Region< N > domain ( ) const

Get the raster domain.

The domain is the region which spans from the first to the last pixel position.

Example
It can be used to loop over all pixels, e.g.:
for (auto pos : raster.domain()) {
processPixel(pos, raster[pos]);
}