View Source Evision.Stitcher (Evision v0.2.9)

Summary

Types

t()

Type that represents an Stitcher struct.

Functions

composePanorama

Variant 1:

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before.

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before.

compositingResol

Creates a Stitcher configured in one of the stitching modes.

Creates a Stitcher configured in one of the stitching modes.

These functions try to match the given images and to estimate rotations of each camera.

These functions try to match the given images and to estimate rotations of each camera.

interpolationFlags

panoConfidenceThresh

registrationResol

seamEstimationResol

setWaveCorrection

Variant 1:

These functions try to stitch the given images.

These functions try to stitch the given images.

Types

@type t() :: %Evision.Stitcher{ref: reference()}

Type that represents an Stitcher struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

composePanorama(named_args)

View Source
@spec composePanorama(Keyword.t()) :: any() | {:error, String.t()}
@spec composePanorama(t()) :: {integer(), Evision.Mat.t()} | {:error, String.t()}

composePanorama

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: Status
  • pano: Evision.Mat.t().

Has overloading in C++

Python prototype (for reference only):

composePanorama([, pano]) -> retval, pano
Link to this function

composePanorama(self, opts)

View Source
@spec composePanorama(t(), [{atom(), term()}, ...] | nil) ::
  {integer(), Evision.Mat.t()} | {:error, String.t()}
@spec composePanorama(t(), [Evision.Mat.maybe_mat_in()]) ::
  {integer(), Evision.Mat.t()} | {:error, String.t()}

Variant 1:

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before.

Positional Arguments
  • self: Evision.Stitcher.t()

  • images: [Evision.Mat].

    Input images.

Return
  • retval: Status

  • pano: Evision.Mat.t().

    Final pano.

Note: Use the functions only if you're aware of the stitching pipeline, otherwise use Stitcher::stitch. @return Status code.

Python prototype (for reference only):

composePanorama(images[, pano]) -> retval, pano

Variant 2:

composePanorama

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: Status
  • pano: Evision.Mat.t().

Has overloading in C++

Python prototype (for reference only):

composePanorama([, pano]) -> retval, pano
Link to this function

composePanorama(self, images, opts)

View Source
@spec composePanorama(
  t(),
  [Evision.Mat.maybe_mat_in()],
  [{atom(), term()}, ...] | nil
) ::
  {integer(), Evision.Mat.t()} | {:error, String.t()}

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before.

Positional Arguments
  • self: Evision.Stitcher.t()

  • images: [Evision.Mat].

    Input images.

Return
  • retval: Status

  • pano: Evision.Mat.t().

    Final pano.

Note: Use the functions only if you're aware of the stitching pipeline, otherwise use Stitcher::stitch. @return Status code.

Python prototype (for reference only):

composePanorama(images[, pano]) -> retval, pano
Link to this function

compositingResol(named_args)

View Source
@spec compositingResol(Keyword.t()) :: any() | {:error, String.t()}
@spec compositingResol(t()) :: number() | {:error, String.t()}

compositingResol

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: double

Python prototype (for reference only):

compositingResol() -> retval
@spec create() :: t() | {:error, String.t()}

Creates a Stitcher configured in one of the stitching modes.

Keyword Arguments
  • mode: Mode.

    Scenario for stitcher operation. This is usually determined by source of images to stitch and their transformation. Default parameters will be chosen for operation in given scenario.

Return
  • retval: Evision.Stitcher.t()

@return Stitcher class instance.

Python prototype (for reference only):

create([, mode]) -> retval
@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create([{:mode, term()}] | nil) :: t() | {:error, String.t()}

Creates a Stitcher configured in one of the stitching modes.

Keyword Arguments
  • mode: Mode.

    Scenario for stitcher operation. This is usually determined by source of images to stitch and their transformation. Default parameters will be chosen for operation in given scenario.

Return
  • retval: Evision.Stitcher.t()

@return Stitcher class instance.

Python prototype (for reference only):

create([, mode]) -> retval
Link to this function

estimateTransform(named_args)

