1. Two double lectures about deformable contours. 4. The transparencies define the exam requirements. 1. Matlab demonstration

Size: px
Start display at page:

Download "1. Two double lectures about deformable contours. 4. The transparencies define the exam requirements. 1. Matlab demonstration"

Transcription

1 Practical information INF 5300 Deformable contours, I An introduction 1. Two double lectures about deformable contours. 2. The lectures are based on articles, references will be given during the course. 3. The transparencies will be available on the course website. 4. The transparencies define the exam requirements Lars Aurdal, Norsk Regnesentral, 9th of February 2005 Plan, lecture I Plan, lecture II 1. What is segmentation? 2. Motivation, why deformable contours? 3. The basic formalism: snakes as presented by Kass and Witkin. 1. Matlab demonstration 2. Variations of the basic snakes a. Topological adaptability b. 3D 3. The capture range problem a. Distance measure based solutions b. Gradient vector flow field based solutions

2 What is segmentation? What is segmentation? 1. Sonka: The main goal of image segmentation is to divide an image into parts that have a strong correlation with objects or areas of the world contained in the image 2. Sonka: Complete segmentation: results in a set of disjoint regions corresponding uniquely with objects in the input image. 3. Sonka: Partial segmentation: regions do not correspond directly with image objects. 1. Sonka: To achieve a complete segmentation, cooperation with higher processing levels which use specific knowledge of the problem domain is necessary. 2. Sonka: There exists a whole class of segmentation problems that can be solved using lower level processing only. What is segmentation? What is segmentation? 1. Aurdal: Segmentation is a process that maps an input image (possibly multispectral) into an output image where each pixel in the input image is given a label indicating its membership in a group of pixels sharing some common property. Group inclusion can be based on: a. Similar spectral properties. b. Similar higher order spectral properties (texture). c. etc.. 1. Segmentation is not the same thing as classification! 2. In segmentation each pixel receives a label indicating its membership in a group of pixels (group 1, group2 etc ) 3. In classification each pixel receives a label indicating its membership in a group of pixels having a sensible physical interpretation (water, ship, land etc ) 4. Classification will often use segmentation as a preprocessing step

3 Motivation Motivation 1. Classical assumption: Digital images will show real world objects as well defined regions with unique gray levels and a clear border against a uniform background. a. This assumption can hold true in certain cases, but typically it does not. 2. Real world objects seen in digital images might very well blend with the background and many parts of the objects might be more or less occluded. Beware of extreme case of blending and occlusion Motivation Motivation 1. Classical assumption: The image contains all the information necessary in order to produce a good segmentation. a. Again, this might be so in certain situations, but this is more of an exception than the rule. 2. In real world images we will typically need higher level information about the objects we are trying to segments: a. Size b. Shape c. Position 1. We know of many cases where such knowledge is used: a. Thesholding: We assume knowledge of graylevels. b. Adaptive thesholding: We assume knowledge of the size of the objects we are interested in c. Hough transform: We assume certain shapes

4 Motivation Motivation 1. The methods we will look at now are just another example of segmentation methods using models external to the image in order to obtain the best possible segmentation. 2. Typical segmentation problems solved with this kind of image are for instance ultrasound cardiac images. a. Much noise and blurred edges b. Much knowledge about shape etc. Left ventricle of the heart, apical view. GE medical 1. Snakes are model-based methods for localization and tracking of image structures. 2. The snake is defined as an energy minimizing contour (often defined using splines). 3. The energy of the snake depends on its shape and location within the image. 4. Snakes are attracted to image boundaries through forces. 1. The approach is iterative: a. The user draws an initial approximate contour. b. A dynamic simulation is started. c. The contour is deformed until it reaches equilibrium. 2. Snakes depend on: a. Interaction with the user. b. Interaction with a high level description. c. Interaction with image data adjacent in space and time.

5 1. Different types of forces will affect the snake: a. Internal forces. 1) Tension forces that make the snake act like a membrane. 2) Rigidity forces that make the snake act like a thin plate that resists bending. 2. Image forces 3. Constraint forces. a. User supplied forces or forces that come from higher level image understanding processes. 1. The contour is represented as: 2. This is a parametric representation of the contour. 3. The vector describing the position of every point on the contour makes one pass over the entire contour as s varies from its minimum to its maximum value. Typically s is normalized: What is a parametric contour? 1. Let x(s)=cos(2π s) and y(s)=sin(2π s). Furthermore, let s [0,1]. 2. Then v(s) describes a circle as s varies from 0 to The shape of the contour v(s) is dictated by a functional: 2. This functional can be seen as representing the energy along the contour. 3. The final position of the contour will correspond to a minimum of this energy function.

6 1. The first term of the functional can be viewed as a representation of the internal deformation energy: 1. The first term: 2. imposes tension, that is, we want a curve as short as possible. 1. The second term: 2. imposes rigidity, changes in direction should be smooth. 1. The weight functions w 1 (s) and w 2 (s) are used to modify the weights given to the two terms. 2. Why do you think it is a smart idea to make these a function of s? Can you think of cases where this might be a nice feature.

7 Physical analogy 1. The first term makes v act like a membrane 2. The second term makes it act like a thin plate. 3. The weighting functions will just balance these two types of behavior. 1. The second term of the functional introduces an external energy term into the expression for the functional: 1. The most common way of defining P(x,y) is the following: 1. In this expression, P(v(s)) denotes a scalar potential function defined on the image plane. 2. We obviously choose potential functions P(x,y) whose minima coincide with intensity extremas, edges or other interesting features of the image. 2. What does this expression mean in terms of the final position of the snake.

