Upload
wyatt-hansen
View
219
Download
0
Tags:
Embed Size (px)
Citation preview
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
SeminarOn
morphing
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Introduction
How morphing works ?
Types of morphing
Application of morphing
Benefits of morphing
conclusion
CONTENTS
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
What is morphing?
The term morphing stands for metamorphosing and refers to an animation technique in which one graphical object is gradually turned into another.
Simply speaking the tween of an object in between two existing objects is called morphing.
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
What is tweening ?
• Tweening means to insert between other things or parts, or to estimate values of a function between to known values.
• Ex we can tween a straight line between two straight lines.
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Find midpoints between A1, A2 and B1, B2 and name them A3and B3, respectively.
Join A3 and B3 to form the in between line.
A1 A2 B1
B2
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
HOW MORPHING WORKS ?
The morph between command is only active when exciting two objects are selected at the same time.
It performs a linear morph between the two objects with a specified number of interim steps.
The working of morphing based on the algorithm which described below.
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Morphing algorithm
• Warp
• Color dissolve
• Mapping
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
WARP :-It is the process of rotating, squeezing ,stretching or shearing of image pixels so that the source image matches with the target image in a sequence.Ex;-image is warped using a straight line using warped vector
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
BLACK
WHITE
GREEN
RED
Color dissolve Before we present the formulation of color dissolve, let us discuss some basics! A particular color is considered to be a vector in the orthogonal axes system as shown in the figure below. The three axes represent the true red, green and blue colours, commonly known as RGB space
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Color (r,g,b) denotes a vector from the origin to a point(r,g,b) in the RGB coordinate space.
The origin with r=0,g=0,and b=0 is conveniently considered as black.
Two color (vectors ) say (r1, g1, b1) and (r2, g2, b2) the average or midpoint is
{r m , g m , b m}={(r 1+ r 2) / 2 , ( g 1+ g 2 ) / 2, ( b1+ b2 ) / 2}
Contd..
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Mapping :-
It defines transformation which maps every point (x,y) in the source coordinates to the corresponding point (x’ ,y’) in the destination coordinates ( or vice versa ,if invertible) .
(x, y)( x’, y’)
The warping and color dissolve process are combinely known as mapping
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Types of morphing
• There two types of morphing
>> Image morphing
>> view morphing
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Image morphing
•Image morphing is the animated transformation of one digital image to other.
•In this morphing ,the first image is gradually distored and is faded out while as the second image starts out and is faded in.
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
What is transformation ?:
Transformation T: ( x, y) -> ( x’ ,y’ ) which defines the spatial relationship between two images.
( x’ ,y’ ) = T ( x ,y ) = ( x , y) + u( x , y)
..(X ,Y )
.( X’, Y’ )
Image AA IMAGE B
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
View MorphingThe morphing which does not cause any distortion is called view morphing.
View morphing is able to preserves 3D shape.
• cameras are parallel
• scene has no depth .
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
View Morphing Example
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Application of morphing
Audio morphing
Air craft morphing
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Morphing audio principle Context of lost : Previous Frame
Frame A
Missing Signal Next Frame
Frame B
Voiced / Unvoiced strategy
Pitch estimation
Frame A : P0
Pitch estimation
Frame B : P1
UVUV
VUV
UVV
VV
Frame BFrame AP0 , P1P0 , P1 = P0P0 = P1 , P1Unvoiced
signal
When missing signal is defined as unvoiced, Frame A is copied to missing
signal or comfort noise is generated
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Smoothing
.... ….…….. …….
……. …….Frame A Frame B
Synthesis Frame
Each block is then copied in the synthesis frame.
Blocks concaténation and smoothing
BK0 BK1BKi BK(n-1)
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Morphing audio principle Some results of concealed signal
Behaviour of the morphing technique during a transition frame (30ms) for male speech signal.
Original frame
Nb sample
Conceal frame
Nb sample
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Proposed technique improves the quality of the frame correction for strong lost rate (5 % and 10 %);
Morphing audio adds latency (Frame B is required) .
Another modelisation are possible and voiced condition can be controlled to improve restitution quality.
Advantages of this technique
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Air craft morphing
To tailor design for different mach ranges.
(I) Landing
(II ) Take-off
(III) cruise
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com
Conclusion:-
What I discussed so far ,these are only the abstract views of morphing. But in realistic world, morphing technique is very hard to implement . So being a software professionals we should aware of the minimum knowledge regarding morphing. Because it will help us in future if any body have an aim to design dynamic images in more advance form.
Apr 10, 2023Apr 10, 2023 www.fakengineer.comwww.fakengineer.com