Efficient Classification of Digital Images based on Pattern-features