Study of automated PCNN system based on fruit fly optimization algorithm