Engineering of two-photon quantum correlation behind a double slit