Ask Your Question
1

Is CV_FILLED removed in 4.0.0?

asked 2018-11-24 02:15:14 -0600

Riddle Aaron gravatar image

After I update OpenCV from 3.2.0 to 4.0.0, I can't use CV_FILLED because it complains that it is undefined. Was it removed? Or am I just missing something?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-11-24 02:20:06 -0600

berak gravatar image

updated 2018-11-24 03:38:59 -0600

most of those CV_ constants were changed to cv:: ones in 3.0.0 already (removal of c-api) you have to use:

cv::FILLED

instead.

edit flag offensive delete link more

Comments

Where are those constants? I can't find them in opencv2/core.hpp

Riddle Aaron gravatar imageRiddle Aaron ( 2018-11-24 09:43:31 -0600 )edit

look at the link above, again, it's in imgproc, not core

berak gravatar imageberak ( 2018-11-24 09:49:33 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-11-24 02:15:14 -0600

Seen: 11,007 times

Last updated: Nov 24 '18