Kdenlive/Manual/Effects/Alpha manipulation/Color Selection/ru: Difference between revisions

From KDE Wiki Sandbox
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 9: Line 9:
===Basic Technique===
===Basic Technique===


This section currently has no text. I will complete it later, right now I do not have the time.
Find a clip with a background (preferably multiple, or slighty complex, because the "chroma key effect" can do easy backgrounds such as green or blue). Add the color selection effect to the clip.


After this, either chose the color using the little droplet button. Click on the droplet button, and then click on the background part of the clip you want to remove. Adjust the Delta sliders until the background is removed correctly. This might need to experimenting. If you find it isn't removing the background well, try changing the "selection subspace" and experiment again. If you experimented and cycled through all the "selection subspaces", and the background isn't still removed properly, then it is probably too complicated for kdenlive to remove. At this point you will need to use [[Kdenlive/Manual/Effects/Alpha manipulation/Rotoscoping |Rotoscoping]].
If the effect took lots of time to experiment, and you will need to use this effect again, then click on the three horizontal lines in the top right corner, and then click "Save effect". Give the effect a name, and save. You can now search for this specific effect in your effects tab
=== All Options===
=== All Options===


Line 17: Line 20:
Here is a outline of all the options:
Here is a outline of all the options:


'''Выделяемый цвет (Color to select)''': выбор цвета. Это центральная точка цвета выбранного подпространства .
'''Color to select''': the color to select. This is the color that will be transparent/the only colour that is opaque.


'''Инвертировать выделение (Invert selection)''': Когда ON, выбранный цвет будет прозрачным, как правило, используется с кейингом. Когда OFF (по умолчанию) выбранный цвет будет непрозрачным, например, для альфа-контролируемого регулирования только  этого цвета.
'''Invert selection''': When ON (default), the selected color will be transparent. When OFF the selected color will be opaque. Keeping the selected colour opaque may be more effective if the foreground is simple and the background is complicated


'''Подпространство выделения (Selection Subspace)''' варианты: RGB (Red Green Blue), ABI and HCI  (Hue Chromacity Intensity)
'''Подпространство выделения (Selection Subspace)''' варианты: RGB (Red Green Blue), ABI and HCI  (Hue Chromacity Intensity)


