Jump to content

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

From KDE Wiki Sandbox
Yurchor (talk | contribs)
mNo edit summary
Claus chr (talk | contribs)
m Claus chr moved page Kdenlive/Manual/Effects/Alpha manipulation/Alpha operations to Archive:Kdenlive/Manual/Effects/Alpha manipulation/Alpha operations without leaving a redirect: Part of translatable page "Kdenlive/Manual/Effects/Alpha manipulation/Alpha operations"
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
== Alpha operations ==
==== Alpha operations ==== <!--T:1-->


<!--T:2-->
This is Frei0r [http://www.mltframework.org/bin/view/MLT/FilterFrei0r-alpha0ps alpha0ps] - Display and manipulation of the alpha channel.
This is Frei0r [http://www.mltframework.org/bin/view/MLT/FilterFrei0r-alpha0ps alpha0ps] - Display and manipulation of the alpha channel.


<!--T:3-->
Use this to shrink, grow, threshold and visualize the alpha channel.
Use this to shrink, grow, threshold and visualize the alpha channel.


From the [http://www.piksel.no/trac/browser/src/filter/alpha0ps/readme Frei0r-alpha0p readme] file:
<!--T:5-->
 
This plugin can shrink, grow, threshold and invert the alpha channel. It is mainly intended to improve keying edges.
This plugin can shrink, grow, threshold and invert the alpha channel. It is mainly intended to improve keying edges.
It can also display the alpha channel in various ways, to enable quick assessment of the effect.
It can also display the alpha channel in various ways, to enable quick assessment of the effect.


<!--T:6-->
It is cascadable, so for example one can do a soft shrink first and then threshold, which gives a slightly different result than a hard shrink.
It is cascadable, so for example one can do a soft shrink first and then threshold, which gives a slightly different result than a hard shrink.


<!--T:7-->
'''Parameters:'''
'''Parameters:'''


<!--T:8-->
;'''Display:'''
;'''Display:'''
:what to display. There are seven options: <menuchoice>Image</menuchoice>, <menuchoice>Alpha as gray</menuchoice>, <menuchoice>Gray+red</menuchoice>, <menuchoice>Selection on black</menuchoice>, <menuchoice>Selection on gray</menuchoice>, <menuchoice>Selection on white</menuchoice> and <menuchoice>Selection on checkers</menuchoice>.<br /><br />This is intended for monitoring during adjustment mostly. After adjusting the parameters, it should be left on <menuchoice>Image</menuchoice>, which lets the unchanged input image through - this plugin is intended to change only the alpha channel...
:what to display. There are seven options: <menuchoice>Image</menuchoice>, <menuchoice>Alpha as gray</menuchoice>, <menuchoice>Gray+red</menuchoice>, <menuchoice>Selection on black</menuchoice>, <menuchoice>Selection on gray</menuchoice>, <menuchoice>Selection on white</menuchoice> and <menuchoice>Selection on checkers</menuchoice>.<br /><br />This is intended for monitoring during adjustment mostly. After adjusting the parameters, it should be left on <menuchoice>Image</menuchoice>, which lets the unchanged input image through - this plugin is intended to change only the alpha channel...


<!--T:9-->
;'''Display input alpha:'''
;'''Display input alpha:'''
:use input alpha for the display function above. (Check what alpha we are getting on the input)
:use input alpha for the display function above. (Check what alpha we are getting on the input)


<!--T:10-->
;'''Operation:'''
;'''Operation:'''
:select the operation to be done on the alpha channel. Currently there are six choices: <menuchoice>NO OP</menuchoice>, <menuchoice>Shave</menuchoice>, <menuchoice>Shrink hard</menuchoice>, <menuchoice>Shrink soft</menuchoice>, <menuchoice>Grow hard</menuchoice>, <menuchoice>Grow soft</menuchoice>, <menuchoice>Threshold</menuchoice>.
:select the operation to be done on the alpha channel. Currently there are eight choices: <menuchoice>NO OP</menuchoice>, <menuchoice>Shave</menuchoice>, <menuchoice>Shrink hard</menuchoice>, <menuchoice>Shrink soft</menuchoice>, <menuchoice>Grow hard</menuchoice>, <menuchoice>Grow soft</menuchoice>, <menuchoice>Threshold</menuchoice>, and <menuchoice>Blur</menuchoice>


<!--T:11-->
<menuchoice>Shave</menuchoice> try to remove the "hairy" stuff, and also shrinks the selection a bit.
<menuchoice>Shave</menuchoice> try to remove the "hairy" stuff, and also shrinks the selection a bit.


<!--T:12-->
The ''hard'' operations introduce no new values to the alpha channel, so if you have a "hard" key (only 0 and 255) it will stay that way.
The ''hard'' operations introduce no new values to the alpha channel, so if you have a "hard" key (only 0 and 255) it will stay that way.


<!--T:13-->
The ''soft'' operations will introduce interpolated values, making the edge softer.
The ''soft'' operations will introduce interpolated values, making the edge softer.


<!--T:14-->
{{Note|The shave, shrink and grow operations are quite slow, because they do many conditional operations on each pixel.}}
{{Note|The shave, shrink and grow operations are quite slow, because they do many conditional operations on each pixel.}}


<!--T:15-->
;'''Threshold:'''
;'''Threshold:'''
:This is only used for the Threshold operation.
:This is only used for the <menuchoice>Threshold</menuchoice> operation.


<!--T:16-->
;'''Shrink/grow amount:'''
;'''Shrink/grow amount:'''
:How far the shrinking/growing will extend.
:How far the shrinking/growing will extend.


<!--T:17-->
;'''Invert:'''
;'''Invert:'''
:Inverts the input alpha channel, transparent will become opaque and vice versa.
:Inverts the input alpha channel, transparent will become opaque and vice versa.


<!--T:18-->
{|
{|
|[[File:Alpha operations.png]]
| [[File:Alpha operations.png]]
|[[File:alpha_operations_display_menu.png|thumb|Display Menu Options]]
| [[File:alpha_operations_display_menu.png|thumb|Display Menu Options]]
|[[File:Alpha operations operation menu.png|thumb|Operation Menu Options]]
| [[File:Alpha operations operation menu.png|thumb|Operation Menu Options]]
|}
|}


=== Tutorial 1 ===
===== Tutorial 1 ===== <!--T:19-->


<!--T:20-->
Shows usage of alpha operations - <menuchoice>Shrink hard</menuchoice> as well as the following effects:  [[Special:MyLanguage/Kdenlive/Manual/Effects/Alpha_manipulation/Blue_Screen|blue screen]], [[Special:MyLanguage/Kdenlive/Manual/Effects/Enhancement/Denoiser|denoiser]]  and [[Kdenlive/Manual/Effects/Misc/keysplillm0pup|keysplillm0pup]]  
Shows usage of alpha operations - <menuchoice>Shrink hard</menuchoice> as well as the following effects:  [[Special:MyLanguage/Kdenlive/Manual/Effects/Alpha_manipulation/Blue_Screen|blue screen]], [[Special:MyLanguage/Kdenlive/Manual/Effects/Enhancement/Denoiser|denoiser]]  and [[Kdenlive/Manual/Effects/Misc/keysplillm0pup|keysplillm0pup]]  
{{#ev:youtube|l43Hz7YEcYU}}
{{#ev:youtube|l43Hz7YEcYU}}


<!--T:21-->
{{Prevnext2
{{Prevnext2
| prevpage=Special:MyLanguage/Kdenlive/Manual/Effects/Alpha_manipulation
| prevpage=Special:MyLanguage/Kdenlive/Manual/Effects/Alpha_manipulation
Line 59: Line 75:
}}
}}


<!--T:22-->
[[Category:Kdenlive]]
[[Category:Kdenlive]]
</translate>
</translate>

Latest revision as of 12:53, 15 August 2023

Alpha operations

This is Frei0r alpha0ps - Display and manipulation of the alpha channel.

Use this to shrink, grow, threshold and visualize the alpha channel.

This plugin can shrink, grow, threshold and invert the alpha channel. It is mainly intended to improve keying edges. It can also display the alpha channel in various ways, to enable quick assessment of the effect.

It is cascadable, so for example one can do a soft shrink first and then threshold, which gives a slightly different result than a hard shrink.

Parameters:

Display:
what to display. There are seven options: Image, Alpha as gray, Gray+red, Selection on black, Selection on gray, Selection on white and Selection on checkers.

This is intended for monitoring during adjustment mostly. After adjusting the parameters, it should be left on Image, which lets the unchanged input image through - this plugin is intended to change only the alpha channel...
Display input alpha:
use input alpha for the display function above. (Check what alpha we are getting on the input)
Operation:
select the operation to be done on the alpha channel. Currently there are eight choices: NO OP, Shave, Shrink hard, Shrink soft, Grow hard, Grow soft, Threshold, and Blur

Shave try to remove the "hairy" stuff, and also shrinks the selection a bit.

The hard operations introduce no new values to the alpha channel, so if you have a "hard" key (only 0 and 255) it will stay that way.

The soft operations will introduce interpolated values, making the edge softer.

Note

The shave, shrink and grow operations are quite slow, because they do many conditional operations on each pixel.


Threshold:
This is only used for the Threshold operation.
Shrink/grow amount:
How far the shrinking/growing will extend.
Invert:
Inverts the input alpha channel, transparent will become opaque and vice versa.
Display Menu Options
Operation Menu Options
Tutorial 1

Shows usage of alpha operations - Shrink hard as well as the following effects: blue screen, denoiser and keysplillm0pup {{#ev:youtube|l43Hz7YEcYU}}