Ask Your Question
0

SurfFeatureDetector cannot use data of CV_16S ?

asked 2014-02-27 07:17:06 -0600

RS-yyt gravatar image

SurfFeatureDetector's member function-- detect() gives an error when I use a CV_16S mat.Does it only support CV_8U data? The version of my opencv is 2.4.0.

edit retag flag offensive close merge delete

Comments

Why would you use CV_16S?

GilLevi gravatar imageGilLevi ( 2014-02-27 08:07:44 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-02-27 11:23:23 -0600

Vladislav Vinogradov gravatar image

Yes, SurfFeatureDetector supports only CV_8U depth. Also it will convert color image into grayscale.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-02-27 07:17:06 -0600

Seen: 334 times

Last updated: Feb 27 '14