Class VLCombine.TVLCombine
From Mitov Wiki Doc
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| (6 intermediate revisions by one user not shown) | |||
| Line 28: | Line 28: | ||
=== C# (.NET): ===  | === C# (.NET): ===  | ||
<code>  | <code>  | ||
| − | '''public ref class'''   | + | '''public ref class''' Combine : [[Class VLCommonCombine.TVLCommonCombine|Mitov.VideoLab.CommonCombine]]  | 
</code>  | </code>  | ||
== Summary ==  | == Summary ==  | ||
| Line 41: | Line 41: | ||
| − | Example:  | + | <b>Diagram:</b>  | 
| + | |||
| + | [[Image:VLCombine_Preview.png]]  | ||
| + | |||
| + | |||
| + | |||
| + | <b>Example:</b>  | ||
{| border="1" cellspacing="0" cellpadding="5"  | {| border="1" cellspacing="0" cellpadding="5"  | ||
|-  | |-  | ||
Latest revision as of 00:30, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VideoLabPkg
Unit: VLCombine
Inherits: TVLCommonCombine
Contents | 
Syntax
Delphi:
type TVLCombine = class( TVLCommonCombine )
C++ Builder:
class TVLCombine : public TVLCommonCombine
Visual C++ (MFC):
class CTVLCombine : public CTVLCommonCombine
C# (.NET):
public ref class Combine : Mitov.VideoLab.CommonCombine
Summary
Combines two videos.
Description
Use this component to combine two images delivered via InputPins by performing the operation selected by CombineOperation property : coAdd, coSubtract, coMultiply, coDivide, coOr, coAnd, coXor, coAbsDiff, or coCopy.
Diagram:
Example:
| Original Image 1: | Original Image 2: | 
  
 | 
  
 | 
| Add: 1 + 2 | Subtract: 1 - 2 | 
  
 | 
  
 | 
| Multiply: 1 * 2 | Divide: 1 / 2 | 
  
 | 
  
 | 
| And: 1 and 2 | Or: 1 or 2 | 
  
 | 
  
 | 
| Xor: 1 xor 2 | AbsDiff: Abs( 1 - 2 ) | 
  
 | 
  
 | 
Properties
Published
- CombineOperation - The combine operation.
 - Coefficient1 - Specifies the multiplication transparency coefficient for the first video channel of the combine component.
 - Coefficient2 - Specifies the multiplication transparency coefficient for the second video channel of the combine component.
 - RateSource - Specifies the frame rate source.
 
Methods
Public
- procedure ProcessFrame(InImage1 : IVLImageBuffer; InImage2 : IVLImageBuffer; var OutImage : IVLImageBuffer) - Performs a filter operation over video buffers.
 - procedure ProcessBitmap(InBitmap1 : TBitmap; InBitmap2 : TBitmap; OutBitmap : TBitmap) - Performs a combine operation over bitmaps.
 
PinLists
- InputPins - The video input pins of the combine.
 
From TVLCommonCombine
Properties
Published
- FrameSize - The rules to be used to calculate the size of the output frame.
 - Offset - The X,Y offset between the two source images.
 - StartIfNotAllRunning - Specifies if the component can start if not all inputs have started.
 - BackgroundColor - The color of the area in the image not covered by any of the input images (The remaining area.).
 
From TVLMultiInput
Properties
Published
- AfterStop - Specifies the mixer behavior after the input streams have stopped.
 - VideoFormat - Specifies the output video format for the component.
 - Threading - Specifies the desired threading settings for the filtering.
 
Pins
- OutputPin - The Video Output Pin of the component.
 










