View Source Evision.Detail (Evision v0.1.8)

Link to this section Summary

cv.detail

Estimates focal lengths for each given camera.

Estimates focal lengths for each given camera.

Positional Arguments
  • featuresFinder: Ptr<Feature2D>.

Positional Arguments
  • featuresFinder: Ptr<Feature2D>.

Positional Arguments
  • featuresFinder: Ptr<Feature2D>.

Positional Arguments
  • featuresFinder: Ptr<Feature2D>.

Positional Arguments
Return
  • pyr: [Evision.Mat]

Python prototype (for reference):

Positional Arguments
Return
  • pyr: [Evision.Mat]

Python prototype (for reference):

Positional Arguments
Return

Python prototype (for reference):

Tries to estimate focal lengths from the given homography under the assumption that the camera undergoes rotations around its centre only.

Positional Arguments
  • features: [ImageFeatures]
  • pairwise_matches: [MatchesInfo]
  • conf_threshold: float

Python prototype (for reference):

Positional Arguments
  • pathes: [String]
  • pairwise_matches: [MatchesInfo]
  • conf_threshold: float

Python prototype (for reference):

Positional Arguments
Return

Python prototype (for reference):

Positional Arguments
  • tl1: Point
  • tl2: Point
  • sz1: Size
  • sz2: Size
  • roi: Rect

Python prototype (for reference):

Positional Arguments
  • corners: [Point]
  • sizes: [Size]

Python prototype (for reference):

Positional Arguments
  • corners: [Point]
  • sizes: [Size]

Python prototype (for reference):

Positional Arguments
  • corners: [Point]

Python prototype (for reference):

Positional Arguments
  • count: int
  • size: int
  • subset: [int]

Python prototype (for reference):

Python prototype (for reference):

Tries to make panorama more horizontal (or vertical).

Functions

Raising version of resultTl/1.

Link to this section cv.detail

Link to this function

calibrateRotatingCamera(hs)

View Source

Estimates focal lengths for each given camera.

Positional Arguments
  • hs: [Evision.Mat]
Return

Python prototype (for reference):

calibrateRotatingCamera(Hs[, K]) -> retval, K
Link to this function

calibrateRotatingCamera(hs, opts)

View Source

Estimates focal lengths for each given camera.

Positional Arguments
  • hs: [Evision.Mat]
Return

Python prototype (for reference):

calibrateRotatingCamera(Hs[, K]) -> retval, K
Link to this function

computeImageFeatures2(featuresFinder, image)

View Source
Positional Arguments
Keyword Arguments
Return
  • features: ImageFeatures.

Python prototype (for reference):

computeImageFeatures2(featuresFinder, image[, mask]) -> features
Link to this function

computeImageFeatures2(featuresFinder, image, opts)

View Source
Positional Arguments
Keyword Arguments
Return
  • features: ImageFeatures.

Python prototype (for reference):

computeImageFeatures2(featuresFinder, image[, mask]) -> features
Link to this function

computeImageFeatures(featuresFinder, images)

View Source
Positional Arguments
  • featuresFinder: Ptr<Feature2D>.

  • images: [Evision.Mat].

Keyword Arguments
  • masks: [Evision.Mat].
Return
  • features: [ImageFeatures].

Python prototype (for reference):

computeImageFeatures(featuresFinder, images[, masks]) -> features
Link to this function

computeImageFeatures(featuresFinder, images, opts)

View Source
Positional Arguments
  • featuresFinder: Ptr<Feature2D>.

  • images: [Evision.Mat].

Keyword Arguments
  • masks: [Evision.Mat].
Return
  • features: [ImageFeatures].

Python prototype (for reference):

computeImageFeatures(featuresFinder, images[, masks]) -> features
Link to this function

createLaplacePyr(img, num_levels, pyr)

View Source
Positional Arguments
Return
  • pyr: [Evision.Mat]

Python prototype (for reference):

createLaplacePyr(img, num_levels, pyr) -> pyr
Link to this function

createLaplacePyrGpu(img, num_levels, pyr)

View Source
Positional Arguments
Return
  • pyr: [Evision.Mat]

Python prototype (for reference):

createLaplacePyrGpu(img, num_levels, pyr) -> pyr
Link to this function

createWeightMap(mask, sharpness, weight)

View Source
Positional Arguments
Return

Python prototype (for reference):

createWeightMap(mask, sharpness, weight) -> weight
Link to this function

focalsFromHomography(h, f0, f1, f0_ok, f1_ok)

View Source

Tries to estimate focal lengths from the given homography under the assumption that the camera undergoes rotations around its centre only.

Positional Arguments
  • h: Evision.Mat.

    Homography.

  • f0: double.

    Estimated focal length along X axis.

  • f1: double.

    Estimated focal length along Y axis.

  • f0_ok: bool.

    True, if f0 was estimated successfully, false otherwise.

  • f1_ok: bool.

    True, if f1 was estimated successfully, false otherwise.

See "Construction of Panoramic Image Mosaics with Global and Local Alignment" by Heung-Yeung Shum and Richard Szeliski.

Python prototype (for reference):

focalsFromHomography(H, f0, f1, f0_ok, f1_ok) -> None
Link to this function

leaveBiggestComponent(features, pairwise_matches, conf_threshold)

