23 #include <pybind11/pybind11.h> 24 #include <pybind11/stl.h> 30 namespace py = pybind11;
38 py::module mod(
"_rgb",
"Python wrapper for afw _rgb library");
42 "gim"_a,
"bim"_a,
"borderWidth"_a = 2,
"saturatedPixelValue"_a = 65535);
43 mod.def(
"getZScale", getZScale<std::uint16_t>,
"image"_a,
"nsamples"_a = 1000,
"contrast"_a = 0.25);
44 mod.def(
"getZScale", getZScale<float>,
"image"_a,
"nsamples"_a = 1000,
"contrast"_a = 0.25);
def display(self, xy0=None, frame=1, ctype=None)
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.