Home
Trees
Indices
Help
Package pycv
::
Package cs
::
Package cv
::
Package patch
::
Module nonobject
:: Class NonObjectGenerator
[
hide private
]
[
frames
] |
no frames
]
Class NonObjectGenerator
source code
A generator that generates non-object patches.
Instance Methods
[
hide private
]
__init__
(
self
,
database_path
,
maxCnt
=
100
)
Initialize the generator.
source code
__del__
(
self
)
source code
_clear
(
self
)
source code
_reset
(
self
)
source code
_inc
(
self
)
source code
generate
(
self
,
patch
)
Fill in a patch of size N-by-N with a non-object patch.
source code
Method Details
[
hide private
]
__init__
(
self
,
database_path
,
maxCnt
=
100
)
(Constructor)
source code
Initialize the generator.
Parameters:
database_path
(string) - the path to the folder containing the non-object images
generate
(
self
,
patch
)
source code
Fill in a patch of size N-by-N with a non-object patch.
Parameters:
patch
(POITNER(IplImage)) - a POINTER(IplImage) that points to a N-by-N uint8 IplImage. The patch is filled after calling generate()
Home
Trees
Indices
Help
Generated by Epydoc 3.0beta1 on Mon Feb 25 10:24:17 2008
http://epydoc.sourceforge.net