bob.ip.GradientMaps

class bob.ip.GradientMaps((object)self, (int)height, (int)width[, (GradientMagnitudeType)mag_type=bob.ip._ip.GradientMagnitudeType.Magnitude]) → None :

Bases: Boost.Python.instance

Objects of this class, after configuration, can extract gradient magnitude and orientation maps.

Constructs a new Gradient maps extractor.

__init__( (object)self, (GradientMaps)other) -> None

__init__((object)self, (int)height, (int)width[, (GradientMagnitudeType)mag_type=bob.ip._ip.GradientMagnitudeType.Magnitude]) → None :

Constructs a new Gradient maps extractor.

__init__( (object)self, (GradientMaps)other) -> None

Methods

__init__((object)self, (int)height, …) Constructs a new Gradient maps extractor.
forward((GradientMaps)self, (object)input, …) Extract the gradient magnitude and orientation maps.
forward_((GradientMaps)self, (object)input, …) Extract the gradient magnitude and orientation maps.
resize((GradientMaps)self, (int)height, …)

Attributes

height Height of the input image to process.
magnitude_type Type of the magnitude to use for the returned maps.
width Width of the input image to process.
__call__((GradientMaps)self, (object)input, (object)magnitude, (object)orientation) → None :

Extract the gradient magnitude and orientation maps.

__call__( (GradientMaps)self, (object)input) -> tuple :
Extract the gradient magnitude and orientation maps.
forward((GradientMaps)self, (object)input, (object)magnitude, (object)orientation) → None :

Extract the gradient magnitude and orientation maps.

forward( (GradientMaps)self, (object)input) -> tuple :
Extract the gradient magnitude and orientation maps.
forward_((GradientMaps)self, (object)input, (object)magnitude, (object)orientation) → None :

Extract the gradient magnitude and orientation maps. This variant does not check the inputs.

forward_( (GradientMaps)self, (object)input) -> tuple :
Extract the gradient magnitude and orientation maps. This variant does not check the inputs.
height

Height of the input image to process.

magnitude_type

Type of the magnitude to use for the returned maps.

resize((GradientMaps)self, (int)height, (int)width) → None
width

Width of the input image to process.