Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cuda::integral available types

Currently, the coda::integral function only accepts CV_8UC1, it seems.

From opencv/modules/cudaarithm/src/cuda/integral.cu: CV_Assert( src.type() == CV_8UC1 );

What's the reason for this?

I would love to be able to use other types, particularly all CV_32FCx variants. Would it be a simple matter of me customising the assertion in integral.cu and compiling my own custom build, or are there more fundamental reasons behind the limitation to CV_8UC1?

cuda::integral available types

Currently, the coda::integral cuda::integral function only accepts CV_8UC1, it seems.

From opencv/modules/cudaarithm/src/cuda/integral.cu: CV_Assert( src.type() == CV_8UC1 );

What's the reason for this?

I would love to be able to use other types, particularly all CV_32FCx variants. Would it be a simple matter of me customising the assertion in integral.cu and compiling my own custom build, or are there more fundamental reasons behind the limitation to CV_8UC1?