http://www.emgu.com
Convert the current image to the specific depth, at the same time scale and shift the values of the pixel

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public Image<TColor, TOtherDepth> ConvertScale<TOtherDepth>(
	double scale,
	double shift
)
where TOtherDepth : new()
Visual Basic
Public Function ConvertScale(Of TOtherDepth As New) ( 
	scale As Double,
	shift As Double
) As Image(Of TColor, TOtherDepth)
Visual C++
public:
generic<typename TOtherDepth>
where TOtherDepth : gcnew()
Image<TColor, TOtherDepth>^ ConvertScale(
	double scale, 
	double shift
)
F#
member ConvertScale : 
        scale : float * 
        shift : float -> Image<'TColor, 'TOtherDepth>  when 'TOtherDepth : new()

Parameters

scale
Type: System..::..Double
The value to be multipled with the pixel
shift
Type: System..::..Double
The value to be added to the pixel

Type Parameters

TOtherDepth
The type of depth to convert to

Return Value

Type: Image<(Of <(<'TColor, TOtherDepth>)>)>
Image of the specific depth, val = val * scale + shift

See Also