C# Class SampleApp.Features

ファイルを表示 Open project: accord-net/framework

Public Methods

Method Description
Export ( double features ) : Bitmap

Converts a feature vector containing 0s and 1s representing each pixel in the image back into an image.

Extract ( string text ) : Bitmap

Extracts an image from a text containing the image representation as binary 0s and 1s.

Extract ( Bitmap bmp ) : double[]

Extracts a feature vector representation from an image, "flattening" a binary image into an array of 0s and 1s.

Preprocess ( Bitmap bitmap ) : double[]

Method Details

Export() public static method

Converts a feature vector containing 0s and 1s representing each pixel in the image back into an image.
public static Export ( double features ) : Bitmap
features double
return System.Drawing.Bitmap

Extract() public static method

Extracts an image from a text containing the image representation as binary 0s and 1s.
public static Extract ( string text ) : Bitmap
text string
return System.Drawing.Bitmap

Extract() public static method

Extracts a feature vector representation from an image, "flattening" a binary image into an array of 0s and 1s.
public static Extract ( Bitmap bmp ) : double[]
bmp System.Drawing.Bitmap
return double[]

Preprocess() public static method

public static Preprocess ( Bitmap bitmap ) : double[]
bitmap System.Drawing.Bitmap
return double[]