lsst.afw g3a5ebb7d8a+28b83bf6a5
Loading...
Searching...
No Matches
ImageUtils.h File Reference
#include <cmath>

Go to the source code of this file.

Namespaces

namespace  lsst
namespace  lsst::afw
namespace  lsst::afw::image

Enumerations

enum  lsst::afw::image::xOrY { lsst::afw::image::X , lsst::afw::image::Y }

Functions

double lsst::afw::image::indexToPosition (double ind)
 Convert image index to image position.
int lsst::afw::image::positionToIndex (double pos)
 Convert image position to nearest integer index.
int lsst::afw::image::positionToIndex (double &residual, double pos)
 Convert image position to index (nearest integer and fractional parts).
std::pair< int, double > lsst::afw::image::positionToIndex (double const pos, bool)
 Convert image position to index (nearest integer and fractional parts).

Variables

const double lsst::afw::image::PixelZeroPos = 0.0
 position of center of pixel 0