feature extraction with pattern library