Remove dependencies between features2d and highgui modules (Feature #1202)
Description
At the moment the features2d module cannot be used without the highgui module. And it should be possible as the features2d is an algorithm module not a gui module. The highui module brings dependencies to GTK which unnecessary increases the file size and creates problems if the application uses other user interface library.
At the moment the only dependencies between feautures2d and highgui are in oneway.cpp
cvSaveImage in OneWayDescriptor::Save()
cvLoadImage in loadPCAFeatures()
Surely they can be replaced with something else.
There is another question altogether why cvSaveImage and cvLoadImage are in the highgui library. Image load/save should be a core functionality not put in the gui library.
Associated revisions
Merge pull request #1202 from hansmi:docfix3149
History
Updated by Maria Dimashova over 13 years ago
- Status deleted (
Open)
Updated by Alexander Shishkov about 13 years ago
- Description changed from At the moment the features2d module cannot be used without the highgui module... to At the moment the features2d module cannot be used without the highgui module... More
Updated by Andrey Kamaev almost 13 years ago
Since r7485 the dependency is optional and features2d can be compiled without highgui.
- Status set to Done
- Target version set to 2.4.0