AlgorithmInfo initialisation order is undefined (Bug #1876)
Description
Problem: init_module()
function(s) can be called before the constructors of AlgorithmInfo's used inside init_module()
.
See my commit r7856 where I've already fixed this problem for some classes.
- gftt_info
- harris_info
- dense_info
I think OpenCV should use a macro to hide typical part of algorithm setup and avoid this initialisation problem for future Algorithms.
Related issues
blocks Patch #1874: GridAdaptedFeatureDetector Parameters | Done | 2012-05-02 |
Associated revisions
fixed 2 build problems on MacOSX (highgui with ffmpeg, opencv_world); added macro CV_INIT_ALGORITHM for simpler algorithm registration (ticket #1876)