A local approach based on a Local Binary Patterns variant texture descriptor for classifying pain states