Core Optical, Inc.
SourceData InvertData Method Industrial Strength, Scientific Grade
Inverts the data in the specified channel within the its current range.

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

public void InvertData(
	int channel,
	BinaryMask binaryMask = null,
	Int32Rect regionOfInterest = null
)

Parameters

channel
Type: OnlineSystem Int32
An OnlineInt32 type specifying the channel to process.
binaryMask (Optional)
Type: PrecisionImage.BinarizationAndMorphology BinaryMask
A BinaryMask type indicating regions in the data to bypass during processing.
regionOfInterest (Optional)
Type: OnlineSystem.Windows Int32Rect
An OnlineInt32Rect type specifying the region to process.
Exceptions

ExceptionCondition
OnlineSystem ArgumentOutOfRangeException Thrown when channel does not exist in the parent object.
OnlineSystem ArgumentException Thrown when the binaryMask dimensions do not match those of the SourceData object.
OnlineSystem ArgumentOutOfRangeException Thrown when regionOfInterest is not entirely contained within the dimensions of the SOurceData object.
See Also