View Source
Positional Arguments
  • features: [ImageFeatures]
  • pairwise_matches: [MatchesInfo]
  • conf_threshold: float

Python prototype (for reference):

leaveBiggestComponent(features, pairwise_matches, conf_threshold) -> retval
Link to this function

matchesGraphAsString(pathes, pairwise_matches, conf_threshold)

View Source
Positional Arguments
  • pathes: [String]
  • pairwise_matches: [MatchesInfo]
  • conf_threshold: float

Python prototype (for reference):

matchesGraphAsString(pathes, pairwise_matches, conf_threshold) -> retval
Link to this function

normalizeUsingWeightMap(weight, src)

View Source
Positional Arguments
Return

Python prototype (for reference):

normalizeUsingWeightMap(weight, src) -> src
Link to this function

overlapRoi(tl1, tl2, sz1, sz2, roi)

View Source
Positional Arguments
  • tl1: Point
  • tl2: Point
  • sz1: Size
  • sz2: Size
  • roi: Rect

Python prototype (for reference):

overlapRoi(tl1, tl2, sz1, sz2, roi) -> retval
Link to this function

restoreImageFromLaplacePyr(pyr)

View Source

##### Return

  • pyr: [Evision.Mat]

Python prototype (for reference):

restoreImageFromLaplacePyr(pyr) -> pyr
Link to this function

restoreImageFromLaplacePyrGpu(pyr)

View Source

##### Return

  • pyr: [Evision.Mat]

Python prototype (for reference):

restoreImageFromLaplacePyrGpu(pyr) -> pyr
Link to this function

resultRoi(corners, sizes)

View Source
Positional Arguments
  • corners: [Point]
  • sizes: [Size]

Python prototype (for reference):

resultRoi(corners, sizes) -> retval
Link to this function

resultRoiIntersection(corners, sizes)

View Source
Positional Arguments
  • corners: [Point]
  • sizes: [Size]

Python prototype (for reference):

resultRoiIntersection(corners, sizes) -> retval
Positional Arguments
  • corners: [Point]

Python prototype (for reference):

resultTl(corners) -> retval
Link to this function

selectRandomSubset(count, size, subset)

View Source
Positional Arguments
  • count: int
  • size: int
  • subset: [int]

Python prototype (for reference):

selectRandomSubset(count, size, subset) -> None

Python prototype (for reference):

stitchingLogLevel() -> retval
Link to this function

waveCorrect(rmats, kind)

View Source

Tries to make panorama more horizontal (or vertical).

Positional Arguments
  • kind: WaveCorrectKind.

    Correction kind, see detail::WaveCorrectKind.

Return
  • rmats: [Evision.Mat].

    Camera rotation matrices.

Python prototype (for reference):

waveCorrect(rmats, kind) -> rmats

Link to this section Functions

Link to this function

calibrateRotatingCamera!(hs)

View Source

Raising version of calibrateRotatingCamera/1.

Link to this function

calibrateRotatingCamera!(hs, opts)

View Source

Raising version of calibrateRotatingCamera/2.

Link to this function

computeImageFeatures2!(featuresFinder, image)

View Source

Raising version of computeImageFeatures2/2.

Link to this function

computeImageFeatures2!(featuresFinder, image, opts)

View Source

Raising version of computeImageFeatures2/3.

Link to this function

computeImageFeatures!(featuresFinder, images)

View Source

Raising version of computeImageFeatures/2.

Link to this function

computeImageFeatures!(featuresFinder, images, opts)

View Source

Raising version of computeImageFeatures/3.

Link to this function

createLaplacePyr!(img, num_levels, pyr)

View Source

Raising version of createLaplacePyr/3.

Link to this function

createLaplacePyrGpu!(img, num_levels, pyr)

View Source

Raising version of createLaplacePyrGpu/3.

Link to this function

createWeightMap!(mask, sharpness, weight)

View Source

Raising version of createWeightMap/3.

Link to this function

focalsFromHomography!(h, f0, f1, f0_ok, f1_ok)

View Source

Raising version of focalsFromHomography/5.

Link to this function

leaveBiggestComponent!(features, pairwise_matches, conf_threshold)

View Source

Raising version of leaveBiggestComponent/3.

Link to this function

matchesGraphAsString!(pathes, pairwise_matches, conf_threshold)

View Source

Raising version of matchesGraphAsString/3.

Link to this function

normalizeUsingWeightMap!(weight, src)

View Source

Raising version of normalizeUsingWeightMap/2.

Link to this function

overlapRoi!(tl1, tl2, sz1, sz2, roi)

View Source

Raising version of overlapRoi/5.

Link to this function

restoreImageFromLaplacePyr!(pyr)

View Source

Raising version of restoreImageFromLaplacePyr/1.

Link to this function

restoreImageFromLaplacePyrGpu!(pyr)

View Source

Raising version of restoreImageFromLaplacePyrGpu/1.

Link to this function

resultRoi!(corners, sizes)

View Source

Raising version of resultRoi/2.

Link to this function

resultRoiIntersection!(corners, sizes)

View Source

Raising version of resultRoiIntersection/2.

Raising version of resultTl/1.

Link to this function

selectRandomSubset!(count, size, subset)

View Source

Raising version of selectRandomSubset/3.

Raising version of stitchingLogLevel/0.

Link to this function

waveCorrect!(rmats, kind)

View Source

Raising version of waveCorrect/2.