View Source
@spec estimateTransform(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

estimateTransform(self, images)

View Source
@spec estimateTransform(t(), [Evision.Mat.maybe_mat_in()]) ::
  integer() | {:error, String.t()}

These functions try to match the given images and to estimate rotations of each camera.

Positional Arguments
  • self: Evision.Stitcher.t()

  • images: [Evision.Mat].

    Input images.

Keyword Arguments
  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional).

Return
  • retval: Status

Note: Use the functions only if you're aware of the stitching pipeline, otherwise use Stitcher::stitch. @return Status code.

Python prototype (for reference only):

estimateTransform(images[, masks]) -> retval
Link to this function

estimateTransform(self, images, opts)

View Source
@spec estimateTransform(t(), [Evision.Mat.maybe_mat_in()], [{:masks, term()}] | nil) ::
  integer() | {:error, String.t()}

These functions try to match the given images and to estimate rotations of each camera.

Positional Arguments
  • self: Evision.Stitcher.t()

  • images: [Evision.Mat].

    Input images.

Keyword Arguments
  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional).

Return
  • retval: Status

Note: Use the functions only if you're aware of the stitching pipeline, otherwise use Stitcher::stitch. @return Status code.

Python prototype (for reference only):

estimateTransform(images[, masks]) -> retval
Link to this function

interpolationFlags(named_args)

View Source
@spec interpolationFlags(Keyword.t()) :: any() | {:error, String.t()}
@spec interpolationFlags(t()) ::
  Evision.InterpolationFlags.enum() | {:error, String.t()}

interpolationFlags

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: InterpolationFlags

Python prototype (for reference only):

interpolationFlags() -> retval
Link to this function

panoConfidenceThresh(named_args)

View Source
@spec panoConfidenceThresh(Keyword.t()) :: any() | {:error, String.t()}
@spec panoConfidenceThresh(t()) :: number() | {:error, String.t()}

panoConfidenceThresh

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: double

Python prototype (for reference only):

panoConfidenceThresh() -> retval
Link to this function

registrationResol(named_args)

View Source
@spec registrationResol(Keyword.t()) :: any() | {:error, String.t()}
@spec registrationResol(t()) :: number() | {:error, String.t()}

registrationResol

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: double

Python prototype (for reference only):

registrationResol() -> retval
Link to this function

seamEstimationResol(named_args)

View Source
@spec seamEstimationResol(Keyword.t()) :: any() | {:error, String.t()}
@spec seamEstimationResol(t()) :: number() | {:error, String.t()}

seamEstimationResol

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: double

Python prototype (for reference only):

seamEstimationResol() -> retval
Link to this function

setCompositingResol(named_args)

