Справочник фильтров VirtualDub


DeLogo - часть 6

This tutorial only shows a simple case of the filter usage. There are many things unused or not explained. Read thoroughly the Mask reference and Controls reference sections to get full information about the filter. 
I recommend you to concentrate on other mask features, namely a green color usage in Analyse and Repair masks. It is particularly useful for a letterboxed video processing or for still images processing when you don't want certain part to expand to the repaired area.
The analysis process can be done manually on a selected set of frames too. In some circumstances, its result may be better than a complete video analysis. Particularly if you find one completely white and one completely black frame with the logo, analysing just these two frames might be enough to produce high quality Color and Alpha masks.
3. Controls Reference





Filter Function


Switches DeBlend processing on/off

When DeBlend, Alpha and Color masks are valid


Switches Repair processing on/off

When Repair mask is valid

OnFrames checkbox

When checked, only the specified frames are processed
When unchecked or disabled, all frames are processed

When OnFrames edit box contains valid information.

OnFrames edit box

Use to specify which frames contain the logo. All other frames will not be processed by the filter.
Empty field means all frames will be processed.
"frame1" means processing frame1 only
"frame1-frame2" means processing frames from frame1 to frame2 including both ends
"-frame2" means processing all frames from the beginning to frame2 including frame2.
"frame1-" means processing all frames from frame1 to the end including frame1
It is possible to specify multiple frames or regions separated by commas.
Example: "-100,150-320,330,331,333,400-"
The frame numbers are the frame numbers in the source video stream and deleting parts of video may lead to confusion here.




Switches standard filter output to be displayed in the Preview window



Displays Analyse mask in the Preview window

When Analyse mask is loaded


Displays DeBlend mask in the preview window

When DeBlend mask is valid


Displays Alpha mask in the Preview window

When Alpha mask is valid


Displays Color mask in the Preview window

When Color mask is valid


Displays Repair mask in the Preview window

When Repair mask is valid

Mask properties

(name column) Shows the mask filename. "- none -" text is displayed here if no mask is loaded. "- generated -" means that the mask was created by the filter and was not saved yet.  
(size column) Shows the mask size in pixels (width x height). The mask size must be equal to the video image size in order to filter use the mask.  

Save frame

Saves source of the current frame displayed in the Preview window. You can use this output to create Analysis mask

When the Preview window is open

Save as...

Saves the corresponding mask

When the corresponding mask is valid


Loads the corresponding mask


Repair parameters

Depth Specifies depth of the border area around pixels to be repaired. The bigger depth the more pixels are used (and the slower the Repair phase is). Yellow pixels represent the border area in the Repair mask. Always
Power Specifies the power of repairing. Lower values give more blurred results. Always


Specifies that even and odd lines of the video image should be processed separately. Improves the result on interlaced video.


Pixel aspect

Specifies the pixel aspect ratio. When calculating the pixel distances, appropriate axis distance is multiplied by the aspect ratio coefficient. Useful when the pixel aspect ratio is not 1:1, e.g. when capturing in 352x576 format. It also affects the border size and shape.


Manual analyser

Reset stats

Clears all the analysis arrays in memory. Start/reset the manual analysis using this button.


Sample frame

Adds the current frame statistics to analysis arrays. After analysing at least two frames you may start experimenting with the results.

When the Preview window is open

Subtract frame Subtracts the current frame statistics from analysis arrays. It is possible to 'undo' a manually analysed frame using this key or to create some fancy effects by subtracting frames not yet analysed (not recommended). When the Preview window is open

Automatic analyser

Sample frames

Use to specify the frames which have to be analysed. You can use the same string as in the OnFrames edit box or be more specific (i.e. select less frames). The frame numbers are the frame numbers in the source video stream and deleting parts of video may lead to confusion here.


Sample video

Using the standard VirtualDub's sampling interface runs through the video and puts specified frames statistics to the analysis arrays.

When the Preview window is open and Sample frames box contains valid information

Mask construction parameters

DeBlend shift

If you think the result is too bright or too dark, you can try to move this slider a little to reduce that. Lower values tend to not fully remove the logo while higher values tend to make the result brighter. I didn't ever get better result using this slider.

When the Analysis mask is loaded and some analysis has been done.

DeBlend falloff

Use to adjust blurring of the repaired area to its surroundings. The blur is supposed to make the artifacts less visible.

When the Analysis mask is loaded

Alpha to repair

Use to specify how much alpha is needed to mark a pixel as non-deblendable and put it to the Repair mask.

When the Analysis mask is loaded and some analysis has been done.

Repair radius

Use to inflate the Repair mask a little to mask some not ideally DeBlended pixels

When the Analysis mask is loaded and some analysis has been done.

Содержание  Назад  Вперед