Compute and return the Local Binary Pattern (LBP) in 2D. If force2D
is set to false (= feature extraction in 3D) a warning is logged, as this filter processes the image in a by-slice operation. The plane in which the LBP is applied can be controlled by the force2Ddimension
parameter (see also generateAngles()
).
Following settings are possible (in addition to force2Ddimension
):
lbp2DRadius
: Float, specifies the radius in which the neighbours should be sampled
lbp2DSamples
: Integer, specifies the number of samples to use
lbp2DMethod
: String, specifies the method for computing the LBP to use.
ref: https://pyradiomics.readthedocs.io/en/latest/radiomics.html#radiomics.imageoperations.getLBP2DImage