ImageTColor, TDepthActionTOtherDepth Method (ImageTColor, TOtherDepth, ActionTDepth, TOtherDepth) |
http://www.emgu.com
Perform an generic operation based on the elements of the two images
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic 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
)
member Action :
img2 : Image<'TColor, 'TOtherDepth> *
action : Action<'TDepth, 'TOtherDepth> -> unit when 'TOtherDepth : new()
Parameters
- img2
- Type: Emgu.CVImageTColor, TOtherDepth
The second image to perform action on - action
- Type: SystemActionTDepth, 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