Strain analysis of dislocations in crystalline structures