Feature Extraction based on the Visual Perception and Pattern Generation