These different options yield different results. While RGB should yield the sharpest and best results, sometimes (as [https://userbase.kde.org/User:TheMickyRosen-Left I] have seen from experience) the other option, HCI & ABI, can yield much better results then RGB. So if RGB isn't producing good results then try on of the other options. Note:'''Previews of video chroma keyed using HCI will be slow''' since it has to calculate values for every single pixel.
These different options yield different results. While RGB should yield the sharpest and best results, sometimes (as [https://userbase.kde.org/User:TheMickyRosen-Left I] have seen from experience) the other option, HCI & ABI, can yield much better results then RGB. So if RGB isn't producing good results then try on of the other options. Note:'''Previews of video chroma keyed using HCI will be slow''' since it has to calculate values for every single pixel.
Указывает, в каком из трех цветовых пространств (RGB, ABI, HCI) Delta Controls будет работать. Оба ABI и HCI разделяют яркость / цветность. HCI представляет собой цилиндрическое "Hue Chromacity Intensity" пространство, и ABI является декартовым вариантом. Оба страдают от chroma subsampling, и дают менее точные результаты, чем RGB.
Specifies in which of the three color spaces (RGB, ABI, HCI) the delta controls will work. Both ABI and HCI are separated luma/chroma. HCI is a cylindrical "Hue Chromacity Intensity" space, and ABI is a cartesian version thereof. Both suffer from chroma subsampling, and will give less sharp results than RGB. Note:HCI is slow, because it has to calculate atan2() and hypot() for each pixel.
'''Форма подпространства (Subspace Shape)''' варианты: Прямоугольник, Эллипс, Ромб
Определяет форму цветового подпространства. Опции: прямоугольник, эллипсоид или ромб. Прямоугольник является самым большим из них (по объему) и ромб самым маленьким. Представьте себе, ромб вписанный внутри эллипсоида, который в свою очередь вписан в прямоугольник.


'''Режим края (Edge Mode)''' Варианты: Hard, Fat, Normal, Skinny, Slope
'''Режим края (Edge Mode)''' Варианты: Hard, Fat, Normal, Skinny, Slope


"Hard" означает, что альфа-канал будет срабатывать только для двух значений , полностью непрозрачный и полностью прозрачный. В основном это полезно для рирпроекции.
If the Edge Mode is set to slope, you can use the "slope" slider. This slider determines the smoothness of the edges. The higher the value, the smoother the edges of your color selection will be.
 
Остальные параметры ("Fat", "Normal" and "Skinny") создают постепенный переход между прозрачным и непрозрачным. Alpha will be a function of the difference of color from the selected color, with cutoff at the delta points. The fatter the choice, the more the selected areas are filled towards the rim. This is useful with alpha controlled color adjustment tools.


'''Операция (Operation)''' варианты: Write On Clear, Max, Min, Add и Subtract. Это определяет, как работать с существующим альфа-канала в клипе. См. [[Kdenlive/Manual/Effects/Alpha_manipulation/Alpha_shapes#Operations|Фигуры в Альфа канале]] для значений этих операций.
"Hard" means there is no featuring (edges are not smooth at all). Any part of the image/video is either fully opaque and fully transparent. This means there will be no blue between the removed parts and the remaining parts whatsoever, and this option is useful if your chroma key turned out to be perfect.


"min", "max", "add" и "subtract" опции позволяют каскадировать плагины select0r  (или комбинировать с другими альфа- плагинами). Эти варианты объединяют текущее выделение с уже существующими альфа исходного материала. Таким образом, могут быть созданы сложные выделения .
The remaining options ("Fat", "Normal" and "Skinny") create a gradual transition between transparent and opaque. The fatter the choice, the more the selected areas are filled towards the rim (AKA more featuring for fatter choices). This is useful if your colour selection did not turn out that well.


'''Delta XXXX:'''
'''Delta XXXX:'''
Эти три параметра определяют размер цветового подпространства вдоль каждой оси. Большие значения означает больший допуск на этой оси.
Эти три параметра определяют размер цветового подпространства вдоль каждой оси. Большие значения означает больший допуск на этой оси.
Например установка большого разброса I  (в ABI и HCI), позволит выбор конкретного цвета, как на свету так и в тенях , но и сократит большую часть широкого диапазона сигнала яркости, сделав выбор пространственно менее точным.
'''Slope:'''
When "Edge mode" is set to "Slope", this parameter sets the gradualness of the transition between opaque and transparent


===== See Also =====
===== See Also =====

Revision as of 20:40, 31 March 2019

Other languages:

Color Selection

The Colour Selection effect (or Color Selection) is a more advanced version of the Chroma Key effect. Colour Selection allows for some basic feathering (by changing the Edge Mode) and much more fine-grained control over how much & in which way you remove the background.

This is better for backgrounds that have less contrast with the foreground, or more complex backgrounds. For simple backgrounds (such as green, blue, red or possibly black), use the Chroma Key effect.

Basic Technique

Find a clip with a background (preferably multiple, or slighty complex, because the "chroma key effect" can do easy backgrounds such as green or blue). Add the color selection effect to the clip.

After this, either chose the color using the little droplet button. Click on the droplet button, and then click on the background part of the clip you want to remove. Adjust the Delta sliders until the background is removed correctly. This might need to experimenting. If you find it isn't removing the background well, try changing the "selection subspace" and experiment again. If you experimented and cycled through all the "selection subspaces", and the background isn't still removed properly, then it is probably too complicated for kdenlive to remove. At this point you will need to use Rotoscoping.

If the effect took lots of time to experiment, and you will need to use this effect again, then click on the three horizontal lines in the top right corner, and then click "Save effect". Give the effect a name, and save. You can now search for this specific effect in your effects tab

All Options

Here is a outline of all the options:

Color to select: the color to select. This is the color that will be transparent/the only colour that is opaque.

Invert selection: When ON (default), the selected color will be transparent. When OFF the selected color will be opaque. Keeping the selected colour opaque may be more effective if the foreground is simple and the background is complicated

Подпространство выделения (Selection Subspace) варианты: RGB (Red Green Blue), ABI and HCI (Hue Chromacity Intensity)

These different options yield different results. While RGB should yield the sharpest and best results, sometimes (as I have seen from experience) the other option, HCI & ABI, can yield much better results then RGB. So if RGB isn't producing good results then try on of the other options. Note:Previews of video chroma keyed using HCI will be slow since it has to calculate values for every single pixel.

Режим края (Edge Mode) Варианты: Hard, Fat, Normal, Skinny, Slope

If the Edge Mode is set to slope, you can use the "slope" slider. This slider determines the smoothness of the edges. The higher the value, the smoother the edges of your color selection will be.

"Hard" means there is no featuring (edges are not smooth at all). Any part of the image/video is either fully opaque and fully transparent. This means there will be no blue between the removed parts and the remaining parts whatsoever, and this option is useful if your chroma key turned out to be perfect.

The remaining options ("Fat", "Normal" and "Skinny") create a gradual transition between transparent and opaque. The fatter the choice, the more the selected areas are filled towards the rim (AKA more featuring for fatter choices). This is useful if your colour selection did not turn out that well.

Delta XXXX: Эти три параметра определяют размер цветового подпространства вдоль каждой оси. Большие значения означает больший допуск на этой оси.

See Also

См. так же Синий Экран работающий немного проще Выделения по цвету.

На этой странице рассматриваются некоторые теории цвета, чтобы помочь понять Hue, Chroma, яркости и т.д.