Sue Lee, Week #6, Finish Line
My lab during an ice cream outing at Toscanini's :) This week, I proceeded to attempt converting a raw SEM image into a binary array. Although the code successfully segmented the images and calculated the centroid coordinate points, the order in which the coordinates of the centroids were listed in the data table was incorrect. Upon research, I realized that the root of the problem was the method in which MATLAB’s ‘centroid’ function saves the coordinate points of the centroids. This led to incorrect calculations of the state values, and thus an inaccurate binary array. To overcome this problem, I manually rearranged the coordinate points so that the y-coordinates would be in the correct order of descending posts from top to bottom (rows) and left to right (columns). As a result, the code produced a binary array with the correct numerical values, as well as a visual representation identical to the block copolymer pattern shown in the raw SEM image. ...