http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Convert the current image to the specific depth, at the same time scale and shift the values of the pixel
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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 ) |
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