SlideShare a Scribd company logo
1 of 17
B-SPLINE CURVE
FAKIR MOHAN UNIVERSITY
DEPT. OF COMPUTER SCIENCE
NAME-SUBHASHREE PRADHAN
ROLLNO:-15101FT222032
GUIDED BY DR.MINATI MISHRA
CONTENT:-
SPLINE CURVE
TYPES OF SPLINE CURVE
B-SPLINE CURVE
PROPERTIES OF B-SPLINE CURVE
BLENDING FUNCTION
TYPES OF KNOT VECTOR
BEZIER CURVE VS B-SPLINE CURVE
ADVANTAGE OF B-SPLINE CURVE
APPLICATION OF B-SPLINE CURVE
CONCLUSION
Spline Curve:-
 A spline curve is a mathematical function that is defined piecewise by polynomials.
This means that the curve is made up of a series of polynomial segments, each of which
is connected to the next segment smoothly. Each segment, called a spline, is controlled
by a set of control points or knots.
 Spline curves are often used in computer graphics and computer-aided design (CAD)
because they can be used to represent smooth, complex curves.
Types Of Spline Curve:-
Some of the types of Spline curves that are commonly used are :-
Spline Curve
Bezier B-Spline
B-Spline Curve:-
 Concept of B-spline curve came to resolve the disadvantages having by Bezier curve, as
we all know that both curves are parametric in nature. In Bezier curve we face a problem,
when we change any of the control point respective location the whole curve shape gets
change. But here in B-spline curve, the only a specific segment of the curve-shape gets
changes or affected by the changing of the corresponding location of the control points.
 A B-spline curve is a piecewise polynomial curve that is defined by a set of control
points and a knot vector. The knot vector specifies the location of the knots, which are the
points at which the polynomial segments of the curve are joined. The control points control
the shape of the curve.
• We can write a general expression for the calculation of coordinate positions along a B-spline curve in a
blending-function formulation as
• where the 𝑃𝑘are an input set of n + 1 control points.
• The range of parameter ‘u’ now depends on how we choose the B-spline parameters.
• The B-spline blending functions 𝑩𝒌,𝒅 are polynomials of degree (d – 1), where parameter d can be
chosen to be any integer value in the range from 2 up to the number of control points ( n + 1).
• Local control for B-splines is achieved by defining the blending functions over subintervals of the total
range of ‘u’.
Properties of B-spline curve:-
1) B-spline basis is non-global(local) effect. In this each control point affects the shape of the curve only
over range of parameter values where its associated basis function is non-zero.
2) The degree of B-spline is independent of No. of control points.
3) We can add/modify any no. of control points to change the shape of the curve without affecting the
degree of polynomial.
4) Local control for the B-spline is achieved by defining a blending function over “d” subintervals over the
total range of “u”. The selected set of subinterval endpoints 𝑢𝑘is referred to as a knot vector.
o for example;
Degree=2, Control points=3, Total Knot=?, Knot Vector =?
A:- Degree=d-1=2 Control Points=n+1=3
=>d=3 =>n=2
Here 𝑢𝑖 = 0 ≤ 𝑖 ≤ 𝑛 + 𝑑
= 0 ≤ 𝑖 ≤ 5
Knot Vectors={𝑢0, 𝑢1, 𝑢2, 𝑢3, 𝑢4, 𝑢5}
Knot Values= {0,0,0,1,1,1}
𝑢𝑖 =
0, 𝑖 < 𝑑
𝑖 − 𝑑 + 1, 𝑑 ≤ 𝑖 ≤ 𝑛
𝑛 − 𝑑 + 2, 𝑖 > 𝑛
5) The polynomial curve has degree d-1 & 𝐶𝑑−2continuity over the range of u.
6) The range of parameter “u” is divided into “n+d” subintervals by “n+d+1” values.
7) The curve lies within the convex hull of its defining polygon.
8) Each Blending function 𝐵𝑘,𝑑 is defined over d no. of subinterval over the range of “u”, starting from knot
value 𝑢𝑘.
9) The sum of the B-spline basis function for any parameter value u is 1.
𝑘=0
𝑛
𝐵𝑘,𝑑 𝑢 = 1
Blending Function(𝑩𝒌,𝒅):-
 Blending functions for B-spline curves are defined by the Cox-deBoor recursion formulas:
Types of Knot Vector:-
1) Uniform Knot:- In a Uniform Knot vector individual knot values are evenly spaced
e.g.[0 1 2 3 4].
2) Open Uniform Knot:- It has multiplicity of knot values at the ends equal to the order k
of B-spline basis function/blending function. Interval knot values are evenly spaced.
e.g.
k=2[0 0 1 2 3 3 ]
k=3[0 0 0 1 2 3 3 3]
• The data points in the Bezier Curve are n-1 and the
Bezier Curve deals with polynomials of degree n.
• The data points and the degree of the data points are
dependent in the Bezier Curve modelling.
• The shape of the curve is manipulated globally using
the control points.
• The shape of the curve is can easily be disturbed
because when you try to change the single control
point whole shape of the curve will be changed.
• The Bezier Curve has the global control over the
curve.
• The curves produced by the Bezier Curve are not that
clear when compared to the curves produced by the
B-Spline curve.
• The computation of the Bezier curve is easy when
compared to B-Spline curve.
• The data points in the B-Spline curve are n+1 data
points and the B-Spline curve deals with the
polynomials of any degree from one to n.
• The data points and the degree of the data points
in the B-Spline curve are independent there will
be no relation between them.
• The shape of the curve is locally manipulated
using the control points.
• The shape of the curve is not disturbed easily
because changing one of the control points does
not change the whole shape of the curve.
• The B-Spline curve has the local control over the
curve.
• The B-Spline curve produces clearer and neat
curves than the Bezier Curve.
• The computation of the B-Spline curve is
somewhat tough when compared to Bezier Curve.
BEZIER CURVE:- B-SPLINE CURVE:-
ADVANTAGES & DISADVANTAGES OF B-SPLINE CURVE:-
ADVANTAGES:-
The B-Spline curve produces clearer and neat
curves when compared to Bezier Curve.
The B-Spline Curves can be used for the
polynomials of any degree.
The shape of the curve is locally manipulated
or controlled so that there will be fewer
disturbances in the curve.
DISADVANTAGES:-
The B-Spline curve always require more
control points because every control point can
only control some part of the curve.
The B-Spline curve computation is a bit hard
process when compared to the computation of
the Bezier Curve.
APPLICATION :-
Modeling animation characters for the purposes of modeling
animated movies and True Type fonts.
In the calculation of optimal orbit and trajectory of aircraft
flight.
CONCLUSION:-
B-splines are not used very often in 2D graphics software but are used quite
extensively in 3D modeling software.
They have an advantage over Bezier curves in that they are smoother and
easier to control.
B-splines consist entirely of smooth curves, but sharp corners can be
introduced by joining two spline curve segments.
The continuous curve of a b-spline is defined by control points. While the
curve is shaped by the control points, it generally does not pass through
them.
REFERENCES:-
Computer Graphics C Version by Donald Hearn & M Pauline Baker II
Edition.
Fred T. Hofstetter, Multimedia Literacy, Tata McGraw Hill, 1995.
R1. Roy A. Plastock & Zhigang Xiang, Schaum’s Outline of Computer
Graphics, Second Edition, Tata McGraw-Hill.
CGM-B-SPLINE CURVE.pptx

More Related Content

What's hot

What's hot (20)

K - Map
  K - Map    K - Map
K - Map
 
Design and Analysis of Algorithms
Design and Analysis of AlgorithmsDesign and Analysis of Algorithms
Design and Analysis of Algorithms
 
Bezier Curve
Bezier Curve Bezier Curve
Bezier Curve
 
Bezier curve computer graphics
Bezier curve computer graphics Bezier curve computer graphics
Bezier curve computer graphics
 
Sequence detector Verilog Code
Sequence detector Verilog CodeSequence detector Verilog Code
Sequence detector Verilog Code
 
Module 2 logic gates
Module 2  logic gatesModule 2  logic gates
Module 2 logic gates
 
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdfCS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
How to install Windows 7
How to install Windows 7 How to install Windows 7
How to install Windows 7
 
