Click or drag to resize

IBlobInfoToGreyScaleImage Method (FuncInt32, Int32)

Converts instance to greyscale image.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage ToGreyScaleImage(
	Func<int, int> fn
)

Parameters

fn
Type: SystemFuncInt32, Int32
A function that accepts a blob Id and returns a value from 0 to 255 inclusive.

Return Value

Type: IBitmapImage
A new image instance.
Exceptions
ExceptionCondition
ArgumentNullExceptionfn
See Also