Package pyopencv :: Module cxcore_hpp_ext :: Class SparseMat
[hide private]
[frames] | no frames]

Class SparseMat

 object --+    
          |    
??.instance --+
              |
             SparseMat

Nested Classes [hide private]
  Hdr
  Node
Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1, (Mat)m [, (bool)try1d=False]) -> None :
 
__iter__(...)
__iter__( (SparseMat)arg1) -> SparseMatIterator :
 
__reduce__(...)
helper for pickle
 
assign(...)
assign( (SparseMat)arg1, (SparseMat)m) -> SparseMat :
 
assignTo(...)
assignTo( (SparseMat)arg1, (SparseMat)m [, (object)type=-1]) -> None :
 
channels(...)
channels( (SparseMat)arg1) -> int :
 
clear(...)
clear( (SparseMat)arg1) -> None :
 
clone(...)
clone( (SparseMat)arg1) -> SparseMat :
 
convertTo(...)
convertTo( (SparseMat)arg1, (SparseMat)m, (object)rtype [, (object)alpha=1]) -> None :
 
copyTo(...)
copyTo( (SparseMat)arg1, (SparseMat)m) -> None :
 
create(...)
create( (SparseMat)inst, (vector_int)_sizes, (object)_type) -> None :
 
depth(...)
depth( (SparseMat)arg1) -> int :
 
dims(...)
dims( (SparseMat)arg1) -> int :
 
elemSize(...)
elemSize( (SparseMat)arg1) -> int :
 
elemSize1(...)
elemSize1( (SparseMat)arg1) -> int :
 
erase_7ee4e9a1250db62333754bd289edbba8(...)
erase_7ee4e9a1250db62333754bd289edbba8( (SparseMat)inst, (vector_int)idx) -> object :
 
erase_ca8730dab3cfc35be7d8c7cfc84bf06f(...)
erase_ca8730dab3cfc35be7d8c7cfc84bf06f( (SparseMat)inst, (object)i0, (object)i1, (object)i2) -> object :
 
erase_ce64effe5fbeb3e9588310d12240ddce(...)
erase_ce64effe5fbeb3e9588310d12240ddce( (SparseMat)inst, (object)i0, (object)i1) -> object :
 
hash(...)
hash( (SparseMat)arg1, (object)i0) -> int :
 
hash_19477be6a05d6299f1601326adc61332(...)
hash_19477be6a05d6299f1601326adc61332( (SparseMat)inst, (vector_int)idx) -> object :
 
node(...)
node( (SparseMat)arg1, (object)nidx) -> Node :
 
nzcount(...)
nzcount( (SparseMat)arg1) -> int :
 
removeNode(...)
removeNode( (SparseMat)arg1, (object)hidx, (object)nidx, (object)previdx) -> None :
 
resizeHashTab(...)
resizeHashTab( (SparseMat)arg1, (object)newsize) -> None :
 
size(...)
size( (SparseMat)arg1 [, (object)i=-1]) -> object :
 
type(...)
type( (SparseMat)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]
  HASH_BIT = -2147483648
  HASH_SCALE = 1540483477
  MAGIC_VAL = 1123876864
  MAX_DIM = 32
  __instance_size__ = 20
Properties [hide private]
  flags
  hdr
  this

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Mat)m [, (bool)try1d=False]) -> None :

    C++ signature :
        void __init__(_object*,cv::Mat [,bool=False])

__init__( (object)arg1 [, (MatND)m]) -> None :

    C++ signature :
        void __init__(_object* [,cv::MatND])

__init__( (object)arg1, (SparseMat)m) -> None :

    C++ signature :
        void __init__(_object*,cv::SparseMat)

__init__( (object)arg1, (vector_int)_sizes, (object)_type) -> object :

    C++ signature :
        void* __init__(boost::python::api::object,std::vector<int, std::allocator<int> >,int)

Overrides: object.__init__

__iter__(...)

 

__iter__( (SparseMat)arg1) -> SparseMatIterator :
    
    Wrapped function:
        begin

    C++ signature :
        cv::SparseMatIterator __iter__(cv::SparseMat {lvalue})

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

