Home | Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | CvStatModel --+ | CvKNearest
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
__instance_size__ = 40
|
|
|||
this | |||
Inherited from |
|
__init__( (object)arg1) -> None : C++ signature : void __init__(_object*) __init__( (object)arg1, (CvMat)_train_data, (CvMat)_responses [, (CvMat)_sample_idx=None [, (bool)_is_regression=False [, (object)max_k=32]]]) -> None : Wrapped function: CvKNearest Argument '_train_data': C++ type: ::CvMat const * Python type: Mat Argument '_responses': C++ type: ::CvMat const * Python type: Mat Argument '_sample_idx': C++ type: ::CvMat const * Python type: Mat C++ signature : void __init__(_object*,CvMat const*,CvMat const* [,CvMat const*=None [,bool=False [,int=32]]]) __init__( (object)arg1, (Mat)_train_data, (Mat)_responses [, (Mat)_sample_idx=Mat() [, (bool)_is_regression=False [, (object)max_k=32]]]) -> None : C++ signature : void __init__(_object*,cv::Mat,cv::Mat [,cv::Mat=Mat() [,bool=False [,int=32]]])
|
clear( (CvKNearest)arg1) -> None : C++ signature : void clear(CvKNearest {lvalue}) clear( (CvKNearest)arg1) -> None : C++ signature : void clear(CvKNearest_wrapper {lvalue})
|
find_nearest( (CvKNearest)arg1, (Mat)_samples, (object)k, (Mat)results [, (bool)return_neighbors_by_addr=False [, (Mat)neighbor_response=Mat() [, (Mat)dist=Mat()]]]) -> object : C++ signature : boost::python::api::object find_nearest(CvKNearest_wrapper {lvalue},cv::Mat,int,cv::Mat {lvalue} [,bool=False [,cv::Mat {lvalue}=Mat() [,cv::Mat {lvalue}=Mat()]]]) |
get_max_k( (CvKNearest)arg1) -> int : C++ signature : int get_max_k(CvKNearest {lvalue}) |
get_sample_count( (CvKNearest)arg1) -> int : C++ signature : int get_sample_count(CvKNearest {lvalue}) |
get_var_count( (CvKNearest)arg1) -> int : C++ signature : int get_var_count(CvKNearest {lvalue}) |
is_regression( (CvKNearest)arg1) -> bool : C++ signature : bool is_regression(CvKNearest {lvalue}) |
load( (CvKNearest)arg1, (str)filename [, (str)name=None]) -> None : C++ signature : void load(CvKNearest {lvalue},char const* [,char const*=None]) load( (CvKNearest)arg1, (str)filename [, (str)name=None]) -> None : C++ signature : void load(CvKNearest_wrapper {lvalue},char const* [,char const*=None])
|
read( (CvStatModel)inst, (FileStorage)storage, (FileNode)node) -> None : Argument 'storage': C++ type: ::CvFileStorage * Python type: FileStorage Argument 'node': C++ type: ::CvFileNode * Python type: FileNode C++ signature : void read(CvStatModel {lvalue},cv::FileStorage {lvalue},cv::FileNode {lvalue})
|
save( (CvKNearest)arg1, (str)filename [, (str)name=None]) -> None : C++ signature : void save(CvKNearest {lvalue},char const* [,char const*=None]) save( (CvKNearest)arg1, (str)filename [, (str)name=None]) -> None : C++ signature : void save(CvKNearest_wrapper {lvalue},char const* [,char const*=None])
|
train( (CvKNearest)inst, (Mat)_train_data, (Mat)_responses [, (Mat)_sample_idx=Mat() [, (bool)is_regression=False [, (object)_max_k=32 [, (bool)_update_base=False]]]]) -> object : Argument '_train_data': C++ type: ::CvMat const * Python type: Mat Argument '_responses': C++ type: ::CvMat const * Python type: Mat Argument '_sample_idx': C++ type: ::CvMat const * Python type: Mat C++ signature : boost::python::api::object train(CvKNearest {lvalue},cv::Mat {lvalue},cv::Mat {lvalue} [,cv::Mat=Mat() [,bool=False [,int=32 [,bool=False]]]]) train( (CvKNearest)arg1, (Mat)_train_data, (Mat)_responses [, (Mat)_sample_idx=Mat() [, (bool)is_regression=False [, (object)_max_k=32 [, (bool)_update_base=False]]]]) -> bool : C++ signature : bool train(CvKNearest {lvalue},cv::Mat,cv::Mat [,cv::Mat=Mat() [,bool=False [,int=32 [,bool=False]]]]) train( (CvKNearest)arg1, (Mat)_train_data, (Mat)_responses [, (Mat)_sample_idx=Mat() [, (bool)is_regression=False [, (object)_max_k=32 [, (bool)_update_base=False]]]]) -> bool : C++ signature : bool train(CvKNearest_wrapper {lvalue},cv::Mat,cv::Mat [,cv::Mat=Mat() [,bool=False [,int=32 [,bool=False]]]]) |
write( (CvStatModel)inst, (FileStorage)storage, (str)name) -> None : Argument 'storage': C++ type: ::CvFileStorage * Python type: FileStorage C++ signature : void write(CvStatModel,cv::FileStorage {lvalue},char const*)
|
|
this
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Sep 25 18:31:10 2010 | http://epydoc.sourceforge.net |