B-spline
B-spline B-spline
B-spline
 
Bezier Curve and Spline Curve
Bezier Curve and Spline CurveBezier Curve and Spline Curve
Bezier Curve and Spline Curve
 
Bezier curve & B spline curve
Bezier curve  & B spline curveBezier curve  & B spline curve
Bezier curve & B spline curve
 
Undecidable Problem
Undecidable ProblemUndecidable Problem
Undecidable Problem
 
Illumination Models & Shading
Illumination Models & ShadingIllumination Models & Shading
Illumination Models & Shading
 
multimedia and computer graphics
multimedia and computer graphicsmultimedia and computer graphics
multimedia and computer graphics
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
 
Backtracking
Backtracking  Backtracking
Backtracking
 
3D transformation and viewing
3D transformation and viewing3D transformation and viewing
3D transformation and viewing
 
Windows 7, 8, 8.1 & 10
Windows 7, 8, 8.1 & 10Windows 7, 8, 8.1 & 10
Windows 7, 8, 8.1 & 10
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 

Similar to CGM-B-SPLINE CURVE.pptx

Hermit curves &amp; beizer curves
Hermit curves &amp; beizer curvesHermit curves &amp; beizer curves
Hermit curves &amp; beizer curvesKKARUNKARTHIK
 
Unit 2 curves &amp; surfaces
Unit 2  curves &amp; surfacesUnit 2  curves &amp; surfaces
Unit 2 curves &amp; surfacesS.DHARANI KUMAR
 
Geometric Curves
Geometric Curves Geometric Curves
Geometric Curves jntuhcej
 
CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)Priscilla CPG
 
Curves wire frame modelling
Curves wire frame modellingCurves wire frame modelling
Curves wire frame modellingjntuhcej
 
UNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxUNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxdinesh babu
 
ME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modelingME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modelingJavith Saleem
 
UNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGUNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGTAMILMECHKIT
 
Bezeir curve na B spline Curve
Bezeir curve na B spline CurveBezeir curve na B spline Curve
Bezeir curve na B spline CurvePooja Dixit
 
5_6221983039971394498.pptx
5_6221983039971394498.pptx5_6221983039971394498.pptx
5_6221983039971394498.pptxNachiketKadlag1
 
Unit 2-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURING
Unit 2-ME8691 & COMPUTER AIDED DESIGN AND    MANUFACTURINGUnit 2-ME8691 & COMPUTER AIDED DESIGN AND    MANUFACTURING
Unit 2-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURINGMohanumar S
 
Geomentric Modelling
Geomentric Modelling Geomentric Modelling
Geomentric Modelling Muthukumar V
 
Geometric modeling
Geometric modelingGeometric modeling
Geometric modelingRahul Yadav
 
Curve modeling-bezier-curves
Curve modeling-bezier-curvesCurve modeling-bezier-curves
Curve modeling-bezier-curvesMahmudul Hasan
 
Curve modeling bezier curves
Curve modeling bezier curvesCurve modeling bezier curves
Curve modeling bezier curvesjhansi1986
 

Similar to CGM-B-SPLINE CURVE.pptx (20)

Hermit curves &amp; beizer curves
Hermit curves &amp; beizer curvesHermit curves &amp; beizer curves
Hermit curves &amp; beizer curves
 
Unit 2 curves &amp; surfaces
Unit 2  curves &amp; surfacesUnit 2  curves &amp; surfaces
Unit 2 curves &amp; surfaces
 
Geometric Curves
Geometric Curves Geometric Curves
Geometric Curves
 
CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)
 
Curves wire frame modelling
Curves wire frame modellingCurves wire frame modelling
Curves wire frame modelling
 
UNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxUNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptx
 
ME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modelingME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modeling
 
UNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGUNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLING
 
Bezeir curve na B spline Curve
Bezeir curve na B spline CurveBezeir curve na B spline Curve
Bezeir curve na B spline Curve
 
5_6221983039971394498.pptx
5_6221983039971394498.pptx5_6221983039971394498.pptx
5_6221983039971394498.pptx
 
CAD
CADCAD
CAD
 
Introduction to the curves
Introduction to the curvesIntroduction to the curves
Introduction to the curves
 
