Computer Aided Geometric Design (talk at Jai Hind College, Mumbai, 15 th December, 2004) Milind Sohoni Department of Computer Science and Engg. IIT Powai.

Slides:



Advertisements
Similar presentations
Chapter 11-Functions of Several Variables
Advertisements

Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
EXAMPLE 2 Use the scale factor of similar solids Packaging
Uncertainty Representation. Gaussian Distribution variance Standard deviation.
A quick example calculating the column space and the nullspace of a matrix. Isabel K. Darcy Mathematics Department Applied Math and Computational Sciences.
An Optimization Approach to Improving Collections of Shape Maps Andy Nguyen, Mirela Ben-Chen, Katarzyna Welnicka, Yinyu Ye, Leonidas Guibas Computer Science.
3D Geometry for Computer Graphics. 2 The plan today Least squares approach  General / Polynomial fitting  Linear systems of equations  Local polynomial.
Anup Kedia Shape Correspondence through Landmark Sliding Anup Kedia.
Designing Parametric Cubic Curves Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Lecture 12 Projection and Least Square Approximation Shang-Hua Teng.
Bioinformatics Challenge  Learning in very high dimensions with very few samples  Acute leukemia dataset: 7129 # of gene vs. 72 samples  Colon cancer.
Lecture 12 Least Square Approximation Shang-Hua Teng.
Chapter 10: Curves and Surfaces Part 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
6 6.3 © 2012 Pearson Education, Inc. Orthogonality and Least Squares ORTHOGONAL PROJECTIONS.
Designing Parametric Cubic Curves
Computer Graphics Recitation The plan today Least squares approach  General / Polynomial fitting  Linear systems of equations  Local polynomial.
1 Free-Form Deformations Free-Form Deformation of Solid Geometric Models Fast Volume-Preserving Free Form Deformation Using Multi-Level Optimization Free-Form.
Solving Systems of Linear Equations and Circles Adapted from Walch Education.
Chapter 10 Real Inner Products and Least-Square (cont.)
Section 8.3 – Systems of Linear Equations - Determinants Using Determinants to Solve Systems of Equations A determinant is a value that is obtained from.
Lecture 10: Inner Products Norms and angles Projection Sections 2.10.(1-4), Sections 2.2.3, 2.3.
Computer Graphics Lecture 13 Curves and Surfaces I.
Copyright © Cengage Learning. All rights reserved. 2 Derivatives.
© Dr Moudar Zgoul Non-uniform rational basis spline (NURBS) An Introduction to.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
CHAPTER FIVE Orthogonality Why orthogonal? Least square problem Accuracy of Numerical computation.
ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals.
Copyright © Cengage Learning. All rights reserved. 0 Precalculus Review.
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
Solving Using the Quadratic Formula Each time we solve by completing the square, the procedure is the same. In mathematics, when a procedure is repeated.
CS 8751 ML & KDDSupport Vector Machines1 Support Vector Machines (SVMs) Learning mechanism based on linear programming Chooses a separating plane based.
Numerical Computation
Ahmedabad-Visual Design Office Kolhapur-Mechanical Design Office Saki Naka – Die Manufacturer Lucknow- Soap manufacturer A Solid Modeling Fable.
Systems of Inequalities in Two Variables Sec. 7.5a.
Orthogonality and Least Squares
PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 3: LINEAR MODELS FOR REGRESSION.
CS 376 Introduction to Computer Graphics 04 / 20 / 2007 Instructor: Michael Eckmann.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
Computer Vision Lab. SNU Young Ki Baik Nonlinear Dimensionality Reduction Approach (ISOMAP, LLE)
Elementary Linear Algebra Anton & Rorres, 9th Edition
1 CS 430/536 Computer Graphics I Curve Drawing Algorithms Week 4, Lecture 8 David Breen, William Regli and Maxim Peysakhov Geometric and Intelligent Computing.
Scientific Computing General Least Squares. Polynomial Least Squares Polynomial Least Squares: We assume that the class of functions is the class of all.
Geometry-I. What’s done The two-tier representation Topology-the combinatorial structure Geometry –The actual parameters representing the geometric face.
Non-Bayes classifiers. Linear discriminants, neural networks.
Slide Copyright © 2012 Pearson Education, Inc.
Vector Analysis Copyright © Cengage Learning. All rights reserved.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Basic Theory (for curve 02). 1.3 Parametric Curves  The main aim of computer graphics is to display an arbitrary surface so that it looks real.  The.
1  Problem: Consider a two class task with ω 1, ω 2   LINEAR CLASSIFIERS.
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Computer Aided Geometric Design Introduction Milind Sohoni Department of Computer Science and Engg. IIT Powai Sources:
Designing Parametric Cubic Curves 1. 2 Objectives Introduce types of curves ­Interpolating ­Hermite ­Bezier ­B-spline Analyze their performance.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Chapter 15 Curves, Surfaces and Volumes Alberto J
CS 325 Computer Graphics 04 / 30 / 2010 Instructor: Michael Eckmann.
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
6 6.3 © 2016 Pearson Education, Inc. Orthogonality and Least Squares ORTHOGONAL PROJECTIONS.
Vector Analysis 15 Copyright © Cengage Learning. All rights reserved.
Computation of the solutions of nonlinear polynomial systems
Introduction to Functions of Several Variables
POLYGON MESH Advance Computer Graphics
Designing Parametric Cubic Curves
Do Now 1) t + 3 = – 2 2) 18 – 4v = 42.
Course 13 Curves and Surfaces
Copyright © 2006 Pearson Education, Inc
Designing Parametric Cubic Curves
Prof. Pushpak Bhattacharyya, IIT Bombay
Presentation transcript:

