Boundary shape analysis of electrical impedance tomography with applications