8 1. A variation of this can be obtained by letting: 2. What would be the use for this kind of definition? 1. So now we know how we measure the goodness of the current snake position, we simply measure the energy given by: 2. We are basically looking for a minimum in this energy. 3. When the minimum is reached, the snake will be in an optimal position. 4. How do we find this minimum? 1. Remember: 2. Also: 1. Let assume that the functions w 1 (s) and w 2 (s) are simply constants. 2. In practice, this is by far the most common situation. 3. Thus we have: 3. And:

9 1. The total energy can thus be written: 1. It can be shown that the v that minimizes E must satisfy the following differential equation: 2. This is the Euler-Lagrange equation for the given problem. 3. You ll find more on this in appendix A. 1. We have the equation: 1. We have: 2. This becomes: 2. In component form this becomes:

10 1. In practical life the parameter domain is discrete, that is {s 0 =0, s 1,s 2,,s n =1}. 2. The curve v(s) will be described by n+1 sample points (control points), v 0 =v(s 0 ),,v i =v(s i ), v n =v(s n ). 3. The differential equations in the previous slide must be transformed into discrete versions. 1. We must solve these equations numerically. 2. That means discretizing them. 3. First we need to find expressions for the second and fourth derivatives of x and y with respect to s. 4. The details of this are discussed in appendix B. 1. The second derivative of x(s) with respect to s, x (s) can be approximated by: 2. Similarly, the approximation to the fourth derivative is given by:

11 1. Look at the x-component of the previous equations: 1. For one particular x(s n ) the equation will be: 2. After discretizing and using the previous approximations this can be written i matrix form. 2. Introducing α=w 2, β=(-w 1-4w 2 ) and γ=(-2w 1 +6w 2 ) this can be rewritten: 1. The matrix equation for the x component becomes: 1. A more compact way of writing this is: A 2. The matrix A has special properties, it is a pentadiagonal matrix. 3. It is typically referred to as the stiffness matrix, it actually relates the positions of the points along the contour to each other. 4. So now all we need is a matrix inversion.?

12 1. Not quite that simple! 2. We look for a snake position where the internal forces are counterbalanced by the external forces. 3. If all we do is a matrix inversion in the previous eqaution we will find a curve v that locally is the best possible curve. 4. But we want a curve that is globally optimal. 5. The way we solve this is iterative. 6. We actually make the position of the snake a function of time, the snake can move. 1. Remember we had: 2. The physical interpretation of this is that we have found the wanted x and y vectors when the transformation of x and y is exactly counterbalanced by P x and P y. 3. That is, when the internal forces are counterbalanced by the external forces. 1. What if we made x and y dependent on time (or iteration), that is we write x t and y t. 2. With this change in mind, consider the following change in the previous equation: 1. The beauty of this is that it allows us to write an iteration for xt and yt. 2. Start by rewriting: 3. It is actually saying exactly the same thing as the previous equation, the wanted x t and y t is found when their transformation is counterbalanced by the external forces.

13 1. Start with: 2. A slight rearrangement gives us: 1. This was the initial idea of Kass and Witkin in their very important paper: Snakes: Active contour models, Michael Kass, Andrew Witkin and Demetri Terzopoulos, International Journal of Computer Vision, pages , This is an excellent paper that definitely deserves some study. 3. This is the basic iteration that lets us update x and y. 1. In order to obtain snakes that move in a physically more plausible way the nodes are typically given a mass and an initial speed. 2. A damping force is also often used (as if the snake was moving in some viscous medium). 1. The following slides deal with the Euler Lagrange equation and its derivation and are included primarily for the sake of completeness. 2. The notation is kept as general as possible. 3. Some of the blood-dripping details have been omitted for the sake of clarity. Return to presentation

14 1. Leonard Euler is recognized as one of the greatest mathematicians of all times. 2. Read more about him at: icians/euler.html 1. Joseph-Louis Lagrange was an outstanding French mathematician. 2. Read more about him at: aticians/lagrange.html 1. The Euler Lagrange arises within the framework of the calculus of variations. 2. Unlike the case in static optimization problems, the problem in variational calculus is that of finding some function y(x) such that some integral: 3. is either a minimum or a maximum. 1. In this equation, f() is the functional, y (x)=dy/dx, and x is the independent variable. 2. For y(x) to be an extremum it is required that any neighboring function is not an extremum. 3. We define a neighboring function of y by adding an arbitrary amount to y(x). 4. Parametrically this is written as y=y(α, x).

15 1. Observe that for α=0, y=y(0,x)=y(x). 2. Furthermore: 1. Having defined variations to our solution, let s look for conditions under which our solution is extremum by substituting y(α,x) in our functional: 3. where η(x) is some arbitrary function of x that has continuous first derivatives and vanishes at x 1 and x 2 (that is, η(x 1 )=0 and η(x 2 )=0). 4. Note that this is the way in which we define variations of our solution. 1. For J(α) to be an extremum, we must have: 1. We have: 2. for all η(x) 3. Let s look at: 2. Interchanging the order of integration and differentiation we get:

16 1. By the chain rule we get: 1. Substituting we get: 2. But: 3. and 2. Now observe that if we could reduce η/ x to g()η(x) then we could factor out η(x) and would be left with something that must be equal to zero. 1. This can be done by integration by parts. 2. Remember: 3. Applying this to the previous integral we get: 1. But we have defined η(x) to be zero at the limits of integration so the first term disappears. 2. From the second term it is possible to factor out η(x) which is what we wanted. 3. Substituting back into the original equation we get:

17 1. We have found that: 1. We have found that: 2. Thus we have: 2. Since η(x) is arbitrary the remaining part of the integrand must be equal to zero as a necessary condition for J to be an extremum. 3. Thus: 4. This is the Euler Lagrange. 1. A development very similar to what we have just gone through allows for the establishment of the Euler Lagrange equation for cases where f is a function of y and its first and second derivatives. 2. This equation is: 1. This equation is a central equation in mathematics and physics. 2. It has many important uses, one of its famous applications is to the solution of the Brachistochrone problem, see: lem.html

