SlideShare a Scribd company logo
1 of 12
Download to read offline
Vantaggi delle curve B-Spline
•    Il grado della curva è indipendente dal
  numero dei punti di controllo => si può usare
  un elevato numero di punti di controllo senza
  che s’inneschino oscillazioni nella curva
•     Le funzioni di miscelamento sono diverse
  da zero solo in un intervallo => si può
  spostare un punto di controllo senza
  modificare l’intera curva




Le curve Spline,B-spline e Bézier formano
  i principali metodi di modellazione di
  curve CAD.
Svantaggio: queste curve rappresentano
  le forme quadratiche solo in modo
  approssimato (es. coniche)




                  NURBS
NURBS




Le curve B-spline si dividono in tre
   categorie:

•   uniformi
•   non uniformi
•   razionali
NURBS: B-spline razionali non uniformi
       (Non Uniform Rational B-spline)



lo distanza fra i nodi non è uniforme




                   u1 u2 u3 u4 u5 u6    un
                                             u




      Vantaggi delle NURBS
• a differenza delle B-spline possono
  rappresentare esattamente le curve
  coniche



        analogamente per le superfici
             (es. sfere, cilindri)
• Le NURBS sono generalmente più utili
  nell’interpolazione




  permettono di interpolare anche punti
  non uniformemente equispaziati




• Ulteriori parametri, detti “pesi” (weights),
  permettono un controllo più fine della
  curva




  I pesi (wi) determinano l’influenza di un
  punto di controllo su un tratto limitato
  della curva
Le NURBS sono una
 generalizzazione delle forme
     B-Spline e di Bézier




  Espressione delle NURBS
                 n
        p(u) =       p R (u)
                      i i, k
                 i=0

dove:
  pi : i-esimo punto di controllo
  Ri,k(u) : funz. di miscelamento NURBS
• Le funzioni di miscelamento delle
   NURBS sono:
                          N i, k ( u)w i
          R i, k ( u ) = n
                           N j, k (u)w j
                      j= 0

 dove
        Ni,k funz. miscelamento B-spline
        wi “peso” i-esimo punto di controllo




                  Proprietà
• Le funzioni di miscelamento sono dei
  rapporti di polinomi => da qui il termine
  Razionali
• Hanno le stesse proprietà analitiche e
  geometriche delle B-Spline
• Se tutti i pesi sono unitari (wi=1,i=1,..,n)
  Ri,k(u) = Ni,k(u)
Cambiando il valore di un solo peso wi si
modificano solo k tratti consecutivi di
curva (con k=ordine curva)




Si possono pensare i pesi come fattori di
accoppiamento fra il punto di controllo e
la curva NURBS (es. aumentando il peso si
attira la curva verso il punto di controllo)




   Si può dimostrare che le
      forme coniche sono
 rappresentabili esattamente
         dalle NURBS
Le Coniche




     Equazioni delle coniche
                      y

• cerchio                 r

      x2 + y2 = r2             x




• ellisse
       x2 y2
          + =1
       a 2 b2
• parabola

         y = ax 2 + bx + c


• iperbole (equilatera)

          xy = c




• Una curva polinomiale cubica può
  rappresentare esattamente un arco di
  parabola nello spazio
     x( u) = a 0 + a 1 u + a 2 u 2 + a 3 u 3
     y( u ) = b 0 + b 1 u + b 2 u 2 + b 3 u 3
     z(u) = c 0 + c 1 u + c 2 u 2 + c 3 u 3
La mappa proiettiva della cubica sul
piano z=1 genera un’altra conica che
può essere una iperbole o ellisse
descritta dal punto corrente di
coordinate:

      [xw yw] <=> [x/z   y/z     1]




       z
                   ARCO DI PARABOLA




                           (X,Y,Z)


                                       y




x
z
                                   ARCO DI PARABOLA




                                              (X,Y,Z)


                         (X/Z,Y/Z,1)
                                                        y
    Z=1




                ARCO DI IPERBOLE
x




                z




                                          p
                                              (X,Y,Z)
          Z=1
                    p’
                         (X/Z,Y/Z,1)
                                                        y
           O
                    q’
                                           q
