Ask Your Question
1

where is the PatchGenerator in opencv2.4.2

asked 2012-07-26 21:08:10 -0600

hujilin1229 gravatar image

hi every one, I am using the new version of opencv2.4.2 recently for its new features. However, I met something troublesome here. In the previous work, I used the class of PatchGenerator which is included in opencv2.3.1.And when I run my work using opencv2.4.2, it appears some mistake, which said "PatchGenerator is not a cv type". I posted here for your kind help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-08-09 14:34:39 -0600

Hi,

PatchGenerator was moved to the legacy module in OpenCV 2.4.2. So you should include the header of this module to use PatchGenerator:

#include <opencv2/legacy/legacy.hpp>
edit flag offensive delete link more

Comments

1

Why was it moved to the legacy module? I think it is a valuable tool.

SR gravatar imageSR ( 2013-02-23 08:37:35 -0600 )edit

Question Tools

Stats

Asked: 2012-07-26 21:08:10 -0600

Seen: 1,166 times

Last updated: Aug 09 '12