Design and Analysis of 4×2 Optical Encoder using Wave guides and Defects Mechanism in Two Dimensional Photonic Crystals | IEEE Conference Publication | IEEE Xplore