C# 클래스 Encog.Neural.NeuralData.Image.ImageNeuralData

An extension of the BasicNeuralData class that is designed to hold images for input into a neural network. This class should only be used with the ImageNeuralDataSet collection. This class provides the ability to associate images with the elements of a dataset. These images will be downsampled to the resolution specified in the ImageNeuralData set class that they are added to.
상속: Encog.Neural.Data.Basic.BasicNeuralData
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
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.

ImageNeuralData ( Bitmap image ) : System

Construct an object based on an image.

ToString ( ) : String

Return a string representation of this object.

메소드 상세

Downsample() 공개 메소드

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.
리턴 void

ImageNeuralData() 공개 메소드

Construct an object based on an image.
public ImageNeuralData ( Bitmap image ) : System
image System.Drawing.Bitmap The image to use.
리턴 System

ToString() 공개 메소드

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