ArithmeticSqrt Method

CVB.Net Documentation
Calculates the square roots of pixel values of a source image and writes them into the destination image.

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

public static Image Sqrt(
	Image img,
	SqrtPixelScaling scaling
)

Parameters

img
Type: Stemmer.CvbImage
Input image
scaling
Type: Stemmer.Cvb.FoundationSqrtPixelScaling
Whether or not to scale the result.

Return Value

Type: Image
Result image
Exceptions

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

If the parameter scaling is AsIs, the resulting image has pixel values as they come out of the calculation. If Yes, the results will be multiplied to fit the dynamic range of the image; effectively turning this function into a gamma correction with a gamma value of 1/2.
See Also

Reference