A novel higher order appearance texture analysis to diagnose lung cancer based on a modified local ternary pattern