Optical characterization of waveguide based photonic microstructures