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: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void RandShuffle(
IInputOutputArray mat,
double iterFactor,
ulong rng
)
Public Shared Sub RandShuffle (
mat As IInputOutputArray,
iterFactor As Double,
rng As ULong
)
public:
static void RandShuffle(
IInputOutputArray^ mat,
double iterFactor,
unsigned long long rng
)
static member RandShuffle :
mat : IInputOutputArray *
iterFactor : float *
rng : uint64 -> unit
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