23 #include "pybind11/pybind11.h"
27 namespace py = pybind11;
32 py::module mod(
"imageUtils");
36 mod.def(
"positionToIndex", (std::pair<int, double>(*)(
double const,
bool))positionToIndex);
double indexToPosition(double ind)
Convert image index to image position.
int positionToIndex(double pos)
Convert image position to nearest integer index.
PYBIND11_PLUGIN(imagePca)