To visualize local strain in a structure, you need to have a reference, strain-free structure that is in equilibrium (ion, volume and shape optimized) state. The local strain in the strained structure could then be defined as a displacement of atoms from their equilibrium positions in the corresponding reference, strain-free structure.