View Source Evision.Detail.Estimator (Evision v0.2.9)
Summary
Functions
Estimates camera parameters.
Types
@type t() :: %Evision.Detail.Estimator{ref: reference()}
Type that represents an Detail.Estimator
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec apply( t(), [Evision.Detail.ImageFeatures.t()], [Evision.Detail.MatchesInfo.t()], [ Evision.Detail.CameraParams.t() ] ) :: [Evision.Detail.CameraParams.t()] | false | {:error, String.t()}
Estimates camera parameters.
Positional Arguments
self:
Evision.Detail.Estimator.t()
features:
[Evision.Detail.ImageFeatures]
.Features of images
pairwise_matches:
[Evision.Detail.MatchesInfo]
.Pairwise matches of images
Return
retval:
bool
cameras:
[Evision.Detail.CameraParams]
.Estimated camera parameters
@return True in case of success, false otherwise
Python prototype (for reference only):
apply(features, pairwise_matches, cameras) -> retval, cameras