assign(...)

 

assign( (SparseMat)arg1, (SparseMat)m) -> SparseMat :
    
    Wrapped function:
        operator=

    C++ signature :
        cv::SparseMat {lvalue} assign(cv::SparseMat {lvalue},cv::SparseMat)

assign( (SparseMat)arg1, (Mat)m) -> SparseMat :
    
    Wrapped function:
        operator=

    C++ signature :
        cv::SparseMat {lvalue} assign(cv::SparseMat {lvalue},cv::Mat)

assign( (SparseMat)arg1, (MatND)m) -> SparseMat :
    
    Wrapped function:
        operator=

    C++ signature :
        cv::SparseMat {lvalue} assign(cv::SparseMat {lvalue},cv::MatND)

assignTo(...)

 

assignTo( (SparseMat)arg1, (SparseMat)m [, (object)type=-1]) -> None :

    C++ signature :
        void assignTo(cv::SparseMat {lvalue},cv::SparseMat {lvalue} [,int=-1])

channels(...)

 

channels( (SparseMat)arg1) -> int :

    C++ signature :
        int channels(cv::SparseMat {lvalue})

clear(...)

 

clear( (SparseMat)arg1) -> None :

    C++ signature :
        void clear(cv::SparseMat {lvalue})

clone(...)

 

clone( (SparseMat)arg1) -> SparseMat :

    C++ signature :
        cv::SparseMat clone(cv::SparseMat {lvalue})

convertTo(...)

 

convertTo( (SparseMat)arg1, (SparseMat)m, (object)rtype [, (object)alpha=1]) -> None :

    C++ signature :
        void convertTo(cv::SparseMat {lvalue},cv::SparseMat {lvalue},int [,double=1])

convertTo( (SparseMat)arg1, (Mat)m, (object)rtype [, (object)alpha=1 [, (object)beta=0]]) -> None :

    C++ signature :
        void convertTo(cv::SparseMat {lvalue},cv::Mat {lvalue},int [,double=1 [,double=0]])

convertTo( (SparseMat)arg1, (MatND)m, (object)rtype [, (object)alpha=1 [, (object)beta=0]]) -> None :

    C++ signature :
        void convertTo(cv::SparseMat {lvalue},cv::MatND {lvalue},int [,double=1 [,double=0]])

copyTo(...)

 

copyTo( (SparseMat)arg1, (SparseMat)m) -> None :

    C++ signature :
        void copyTo(cv::SparseMat {lvalue},cv::SparseMat {lvalue})

copyTo( (SparseMat)arg1, (Mat)m) -> None :

    C++ signature :
        void copyTo(cv::SparseMat {lvalue},cv::Mat {lvalue})

copyTo( (SparseMat)arg1, (MatND)m) -> None :

    C++ signature :
        void copyTo(cv::SparseMat {lvalue},cv::MatND {lvalue})

create(...)

 

create( (SparseMat)inst, (vector_int)_sizes, (object)_type) -> None :
    
    Argument 'dims':
        Dependent argument: omitted from input. Its value is derived from 
        argument '_sizes'.
    Argument '_sizes':
        C++ type: int const *
        Python type: vector_int

    C++ signature :
        void create(cv::SparseMat {lvalue},std::vector<int, std::allocator<int> >,int)

depth(...)

 

depth( (SparseMat)arg1) -> int :

    C++ signature :
        int depth(cv::SparseMat {lvalue})

dims(...)

 

dims( (SparseMat)arg1) -> int :

    C++ signature :
        int dims(cv::SparseMat {lvalue})

elemSize(...)

 

elemSize( (SparseMat)arg1) -> int :

    C++ signature :
        unsigned int elemSize(cv::SparseMat {lvalue})

elemSize1(...)

 

elemSize1( (SparseMat)arg1) -> int :

    C++ signature :
        unsigned int elemSize1(cv::SparseMat {lvalue})

erase_7ee4e9a1250db62333754bd289edbba8(...)

 

