bob.ip.LBP¶
-
class
bob.ip.LBP((object)self, (int)neighbors, (float)radius_y, (float)radius_x[, (bool)circular=False[, (bool)to_average=False[, (bool)add_average_bit=False[, (bool)uniform=False[, (bool)rotation_invariant=False[, (ELBPType)elbp_type=bob.ip._ip.ELBPType.REGULAR]]]]]]) → None :¶ Bases:
Boost.Python.instanceA class for the LBP operators
Constructs a new LBP operator with different radii
- __init__( (object)self, (int)neighbors [, (float)radius=1.0 [, (bool)circular=False [, (bool)to_average=False [, (bool)add_average_bit=False [, (bool)uniform=False [, (bool)rotation_invariant=False [, (ELBPType)elbp_type=bob.ip._ip.ELBPType.REGULAR]]]]]]]) -> None :
- Constructs a new LBP operator
-
__init__((object)self, (int)neighbors, (float)radius_y, (float)radius_x[, (bool)circular=False[, (bool)to_average=False[, (bool)add_average_bit=False[, (bool)uniform=False[, (bool)rotation_invariant=False[, (ELBPType)elbp_type=bob.ip._ip.ELBPType.REGULAR]]]]]]) → None :¶ Constructs a new LBP operator with different radii
- __init__( (object)self, (int)neighbors [, (float)radius=1.0 [, (bool)circular=False [, (bool)to_average=False [, (bool)add_average_bit=False [, (bool)uniform=False [, (bool)rotation_invariant=False [, (ELBPType)elbp_type=bob.ip._ip.ELBPType.REGULAR]]]]]]]) -> None :
- Constructs a new LBP operator
Methods
__init__((object)self, (int)neighbors, …)Constructs a new LBP operator with different radii get_lbp_shape((LBP)self, (object)input)Get a tuple containing the expected size of the output when extracting LBP features. Attributes
add_average_bitcircularelbp_typebob.ip.ELBPType.REGULAR (0), bob.ip.ELBPType.TRANSITIONAL (1), bob.ip.ELBPType.DIRECTION_CODED (2) look_up_tablemax_labelpointsradiiradiusrelative_positionsrotation_invariantto_averageuniform-
__call__((LBP)self, (object)input, (object)output) → None :¶ Call an object of this type to extract LBP features for the whole image.
- __call__( (LBP)self, (object)input, (int)y, (int)x) -> int :
- Call an object of this type to extract LBP features for a given position in the image.
- __call__( (LBP)self, (object)input) -> object :
- Call an object of this type to extract LBP features for the whole image.
-
add_average_bit¶
-
circular¶
-
elbp_type¶ bob.ip.ELBPType.REGULAR (0), bob.ip.ELBPType.TRANSITIONAL (1), bob.ip.ELBPType.DIRECTION_CODED (2)
Type: The type of extended LBP
-
get_lbp_shape((LBP)self, (object)input) → object :¶ Get a tuple containing the expected size of the output when extracting LBP features.
-
look_up_table¶
-
max_label¶
-
points¶
-
radii¶
-
radius¶
-
relative_positions¶
-
rotation_invariant¶
-
to_average¶
-
uniform¶