View Source
@spec setCompositingResol(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setCompositingResol(self, resol_mpx)

View Source
@spec setCompositingResol(t(), number()) :: t() | {:error, String.t()}

setCompositingResol

Positional Arguments
  • self: Evision.Stitcher.t()
  • resol_mpx: double

Python prototype (for reference only):

setCompositingResol(resol_mpx) -> None
Link to this function

setInterpolationFlags(named_args)

View Source
@spec setInterpolationFlags(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setInterpolationFlags(self, interp_flags)

View Source
@spec setInterpolationFlags(t(), Evision.InterpolationFlags.enum()) ::
  t() | {:error, String.t()}

setInterpolationFlags

Positional Arguments
  • self: Evision.Stitcher.t()
  • interp_flags: InterpolationFlags

Python prototype (for reference only):

setInterpolationFlags(interp_flags) -> None
Link to this function

setPanoConfidenceThresh(named_args)

View Source
@spec setPanoConfidenceThresh(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setPanoConfidenceThresh(self, conf_thresh)

View Source
@spec setPanoConfidenceThresh(t(), number()) :: t() | {:error, String.t()}

setPanoConfidenceThresh

Positional Arguments
  • self: Evision.Stitcher.t()
  • conf_thresh: double

Python prototype (for reference only):

setPanoConfidenceThresh(conf_thresh) -> None
Link to this function

setRegistrationResol(named_args)

View Source
@spec setRegistrationResol(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setRegistrationResol(self, resol_mpx)

View Source
@spec setRegistrationResol(t(), number()) :: t() | {:error, String.t()}

setRegistrationResol

Positional Arguments
  • self: Evision.Stitcher.t()
  • resol_mpx: double

Python prototype (for reference only):

setRegistrationResol(resol_mpx) -> None
Link to this function

setSeamEstimationResol(named_args)

View Source
@spec setSeamEstimationResol(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setSeamEstimationResol(self, resol_mpx)

View Source
@spec setSeamEstimationResol(t(), number()) :: t() | {:error, String.t()}

setSeamEstimationResol

Positional Arguments
  • self: Evision.Stitcher.t()
  • resol_mpx: double

Python prototype (for reference only):

setSeamEstimationResol(resol_mpx) -> None
Link to this function

setWaveCorrection(named_args)

View Source
@spec setWaveCorrection(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setWaveCorrection(self, flag)

View Source
@spec setWaveCorrection(t(), boolean()) :: t() | {:error, String.t()}

setWaveCorrection

Positional Arguments
  • self: Evision.Stitcher.t()
  • flag: bool

Python prototype (for reference only):

setWaveCorrection(flag) -> None
@spec stitch(Keyword.t()) :: any() | {:error, String.t()}
@spec stitch(t(), [Evision.Mat.maybe_mat_in()]) ::
  {integer(), Evision.Mat.t()} | {:error, String.t()}

stitch

Positional Arguments
  • self: Evision.Stitcher.t()
  • images: [Evision.Mat]
Return
  • retval: Status
  • pano: Evision.Mat.t().

Has overloading in C++

Python prototype (for reference only):

stitch(images[, pano]) -> retval, pano
Link to this function

stitch(self, images, opts)

View Source
@spec stitch(t(), [Evision.Mat.maybe_mat_in()], [{atom(), term()}, ...] | nil) ::
  {integer(), Evision.Mat.t()} | {:error, String.t()}
@spec stitch(t(), [Evision.Mat.maybe_mat_in()], [Evision.Mat.maybe_mat_in()]) ::
  {integer(), Evision.Mat.t()} | {:error, String.t()}

Variant 1:

These functions try to stitch the given images.

Positional Arguments
  • self: Evision.Stitcher.t()

  • images: [Evision.Mat].

    Input images.

  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional).

Return
  • retval: Status

  • pano: Evision.Mat.t().

    Final pano.

@return Status code.

Python prototype (for reference only):

stitch(images, masks[, pano]) -> retval, pano

Variant 2:

stitch

Positional Arguments
  • self: Evision.Stitcher.t()
  • images: [Evision.Mat]
Return
  • retval: Status
  • pano: Evision.Mat.t().

Has overloading in C++

Python prototype (for reference only):

stitch(images[, pano]) -> retval, pano
Link to this function

stitch(self, images, masks, opts)

View Source
@spec stitch(
  t(),
  [Evision.Mat.maybe_mat_in()],
  [Evision.Mat.maybe_mat_in()],
  [{atom(), term()}, ...] | nil
) :: {integer(), Evision.Mat.t()} | {:error, String.t()}

These functions try to stitch the given images.

Positional Arguments
  • self: Evision.Stitcher.t()

  • images: [Evision.Mat].

    Input images.

  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional).

Return
  • retval: Status

  • pano: Evision.Mat.t().

    Final pano.

@return Status code.

Python prototype (for reference only):

stitch(images, masks[, pano]) -> retval, pano
Link to this function

waveCorrection(named_args)

View Source
@spec waveCorrection(Keyword.t()) :: any() | {:error, String.t()}
@spec waveCorrection(t()) :: boolean() | {:error, String.t()}

waveCorrection

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: bool

Python prototype (for reference only):

waveCorrection() -> retval
@spec workScale(Keyword.t()) :: any() | {:error, String.t()}
@spec workScale(t()) :: number() | {:error, String.t()}

workScale

Positional Arguments
  • self: Evision.Stitcher.t()
Return
  • retval: double

Python prototype (for reference only):

workScale() -> retval