Click or drag to resize
CvInvokeRandShuffle Method
http://www.emgu.com
Shuffles the matrix by swapping randomly chosen pairs of the matrix elements on each iteration (where each element may contain several components in case of multi-channel arrays)

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void RandShuffle(
	IInputOutputArray mat,
	double iterFactor,
	ulong rng
)

Parameters

mat
Type: Emgu.CVIInputOutputArray
The input/output matrix. It is shuffled in-place.
iterFactor
Type: SystemDouble
The relative parameter that characterizes intensity of the shuffling performed. The number of iterations (i.e. pairs swapped) is round(iter_factor*rows(mat)*cols(mat)), so iter_factor=0 means that no shuffling is done, iter_factor=1 means that the function swaps rows(mat)*cols(mat) random pairs etc
rng
Type: SystemUInt64
Pointer to MCvRNG random number generator. Use 0 if not sure
See Also