Home | Trees | Indices | Help |
---|
|
object --+ | ??.instance --+ | Vec4d --+ | Scalar
Property 'ndarray' provides a numpy.ndarray view on the object. If you create a reference to 'ndarray', you must keep the object unchanged until your reference is deleted, or Python may crash! To create an instance of Scalar that shares the same data with an ndarray instance, use: 'Scalar.from_ndarray(a)' or 'asScalar(a) where 'a' is an ndarray instance. Similarly, to avoid a potential Python crash, you must keep the current instance unchanged until the reference is deleted.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|
|||
Inherited from |
|
|||
ndarray | |||
this | |||
Inherited from |
|
|
|
__init__( (object)arg1) -> None : C++ signature : void __init__(_object*) __init__( (object)arg1, (object)v0 [, (object)v1 [, (object)v2=0 [, (object)v3=0]]]) -> None : C++ signature : void __init__(_object*,double [,double [,double=0 [,double=0]]])
|
repr(x)
|
|
|
all( (object)v0) -> Scalar : C++ signature : cv::Scalar_<double> all(double)
|
from_ndarray( (object)arr) -> object : C++ signature : boost::python::api::object from_ndarray(boost::python::ndarray) Creates a Scalar view on an ndarray instance.
|
mul( (Scalar)arg1, (Scalar)t [, (object)scale=1]) -> Scalar : C++ signature : cv::Scalar_<double> mul(cv::Scalar_<double> {lvalue},cv::Scalar_<double> [,double=1]) |
|
ndarray
|
this
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Apr 08 01:48:21 2010 | http://epydoc.sourceforge.net |