【正文】
he least square error) ? End point alignment: close end points of two consecutive splines are merged by averaging their positions Lecture 9 15 Lecture 9 16 Getting outline pixels through erosion ? Finding the outline of a bitmap is to find the pixel that is located inside an object, but that has at least one neighbour outside the object ? Basic idea – Find the bitmap with its edge pixels removed:erosion( a smaller cross) – Original bitmap with the eroded bitmap removed. Lecture 9 17 ? Need more mathematical terms and binary image operation ? Translation:The displacement in either the x direction, the y direction or both at once. It is the reposition of the coordinate system. ? Suppose B is a binary image, ? Bxy means to move B by the coordinates(x,y). (0,0) origin (x,y) Translated Lecture 9 18 ? Erosion of B(a bitmap): is a set of coordinates (x,y) such that S translated by (x,y), is contained in B. ? E = B ⊕ S = {(x,y) | Sxy ? B} ? S(4 pixels of blacks): ? Against ? and their rotations ? Returns all the points in B whose neighbors are not the boarder (edge) pixels. Lecture 9 19 ? Outline pixels: ? B (B S)