Package pyvision :: Package types :: Module Perspective
[hide private]
[frames] | no frames]

Module Perspective

source code

Classes [hide private]
  PerspectiveTransform
  _PerspectiveTest
Functions [hide private]
 
logPolar(im, center=None, radius=None, M=None, size=(64, 128))
Produce a log polar transform of the image.
source code
 
PerspectiveFromPointsOld(source, dest, new_size)
Python/Scipy implementation implementation which finds a perspective transform between points.
source code
 
PerspectiveFromPoints(source, dest, new_size, method=0, ransacReprojThreshold=1.5)
Calls the OpenCV function: cvFindHomography.
source code
Variables [hide private]
  __package__ = 'pyvision.types'
Function Details [hide private]

logPolar(im, center=None, radius=None, M=None, size=(64, 128))

source code 

Produce a log polar transform of the image. See OpenCV for details. The scale space is calculated based on radius or M. If both are given M takes priority.

PerspectiveFromPointsOld(source, dest, new_size)

source code 

Python/Scipy implementation implementation which finds a perspective transform between points.

Most users should use PerspectiveFromPoints instead. This method may be eliminated in the future.

PerspectiveFromPoints(source, dest, new_size, method=0, ransacReprojThreshold=1.5)

source code 

Calls the OpenCV function: cvFindHomography. This method has additional options to use the CV_RANSAC or CV_LMEDS methods to find a robust homography. Method=0 appears to be similar to PerspectiveFromPoints.