Perform an generic operation based on the elements of the two images
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.0.1010 (2.2.0.1010)
Syntax
| | | | | | | | |
| C# | | | Visual Basic | | | Visual C++ | |
public void Action<TOtherDepth>(
Image<TColor, TOtherDepth> img2,
Action<TDepth, TOtherDepth> action
)
where TOtherDepth : new()
Public Sub Action(Of TOtherDepth As New) ( _
img2 As Image(Of TColor, TOtherDepth), _
action As Action(Of TDepth, TOtherDepth) _
)
public:
generic<typename TOtherDepth>
where TOtherDepth : gcnew()
void Action(
Image<TColor, TOtherDepth>^ img2,
Action<TDepth, TOtherDepth>^ action
)
Parameters
- img2
- Image<(Of <(<'TColor, TOtherDepth>)>)>
The second image to perform action on
- action
- 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