Reinhard tonemapping on CR2 RAW image in Python

for one, the assertion says what it expects:

And there’s some documentation that you follow up the inheritance until you find your process() method:

that’s the same. OpenCV adapts between cv::Mat and numpy array. there is no “Mat” in the python bindings. this is a fundamental aspect of how OpenCV works when used from Python.

1 Like