Alpha Operations¶
Descrizione
This effect 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 and thus allows a soft shrink first followed by threshold which gives a slightly different result than a hard shrink[1].
Parametri
Parametro |
Valore |
Descrizione |
---|---|---|
Vista |
Selezione |
Cosa visualizzare (vedi sotto) |
Display input alpha (Visualizza l’ingresso alfa) |
Interruttore |
Use input alpha for the display function above (check what alpha we are getting on the input) |
Operazione |
Selezione |
Seleziona l’operazione da eseguire nel canale alfa (vedi sotto) |
Inverti |
Interruttore |
Inverte il canale alfa di ingresso, il trasparente diventa opaco e viceversa. |
Soglia (Threshold) |
Intero |
Usato solamente per l’operazione di Soglia |
Shrink/Grow/Blur |
Intero |
Depending on the chosen operation: How far the shrinking/growing will extend, or the amount of blur |
Sono disponibili le seguenti voci di selezione:
Visualizza
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 effect is intended to change only the alpha channel.
Immagine |
L’immagine dopo l’operazione (predefinito) |
Alfa è grigio |
Visualizza il canale alfa in grigio |
Grigio + rosso |
Visualizza il canale alfa in grigio, tutto il resto è rosso |
Selezione su nero |
Visualizza su uno sfondo nero tutto quello che non è nel canale alfa |
Selezione su grigio |
Visualizza su uno sfondo grigio tutto quello che non è nel canale alfa |
Selezione su bianco |
Visualizza su uno sfondo bianco tutto quello che non è nel canale alfa |
Selezione su scacchi |
Visualizza su uno sfondo a scacchi tutto quello che non è nel canale alfa |
Operazione
NO OP |
Non viene eseguita nessuna operazione |
Shave |
Tries to remove the «hairy» stuff, and also shrinks the selection a bit |
Shrink hard |
Shrinks the area of the alpha channel |
Shrink soft |
Shrinks the area of the alpha channel |
Grow hard |
Grows the area of the alpha channel |
Grow soft |
Grows the area of the alpha channel |
Soglia (Threshold) |
Aumenta o diminuisce l’area del canale alfa di una soglia |
Sfocatura |
Sfoca l’area tra il canale alfa e gli altri canali |
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.
Nota
Le opearzioni shave, shrink e grow sono piuttosto lente in quanto eseguono molte operazioni condizionali su ciascun pixel.
Note
This tutorial shows usage of Alpha Operations with Shrink Hard as well as the following effects: Chroma Key: di base, Riduttore di rumore, and Key Spill Mop Up.
Nota
Questo video è in qualche modo obsoleto. Nelle ultime versioni di Kdenlive l’effetto Key Spill Mop Up è installato per impostazione predefinita, e non è più necessario usare una transizione composita. Nonostante tutto i passi fondamentali del chroma keying e della ripulitura perdita chiave del colore che sono spiegati sono ancora validi.