Archive:Kdenlive/Manual/Effects/Alpha manipulation/Alpha shapes: Difference between revisions

From KDE UserBase Wiki
Line 47: Line 47:
}}
}}


'''Worked Examples'''


To me it seems that this effect draws areas of opacity onto the image. The addition of this filter appears to make the whole frame transparent except for an area of opaqueness where the top image can be seen.
[[File:Example composite transition.png]]
 
These examples are performed on a simple composite transition with a video file on Video track 1 and a colour clip (yellow) on Video track 2
 
To me it seems that this effect draws areas of opacity onto the image. The addition of this filter (with the default settings of Min = 0 and Max =1000)  makes the whole frame transparent except for an area of opaqueness where the top image can be seen.
 
The Max and Min controls adjust the opacity of the image inside and outside of the shape respectively. A setting of 1000 is 100% opaque. A setting of zero is 100% Transparent/ 0 % Opaque.


'''Max control'''
'''Max control'''
Line 65: Line 72:


At Max = 0 inside the shape is completely transparent - the same as the rest of the foreground image - and you can see all background.
At Max = 0 inside the shape is completely transparent - the same as the rest of the foreground image - and you can see all background.
'''Min Control'''
[[File:Alpha shapes min control.png]]
The Min control adjusts how opaque it is outside the shape. When Min = 0 outside the shape is completely transparent (opacity of zero) and at Min = 500 we see some of the foreground appear outside the shape.
[[File:Alpha shapes min control2.png]]
At Min = 1000 the opacity outside the shape is 100% and none of the background appears.

Revision as of 16:06, 12 July 2012

Alpha Shapes

Currently Being Edited

This page is currently being edited.
If this notice persists for an unreasonable time, please either notify irc.freenode.org #kde-www or report on Claus chr's Talk page

Note: Pages should not normally be marked for translation while they are being actively worked on


This is the Frei0r filter alphaspot

Use this in combination with a composite transition to place areas of transparency onto an overlaying clip such that the underlying clip shows through in places defined by geometric shapes.


Shape Options

Shape options are Rectangle, Elipse, Triangle Diamond.


Operations

Operations are Write On Clear, Max, Min, Add, Subtract.

Operations define what is to happen when you have more than one Alpha effect on the clip.

For example if the bottom effect in the stack has Write On Clear as the operation then it clears the alpha channel data from the other effects and the channel in the bottom effect takes precidence.

Operation Min - the two effects alpha channels are combined and the clip is transparent only where the two alpha channels overlap

Operation Add - the two effects alpha channels are combined and the clip is transparent anywhere either of the two alpha channels are transparent.

Operation Max - the two effects alpha channels are combined and the clip is transparent anywhere either of the two alpha channels are transparent. (Yes I dunno what the difference between Add and Max is)

Operation Subtract - the clip is transparent where the first alpha chanel does not overlap with the second but the clip is opaque where the two clips overlap and where the second alpha effect is transparent. IE you start with what the first alpha effect has as transparent and subtract away transparency using the shape of the second alpha effect.

Thoughts and Guesses on how this works

Currently Being Edited

This page is currently being edited.
If this notice persists for an unreasonable time, please either notify irc.freenode.org #kde-www or report on Claus chr's Talk page

Note: Pages should not normally be marked for translation while they are being actively worked on


Documentation is thin on the ground for this and so I am going to try and create some by experimentation with the functionality. I plan on using this as a scratch pad while I gather my thoughts.

The operations options are the same as are on rotoscoping. And the Frei0r doco on rotoscoping say this about the alpha operations. I am guessing the options mean the same thing on this effect

Operation = How to proceed with the current alpha mask 
clear = existing alpha mask is overwritten
max = maximum: existing alpha mask, mask generated by this filter
min = minimum: existing alpha mask, mask generated by this filter
add = existing alpha mask + generated mask
sub = existing alpha mask - generated mask

Worked Examples

These examples are performed on a simple composite transition with a video file on Video track 1 and a colour clip (yellow) on Video track 2

To me it seems that this effect draws areas of opacity onto the image. The addition of this filter (with the default settings of Min = 0 and Max =1000) makes the whole frame transparent except for an area of opaqueness where the top image can be seen.

The Max and Min controls adjust the opacity of the image inside and outside of the shape respectively. A setting of 1000 is 100% opaque. A setting of zero is 100% Transparent/ 0 % Opaque.

Max control

The Max control regulates how opaque it is inside the shape. At Max= 1000 it is completly opaque inside the shape and none of the background image shows through


At Max = 500 it is semi transparent inside the shape and you can see the background bleeding through.


At Max = 0 inside the shape is completely transparent - the same as the rest of the foreground image - and you can see all background.

Min Control

The Min control adjusts how opaque it is outside the shape. When Min = 0 outside the shape is completely transparent (opacity of zero) and at Min = 500 we see some of the foreground appear outside the shape.

At Min = 1000 the opacity outside the shape is 100% and none of the background appears.