Click or drag to resize
ImageTColor, TDepthConvertScaleTOtherDepth Method
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: 3.0.0.2161 (3.0.0.2161)
Syntax
public Image<TColor, TOtherDepth> ConvertScale<TOtherDepth>(
	double scale,
	double shift
)
where TOtherDepth : new()

Parameters

scale
Type: SystemDouble
The value to be multipled with the pixel
shift
Type: SystemDouble
The value to be added to the pixel

Type Parameters

TOtherDepth
The type of depth to convert to

Return Value

Type: ImageTColor, TOtherDepth
Image of the specific depth, val = val * scale + shift
See Also