Processing of visual information in insects: A theoretical characterization