Performs a flat field correction on the imgSrc
with optional correction of the fix pattern noise.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
public static Image FlatfieldCorrection( this Image imgSrc, Image imgFlat, Image imgDark, double gain )
Parameters
- imgSrc
- Type: Stemmer.CvbImage
Image to perform flat field correction on. - imgFlat
- Type: Stemmer.CvbImage
The flat image showing the background. - imgDark
- Type: Stemmer.CvbImage
Optional dark image. - gain
- Type: SystemDouble
A gain value used to adjust the brightness of the output image. Usually roughly the average gray value of imgSrc is used.
Return Value
Type: ImageFlatfield corrected 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).See Also