Home | Trees | Indices | Help |
---|
|
object --+ | ??.instance --+ | Size2i
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 Size2i that shares the same data with an ndarray instance, use: 'Size2i.from_ndarray(a)' or 'asSize2i(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 |
|
|||
|
|
|||
__instance_size__ = 16
|
|
|||
height | |||
ndarray | |||
this | |||
width | |||
Inherited from |
|
__init__( (object)arg1) -> None : C++ signature : void __init__(_object*) __init__( (object)arg1, (object)_width, (object)_height) -> None : C++ signature : void __init__(_object*,int,int) __init__( (object)arg1, (Size2i)sz) -> None : C++ signature : void __init__(_object*,cv::Size_<int>) __init__( (object)arg1, (Point2i)pt) -> None : C++ signature : void __init__(_object*,cv::Point_<int>)
|
helper for pickle
|
repr(x)
|
area( (Size2i)arg1) -> int : C++ signature : int area(cv::Size_<int> {lvalue}) |
assign( (Size2i)arg1, (Size2i)sz) -> Size2i : C++ signature : cv::Size_<int> {lvalue} assign(cv::Size_<int> {lvalue},cv::Size_<int>) |
from_ndarray( (object)arr) -> object : C++ signature : boost::python::api::object from_ndarray(boost::python::ndarray) Creates a Size2i view on an ndarray instance. |
|
height
|
ndarray
|
this
|
width
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Apr 08 01:48:21 2010 | http://epydoc.sourceforge.net |