I need a Matlab code which calculates circularity based on area and perimeter. The code has to be validated using a standard circle geometry. I have microscopic pictures of holes to analyze. The challenge is to smooth the boundaries of microscopic pictures. Also I will give you a scale of the pictures to convert area from pixels to mm^2. The code should store the results in Excel with hole number, area and circularity.