A method for measuring ice thickness of wind turbine blades based on edge detection