18 Appendix B: Numerical approximations to derivatives. Appendix B: Numerical approximations to derivatives. 1. The following slides deal with the numerical approximation to derivatives and are included primarily for the sake of completeness. 2. The notation is kept as general as possible. 3. Some of the gory details have been omitted for the sake of clarity. 1. The derivative of a function f(x), denoted f (x) is defined by: 2. It is a measure of how fast the function f changes with a change in x. 3. You all know that, for instance, the derivative f (x) of f(x)=x 3 is f (x)=3x But what if no analytical expression for f is known, what if we only have samples of f. Return to presentation Appendix B: Numerical approximations to derivatives. Appendix B: Numerical approximations to derivatives. 1. Consider a list of samples of f, let us call them f(n), n=.-2,-1,0,1,2 2. The definition of the derivative partly answers our question as to how we compute a numerical approximation to it. 1. Remember the definition of f (x): 2. If we remove the limit we get: 3. For h small, we would expect this to be fairly close to the true value for f (x).

19 Appendix B: Numerical approximations to derivatives. Appendix B: Numerical approximations to derivatives. 1. The question is obviously how large the error is when we compute the derivative tin this way. 2. In order to analyse this, consider the Taylor expansion of f(x) around the point (x+h): 3. Reorganizing this we find: 1. A simple trick allows us to improve on this. Remember first: 2. It is also a simple matter to show that: 3. The difference of these equations is: 4. Here, the term O(h) regroups terms including h and higher powers of h, it is a measure of the error we make. Appendix B: Numerical approximations to derivatives. Appendix B: Numerical approximations to derivatives. 1. Remember: 2. Rearranging we get: 3. Compare this with: 1. By similar reasoning, discrete approximations to higher order derivatives of f(x) can be found. 2. This is a complex subject and this very simplistic exposition is in no way complete. 3. The only intention is to give the reader a starting point for further study. 4. This symmetrical way of computing f (x) is better, the error we make will be much smaller.

1. Two double lectures about deformable contours. 4. The transparencies define the exam requirements. 1. Matlab demonstration

1. Two double lectures about deformable contours. 4. The transparencies define the exam requirements. 1. Matlab demonstration Practical information INF 5300 Deformable contours, II An introduction 1. Two double lectures about deformable contours. 2. The lectures are based on articles, references will be given during the course.

More information

Image Segmentation II Advanced Approaches

Image Segmentation II Advanced Approaches Image Segmentation II Advanced Approaches Jorge Jara W. 1,2 1 Department of Computer Science DCC, U. of Chile 2 SCIAN-Lab, BNI Outline 1. Segmentation I Digital image processing Segmentation basics 2.

More information

Snakes, level sets and graphcuts. (Deformable models)

Snakes, level sets and graphcuts. (Deformable models) INSTITUTE OF INFORMATION AND COMMUNICATION TECHNOLOGIES BULGARIAN ACADEMY OF SCIENCE Snakes, level sets and graphcuts (Deformable models) Centro de Visión por Computador, Departament de Matemàtica Aplicada

More information

Snakes operating on Gradient Vector Flow

Snakes operating on Gradient Vector Flow Snakes operating on Gradient Vector Flow Seminar: Image Segmentation SS 2007 Hui Sheng 1 Outline Introduction Snakes Gradient Vector Flow Implementation Conclusion 2 Introduction Snakes enable us to find

More information

Variational Methods II

Variational Methods II Mathematical Foundations of Computer Graphics and Vision Variational Methods II Luca Ballan Institute of Visual Computing Last Lecture If we have a topological vector space with an inner product and functionals

More information

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE COMPUTER VISION 2017-2018 > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE OUTLINE Optical flow Lucas-Kanade Horn-Schunck Applications of optical flow Optical flow tracking Histograms of oriented flow Assignment

More information

13.1. Functions of Several Variables. Introduction to Functions of Several Variables. Functions of Several Variables. Objectives. Example 1 Solution

13.1. Functions of Several Variables. Introduction to Functions of Several Variables. Functions of Several Variables. Objectives. Example 1 Solution 13 Functions of Several Variables 13.1 Introduction to Functions of Several Variables Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. Objectives Understand

More information

A Finite Element Method for Deformable Models

A Finite Element Method for Deformable Models A Finite Element Method for Deformable Models Persephoni Karaolani, G.D. Sullivan, K.D. Baker & M.J. Baines Intelligent Systems Group, Department of Computer Science University of Reading, RG6 2AX, UK,

More information

Segmentation. Namrata Vaswani,

Segmentation. Namrata Vaswani, Segmentation Namrata Vaswani, namrata@iastate.edu Read Sections 5.1,5.2,5.3 of [1] Edge detection and filtering : Canny edge detection algorithm to get a contour of the object boundary Hough transform:

More information

A Modified Image Segmentation Method Using Active Contour Model

A Modified Image Segmentation Method Using Active Contour Model nd International Conference on Electrical, Computer Engineering and Electronics (ICECEE 015) A Modified Image Segmentation Method Using Active Contour Model Shiping Zhu 1, a, Ruidong Gao 1, b 1 Department

More information

Edge and local feature detection - 2. Importance of edge detection in computer vision

Edge and local feature detection - 2. Importance of edge detection in computer vision Edge and local feature detection Gradient based edge detection Edge detection by function fitting Second derivative edge detectors Edge linking and the construction of the chain graph Edge and local feature