Computer Aided Geometric Design (talk at Jai Hind College, Mumbai, 15 th December, 2004) Milind Sohoni Department of Computer Science and Engg. IIT Powai Sources:

Ahmedabad-Visual Design Office Kolhapur-Mechanical Design Office Saki Naka – Die Manufacturer Lucknow- Soap manufacturer A Solid Modeling Fable

Ahmedabad-Visual Design Input: A dream soap tablet Output: Sketches/Drawings Weights Packaging needs

Soaps

More Soaps

Ahmedabad (Contd.) Top View Front View Side View

Kolhapur-ME Design Office Called an expert CARPENTER Produce a model (check volume etc.) Sample the model and produce a data- set

Kolhapur(contd.)

Connect these sample- points into a faceting Do mechanical analysis Send to Saki Naka

Saki Naka-Die Manufacturer Take the input faceted solid. Produce Tool Paths Produce Die

The Mechanics of it…..

Lucknow-Soaps Use the die to manufacture soaps Package and transport to points of sale

Problems began… The die degraded in Lucknow The Carpenter died in Kolhapur Saki Naka upgraded its CNC machine The wooden model eroded But The Drawings were there!

So Then…. The same process was repeated but… The shape was different! The customer was suspicious and sales dropped!!!

The Soap Alive !

What was lacking was… A Reproducible Solid- Model. Surfaces defn Tactile/point sampling Volume computation Analysis

The Solid-Modeller Modeller Operations Representations

The mechanical solid-modeller Operations Volume Unions/Intersections Extrude holes/bosses Ribs, fillets, blends etc. Representation Surfaces- x,y,z as functions in 2 parameters Edges – x,y,z as functions in 1 parameter

Examples of Solid Models TorusLock

Even more examples Slanted Torus Bearing

Other Modellers-Surface Modelling

Chemical plants.

Chemical Plants (contd.)

Basic Solution: Represent each surface/edge by equations e1 e2 e1: part of a line X=1+t; Y=t, Z=1.2+t t in [0,2.3] e2: part of a circle X= cos t Y= sin t Z=1.2 T in [-2.3,2.3] f1 f1: part of a plane X=3+2u-1.8v Y=4-2u Z=7 [u,v] in Box

A Basic Problem Construction of defining equations Given data points arrive at a curve approximating this point-set. Obtain the equation of this curve

The Basic Process Choose a set of basis functions Observe these at the data points Get the best linear combination In our case, Polynomials 1, x, x^2, x^3 P(x)=a0+a1.x+a2.x^2+…

The Observations Process 1 11 x x^ =B v6.12

The Matrix Setting We have The basis observations Matrix B which is 5-by-100 The desired observations Matrix v which is 1-by-100 We want: a which is 1-by-5 so that aB is close to v

The minimization Minimize least-square error (i.e. distance squared). (6.1-a0.1-a1.1.2-a2.1.44)^2+…+(2-1.a a a2)^2 +… Thus, this is a quadratic function in the variables a0,a1,a2,… And is easily minimized x x^ v6.12 a0 a1 a2

A Picture Essentially, projection of v onto the space spanned by the basis vectors

The calculation How does one minimize 1.1 a0^ a0 a a1^2 ? Differentiate! 2.2 a a1 =0 3.7 a a1=0 Now Solve to get a0,a1

We did this and…. So we did this for surfaces (very similar) and here are the pictures…

And the surface..

Unsatisfactory…. Observation: the defect is because of bad curvatures, which is really swings in double-derivatives! So, how do we rectify this? We must ensure that if p(x)=a0 +a1.x +a2.x^2 +… and q(x)=p’’(x) then q(x)>=0 for all x

What does this mean? q(x)=2.a2+6.a3.x+12.a4.x^2 +… Thus q(1)>=0, q(2)>=0 means 2.a2 +6.a3 +12.a4 >=0 2.a2 +12.a3+48.a4 >=0 Whence, we need to pose some linear inequalities on the variables a0,a1,a2,…

So here is the picture…

The smooth picture

Another example

The rough and the smooth

In conclusion A brief introduction to CAGD Curves and Surfaces as equations Optimization-Least square Quadratic Programing Linear Constraints Quadratic Costs See THANKS