Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP8 Segmentation Miguel Tavares Coimbra.

Slides:



Advertisements
Similar presentations
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Advertisements

Segmentation (2): edge detection
Image Segmentation Region growing & Contour following Hyeun-gu Choi Advisor: Dr. Harvey Rhody Center for Imaging Science.
Biomedical Image Analysis Rangaraj M. Rangayyan Ch. 5 Detection of Regions of Interest: Sections , Presentation March 3rd 2005 Jukka Parviainen.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Lecture 5 Hough transform and RANSAC
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
Computer Vision - A Modern Approach Set: Fitting Slides by D.A. Forsyth Fitting Choose a parametric object/some objects to represent a set of tokens Most.
Chapter 10 Image Segmentation.
Fitting a Model to Data Reading: 15.1,
Scale Invariant Feature Transform (SIFT)
Stockman MSU/CSE Fall 2009 Finding region boundaries.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP9 Region-Based Segmentation Miguel Tavares.
Robust estimation Problem: we want to determine the displacement (u,v) between pairs of images. We are given 100 points with a correlation score computed.
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP3 Digital Images Miguel Tavares Coimbra.
Chapter 10: Image Segmentation
Edge Linking & Boundary Detection
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
Digital Image Processing In The Name Of God Digital Image Processing Lecture8: Image Segmentation M. Ghelich Oghli By: M. Ghelich Oghli
CS 6825: Binary Image Processing – binary blob metrics
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
Joonas Vanninen Antonio Palomino Alarcos.  One of the objectives of biomedical image analysis  The characteristics of the regions are examined later.
Chapter 10 Image Segmentation.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP6 Frequency Space Miguel Tavares Coimbra.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
CS654: Digital Image Analysis
Miguel Tavares Coimbra
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
EECS 274 Computer Vision Model Fitting. Fitting Choose a parametric object/some objects to represent a set of points Three main questions: –what object.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP14 Pattern Recognition Miguel Tavares.
Object Detection 01 – Basic Hough Transformation JJCAO.
Miguel Tavares Coimbra
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
Miguel Tavares Coimbra
CSE 185 Introduction to Computer Vision Feature Matching.
Miguel Tavares Coimbra
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
Image Segmentation Image segmentation (segmentace obrazu)
Edges and Lines Readings: Chapter 10:
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP10 Advanced Segmentation Miguel Tavares.
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Detecting Image Features: Corner. Corners Given an image, denote the image gradient. C is symmetric with two positive eigenvalues. The eigenvalues give.
Object Recognition. Segmentation –Roughly speaking, segmentation is to partition the images into meaningful parts that are relatively homogenous in certain.
Grouping and Segmentation. Sometimes edge detectors find the boundary pretty well.
HOUGH TRANSFORM.
Miguel Tavares Coimbra
Edge Detection slides taken and adapted from public websites:
Miguel Tavares Coimbra
Chapter 10 Image Segmentation
Miguel Tavares Coimbra
Miguel Tavares Coimbra
Detection of discontinuity using
Edge Detection CS 678 Spring 2018.
Fitting Curve Models to Edges
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
ECE 692 – Advanced Topics in Computer Vision
Digital Image Processing
Edge Detection CSE 455 Linda Shapiro.
Miguel Tavares Coimbra
CSE 185 Introduction to Computer Vision
Miguel Tavares Coimbra
Miguel Tavares Coimbra
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP8 Segmentation Miguel Tavares Coimbra

VC 14/15 - TP8 - Segmentation Outline Thresholding Geometric structures Hough Transform Acknowledgements: Most of this course is based on the excellent courses offered by Prof. Shree Nayar at Columbia University, USA and by Prof. Srinivasa Narasimhan at CMU, USA. Please acknowledge the original source when reusing these slides for academic purposes.

VC 14/15 - TP8 - Segmentation Topic: Thresholding Thresholding Geometric structures Hough Transform

VC 14/15 - TP8 - Segmentation Boundaries of Objects Marked by many users

VC 14/15 - TP8 - Segmentation Boundaries of Objects from Edges Brightness Gradient (Edge detection) Missing edge continuity, many spurious edges

VC 14/15 - TP8 - Segmentation Boundaries of Objects from Edges Multi-scale Brightness Gradient But, low strength edges may be very important

VC 14/15 - TP8 - Segmentation Image Machine Edge Detection Human Boundary Marking

VC 14/15 - TP8 - Segmentation Boundaries in Medical Imaging Detection of cancerous regions. [Foran, Comaniciu, Meer, Goodell, 00]

VC 14/15 - TP8 - Segmentation Boundaries in Ultrasound Images Hard to detect in the presence of large amount of speckle noise

VC 14/15 - TP8 - Segmentation Sometimes hard even for humans!