Unit 2-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURING
Unit 2-ME8691 & COMPUTER AIDED DESIGN AND    MANUFACTURINGUnit 2-ME8691 & COMPUTER AIDED DESIGN AND    MANUFACTURING
Unit 2-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURING
 
Geomentric Modelling
Geomentric Modelling Geomentric Modelling
Geomentric Modelling
 
Geometric modeling
Geometric modelingGeometric modeling
Geometric modeling
 
Curve modeling-bezier-curves
Curve modeling-bezier-curvesCurve modeling-bezier-curves
Curve modeling-bezier-curves
 
Spline representations
Spline representationsSpline representations
Spline representations
 
CAD / CAM NURBS
CAD / CAM NURBSCAD / CAM NURBS
CAD / CAM NURBS
 
curve one
curve onecurve one
curve one
 
Curve modeling bezier curves
Curve modeling bezier curvesCurve modeling bezier curves
Curve modeling bezier curves
 

Recently uploaded

Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

CGM-B-SPLINE CURVE.pptx

  • 1. B-SPLINE CURVE FAKIR MOHAN UNIVERSITY DEPT. OF COMPUTER SCIENCE NAME-SUBHASHREE PRADHAN ROLLNO:-15101FT222032 GUIDED BY DR.MINATI MISHRA
  • 2. CONTENT:- SPLINE CURVE TYPES OF SPLINE CURVE B-SPLINE CURVE PROPERTIES OF B-SPLINE CURVE BLENDING FUNCTION TYPES OF KNOT VECTOR BEZIER CURVE VS B-SPLINE CURVE ADVANTAGE OF B-SPLINE CURVE APPLICATION OF B-SPLINE CURVE CONCLUSION
  • 3. Spline Curve:-  A spline curve is a mathematical function that is defined piecewise by polynomials. This means that the curve is made up of a series of polynomial segments, each of which is connected to the next segment smoothly. Each segment, called a spline, is controlled by a set of control points or knots.  Spline curves are often used in computer graphics and computer-aided design (CAD) because they can be used to represent smooth, complex curves.
  • 4. Types Of Spline Curve:- Some of the types of Spline curves that are commonly used are :- Spline Curve Bezier B-Spline
  • 5. B-Spline Curve:-  Concept of B-spline curve came to resolve the disadvantages having by Bezier curve, as we all know that both curves are parametric in nature. In Bezier curve we face a problem, when we change any of the control point respective location the whole curve shape gets change. But here in B-spline curve, the only a specific segment of the curve-shape gets changes or affected by the changing of the corresponding location of the control points.  A B-spline curve is a piecewise polynomial curve that is defined by a set of control points and a knot vector. The knot vector specifies the location of the knots, which are the points at which the polynomial segments of the curve are joined. The control points control the shape of the curve.
  • 6.
  • 7. • We can write a general expression for the calculation of coordinate positions along a B-spline curve in a blending-function formulation as • where the 𝑃𝑘are an input set of n + 1 control points. • The range of parameter ‘u’ now depends on how we choose the B-spline parameters. • The B-spline blending functions 𝑩𝒌,𝒅 are polynomials of degree (d – 1), where parameter d can be chosen to be any integer value in the range from 2 up to the number of control points ( n + 1). • Local control for B-splines is achieved by defining the blending functions over subintervals of the total range of ‘u’.
  • 8. Properties of B-spline curve:- 1) B-spline basis is non-global(local) effect. In this each control point affects the shape of the curve only over range of parameter values where its associated basis function is non-zero. 2) The degree of B-spline is independent of No. of control points. 3) We can add/modify any no. of control points to change the shape of the curve without affecting the degree of polynomial. 4) Local control for the B-spline is achieved by defining a blending function over “d” subintervals over the total range of “u”. The selected set of subinterval endpoints 𝑢𝑘is referred to as a knot vector. o for example; Degree=2, Control points=3, Total Knot=?, Knot Vector =? A:- Degree=d-1=2 Control Points=n+1=3 =>d=3 =>n=2
  • 9. Here 𝑢𝑖 = 0 ≤ 𝑖 ≤ 𝑛 + 𝑑 = 0 ≤ 𝑖 ≤ 5 Knot Vectors={𝑢0, 𝑢1, 𝑢2, 𝑢3, 𝑢4, 𝑢5} Knot Values= {0,0,0,1,1,1} 𝑢𝑖 = 0, 𝑖 < 𝑑 𝑖 − 𝑑 + 1, 𝑑 ≤ 𝑖 ≤ 𝑛 𝑛 − 𝑑 + 2, 𝑖 > 𝑛 5) The polynomial curve has degree d-1 & 𝐶𝑑−2continuity over the range of u. 6) The range of parameter “u” is divided into “n+d” subintervals by “n+d+1” values. 7) The curve lies within the convex hull of its defining polygon. 8) Each Blending function 𝐵𝑘,𝑑 is defined over d no. of subinterval over the range of “u”, starting from knot value 𝑢𝑘. 9) The sum of the B-spline basis function for any parameter value u is 1. 𝑘=0 𝑛 𝐵𝑘,𝑑 𝑢 = 1
  • 10. Blending Function(𝑩𝒌,𝒅):-  Blending functions for B-spline curves are defined by the Cox-deBoor recursion formulas:
  • 11. Types of Knot Vector:- 1) Uniform Knot:- In a Uniform Knot vector individual knot values are evenly spaced e.g.[0 1 2 3 4]. 2) Open Uniform Knot:- It has multiplicity of knot values at the ends equal to the order k of B-spline basis function/blending function. Interval knot values are evenly spaced. e.g. k=2[0 0 1 2 3 3 ] k=3[0 0 0 1 2 3 3 3]
  • 12. • The data points in the Bezier Curve are n-1 and the Bezier Curve deals with polynomials of degree n. • The data points and the degree of the data points are dependent in the Bezier Curve modelling. • The shape of the curve is manipulated globally using the control points. • The shape of the curve is can easily be disturbed because when you try to change the single control point whole shape of the curve will be changed. • The Bezier Curve has the global control over the curve. • The curves produced by the Bezier Curve are not that clear when compared to the curves produced by the B-Spline curve. • The computation of the Bezier curve is easy when compared to B-Spline curve. • The data points in the B-Spline curve are n+1 data points and the B-Spline curve deals with the polynomials of any degree from one to n. • The data points and the degree of the data points in the B-Spline curve are independent there will be no relation between them. • The shape of the curve is locally manipulated using the control points. • The shape of the curve is not disturbed easily because changing one of the control points does not change the whole shape of the curve. • The B-Spline curve has the local control over the curve. • The B-Spline curve produces clearer and neat curves than the Bezier Curve. • The computation of the B-Spline curve is somewhat tough when compared to Bezier Curve. BEZIER CURVE:- B-SPLINE CURVE:-
  • 13. ADVANTAGES & DISADVANTAGES OF B-SPLINE CURVE:- ADVANTAGES:- The B-Spline curve produces clearer and neat curves when compared to Bezier Curve. The B-Spline Curves can be used for the polynomials of any degree. The shape of the curve is locally manipulated or controlled so that there will be fewer disturbances in the curve. DISADVANTAGES:- The B-Spline curve always require more control points because every control point can only control some part of the curve. The B-Spline curve computation is a bit hard process when compared to the computation of the Bezier Curve.
  • 14. APPLICATION :- Modeling animation characters for the purposes of modeling animated movies and True Type fonts. In the calculation of optimal orbit and trajectory of aircraft flight.
  • 15. CONCLUSION:- B-splines are not used very often in 2D graphics software but are used quite extensively in 3D modeling software. They have an advantage over Bezier curves in that they are smoother and easier to control. B-splines consist entirely of smooth curves, but sharp corners can be introduced by joining two spline curve segments. The continuous curve of a b-spline is defined by control points. While the curve is shaped by the control points, it generally does not pass through them.
  • 16. REFERENCES:- Computer Graphics C Version by Donald Hearn & M Pauline Baker II Edition. Fred T. Hofstetter, Multimedia Literacy, Tata McGraw Hill, 1995. R1. Roy A. Plastock & Zhigang Xiang, Schaum’s Outline of Computer Graphics, Second Edition, Tata McGraw-Hill.