Core Optical, Inc.
SourceData MembersIndustrial Strength, Scientific Grade

The SourceData type exposes the following members.
Constructors

  NameDescription
Public methodSourceData(Int32, Int32, Int32)
Creates a new SourceData object with the specified number of rows, columns and channels.
Public methodSourceData(BitmapSource, GammaEncoding, Boolean)
Creates a new SourceData object to encapsulate the data contained in the OnlineBitmapSource object.
Back to Top
Methods

  NameDescription
Public methodAddDataChannel
Adds a data channel to the current SourceData object.
Public methodAssignChannelData( DepthImagePixel , Int32)
Copies the contents of a DepthImagePixel array into the specified channel.
Public methodAssignChannelData( Byte , Int32)
Copies the entire contents of an array into the specified channel.
Public methodAssignChannelData( Double , Int32)
Copies the entire contents of an array into the specified channel.
Public methodAssignChannelData( Int32 , Int32)
Copies the entire contents of an array into the specified channel.
Public methodAssignChannelData( Single , Int32)
Copies the entire contents of an array into the specified channel.
Public methodAssignChannelData( DepthImagePixel , Int32, Int32)
Copies the contents of a DepthImagePixel array into the specified channel and returns a BinaryMask for the specified player index.
Public methodAssignOutputPixelFormat
Associates a OnlinePixelFormat with the current SourceData object.
Public methodClone 
Returns a new SourceData object containing a deep-copy of the current SourceData object.
Public methodClone(Int32)
Returns a new SourceData object containing a deep-copy of the indicated data channel in the current SourceData object.
Public methodCopyDataRegion
Copy the data from the current SourceData object into the target SourceData object, overwriting any data in the specified location of the target.
Public methodCrop
Crops all data channels to the specified cropRegion.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetBitmapSource
Gets a OnlineBitmapSource representation of the data using the original source PixelFormat and specified range output windowing.
Public methodGetBitmapSourceArray
Retrieves an array of pixel values representing the source data.
Public methodGetChannelImage(GrayBitDepth, Int32, GammaEncoding, OutputWindowing, Int32Rect)
Retrieves a grayscale image of the data contained within the specified data channel and scaled to the specified OutputWindowing.
Public methodGetChannelImage(GrayBitDepth, Int32, BinaryMask, GammaEncoding, OutputWindowing, OutputWindowing, Int32Rect)
Retrieves a grayscale image of the data contained within the specified data channel and scaled to the specified OutputWindowing.
Public methodGetChannelImageArray(GrayBitDepth, Int32, GammaEncoding, OutputWindowing, Int32Rect)
Retrieves an array of pixel values portraying the source data. Array is either Byte, UInt16 or Single.
Public methodGetChannelImageArray(GrayBitDepth, Int32, BinaryMask, GammaEncoding, OutputWindowing, OutputWindowing, Int32Rect)
Retrieves an array of pixel values portraying the source data. Array is either Byte or UInt16.
Public methodGetCurrentMaxValue
Returns the current maximum value in the specified data channel.
Public methodGetCurrentMinValue
Returns the current minimum value in the specified data channel.
Public methodGetDataArray
Retrieves a copy of the data in the specified channel as a two-dimensional array.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetRawDataImage
Gets a 32-bit floating point OnlineBitmapSource image of the data.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Retrieves the current value in the specified channel at the specified row and column coordinates.
Public methodInvertData
Inverts the data in the specified channel within the its current range.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodResize
Resizes the source data to the specified dimensions.
Public methodRetrieveOutputPixelFormat
Returns the current OnlinePixelFormat associated with the SourceData object.
Public methodRotate180
Rotates all data channels in-place 180 degrees.
Public methodRotate90CCW
Rotates all data channels in-place 90 degrees counter-clockwise.
Public methodRotate90CW
Rotates all data channels in-place 90 degrees clockwise.
Public methodSetValue
Assigns a value to the specified data channel at the specified row and column coordinates.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyAlphaChannelIndex
Gets/sets the specified data channel index for the alpha channel.
Public propertyBlueChannelIndex
Gets/sets the specified data channel index for the blue channel.
Public propertyColumns
Gets the number of columns contained in the object's data channel(s) as an OnlineInt32.
Public propertyCurrentHardwareAccelerator
Assigns / retrieves the hardware acceleration device to use.
Public propertyDpiX
Gets or sets the horizontal dpi scaling associated with the current SourceData object.
Public propertyDpiY
Gets or sets the vertical dpi scaling associated with the current SourceData object.
Public propertyGreenChannelIndex
Gets/sets the specified data channel index for the green channel.
Public propertyNumberOfChannels
Gets the number of data channels in the current SourceData object.
Public propertyProcessingMode
Gets or sets the internal ProcessingMode for the current object. Default value is SetUp.DefaultProcessingMode.
Public propertyRedChannelIndex
Gets/sets the specified data channel index for the red channel.
Public propertyRows
Gets the number of rows contained in the object's data channel(s) as an OnlineInt32.
Back to Top
See Also