Emgu CV Library Documentation
ConvertScale<(Of <(TOtherDepth>)>) Method (scale, shift)
NamespacesEmgu.CVImage<(Of <(TColor, TDepth>)>)ConvertScale<(Of <(TOtherDepth>)>)(Double, Double)

Convert the current image to the specific depth, at the same time scale and shift the values of the pixel
Declaration Syntax
C#Visual BasicVisual C++
public Image<TColor, TOtherDepth> ConvertScale<TOtherDepth>(
	double scale,
	double shift
Public Function ConvertScale(Of TOtherDepth) ( _
	scale As Double, _
	shift As Double _
) As Image(Of TColor, TOtherDepth)
generic<typename TOtherDepth>
Image<TColor, TOtherDepth>^ ConvertScale(
	double scale, 
	double shift
Generic Template Parameters
The type of depth to convert to
scale (Double)
The value to be multipled with the pixel
shift (Double)
The value to be added to the pixel
Return Value
Image of the specific depth, val = val * scale + shift

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