opencv 3.0 deprecated opencv_legacy module
opencv3.0 deprecated opencv_legacy module, and my old code needs the function cv::PatchGenerator used to declare in legacy.hpp . How could I fix this problem, is any function could instead of cv::PatchGenerator in the latest opencv3.0?
legacy is gone for good.
you might copy/paste the PatchGenerator code from the 2.4 branch to your own project, and try to fix it there.
(you'll run into the obvious problems with different header structures (can't use precomp.hpp), and general changes 2.4 -> 3.0, come back when you hit a wall there)