Image feature extraction and calculation shape feature