An encoding framework with brain inner state for natural image identification