ProcessMapTo8Bit Method (Image, Boolean)

CVB.Net Documentation
Take an input image and scale the pixel values to fit into the 8 bit value range.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Image MapTo8Bit(
	this Image img,
	bool collective
)

Parameters

img
Type: Stemmer.CvbImage
image to be mapped
collective
Type: SystemBoolean
If true, the same normalization factors will be used for all planes, if false the normalization will be carried out independently for each plane

Return Value

Type: Image
newly create image

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Image. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img is null
ObjectDisposedExceptionIf the input img has already been disposed
See Also

Reference