More information

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces Chapter 6 Curves and Surfaces In Chapter 2 a plane is defined as the zero set of a linear function in R 3. It is expected a surface is the zero set of a differentiable function in R n. To motivate, graphs

More information

Physics 235 Chapter 6. Chapter 6 Some Methods in the Calculus of Variations

Physics 235 Chapter 6. Chapter 6 Some Methods in the Calculus of Variations Chapter 6 Some Methods in the Calculus of Variations In this Chapter we focus on an important method of solving certain problems in Classical Mechanics. In many problems we need to determine how a system

More information

. Tutorial Class V 3-10/10/2012 First Order Partial Derivatives;...

. Tutorial Class V 3-10/10/2012 First Order Partial Derivatives;... Tutorial Class V 3-10/10/2012 1 First Order Partial Derivatives; Tutorial Class V 3-10/10/2012 1 First Order Partial Derivatives; 2 Application of Gradient; Tutorial Class V 3-10/10/2012 1 First Order

More information

Practical Image and Video Processing Using MATLAB

Practical Image and Video Processing Using MATLAB Practical Image and Video Processing Using MATLAB Chapter 18 Feature extraction and representation What will we learn? What is feature extraction and why is it a critical step in most computer vision and

More information

Fast Segmentation of Kidneys in CT Images

Fast Segmentation of Kidneys in CT Images WDS'10 Proceedings of Contributed Papers, Part I, 70 75, 2010. ISBN 978-80-7378-139-2 MATFYZPRESS Fast Segmentation of Kidneys in CT Images J. Kolomazník Charles University, Faculty of Mathematics and

More information

OpenGL Graphics System. 2D Graphics Primitives. Drawing 2D Graphics Primitives. 2D Graphics Primitives. Mathematical 2D Primitives.

OpenGL Graphics System. 2D Graphics Primitives. Drawing 2D Graphics Primitives. 2D Graphics Primitives. Mathematical 2D Primitives. D Graphics Primitives Eye sees Displays - CRT/LCD Frame buffer - Addressable pixel array (D) Graphics processor s main function is to map application model (D) by projection on to D primitives: points,

More information

Lecture 15: Segmentation (Edge Based, Hough Transform)

Lecture 15: Segmentation (Edge Based, Hough Transform) Lecture 15: Segmentation (Edge Based, Hough Transform) c Bryan S. Morse, Brigham Young University, 1998 000 Last modified on February 3, 000 at :00 PM Contents 15.1 Introduction..............................................

More information

DIGITAL TERRAIN MODELLING. Endre Katona University of Szeged Department of Informatics

DIGITAL TERRAIN MODELLING. Endre Katona University of Szeged Department of Informatics DIGITAL TERRAIN MODELLING Endre Katona University of Szeged Department of Informatics katona@inf.u-szeged.hu The problem: data sources data structures algorithms DTM = Digital Terrain Model Terrain function:

More information

Normalized cuts and image segmentation

Normalized cuts and image segmentation Normalized cuts and image segmentation Department of EE University of Washington Yeping Su Xiaodan Song Normalized Cuts and Image Segmentation, IEEE Trans. PAMI, August 2000 5/20/2003 1 Outline 1. Image

More information

Segmentation. Separate image into coherent regions

Segmentation. Separate image into coherent regions Segmentation II Segmentation Separate image into coherent regions Berkeley segmentation database: http://www.eecs.berkeley.edu/research/projects/cs/vision/grouping/segbench/ Slide by L. Lazebnik Interactive

More information

In other words, we want to find the domain points that yield the maximum or minimum values (extrema) of the function.

In other words, we want to find the domain points that yield the maximum or minimum values (extrema) of the function. 1 The Lagrange multipliers is a mathematical method for performing constrained optimization of differentiable functions. Recall unconstrained optimization of differentiable functions, in which we want

More information

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives Recall that if z = f(x, y), then the partial derivatives f x and f y are defined as and represent the rates of change of z in the x- and y-directions, that is, in the directions of the unit vectors i and

More information

Surfaces and Partial Derivatives

Surfaces and Partial Derivatives Surfaces and Partial Derivatives James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 9, 2016 Outline Partial Derivatives Tangent Planes

More information

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a coordinate system and then the measuring of the point with

More information

Optimization. Intelligent Scissors (see also Snakes)

Optimization. Intelligent Scissors (see also Snakes) Optimization We can define a cost for possible solutions Number of solutions is large (eg., exponential) Efficient search is needed Global methods: cleverly find best solution without considering all.

More information

A C 2 Four-Point Subdivision Scheme with Fourth Order Accuracy and its Extensions

A C 2 Four-Point Subdivision Scheme with Fourth Order Accuracy and its Extensions A C 2 Four-Point Subdivision Scheme with Fourth Order Accuracy and its Extensions Nira Dyn School of Mathematical Sciences Tel Aviv University Michael S. Floater Department of Informatics University of

More information

Section 4: Extreme Values & Lagrange Multipliers.

Section 4: Extreme Values & Lagrange Multipliers. Section 4: Extreme Values & Lagrange Multipliers. Compiled by Chris Tisdell S1: Motivation S2: What are local maxima & minima? S3: What is a critical point? S4: Second derivative test S5: Maxima and Minima

More information

Image Registration Lecture 4: First Examples

Image Registration Lecture 4: First Examples Image Registration Lecture 4: First Examples Prof. Charlene Tsai Outline Example Intensity-based registration SSD error function Image mapping Function minimization: Gradient descent Derivative calculation

More information

weighted minimal surface model for surface reconstruction from scattered points, curves, and/or pieces of surfaces.

