Hough Transform : A preliminary study Indranil Das HEP Devn., SINP.

Slides:



Advertisements
Similar presentations
Hough Transforms CSE 6367 – Computer Vision Vassilis Athitsos University of Texas at Arlington.
Advertisements

Parametric Equations Local Coordinate Systems Curvature Splines
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Fitting: The Hough transform. Voting schemes Let each feature vote for all the models that are compatible with it Hopefully the noise features will not.
Image Processing A brief introduction (by Edgar Alejandro Guerrero Arroyo)
Hough Transform Reading Watt, An edge is not a line... How can we detect lines ?
Segmentation (2): edge detection
Edge Detection CSE P 576 Larry Zitnick
Hough Transform Jeremy Wyatt. The story so far We know how to find edges by convolving with the derivative of a Gaussian filter in two directions We then.
Fitting: The Hough transform
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Detecting.
CS 376b Introduction to Computer Vision 04 / 11 / 2008 Instructor: Michael Eckmann.
Announcements Mailing list: –you should have received messages Project 1 out today (due in two weeks)
GENERALIZED HOUGH TRANSFORM. Recap on classical Hough Transform 1.In detecting lines – The parameters  and  were found out relative to the origin (0,0)
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
CS 376b Introduction to Computer Vision 04 / 15 / 2008 Instructor: Michael Eckmann.
Hough Transform. Detecting Lines Hough transform detects lines in images Equation of line is: y = mx + b or Hough transform uses an array called accumulator.
3-D Computer Vision CSc Feature Detection and Grouping.
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
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.
1 Lines and Arcs Segmentation In some image sets, lines, curves, and circular arcs are more useful than regions or helpful in addition to regions. Lines.
Hough Transform (Section 10.2) CS474/67. Edge Linking and Boundary Detection Edge detection does not yield connected boundaries. Edge linking and boundary.
Circle Drawing algo..
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
Automatic Camera Calibration
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.
FEATURE EXTRACTION FOR JAVA CHARACTER RECOGNITION Rudy Adipranata, Liliana, Meiliana Indrawijaya, Gregorius Satia Budhi Informatics Department, Petra Christian.
Equation A statement that two mathematical expressions are equal.
Hough Transform on the GPU Presented by Javier Garcia November 29, 2010.
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
coordinates, lines and increment
Equations of Lines Chapter 8 Sections
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
HOUGH TRANSFORM Presentation by Sumit Tandon
HOUGH TRANSFORM & Line Fitting Introduction  HT performed after Edge Detection  It is a technique to isolate the curves of a given shape / shapes.
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
Generalized Hough Transform
Progress Report Development of a Driver Alert System for Road Safety.
Lecture 08 Detecting Shape Using Hough Transform Lecture 08 Detecting Shape Using Hough Transform Mata kuliah: T Computer Vision Tahun: 2010.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
HOUGH TRANSFORM. Introduced in 1962 by Paul Hough pronounced like “tough” according to orm.html.
Fitting: The Hough transform
Pattern Recognition in OPERA Tracking A.Chukanov, S.Dmitrievsky, Yu.Gornushkin OPERA collaboration meeting, Mizunami, Japan, of January 2009 JINR,
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Di-muon measurements in CBM experiment at FAIR Arun Prakash 1 Partha Pratim Bhadhuri 2 Subhasis Chattopadhyay 2 Bhartendu Kumar Singh 1 (On behalf of CBM.
Object Detection 01 – Basic Hough Transformation JJCAO.
TECH 104 – Technical Graphics Communication Introduction to Engineering Graphics Communication.
Ring Recognition and Electron Identification in the RICH detector of the CBM Experiment at FAIR Semeon Lebedev GSI, Darmstadt, Germany and LIT JINR, Dubna,
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
Week 4 Functions and Graphs. Objectives At the end of this session, you will be able to: Define and compute slope of a line. Write the point-slope equation.
Image Segmentation Image segmentation (segmentace obrazu)
Edges and Lines Readings: Chapter 10:
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Object Recognition. Segmentation –Roughly speaking, segmentation is to partition the images into meaningful parts that are relatively homogenous in certain.
: Chapter 13: Finding Basic Shapes 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Linear Equations in Two Variables (Day 1) 1.3
Graphing Linear Equations and Inequalities
Detection of discontinuity using
Fitting Curve Models to Edges
I. Vassiliev, V. Akishina, I.Kisel and
Conic Sections Parabola.
Hough Transform.
Outline Announcement Perceptual organization, grouping, and segmentation Hough transform Read Chapter 17 of the textbook File: week14-m.ppt.
Edge Detection Today’s readings Cipolla and Gee Watt,
Finding Basic Shapes Hough Transforms
Objective graph linear equations using slope-intercept form.
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Hough Transform : A preliminary study Indranil Das HEP Devn., SINP

Outline Physics Motivation Hough Transform For straight Line For Curve line (e.g. circle) Algorithm for Straight Line in space Results

CBM Physics study Compressed Baryonic FAIR – high m B, moderate T: searching for the landmarks of the QCD phase diagram first order deconfinement phase transition chiral phase transition QCD critical point Hadron properties in dense matter.

CBM Physics Observables Equation of state at high ρ B  collective flow of hadrons  particle production at threshold energies  measure: D 0, D ± Deconfinement phase transition at high ρ B  excitation function and flow of strangeness  measure: K, , , ,   excitation function and flow of charm  measure: J/ ,  ', D 0, D ±,  c  sequential melting of J/  and  ', charmonium suppression  measure: J/ ,  ' QCD critical point  excitation function of event-by-event fluctuations  measure: π, K Onset of chiral symmetry restoration at high ρ  in-medium modifications of hadrons  measure: , ,   e + e - or μ + μ -

Study of Di-Muons Au+Au, 25 AGeV low-mass vector mesons (ρ,ω,Ф) Tracking in STS and MUCH Fe absorber 5 gaps, 15 tracking stations J/ψ: 1 m Fe added J/ψ S/B ratio = 44, ε= 20% :: Ref. Vector meson detection via mu+mu- decays in CBM by A.Kiseleva, et al. (CBM Progress Report 2006)

Hough Transform of straight line : Wiki collection To extract features from digital images, it is useful to be able to find simple shapes - straight lines, circles, ellipses and the like - in images. In order to achieve this goal, one must be able to detect a group of pixels that are on a straight line or a smooth curve. That is what a Hough transform is supposed to do. In the image space, the straight line can be described as y = mx + b and is plotted for each pair of values (x, y). However, the characteristics of that straight line is not x or y, but its slope m and intercept b. Based on that fact, the straight line y = mx + b can be represented as a point (b, m) in the parameter space (b vs. m graph.)

Using slope-intercept parameters could make application complicated since both parameters are unbounded. As lines get more and more vertical, the magnitudes of m and b grow towards infinity. For computational purposes, however, it is better to parameterize the lines in the Hough transform with two other parameters, commonly called r and θ (theta). Using this parameterizations, the equation of the line can be written as: r = x.cosθ + y.sinθ

For each data point, a number of lines are plotted going through it, all at different angles. These are shown here as solid lines. For each solid line a line is plotted which is perpendicular to it and which intersects the origin. These are shown as dashed lines. The length and angle of each dashed line is measured. In the diagram above, the results are shown in tables. This is repeated for each data point. A graph of length against angle, known as a Hough space graph, is then created. The point where the lines intersect gives a distance and angle. This distance and angle indicate the line which bisects the points being tested.

Hough Transform of regular pattern (circle) We use the HT to detect circles (sets of co-circular points) as follows. Equation of a circle... This is for a circle of radius r with center (a, b ). The parameter space is three dimensional: (a, b, r ). Each point in image space gives rise to a locus of voting points in the 3D Hough space that will be a surface. For a given radius, the locus of possible circle centers for a given image point will itself be a circle of radius r centered on the given point. r a b

Therefore, in the 3D Hough space, the locus of possible parameter values sweeps out the surface of an inverted cone with axis parallel to the r axis and vertex at (a, b, 0). Local estimates of curvature (or even sign of curvature) and edge strength can be used to improve the efficiency of the voting and Hough space interrogation If a set of edge pixels in an image are arranged on a circle with parameters (a, b, r) the resultant loci of parameter for each such point will pass through the same (a, b, r) in parameter space. There for many such right circular cone will intersect at a common point. By using the equation with its derivative (directional information), the number of free parameters is reduced by one

For a specific curve f(x,a) = 0 with parameter vector a, form an array A(a), initially set to zero. This array is termed an accumulator array. Then for each edge pixel x, compute all a such that f(x,a) = 0 and df/dx(x,a) = 0 and increment the corresponding accumulator array entries by one. After each edge pixel x has been considered, local maxima in the array A correspond to curves of f in the image. Hough Algo : General statement (D.H. Ballard)

Straight Line in 3D The equation of the straight line in 3D space is, where l, m, n are the direction cosines which obey, In the first approach the tracks are assumed to be straight line originating from the vertex. It is a standalone code working in any machine with c++ compiler.

Track Rec Algo For each point the direction cosines are calculated and two of them are filled in an two dimensional array. This two dimensional array of integer is considered as a accumulator and which stores the direction cosines of the given straight line. Since the l and m values ranges from -1 to 1. The direction cosine values are increased by factor to 1000 before the accumulator filling. Maximum voting of the accumulator is searched to find out the reconstructed straight lines.

Results and comments 16 planes and 1400 lines are generated and 100% tracks are found. On a 2 GHz single processor CPU total execution time (including initialization step, file I/O and memory allocation) for 1400 lines ± s and time only for running the core algo ± s Yet to be done Implementation of the algorithm in cbmroot/much. Needs to be modified for secondary vertex to take into account. Tracks will not be straight lines for first chamber if it is inside the magnet.