Plane of an image with a specific index. More...
Inherits object.
Public Member Functions | |
float | get_pixel (self, cvb.Point2D position) |
Gets the pixel value at the given position (as float). More... | |
cvb.Image | map (self) |
Create a map from a single image plane, that shares its memory with the original plane. More... | |
Properties | |
data_type = property | |
cvb.DataType: Data type descriptor for this plane. More... | |
plane = property | |
int: Plane index in the image, to which this plane refers to. More... | |
rank = property | |
int: The number of dimensions of this plane. More... | |
Plane of an image with a specific index.
Implicitly convert a plane to an image plane.
plane : cvb.Plane Plane to convert to image plane. Plane must be 2D.
float get_pixel | ( | self, | |
cvb.Point2D | position | ||
) |
Gets the pixel value at the given position (as float).
position : cvb.Point2D Pixel position.
float The pixel value.
cvb.Image map | ( | self | ) |
Create a map from a single image plane, that shares its memory with the original plane.
cvb.Image The mapped image.
|
static |
cvb.DataType: Data type descriptor for this plane.
|
static |
int: Plane index in the image, to which this plane refers to.
|
static |
int: The number of dimensions of this plane.