Self-imaging and unitarity