http://www.emgu.com
Perform an generic operation based on the elements of the two images

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public void Action<TOtherDepth>(
	Image<TColor, TOtherDepth> img2,
	Action<TDepth, TOtherDepth> action
)
where TOtherDepth : new()
Visual Basic
Public Sub Action(Of TOtherDepth As New) ( _
	img2 As Image(Of TColor, TOtherDepth), _
	action As Action(Of TDepth, TOtherDepth) _
)
Visual C++
public:
generic<typename TOtherDepth>
where TOtherDepth : gcnew()
void Action(
	Image<TColor, TOtherDepth>^ img2, 
	Action<TDepth, TOtherDepth>^ action
)

Parameters

img2
Type: Emgu.CV..::..Image<(Of <(<'TColor, TOtherDepth>)>)>
The second image to perform action on
action
Type: System..::..Action<(Of <(<'TDepth, TOtherDepth>)>)>
An action such that the first parameter is the a single channel of a pixel from the first image, the second parameter is the corresponding channel of the correspondind pixel from the second image

Type Parameters

TOtherDepth
The depth of the second image

See Also