x
z
                         ARCO DI PARABOLA




                                 (X,Y,Z)


                                            y
    Z=1        (X/Z,Y/Z,1)




          ARCO DI IPERBOLE
x

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

7 curve bspline

  • 1. Vantaggi delle curve B-Spline • Il grado della curva è indipendente dal numero dei punti di controllo => si può usare un elevato numero di punti di controllo senza che s’inneschino oscillazioni nella curva • Le funzioni di miscelamento sono diverse da zero solo in un intervallo => si può spostare un punto di controllo senza modificare l’intera curva Le curve Spline,B-spline e Bézier formano i principali metodi di modellazione di curve CAD. Svantaggio: queste curve rappresentano le forme quadratiche solo in modo approssimato (es. coniche) NURBS
  • 2. NURBS Le curve B-spline si dividono in tre categorie: • uniformi • non uniformi • razionali
  • 3. NURBS: B-spline razionali non uniformi (Non Uniform Rational B-spline) lo distanza fra i nodi non è uniforme u1 u2 u3 u4 u5 u6 un u Vantaggi delle NURBS • a differenza delle B-spline possono rappresentare esattamente le curve coniche analogamente per le superfici (es. sfere, cilindri)
  • 4. • Le NURBS sono generalmente più utili nell’interpolazione permettono di interpolare anche punti non uniformemente equispaziati • Ulteriori parametri, detti “pesi” (weights), permettono un controllo più fine della curva I pesi (wi) determinano l’influenza di un punto di controllo su un tratto limitato della curva
  • 5. Le NURBS sono una generalizzazione delle forme B-Spline e di Bézier Espressione delle NURBS n p(u) = p R (u) i i, k i=0 dove: pi : i-esimo punto di controllo Ri,k(u) : funz. di miscelamento NURBS
  • 6. • Le funzioni di miscelamento delle NURBS sono: N i, k ( u)w i R i, k ( u ) = n N j, k (u)w j j= 0 dove Ni,k funz. miscelamento B-spline wi “peso” i-esimo punto di controllo Proprietà • Le funzioni di miscelamento sono dei rapporti di polinomi => da qui il termine Razionali • Hanno le stesse proprietà analitiche e geometriche delle B-Spline • Se tutti i pesi sono unitari (wi=1,i=1,..,n) Ri,k(u) = Ni,k(u)
  • 7. Cambiando il valore di un solo peso wi si modificano solo k tratti consecutivi di curva (con k=ordine curva) Si possono pensare i pesi come fattori di accoppiamento fra il punto di controllo e la curva NURBS (es. aumentando il peso si attira la curva verso il punto di controllo) Si può dimostrare che le forme coniche sono rappresentabili esattamente dalle NURBS
  • 8. Le Coniche Equazioni delle coniche y • cerchio r x2 + y2 = r2 x • ellisse x2 y2 + =1 a 2 b2
  • 9. • parabola y = ax 2 + bx + c • iperbole (equilatera) xy = c • Una curva polinomiale cubica può rappresentare esattamente un arco di parabola nello spazio x( u) = a 0 + a 1 u + a 2 u 2 + a 3 u 3 y( u ) = b 0 + b 1 u + b 2 u 2 + b 3 u 3 z(u) = c 0 + c 1 u + c 2 u 2 + c 3 u 3
  • 10. La mappa proiettiva della cubica sul piano z=1 genera un’altra conica che può essere una iperbole o ellisse descritta dal punto corrente di coordinate: [xw yw] <=> [x/z y/z 1] z ARCO DI PARABOLA (X,Y,Z) y x
  • 11. z ARCO DI PARABOLA (X,Y,Z) (X/Z,Y/Z,1) y Z=1 ARCO DI IPERBOLE x z p (X,Y,Z) Z=1 p’ (X/Z,Y/Z,1) y O q’ q x
  • 12. z ARCO DI PARABOLA (X,Y,Z) y Z=1 (X/Z,Y/Z,1) ARCO DI IPERBOLE x