23 #include <pybind11/pybind11.h> 24 #include <pybind11/stl.h> 40 "gim"_a,
"bim"_a,
"borderWidth"_a = 2,
"saturatedPixelValue"_a = 65535);
41 mod.def(
"getZScale", getZScale<std::uint16_t>,
"image"_a,
"nsamples"_a = 1000,
"contrast"_a = 0.25);
42 mod.def(
"getZScale", getZScale<float>,
"image"_a,
"nsamples"_a = 1000,
"contrast"_a = 0.25);
void replaceSaturatedPixels(ImageT &rim, ImageT &gim, ImageT &bim, int borderWidth=2, float saturatedPixelValue=65535)
A base class for image defects.
A class to manipulate images, masks, and variance as a single object.
PYBIND11_MODULE(rgb, mod)