erase_7ee4e9a1250db62333754bd289edbba8( (SparseMat)inst, (vector_int)idx) -> object :
    
    Wrapped function:
        erase
    Argument 'idx':
        C++ type: int const *
        Python type: vector_int
    Argument 'hashval':
        C++ type: ::size_t *
        Python type: uint
        Output argument: omitted from input and returned as output.
    Returns:
        hashval

    C++ signature :
        boost::python::api::object erase_7ee4e9a1250db62333754bd289edbba8(cv::SparseMat {lvalue},std::vector<int, std::allocator<int> >)

erase_ca8730dab3cfc35be7d8c7cfc84bf06f(...)

 

erase_ca8730dab3cfc35be7d8c7cfc84bf06f( (SparseMat)inst, (object)i0, (object)i1, (object)i2) -> object :
    
    Wrapped function:
        erase
    Argument 'hashval':
        C++ type: ::size_t *
        Python type: uint
        Output argument: omitted from input and returned as output.
    Returns:
        hashval

    C++ signature :
        boost::python::api::object erase_ca8730dab3cfc35be7d8c7cfc84bf06f(cv::SparseMat {lvalue},int,int,int)

erase_ce64effe5fbeb3e9588310d12240ddce(...)

 

erase_ce64effe5fbeb3e9588310d12240ddce( (SparseMat)inst, (object)i0, (object)i1) -> object :
    
    Wrapped function:
        erase
    Argument 'hashval':
        C++ type: ::size_t *
        Python type: uint
        Output argument: omitted from input and returned as output.
    Returns:
        hashval

    C++ signature :
        boost::python::api::object erase_ce64effe5fbeb3e9588310d12240ddce(cv::SparseMat {lvalue},int,int)

hash(...)

 

hash( (SparseMat)arg1, (object)i0) -> int :

    C++ signature :
        unsigned int hash(cv::SparseMat {lvalue},int)

hash( (SparseMat)arg1, (object)i0, (object)i1) -> int :

    C++ signature :
        unsigned int hash(cv::SparseMat {lvalue},int,int)

hash( (SparseMat)arg1, (object)i0, (object)i1, (object)i2) -> int :

    C++ signature :
        unsigned int hash(cv::SparseMat {lvalue},int,int,int)

hash_19477be6a05d6299f1601326adc61332(...)

 

hash_19477be6a05d6299f1601326adc61332( (SparseMat)inst, (vector_int)idx) -> object :
    
    Wrapped function:
        hash
    Argument 'idx':
        C++ type: int const *
        Python type: vector_int

    C++ signature :
        boost::python::api::object hash_19477be6a05d6299f1601326adc61332(cv::SparseMat,std::vector<int, std::allocator<int> >)

node(...)

 

node( (SparseMat)arg1, (object)nidx) -> Node :

    C++ signature :
        cv::SparseMat::Node* node(cv::SparseMat {lvalue},unsigned int)

node( (SparseMat)arg1, (object)nidx) -> Node :

    C++ signature :
        cv::SparseMat::Node const* node(cv::SparseMat {lvalue},unsigned int)

nzcount(...)

 

nzcount( (SparseMat)arg1) -> int :

    C++ signature :
        unsigned int nzcount(cv::SparseMat {lvalue})

removeNode(...)

 

removeNode( (SparseMat)arg1, (object)hidx, (object)nidx, (object)previdx) -> None :

    C++ signature :
        void removeNode(cv::SparseMat {lvalue},unsigned int,unsigned int,unsigned int)

resizeHashTab(...)

 

resizeHashTab( (SparseMat)arg1, (object)newsize) -> None :

    C++ signature :
        void resizeHashTab(cv::SparseMat {lvalue},unsigned int)

size(...)

 

size( (SparseMat)arg1 [, (object)i=-1]) -> object :

    C++ signature :
        boost::python::api::object size(cv::SparseMat [,int=-1])

type(...)

 

type( (SparseMat)arg1) -> int :

    C++ signature :
        int type(cv::SparseMat {lvalue})


Property Details [hide private]

flags

Get Method:
unreachable(...)
Set Method:
unreachable(...)

hdr

Get Method:
unreachable(...)
Set Method:
unreachable(...)

this

Get Method:
unreachable(...)