Click or drag to resize

BatchProcessor Class

Batch Image Processor. Uses a pipelined workflow to load, process and store data from images stored on the file system.
Inheritance Hierarchy
SystemObject
  CohesiveComputing.ImagingBatchProcessor

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
public sealed class BatchProcessor : IDisposable

The BatchProcessor type exposes the following members.

Properties
  NameDescription
Public propertyCancelled
Returns true if the last batch operation was cancelled.
Public propertyErrorCount
Gets the error count of the last batch opperation.
Public propertyFailOnErrorCount
Gets the number of errors after which batch processing is cancelled.
Top
Methods
  NameDescription
Public methodCancel
Cancels the current batch process.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodForEachImage
Loads images (jpg, png and bmp) from basePath (and sub directories), applies processImgFunc() to image, and writes new image to destBasePath with destSuffix appended to the file name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStartWorkFlow(IEnumerableString, String, FuncLoadImageArgs, IBitmapImage, FuncProcessImageArgs, IBitmapImage, ActionStoreImageArgs)
Starts a three step workflow for loading, processing and storing images
Public methodStartWorkFlow(IEnumerableString, String, String, FuncLoadImageArgs, IBitmapImage, FuncProcessImageArgs, IBitmapImage, ActionStoreImageArgs)
Starts a three step workflow for loading, processing and storing images
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventError
Error event triggers for errors during either load, process or store operations.
Public eventProgress
Progress event triggers for every image whose workflow steps are completed without error.
Top
See Also