View Source Evision.PyRotationWarper (Evision v0.1.15)
Link to this section Summary
Types
Type that represents an Evision.PyRotationWarper
struct.
Functions
Builds the projection maps according to the given camera data.
Builds the projection maps according to the given camera data.
Return
- retval:
float
Python prototype (for reference):
Positional Arguments
- type:
String
- scale:
float
Return
- self:
Evision.PyRotationWarper
Python prototype (for reference):
Positional Arguments
- arg1:
float
Python prototype (for reference):
Projects the image.
Projects the image.
Projects the image backward.
Projects the image backward.
Projects the image point.
Positional Arguments
- pt:
Point2f
- k:
Evision.Mat
- r:
Evision.Mat
Return
- retval:
Point2f
Python prototype (for reference):
Positional Arguments
src_size:
Size
.
Link to this section Types
@type t() :: %Evision.PyRotationWarper{ref: reference()}
Type that represents an Evision.PyRotationWarper
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
@spec buildMaps( t(), {number(), number()}, Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: {{number(), number(), number(), number()}, Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
Builds the projection maps according to the given camera data.
Positional Arguments
src_size:
Size
.Source image size
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
Return
retval:
Rect
xmap:
Evision.Mat
.Projection map for the x axis
ymap:
Evision.Mat
.Projection map for the y axis
@return Projected image minimum bounding box
Python prototype (for reference):
buildMaps(src_size, K, R[, xmap[, ymap]]) -> retval, xmap, ymap
@spec buildMaps( t(), {number(), number()}, Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil ) :: {{number(), number(), number(), number()}, Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
Builds the projection maps according to the given camera data.
Positional Arguments
src_size:
Size
.Source image size
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
Return
retval:
Rect
xmap:
Evision.Mat
.Projection map for the x axis
ymap:
Evision.Mat
.Projection map for the y axis
@return Projected image minimum bounding box
Python prototype (for reference):
buildMaps(src_size, K, R[, xmap[, ymap]]) -> retval, xmap, ymap
Return
- retval:
float
Python prototype (for reference):
getScale() -> retval
Return
- self:
Evision.PyRotationWarper
Python prototype (for reference):
PyRotationWarper() -> <PyRotationWarper object>
Positional Arguments
- type:
String
- scale:
float
Return
- self:
Evision.PyRotationWarper
Python prototype (for reference):
PyRotationWarper(type, scale) -> <PyRotationWarper object>
Positional Arguments
- arg1:
float
Python prototype (for reference):
setScale(arg1) -> None
@spec warp( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), integer(), integer() ) :: {{number(), number()}, Evision.Mat.t()} | {:error, String.t()}
Projects the image.
Positional Arguments
src:
Evision.Mat
.Source image
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
interp_mode:
int
.Interpolation mode
border_mode:
int
.Border extrapolation mode
Return
retval:
Point
dst:
Evision.Mat
.Projected image
@return Project image top-left corner
Python prototype (for reference):
warp(src, K, R, interp_mode, border_mode[, dst]) -> retval, dst
@spec warp( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), integer(), integer(), [{atom(), term()}, ...] | nil ) :: {{number(), number()}, Evision.Mat.t()} | {:error, String.t()}
Projects the image.
Positional Arguments
src:
Evision.Mat
.Source image
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
interp_mode:
int
.Interpolation mode
border_mode:
int
.Border extrapolation mode
Return
retval:
Point
dst:
Evision.Mat
.Projected image
@return Project image top-left corner
Python prototype (for reference):
warp(src, K, R, interp_mode, border_mode[, dst]) -> retval, dst
@spec warpBackward( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), integer(), integer(), {number(), number()} ) :: Evision.Mat.t() | {:error, String.t()}
Projects the image backward.
Positional Arguments
src:
Evision.Mat
.Projected image
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
interp_mode:
int
.Interpolation mode
border_mode:
int
.Border extrapolation mode
dst_size:
Size
.Backward-projected image size
Return
dst:
Evision.Mat
.Backward-projected image
Python prototype (for reference):
warpBackward(src, K, R, interp_mode, border_mode, dst_size[, dst]) -> dst
warpBackward(self, src, k, r, interp_mode, border_mode, dst_size, opts)
View Source@spec warpBackward( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), integer(), integer(), {number(), number()}, [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
Projects the image backward.
Positional Arguments
src:
Evision.Mat
.Projected image
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
interp_mode:
int
.Interpolation mode
border_mode:
int
.Border extrapolation mode
dst_size:
Size
.Backward-projected image size
Return
dst:
Evision.Mat
.Backward-projected image
Python prototype (for reference):
warpBackward(src, K, R, interp_mode, border_mode, dst_size[, dst]) -> dst
@spec warpPoint( t(), {number(), number()}, Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: {number(), number()} | {:error, String.t()}
Projects the image point.
Positional Arguments
pt:
Point2f
.Source point
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
Return
- retval:
Point2f
@return Projected point
Python prototype (for reference):
warpPoint(pt, K, R) -> retval
@spec warpPointBackward( t(), {number(), number()}, Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: {number(), number()} | {:error, String.t()}
Positional Arguments
- pt:
Point2f
- k:
Evision.Mat
- r:
Evision.Mat
Return
- retval:
Point2f
Python prototype (for reference):
warpPointBackward(pt, K, R) -> retval
@spec warpRoi( t(), {number(), number()}, Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: {number(), number(), number(), number()} | {:error, String.t()}
Positional Arguments
src_size:
Size
.Source image bounding box
k:
Evision.Mat
.Camera intrinsic parameters
r:
Evision.Mat
.Camera rotation matrix
Return
- retval:
Rect
@return Projected image minimum bounding box
Python prototype (for reference):
warpRoi(src_size, K, R) -> retval