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 (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvRandShuffle(
	IntPtr mat,
	IntPtr rng,
	double iterFactor
)
Visual Basic
Public Shared Sub cvRandShuffle ( 
	mat As IntPtr,
	rng As IntPtr,
	iterFactor As Double
)
Visual C++
public:
static void cvRandShuffle(
	IntPtr mat, 
	IntPtr rng, 
	double iterFactor
)
F#
static member cvRandShuffle : 
        mat : IntPtr * 
        rng : IntPtr * 
        iterFactor : float -> unit 

Parameters

mat
Type: System..::..IntPtr
The input/output matrix. It is shuffled in-place.
rng
Type: System..::..IntPtr
Pointer to MCvRNG radom number generator. Use IntPtr.Zero if not sure
iterFactor
Type: System..::..Double
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

See Also