Automatic diagnosis of melanoma using linear and nonlinear features from digital image