weighted minimal surface model for surface reconstruction from scattered points, curves, and/or pieces of surfaces. weighted minimal surface model for surface reconstruction from scattered points, curves, and/or pieces of surfaces. joint work with (S. Osher, R. Fedkiw and M. Kang) Desired properties for surface reconstruction:

More information

Cloth Simulation. COMP 768 Presentation Zhen Wei

Cloth Simulation. COMP 768 Presentation Zhen Wei Cloth Simulation COMP 768 Presentation Zhen Wei Outline Motivation and Application Cloth Simulation Methods Physically-based Cloth Simulation Overview Development References 2 Motivation Movies Games VR

More information

HOUGH TRANSFORM CS 6350 C V

HOUGH TRANSFORM CS 6350 C V HOUGH TRANSFORM CS 6350 C V HOUGH TRANSFORM The problem: Given a set of points in 2-D, find if a sub-set of these points, fall on a LINE. Hough Transform One powerful global method for detecting edges

More information

Carmen Alonso Montes 23rd-27th November 2015

Carmen Alonso Montes 23rd-27th November 2015 Practical Computer Vision: Theory & Applications 23rd-27th November 2015 Wrap up Today, we are still here 2 Learned concepts Image binarization Thresholding Edge detection Morphological operators 3 Contents

More information

Chapter 11 Representation & Description

Chapter 11 Representation & Description Chain Codes Chain codes are used to represent a boundary by a connected sequence of straight-line segments of specified length and direction. The direction of each segment is coded by using a numbering

More information

Tangent & normal vectors The arc-length parameterization of a 2D curve The curvature of a 2D curve

Tangent & normal vectors The arc-length parameterization of a 2D curve The curvature of a 2D curve Local Analysis of 2D Curve Patches Topic 4.2: Local analysis of 2D curve patches Representing 2D image curves Estimating differential properties of 2D curves Tangent & normal vectors The arc-length parameterization

More information

LECTURE 18 - OPTIMIZATION

LECTURE 18 - OPTIMIZATION LECTURE 18 - OPTIMIZATION CHRIS JOHNSON Abstract. In this lecture we ll describe extend the optimization techniques you learned in your first semester calculus class to optimize functions of multiple variables.

More information

Unit 3 : Image Segmentation

Unit 3 : Image Segmentation Unit 3 : Image Segmentation K-means Clustering Mean Shift Segmentation Active Contour Models Snakes Normalized Cut Segmentation CS 6550 0 Histogram-based segmentation Goal Break the image into K regions

More information

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123 2.7 Cloth Animation 320491: Advanced Graphics - Chapter 2 123 Example: Cloth draping Image Michael Kass 320491: Advanced Graphics - Chapter 2 124 Cloth using mass-spring model Network of masses and springs

More information

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden Lecture: Segmentation I FMAN30: Medical Image Analysis Anders Heyden 2017-11-13 Content What is segmentation? Motivation Segmentation methods Contour-based Voxel/pixel-based Discussion What is segmentation?

More information

Automatic Extraction of Femur Contours from Hip X-ray Images

Automatic Extraction of Femur Contours from Hip X-ray Images Automatic Extraction of Femur Contours from Hip X-ray Images Ying Chen 1, Xianhe Ee 1, Wee Kheng Leow 1, and Tet Sen Howe 2 1 Dept of Computer Science, National University of Singapore, 3 Science Drive

More information

