Morphology Structural processing of images
Image Processing and Computer Vision: 33 Morphological Transformations Set theoretic methods of extracting quantitative descriptions of image components Boundaries Skeletons Convex hull Mainly binary, sometimes greylevel Two fundamental operations Erode, dilate
Image Processing and Computer Vision: 34 Thresholding Morphological operations usually applied to bilevel images (black and white) Generated by thresholding Greyscale Colour
Image Processing and Computer Vision: 35 Thresholding Greyscale Images Previous lecture If g(x,y) > then g(x,y) = 1 else g(x,y) = 0
Image Processing and Computer Vision: 36 Thresholding Colour Images Partition colour cube: ifc r (x,y) > r AND c g (x,y) > g AND c b (x,y) > b then c(x,y) = 1 else c(x,y) = 0
Image Processing and Computer Vision: 37 Thresholding Colour Images Colour matching
Image Processing and Computer Vision: 38 Preliminary Notation Translation of a region by x Reflection of a region
Image Processing and Computer Vision: 39 Formally Informally place the structuring element on a pixel of the object remove that pixel if the structuring element overlaps a non-object pixel Binary Erode
Image Processing and Computer Vision: 310 Binary Dilate Formally Informally All pixels covered by structuring element placed at all locations on region
Image Processing and Computer Vision: 311 Binary Open and Close Erosion shrinks an object Dilation expands it Can combine operators Open = erosion then dilation Close = dilation then erosion
Image Processing and Computer Vision: 312 Binary Open Opening smoothes regions Removes spurs Breaks narrow lines
Image Processing and Computer Vision: 313 Example Binary image DilateErode
Image Processing and Computer Vision: 314 Binary Close Closing fills gaps Holes in region Narrow gaps
Image Processing and Computer Vision: 315 Processing grey scale images Same methods can be applied to greyscale images Slight redefinition
Image Processing and Computer Vision: 316 Greyscale Erode Set operation replaced by min operation Output at a point is minimum of image pixel and structuring element pixel
Image Processing and Computer Vision: 317 Greyscale Dilate Set operation replaced by max operation Output is maximum of image and structuring element
Image Processing and Computer Vision: 318 Examples ErodeDilate
Image Processing and Computer Vision: 319 Distance Applies to binary images For each pixel in a region distance = minimum path to outside
Image Processing and Computer Vision: 320 Computation Use erosion Label removed pixel with iteration number Use relationship operator f(i,j) are neighbours of f(x,y)
Image Processing and Computer Vision: 321 Skeleton Reduces regions of a binary image to lines one pixel thick Preserves Shape Continuity How? Uses?
Image Processing and Computer Vision: 322 Algorithms Thinning Repeatedly thin image Retain end points and connections Distance Transform Skeleton lies along discontinuities Sort of local maxima or ridges
Image Processing and Computer Vision: 323 Applications Shape representation, maintaining topology Character recognition
Image Processing and Computer Vision: 324 Convex Hull Convex hull follows outline of object, except for concavities. Number and shape of regions between convex hull and object are characteristic of object shape.
Image Processing and Computer Vision: 325 Summary Binary morphology Erode, dilate, open, close Greyscale morphology Erode, dilate Distance Skeleton Convex Hull
Image Processing and Computer Vision: 326 Computers in the future may weigh no more than 1 ½ tons Popular Mechanics, 1949