The analysis of amodal completion for modeling visual perception