|
|
__init__(self,
strlist)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
int
|
|
|
float
|
block_avg(self,
x,
y,
szx,
szy)
returns the average intensity of a block of size (szx,szy) at pos (top-left) (x,y) |
source code
|
|
|
(float,(float,float),(int,int),(int,int))
|
lowest_block_avg(self,
szx,
szy,
at_least=0)
returns the (szx,szy)-sized block with intensity
as close to at_least as possible |
source code
|
|
|
(float,(float,float),(int,int),(int,int),float)
|
fit_rect(self,
size_range=(0.333, 0.8),
at_least=7,
relax=0.2,
rr=1.0)
find the maximal-area minimal-entropy rectangle within the image |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|