returns either a local binary pattern coded image or the local binary pattern histogram of an intensity image I.
See the getmapping function for different mappings and use 0 for no mapping. Possible values for MODE are
‘h‘ or ‘hist’ to get a histogram of LBP codes
‘nh‘ to get a normalized histogram
Otherwise an CLBP code image is returned.