Core Optical, Inc.
Utilities Acos Method Industrial Strength, Scientific Grade
Computes the pointwise Acos (in radians) of the values contained in the SourceData object.

Namespace: PrecisionImage
Assembly: PrecisionImage (in PrecisionImage.dll) Version: (

public static void Acos(
	SourceData sourceData,
	int channel,
	SourceData targetData,
	int targetChannel,
	Int32Rect regionOfInterest = null,
	BinaryMask binaryMask = null


Type: PrecisionImage SourceData
A SourceData object containing the data to operate on.
Type: OnlineSystem Int32
An OnlineInt32 type indicating the channel to operate on.
Type: PrecisionImage SourceData
A SourceData object to which the results of the operation are stored.
Type: OnlineSystem Int32
An OnlineInt32 type specifying the channel of targetData to write the results to.
regionOfInterest (Optional)
Type: OnlineSystem.Windows Int32Rect
An OnlineInt32Rect type indicating the region of interest. Coordinates are zero-index based. This parameter is optional and defaults to the entire image.
binaryMask (Optional)
Type: PrecisionImage.BinarizationAndMorphology BinaryMask
A BinaryMask object indicating areas to bypass. Default is no mask.

OnlineSystem ArgumentNullException Thrown when sourceData or targetData are null.
OnlineSystem ArgumentOutOfRangeException Thrown when channel or targetChannel specify channels that do not exist.
OnlineSystem ArgumentException Thrown when sourceData and targetData do not have the same dimensions.
OnlineSystem ArgumentException Thrown when the dimensions of binaryMask do not match those of sourceData and targetData.
OnlineSystem ArgumentOutOfRangeException Thrown when regionOfInterest specifies a region not completely contained within the input data.

Use this function to compute the pointwise acos (in radians) of the values contained in the specified channel of sourceData. targetData can be the same as the input SourceData object. Internally this method invokes the OnlineAcos(Double) function and will respond to numerically degenerate cases in the same manner.
See Also