Kdenlive/Руководство/Эффекты/Обработка альфа-канала/Операции с Альфа

From KDE Wiki Sandbox
Revision as of 13:32, 6 November 2012 by Bushuev (talk | contribs) (Created page with "'''Параметры:'''")
Other languages:

Обработка альфа-канала

Это Frei0r alpha0ps - Отображение и манипуляции с альфа-каналом.

Используйте это для сжатия, увеличения, ограничения и визуализации альфа-канала.

Из файла Frei0r-alpha0p readme:

Этот плагин может сжимать, расширять, ограничивать и инвертировать альфа-канал. Он предназначен в основном для улучшения краёв при рирпроекции. Он также может отображать альфа-канал различными способами, с тем чтобы быстро оценить эффект.

Он каскадируемый, так, например, можно сделать мягкое сжатие, а затем ограничение, что дает несколько иной результат, чем жесткое сжатие.

Параметры:

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 six choices: NO OP, Shave, Shrink hard, Shrink soft, Grow hard, Grow soft, Threshold.

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}}