C# Class Encog.ML.Data.Image.ImageMLData

Inheritance: Encog.ML.Data.Basic.BasicMLData
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Downsample ( IDownSample downsampler, bool findBounds, int height, int width, double hi, double lo ) : void

Downsample, and copy, the image contents into the data of this object. Calling this method has no effect on the image, as the same image can be downsampled multiple times to different resolutions.

ImageMLData ( Bitmap image ) : System

Construct an object based on an image.

ToString ( ) : String

Return a string representation of this object.

Method Details

Downsample() public method

Downsample, and copy, the image contents into the data of this object. Calling this method has no effect on the image, as the same image can be downsampled multiple times to different resolutions.
public Downsample ( IDownSample downsampler, bool findBounds, int height, int width, double hi, double lo ) : void
downsampler IDownSample The downsampler object to use.
findBounds bool Should the bounds be located and cropped.
height int The height to downsample to.
width int The width to downsample to.
hi double The high value to normalize to.
lo double The low value to normalize to.
return void

ImageMLData() public method

Construct an object based on an image.
public ImageMLData ( Bitmap image ) : System
image System.Drawing.Bitmap The image to use.
return System

ToString() public method

Return a string representation of this object.
public ToString ( ) : String
return String