2 Algorithm Description Active contours are initialized using the output of the SUSAN edge detector [10]. Edge runs that contain a reasonable number (

2 Algorithm Description Active contours are initialized using the output of the SUSAN edge detector [10]. Edge runs that contain a reasonable number ( Motion-Based Object Segmentation Using Active Contours Ben Galvin, Kevin Novins, and Brendan McCane Computer Science Department, University of Otago, Dunedin, New Zealand. Abstract: The segmentation of

More information

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection Why Edge Detection? How can an algorithm extract relevant information from an image that is enables the algorithm to recognize objects? The most important information for the interpretation of an image

More information

14.6 Directional Derivatives and the Gradient Vector

14.6 Directional Derivatives and the Gradient Vector 14 Partial Derivatives 14.6 and the Gradient Vector Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. and the Gradient Vector In this section we introduce

More information

COMPUTER AND ROBOT VISION

COMPUTER AND ROBOT VISION VOLUME COMPUTER AND ROBOT VISION Robert M. Haralick University of Washington Linda G. Shapiro University of Washington A^ ADDISON-WESLEY PUBLISHING COMPANY Reading, Massachusetts Menlo Park, California

More information

Snakes, Active Contours, and Segmentation Introduction and Classical Active Contours Active Contours Without Edges

Snakes, Active Contours, and Segmentation Introduction and Classical Active Contours Active Contours Without Edges Level Sets & Snakes Snakes, Active Contours, and Segmentation Introduction and Classical Active Contours Active Contours Without Edges Scale Space and PDE methods in image analysis and processing - Arjan

More information

Parallel Implementation of Lagrangian Dynamics for real-time snakes

Parallel Implementation of Lagrangian Dynamics for real-time snakes Parallel Implementation of Lagrangian Dynamics for real-time snakes R.M.Curwen, A.Blake and R.Cipolla Robotics Research Group Department of Engineering Science Oxford University 0X1 3PJ United Kingdom

More information

Module 1: Introduction to Finite Element Analysis. Lecture 4: Steps in Finite Element Analysis

Module 1: Introduction to Finite Element Analysis. Lecture 4: Steps in Finite Element Analysis 25 Module 1: Introduction to Finite Element Analysis Lecture 4: Steps in Finite Element Analysis 1.4.1 Loading Conditions There are multiple loading conditions which may be applied to a system. The load

More information

ECE 600, Dr. Farag, Summer 09

ECE 600, Dr. Farag, Summer 09 ECE 6 Summer29 Course Supplements. Lecture 4 Curves and Surfaces Aly A. Farag University of Louisville Acknowledgements: Help with these slides were provided by Shireen Elhabian A smile is a curve that

More information

Network Snakes for the Segmentation of Adjacent Cells in Confocal Images

Network Snakes for the Segmentation of Adjacent Cells in Confocal Images Network Snakes for the Segmentation of Adjacent Cells in Confocal Images Matthias Butenuth 1 and Fritz Jetzek 2 1 Institut für Photogrammetrie und GeoInformation, Leibniz Universität Hannover, 30167 Hannover

More information

Math 265 Exam 3 Solutions

Math 265 Exam 3 Solutions C Roettger, Fall 16 Math 265 Exam 3 Solutions Problem 1 Let D be the region inside the circle r 5 sin θ but outside the cardioid r 2 + sin θ. Find the area of D. Note that r and θ denote polar coordinates.

More information

EE795: Computer Vision and Intelligent Systems

EE795: Computer Vision and Intelligent Systems EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 WRI C225 Lecture 02 130124 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Basics Image Formation Image Processing 3 Intelligent

More information

Understanding Gridfit

Understanding Gridfit Understanding Gridfit John R. D Errico Email: woodchips@rochester.rr.com December 28, 2006 1 Introduction GRIDFIT is a surface modeling tool, fitting a surface of the form z(x, y) to scattered (or regular)

More information

Almost Curvature Continuous Fitting of B-Spline Surfaces

Almost Curvature Continuous Fitting of B-Spline Surfaces Journal for Geometry and Graphics Volume 2 (1998), No. 1, 33 43 Almost Curvature Continuous Fitting of B-Spline Surfaces Márta Szilvási-Nagy Department of Geometry, Mathematical Institute, Technical University

More information

Continuity and Tangent Lines for functions of two variables

Continuity and Tangent Lines for functions of two variables Continuity and Tangent Lines for functions of two variables James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University April 4, 2014 Outline 1 Continuity

More information

Digital Image Processing. Image Enhancement - Filtering

Digital Image Processing. Image Enhancement - Filtering Digital Image Processing Image Enhancement - Filtering Derivative Derivative is defined as a rate of change. Discrete Derivative Finite Distance Example Derivatives in 2-dimension Derivatives of Images

More information

Boundary descriptors. Representation REPRESENTATION & DESCRIPTION. Descriptors. Moore boundary tracking

Boundary descriptors. Representation REPRESENTATION & DESCRIPTION. Descriptors. Moore boundary tracking Representation REPRESENTATION & DESCRIPTION After image segmentation the resulting collection of regions is usually represented and described in a form suitable for higher level processing. Most important

More information

Feature Extraction and Image Processing, 2 nd Edition. Contents. Preface

Feature Extraction and Image Processing, 2 nd Edition. Contents. Preface , 2 nd Edition Preface ix 1 Introduction 1 1.1 Overview 1 1.2 Human and Computer Vision 1 1.3 The Human Vision System 3 1.3.1 The Eye 4 1.3.2 The Neural System 7 1.3.3 Processing 7 1.4 Computer Vision

More information

LOCAL-GLOBAL OPTICAL FLOW FOR IMAGE REGISTRATION

LOCAL-GLOBAL OPTICAL FLOW FOR IMAGE REGISTRATION LOCAL-GLOBAL OPTICAL FLOW FOR IMAGE REGISTRATION Ammar Zayouna Richard Comley Daming Shi Middlesex University School of Engineering and Information Sciences Middlesex University, London NW4 4BT, UK A.Zayouna@mdx.ac.uk

More information

A Numerical Form Finding Method for Minimal Surface of Membrane Structure

A Numerical Form Finding Method for Minimal Surface of Membrane Structure 10 th World Congress on Structural and Multidisciplinary Optimization May 19-24, 2013, Orlando, Florida, US Numerical Form Finding Method for Minimal Surface of Membrane Structure Koichi Yamane 1, Masatoshi

More information

Filters. Advanced and Special Topics: Filters. Filters

Filters. Advanced and Special Topics: Filters. Filters Filters Advanced and Special Topics: Filters Dr. Edmund Lam Department of Electrical and Electronic Engineering The University of Hong Kong ELEC4245: Digital Image Processing (Second Semester, 2016 17)

More information

Levelset and B-spline deformable model techniques for image segmentation: a pragmatic comparative study.

Levelset and B-spline deformable model techniques for image segmentation: a pragmatic comparative study. Levelset and B-spline deformable model techniques for image segmentation: a pragmatic comparative study. Diane Lingrand, Johan Montagnat Rainbow Team I3S Laboratory UMR 6070 University of Nice - Sophia

More information

2D Spline Curves. CS 4620 Lecture 18

2D Spline Curves. CS 4620 Lecture 18 2D Spline Curves CS 4620 Lecture 18 2014 Steve Marschner 1 Motivation: smoothness In many applications we need smooth shapes that is, without discontinuities So far we can make things with corners (lines,

More information

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS Cognitive Robotics Original: David G. Lowe, 004 Summary: Coen van Leeuwen, s1460919 Abstract: This article presents a method to extract

More information

Chapter 3 Numerical Methods

Chapter 3 Numerical Methods Chapter 3 Numerical Methods Part 1 3.1 Linearization and Optimization of Functions of Vectors 1 Problem Notation 2 Outline 3.1.1 Linearization 3.1.2 Optimization of Objective Functions 3.1.3 Constrained

More information

EE795: Computer Vision and Intelligent Systems

EE795: Computer Vision and Intelligent Systems EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 WRI C225 Lecture 04 130131 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Histogram Equalization Image Filtering Linear

More information

Computer Vision I - Basics of Image Processing Part 1

Computer Vision I - Basics of Image Processing Part 1 Computer Vision I - Basics of Image Processing Part 1 Carsten Rother 28/10/2014 Computer Vision I: Basics of Image Processing Link to lectures Computer Vision I: Basics of Image Processing 28/10/2014 2

More information

Surfaces and Partial Derivatives

Surfaces and Partial Derivatives Surfaces and James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 15, 2017 Outline 1 2 Tangent Planes Let s go back to our simple surface

More information

B. Tech. Project Second Stage Report on

B. Tech. Project Second Stage Report on B. Tech. Project Second Stage Report on GPU Based Active Contours Submitted by Sumit Shekhar (05007028) Under the guidance of Prof Subhasis Chaudhuri Table of Contents 1. Introduction... 1 1.1 Graphic

More information

Lecture 2.2 Cubic Splines

Lecture 2.2 Cubic Splines Lecture. Cubic Splines Cubic Spline The equation for a single parametric cubic spline segment is given by 4 i t Bit t t t i (..) where t and t are the parameter values at the beginning and end of the segment.

More information

Non-Rigid Image Registration III

Non-Rigid Image Registration III Non-Rigid Image Registration III CS6240 Multimedia Analysis Leow Wee Kheng Department of Computer Science School of Computing National University of Singapore Leow Wee Kheng (CS6240) Non-Rigid Image Registration

More information

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002 Math 13 Calculus III Practice Exam Solutions Fall 00 1. Let g(x, y, z) = e (x+y) + z (x + y). (a) What is the instantaneous rate of change of g at the point (,, 1) in the direction of the origin? We want

More information

Color Image Segmentation Editor Based on the Integration of Edge-Linking, Region Labeling and Deformable Model

Color Image Segmentation Editor Based on the Integration of Edge-Linking, Region Labeling and Deformable Model This paper appears in: IEEE International Conference on Systems, Man and Cybernetics, 1999 Color Image Segmentation Editor Based on the Integration of Edge-Linking, Region Labeling and Deformable Model

More information

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences UNIVERSITY OF OSLO Faculty of Mathematics and Natural Sciences Exam: INF 43 / INF 935 Digital image analysis Date: Thursday December 4, 4 Exam hours: 4.3-8.3 (4 hours) Number of pages: 6 pages Enclosures:

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Part 9: Representation and Description AASS Learning Systems Lab, Dep. Teknik Room T1209 (Fr, 11-12 o'clock) achim.lilienthal@oru.se Course Book Chapter 11 2011-05-17 Contents

More information

Feature Tracking and Optical Flow

Feature Tracking and Optical Flow Feature Tracking and Optical Flow Prof. D. Stricker Doz. G. Bleser Many slides adapted from James Hays, Derek Hoeim, Lana Lazebnik, Silvio Saverse, who 1 in turn adapted slides from Steve Seitz, Rick Szeliski,

More information

SYSTEMS OF NONLINEAR EQUATIONS

SYSTEMS OF NONLINEAR EQUATIONS SYSTEMS OF NONLINEAR EQUATIONS Widely used in the mathematical modeling of real world phenomena. We introduce some numerical methods for their solution. For better intuition, we examine systems of two

More information

Image Segmentation. Ross Whitaker SCI Institute, School of Computing University of Utah

Image Segmentation. Ross Whitaker SCI Institute, School of Computing University of Utah Image Segmentation Ross Whitaker SCI Institute, School of Computing University of Utah What is Segmentation? Partitioning images/volumes into meaningful pieces Partitioning problem Labels Isolating a specific

More information

Mesh Processing Pipeline

Mesh Processing Pipeline Mesh Smoothing 1 Mesh Processing Pipeline... Scan Reconstruct Clean Remesh 2 Mesh Quality Visual inspection of sensitive attributes Specular shading Flat Shading Gouraud Shading Phong Shading 3 Mesh Quality

More information

EC422 Mathematical Economics 2

EC422 Mathematical Economics 2 EC422 Mathematical Economics 2 Chaiyuth Punyasavatsut Chaiyuth Punyasavatust 1 Course materials and evaluation Texts: Dixit, A.K ; Sydsaeter et al. Grading: 40,30,30. OK or not. Resources: ftp://econ.tu.ac.th/class/archan/c

More information

Multimodality Imaging for Tumor Volume Definition in Radiation Oncology

Multimodality Imaging for Tumor Volume Definition in Radiation Oncology 81 There are several commercial and academic software tools that support different segmentation algorithms. In general, commercial software packages have better implementation (with a user-friendly interface

More information

Implicit Active Shape Models for 3D Segmentation in MR Imaging

Implicit Active Shape Models for 3D Segmentation in MR Imaging Implicit Active Shape Models for 3D Segmentation in MR Imaging Mikaël Rousson 1, Nikos Paragios 2, and Rachid Deriche 1 1 I.N.R.I.A. Sophia Antipolis, France E-mail: {Mikael.Rousson,Rachid.Deriche}@sophia.inria.fr

More information

Image Processing, Analysis and Machine Vision

Image Processing, Analysis and Machine Vision Image Processing, Analysis and Machine Vision Milan Sonka PhD University of Iowa Iowa City, USA Vaclav Hlavac PhD Czech Technical University Prague, Czech Republic and Roger Boyle DPhil, MBCS, CEng University

More information

Know it. Control points. B Spline surfaces. Implicit surfaces

Know it. Control points. B Spline surfaces. Implicit surfaces Know it 15 B Spline Cur 14 13 12 11 Parametric curves Catmull clark subdivision Parametric surfaces Interpolating curves 10 9 8 7 6 5 4 3 2 Control points B Spline surfaces Implicit surfaces Bezier surfaces

More information

Graphics Pipeline 2D Geometric Transformations

Graphics Pipeline 2D Geometric Transformations Graphics Pipeline 2D Geometric Transformations CS 4620 Lecture 8 1 Plane projection in drawing Albrecht Dürer 2 Plane projection in drawing source unknown 3 Rasterizing triangles Summary 1 evaluation of

More information

Interpreter aided salt boundary segmentation using SVM regression shape deformation technique

Interpreter aided salt boundary segmentation using SVM regression shape deformation technique Interpreter aided salt boundary segmentation using SVM regression shape deformation technique Problem Introduction For the seismic imaging project in offshore oil and gas exploration, a good velocity model

More information

Advanced Video Content Analysis and Video Compression (5LSH0), Module 4

Advanced Video Content Analysis and Video Compression (5LSH0), Module 4 Advanced Video Content Analysis and Video Compression (5LSH0), Module 4 Visual feature extraction Part I: Color and texture analysis Sveta Zinger Video Coding and Architectures Research group, TU/e ( s.zinger@tue.nl

More information

Animation Lecture 10 Slide Fall 2003

Animation Lecture 10 Slide Fall 2003 Animation Lecture 10 Slide 1 6.837 Fall 2003 Conventional Animation Draw each frame of the animation great control tedious Reduce burden with cel animation layer keyframe inbetween cel panoramas (Disney

More information

SCIENCE & TECHNOLOGY

SCIENCE & TECHNOLOGY Pertanika J. Sci. & Technol. 26 (1): 309-316 (2018) SCIENCE & TECHNOLOGY Journal homepage: http://www.pertanika.upm.edu.my/ Application of Active Contours Driven by Local Gaussian Distribution Fitting

More information

Notes 9: Optical Flow

Notes 9: Optical Flow Course 049064: Variational Methods in Image Processing Notes 9: Optical Flow Guy Gilboa 1 Basic Model 1.1 Background Optical flow is a fundamental problem in computer vision. The general goal is to find

More information

Lecture 8 Object Descriptors

Lecture 8 Object Descriptors Lecture 8 Object Descriptors Azadeh Fakhrzadeh Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Reading instructions Chapter 11.1 11.4 in G-W Azadeh Fakhrzadeh

More information

2D vector fields 3. Contents. Line Integral Convolution (LIC) Image based flow visualization Vector field topology. Fast LIC Oriented LIC

2D vector fields 3. Contents. Line Integral Convolution (LIC) Image based flow visualization Vector field topology. Fast LIC Oriented LIC 2D vector fields 3 Scientific Visualization (Part 8) PD Dr.-Ing. Peter Hastreiter Contents Line Integral Convolution (LIC) Fast LIC Oriented LIC Image based flow visualization Vector field topology 2 Applied

More information

SPECIAL TECHNIQUES-II

SPECIAL TECHNIQUES-II SPECIAL TECHNIQUES-II Lecture 19: Electromagnetic Theory Professor D. K. Ghosh, Physics Department, I.I.T., Bombay Method of Images for a spherical conductor Example :A dipole near aconducting sphere The

More information

Announcements. Edges. Last Lecture. Gradients: Numerical Derivatives f(x) Edge Detection, Lines. Intro Computer Vision. CSE 152 Lecture 10

Announcements. Edges. Last Lecture. Gradients: Numerical Derivatives f(x) Edge Detection, Lines. Intro Computer Vision. CSE 152 Lecture 10 Announcements Assignment 2 due Tuesday, May 4. Edge Detection, Lines Midterm: Thursday, May 6. Introduction to Computer Vision CSE 152 Lecture 10 Edges Last Lecture 1. Object boundaries 2. Surface normal

More information

Parameterization. Michael S. Floater. November 10, 2011

Parameterization. Michael S. Floater. November 10, 2011 Parameterization Michael S. Floater November 10, 2011 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to generate from point

More information

Pattern Recognition Methods for Object Boundary Detection

Pattern Recognition Methods for Object Boundary Detection Pattern Recognition Methods for Object Boundary Detection Arnaldo J. Abrantesy and Jorge S. Marquesz yelectronic and Communication Engineering Instituto Superior Eng. de Lisboa R. Conselheiro Emídio Navarror

More information

Edge and corner detection

Edge and corner detection Edge and corner detection Prof. Stricker Doz. G. Bleser Computer Vision: Object and People Tracking Goals Where is the information in an image? How is an object characterized? How can I find measurements

More information

Level-set and ALE Based Topology Optimization Using Nonlinear Programming

Level-set and ALE Based Topology Optimization Using Nonlinear Programming 10 th World Congress on Structural and Multidisciplinary Optimization May 19-24, 2013, Orlando, Florida, USA Level-set and ALE Based Topology Optimization Using Nonlinear Programming Shintaro Yamasaki

More information

Image Segmentation. Ross Whitaker SCI Institute, School of Computing University of Utah

Image Segmentation. Ross Whitaker SCI Institute, School of Computing University of Utah Image Segmentation Ross Whitaker SCI Institute, School of Computing University of Utah What is Segmentation? Partitioning images/volumes into meaningful pieces Partitioning problem Labels Isolating a specific

More information

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1 Interactive Graphics Lecture 9: Introduction to Spline Curves Interactive Graphics Lecture 9: Slide 1 Interactive Graphics Lecture 13: Slide 2 Splines The word spline comes from the ship building trade

More information

An Adaptive Eigenshape Model

An Adaptive Eigenshape Model An Adaptive Eigenshape Model Adam Baumberg and David Hogg School of Computer Studies University of Leeds, Leeds LS2 9JT, U.K. amb@scs.leeds.ac.uk Abstract There has been a great deal of recent interest

More information