Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I guess you need to get the source code for remap and make a custom version of it. But the performance benefit would likely be very small, as remap is quite computationally heavy compared to the trivial Mat type conversion - not a simple data copying process.