1 / 9

ECE 533

ECE 533. Greg Yoblin & Joseph Marino. Blemish Removal Using Edge Detection and Gaussian Smoothening. What is this about?. Many photographs that are taken (portraits) have blemishes that people wish to remove.

lylaj
Download Presentation

ECE 533

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE 533 Greg Yoblin & Joseph Marino Blemish Removal Using Edge Detection and Gaussian Smoothening

  2. What is this about? • Many photographs that are taken (portraits) have blemishes that people wish to remove. • There are programs that allow for the removal of these blemishes, however the methods are tedious and very manual. Transformation done with our program

  3. What we have Added • The first major difference between our program and existing programs is that our program can be run on regions to remove multiple blemishes at once (Avoids the “eraser”-like methodologies from Photoshop, etc) • Designed to work on color and BW images. • Produces “ideal” filling information based on surrounding area to leave a minimal demarcation in the image to indicate removals • An automated blemish removal process that will scan the image and determine what things to remove on its own (future)

  4. How Does it Work? • Contrast Stretching • Perform Canny Edge detection on selected region (produces binary image) • Flood fill background to isolate “blemishes” (similar to watersheding) • Invert the binary Blemish-Mask and AND it with the original region • Fill in newly removed areas with the average background value from the region • Perform a simple (size adaptive) Gaussian Blurring on the region • Replace the region in the original image without blemishes

  5. What is Canny? • Smoothen the Image with a Gaussian Mask. • Calculate Gradients using a vertical Sobel Mask, and a horizontal Sobel Mask. Sum the values to get the final gradient. • Calculate Edge Direction using • Determine the maximum value perpendicular to the direction of the gradient. • Apply a hysteresis to eliminate edges that fall below the low, include those that are higher than the high, and decide about the ones in the middle.

  6. What is Canny?

  7. How Does Removal Work? Blemishes Removed

  8. Results

  9. Results

More Related