Emgu CV Library Documentation
cvCvtScale Method (src, dst, scale, shift)
NamespacesEmgu.CVCvInvokecvCvtScale(IntPtr, IntPtr, Double, Double)

www.emgu.com/wiki
This function has several different purposes and thus has several synonyms. It copies one array to another with optional scaling, which is performed first, and/or optional type conversion, performed after: dst(I)=src(I)*scale + (shift,shift,...) All the channels of multi-channel arrays are processed independently. The type conversion is done with rounding and saturation, that is if a result of scaling + conversion can not be represented exactly by a value of destination array element type, it is set to the nearest representable value on the real axis. In case of scale=1, shift=0 no prescaling is done. This is a specially optimized case and it has the appropriate cvConvert synonym. If source and destination array types have equal types, this is also a special case that can be used to scale and shift a matrix or an image and that fits to cvScale synonym.
Declaration Syntax
C#Visual BasicVisual C++
public static void cvCvtScale(
	IntPtr src,
	IntPtr dst,
	double scale,
	double shift
)
Public Shared Sub cvCvtScale ( _
	src As IntPtr, _
	dst As IntPtr, _
	scale As Double, _
	shift As Double _
)
public:
static void cvCvtScale(
	IntPtr src, 
	IntPtr dst, 
	double scale, 
	double shift
)
Parameters
src (IntPtr)
Source array
dst (IntPtr)
Destination array
scale (Double)
Scale factor
shift (Double)
Value added to the scaled source array elements

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)