The designs of 4×2 encoder based on photonic crystals | IEEE Conference Publication | IEEE Xplore