fix regression issues in Feature2D and DescriptorMatcher interfaces

This commit is contained in:
abratchik
2016-10-16 13:33:12 +04:00
parent 1ae27eb696
commit adbb1471fc
2 changed files with 34 additions and 6 deletions
+20
View File
@@ -154,6 +154,26 @@ void Feature2D::detectAndCompute( InputArray, InputArray,
CV_Error(Error::StsNotImplemented, "");
}
void Feature2D::write( const String& fileName ) const
{
FileStorage fs(fileName, FileStorage::WRITE);
write(fs);
}
void Feature2D::read( const String& fileName )
{
FileStorage fs(fileName, FileStorage::READ);
read(fs.root());
}
void Feature2D::write( FileStorage&) const
{
}
void Feature2D::read( const FileNode&)
{
}
int Feature2D::descriptorSize() const
{
return 0;