Mat CudaMem::createMatHeader() is wrong (Bug #1353)
Description
In the current opencv trunk, file opencv2/gpu/matrix_operations.hpp line 122, it says
inline Mat [[CudaMem]]::createMatHeader() const { return Mat(size(), type(), data); }
but is should say
inline Mat [[CudaMem]]::createMatHeader() const { return Mat(size(), type(), data, step); }
without the step parameter, the created matrix is simply wrong and does not match the Cuda memory mapping.
Associated revisions
fixed CudaMem::createMatHeader (ticket #1353)
History
Updated by Vladislav Vinogradov over 13 years ago
- Status deleted (
Open)
Updated by Vladislav Vinogradov over 13 years ago
- Status set to Done
- (deleted custom field) set to fixed