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: (

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


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.

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