Documentation For Encog 2.x

ImageNeuralData.Downsample 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 void Downsample(
   IDownSample downsampler,
   bool findBounds,
   int height,
   int width
);

Parameters

downsampler
The downsampler object to use.
findBounds
Should the bounds be located and cropped.
height
The height to downsample to.
width
The width to downsample to

See Also

ImageNeuralData Class | Encog.Neural.NeuralData.Image Namespace