Package pyopencv :: Module pyopencvext :: Class Index
[hide private]
[frames] | no frames]

Class Index

 object --+    
          |    
??.instance --+
              |
             Index

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1, (Mat)features, (IndexParams)params) -> None :
 
__reduce__(...)
helper for pickle
 
knnSearch(...)
knnSearch( (Index)inst, (Mat)queries, (object)knn, (SearchParams)params) -> tuple :
 
radiusSearch(...)
radiusSearch( (Index)inst, (Mat)query, (object)radius, (SearchParams)params) -> tuple :
 
save(...)
save( (Index)arg1, (object)filename) -> None :
 
size(...)
size( (Index)arg1) -> int :
 
veclen(...)
veclen( (Index)arg1) -> int :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 12
Properties [hide private]
  this

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Mat)features, (IndexParams)params) -> None :

    C++ signature :
        void __init__(_object*,cv::Mat,cv::flann::IndexParams)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

knnSearch(...)

 

knnSearch( (Index)inst, (Mat)queries, (object)knn, (SearchParams)params) -> tuple :
    
    Argument 'indices':
        C/C++ type: ::std::vector< int > &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).
    Argument 'dists':
        C/C++ type: ::std::vector< float > &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).
    Argument 'queries':
        C/C++ type: ::std::vector< float > const &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).

    C++ signature :
        boost::python::tuple knnSearch(cv::flann::Index {lvalue},cv::Mat,int,cv::flann::SearchParams)

knnSearch( (Index)arg1, (Mat)queries, (Mat)indices, (Mat)dists, (object)knn, (SearchParams)params) -> None :

    C++ signature :
        void knnSearch(cv::flann::Index {lvalue},cv::Mat,cv::Mat {lvalue},cv::Mat {lvalue},int,cv::flann::SearchParams)

radiusSearch(...)

 

radiusSearch( (Index)inst, (Mat)query, (object)radius, (SearchParams)params) -> tuple :
    
    Argument 'indices':
        C/C++ type: ::std::vector< int > &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).
    Argument 'query':
        C/C++ type: ::std::vector< float > const &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
    Argument 'dists':
        C/C++ type: ::std::vector< float > &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).

    C++ signature :
        boost::python::tuple radiusSearch(cv::flann::Index {lvalue},cv::Mat,float,cv::flann::SearchParams)

radiusSearch( (Index)arg1, (Mat)query, (Mat)indices, (Mat)dists, (object)radius, (SearchParams)params) -> int :

    C++ signature :
        int radiusSearch(cv::flann::Index {lvalue},cv::Mat,cv::Mat {lvalue},cv::Mat {lvalue},float,cv::flann::SearchParams)

save(...)

 

save( (Index)arg1, (object)filename) -> None :

    C++ signature :
        void save(cv::flann::Index {lvalue},std::string)

size(...)

 

size( (Index)arg1) -> int :

    C++ signature :
        int size(cv::flann::Index {lvalue})

veclen(...)

 

veclen( (Index)arg1) -> int :

    C++ signature :
        int veclen(cv::flann::Index {lvalue})


Property Details [hide private]

this

Get Method:
unreachable(...)