bob.ip.RescaleAlgorithm

class bob.ip.RescaleAlgorithm

Bases: Boost.Python.enum

__init__()

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

bit_length() Number of bits necessary to represent self in binary.
conjugate Returns self, the complex conjugate of any int.

Attributes

BilinearInterp
NearesetNeighbour
denominator the denominator of a rational number in lowest terms
imag the imaginary part of a complex number
name
names
numerator the numerator of a rational number in lowest terms
real the real part of a complex number
values
BilinearInterp = bob.ip._ip.RescaleAlgorithm.BilinearInterp
NearesetNeighbour = bob.ip._ip.RescaleAlgorithm.NearesetNeighbour
bit_length() → int

Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6

conjugate()

Returns self, the complex conjugate of any int.

denominator

the denominator of a rational number in lowest terms

imag

the imaginary part of a complex number

name
names = {'BilinearInterp': bob.ip._ip.RescaleAlgorithm.BilinearInterp, 'NearesetNeighbour': bob.ip._ip.RescaleAlgorithm.NearesetNeighbour}
numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

values = {0: bob.ip._ip.RescaleAlgorithm.NearesetNeighbour, 1: bob.ip._ip.RescaleAlgorithm.BilinearInterp}