Package pyopencv :: Module pyopencvext :: Class PatchGenerator
[hide private]
[frames] | no frames]

Class PatchGenerator

 object --+    
          |    
??.instance --+
              |
             PatchGenerator

Instance Methods [hide private]
 
__call__(...)
__call__( (PatchGenerator)arg1, (Mat)image, (Point2f)pt, (Mat)patch, (Size2i)patchSize, (RNG)rng) -> None :
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
generateRandomTransform(...)
generateRandomTransform( (PatchGenerator)arg1, (Point2f)srcCenter, (Point2f)dstCenter, (Mat)transform, (RNG)rng [, (bool)inverse=False]) -> None :
 
warpWholeImage(...)
warpWholeImage( (PatchGenerator)arg1, (Mat)image, (Mat)matT, (Mat)buf, (Mat)warped, (object)border, (RNG)rng) -> None :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 88
Properties [hide private]
  backgroundMax
  backgroundMin
  lambdaMax
  lambdaMin
  noiseRange
  phiMax
  phiMin
  randomBlur
  thetaMax
  thetaMin
  this

Inherited from object: __class__

Method Details [hide private]

__call__(...)
(Call operator)

 

__call__( (PatchGenerator)arg1, (Mat)image, (Point2f)pt, (Mat)patch, (Size2i)patchSize, (RNG)rng) -> None :

    C++ signature :
        void __call__(cv::PatchGenerator {lvalue},cv::Mat,cv::Point_<float>,cv::Mat {lvalue},cv::Size_<int>,cv::RNG {lvalue})

__call__( (PatchGenerator)arg1, (Mat)image, (Mat)transform, (Mat)patch, (Size2i)patchSize, (RNG)rng) -> None :

    C++ signature :
        void __call__(cv::PatchGenerator {lvalue},cv::Mat,cv::Mat,cv::Mat {lvalue},cv::Size_<int>,cv::RNG {lvalue})

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (object)_backgroundMin, (object)_backgroundMax, (object)_noiseRange [, (bool)_randomBlur=True [, (object)_lambdaMin=0.59999999999999998 [, (object)_lambdaMax=1.5 [, (object)_thetaMin=-3.1415926535897931 [, (object)_thetaMax=3.1415926535897931 [, (object)_phiMin=-3.1415926535897931 [, (object)_phiMax=3.1415926535897931]]]]]]]) -> None :

    C++ signature :
        void __init__(_object*,double,double,double [,bool=True [,double=0.59999999999999998 [,double=1.5 [,double=-3.1415926535897931 [,double=3.1415926535897931 [,double=-3.1415926535897931 [,double=3.1415926535897931]]]]]]])

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

generateRandomTransform(...)

 

generateRandomTransform( (PatchGenerator)arg1, (Point2f)srcCenter, (Point2f)dstCenter, (Mat)transform, (RNG)rng [, (bool)inverse=False]) -> None :

    C++ signature :
        void generateRandomTransform(cv::PatchGenerator {lvalue},cv::Point_<float>,cv::Point_<float>,cv::Mat {lvalue},cv::RNG {lvalue} [,bool=False])

warpWholeImage(...)

 

warpWholeImage( (PatchGenerator)arg1, (Mat)image, (Mat)matT, (Mat)buf, (Mat)warped, (object)border, (RNG)rng) -> None :

    C++ signature :
        void warpWholeImage(cv::PatchGenerator {lvalue},cv::Mat,cv::Mat {lvalue},cv::Mat {lvalue},cv::Mat {lvalue},int,cv::RNG {lvalue})


Property Details [hide private]

backgroundMax

Get Method:
unreachable(...)
Set Method:
unreachable(...)

backgroundMin

Get Method:
unreachable(...)
Set Method:
unreachable(...)

lambdaMax

Get Method:
unreachable(...)
Set Method:
unreachable(...)

lambdaMin

Get Method:
unreachable(...)
Set Method:
unreachable(...)

noiseRange

Get Method:
unreachable(...)
Set Method:
unreachable(...)

phiMax

Get Method:
unreachable(...)
Set Method:
unreachable(...)

phiMin

Get Method:
unreachable(...)
Set Method:
unreachable(...)

randomBlur

Get Method:
unreachable(...)
Set Method:
unreachable(...)

thetaMax

Get Method:
unreachable(...)
Set Method:
unreachable(...)

thetaMin

Get Method:
unreachable(...)
Set Method:
unreachable(...)

this

Get Method:
unreachable(...)