VC 14/15 - TP8 - Segmentation What is ‘Segmentation’? Separation of the image in different areas. –Objects. –Areas with similar visual or semantic characteristics. Not trivial! It is the holy grail of most computer vision problems!

VC 14/15 - TP8 - Segmentation Subjectivity A ‘correct’ segmentation result is only valid for a specific context. –Subjectivity! –Hard to implement. –Hard to evaluate. Person Suitcase Face What is the correct segmentation?

VC 14/15 - TP8 - Segmentation Core Technique: Thresholding Divide the image into two areas: –1, if f(x,y)>K –0, if f(x,y)<=K Not easy to find the ideal k magic number. Core segmentation technique –Simple –Reasonably effective Adequate threshold

VC 14/15 - TP8 - Segmentation Finding the ‘magic number’ Wrong! (k = 128) Correct (k = 74)

VC 14/15 - TP8 - Segmentation Global thresholds are not always adequate...

VC 14/15 - TP8 - Segmentation Adaptive Thresholding Adapt the threshold value for each pixel. Use characteristics of nearby pixels. How? –Mean –Median –Mean + K –... Mean of 7x7 neighborhood

VC 14/15 - TP8 - Segmentation 7x7 window; K = 775x75 window; K = 10

VC 14/15 - TP8 - Segmentation Topic: Geometric structures Thresholding Geometric structures Hough Transform

VC 14/15 - TP8 - Segmentation Points What is a point? –Pixel with a significant illumination difference to its neighbors. –Group of pixels? Spatial Mask! Need to define a threshold K. 8

VC 14/15 - TP8 - Segmentation Lines Spatial filter –One per line direction –Sensitive to line width HorizontalVertical Diagonal?

VC 14/15 - TP8 - Segmentation Edges Edge: –Spatial discontinuity of pixel amplitude. –High spatial gradient First derivative (peak) Second derivative (zero crossing)

VC 14/15 - TP8 - Segmentation Popular operators Edge detection –Great utility for several problems. –Well studied problem. A variety of solutions exists.

VC 14/15 - TP8 - Segmentation

Processing Edge Images Image Edge detection and Thresholding Noisy edge image Incomplete boundaries Edge Tracking Thinning

VC 14/15 - TP8 - Segmentation Edge Tracking Methods Adjusting a priori Boundaries Given: Approximate Location of Boundary Task: Find Accurate Location of Boundary Search for STRONG EDGES along normals to approximate boundary. Fit curve (eg., polynomials) to strong edges.

VC 14/15 - TP8 - Segmentation Edge Tracking Methods Divide and Conquer Given: Boundary lies between points A and B Task: Find Boundary Connect A and B with Line Find strongest edge along line bisector Use edge point as break point Repeat

VC 14/15 - TP8 - Segmentation Fitting Lines to Edges (Least Squares) Given: Many pairs Find: Parameters Minimize: Average square distance: Using: Note:

VC 14/15 - TP8 - Segmentation Topic: Hough Transform Thresholding Geometric structures Hough Transform

VC 14/15 - TP8 - Segmentation Hough Transform Elegant method for direct object recognition Edges need not be connected Complete object need not be visible Key Idea: Edges VOTE for the possible model

VC 14/15 - TP8 - Segmentation Image and Parameter Spaces Equation of Line: Find: Consider point: Image Space Parameter Space Parameter space also called Hough Space

VC 14/15 - TP8 - Segmentation Line Detection by Hough Transform Parameter Space Algorithm: Quantize Parameter Space Create Accumulator Array Set For each image edge increment: If lies on the line: Find local maxima in

VC 14/15 - TP8 - Segmentation Better Parameterization NOTE: Large Accumulator More memory and computations Improvement: Line equation: Here Given points find (Finite Accumulator Array Size) Image Space Hough Space ? Hough Space Sinusoid

VC 14/15 - TP8 - Segmentation Image space Votes Horizontal axis is θ, vertical is rho.

VC 14/15 - TP8 - Segmentation

Mechanics of the Hough Transform Difficulties –how big should the cells be? (too big, and we merge quite different lines; too small, and noise causes lines to be missed) How many lines? –Count the peaks in the Hough array –Treat adjacent peaks as a single peak Which points belong to each line? –Search for points close to the line –Solve again for line and iterate

VC 14/15 - TP8 - Segmentation Fewer votes land in a single bin when noise increases.

VC 14/15 - TP8 - Segmentation Adding more clutter increases number of bins with false peaks.

Real World Example Original Edge Detection Found Lines Parameter Space

VC 14/15 - TP8 - Segmentation Other shapes Original Edges when using circle model

VC 14/15 - TP8 - Segmentation Resources Gonzalez & Woods – Chapter 7 N. Otsu, “A threshold selection method from gray-level histograms,” IEEE Trans. Sys., Man., Cyber., vol. 9, pp. 62–66, 1979.