make the Python wrapper accept pre-allocated output array
paskino opened this issue · 2 comments
paskino commented
It'd be nice if the Python wrapper would allow the user to pass a pre allocated array for output instead of allocating the output by default.
dkazanc commented
so it's an initialisation of a sort? Could be useful indeed.
paskino commented
not really an initialisation, but the Python wrapper allocates by itself the output of the regularisation, like here in TV_ROF
.
The wrapper should allow to pass an already allocated array. In case none is passed it should allocate it.