Implementation of getConvertElem(int fromType, int toType) missing (Bug #2225)
Description
it seems that in opencv 2.4.2, there is no implementation of getConvertElem(int fromType, int toType). Instead, there is a similar function implemented in matrix.cpp called getConvertData(int fromType, int toType).
Maybe you forgot to rename getConvertElem(int fromType, int toType) definition in core.hpp to this new one?
Best regards,
Dominik
Associated revisions
#2225 Rename getConvertData to getConvertElem to match the headers and documentation
History
Updated by Daniil Osokin over 12 years ago
- Category set to core
Updated by Daniil Osokin over 12 years ago
Dominik, you can try to ask this on http://answers.opencv.org/questions/. If you find answer there, please, answer this task.
Updated by Dominik Alexander Klein over 12 years ago
I copied the implementation of getConvertData(int fromType, int toType) and renamed it to getConvertElem(int fromType, int toType). Now the function works for me as expected (as it is decribed in the documentation). Naming should still get cleaned up in one of the next versions.
Updated by Andrey Kamaev over 12 years ago
Thanks for the report. Issue is now fixed in OpenCV master.
- Status changed from Open to Done
- Target version set to 2.4.3
- Assignee set to Andrey Kamaev