C# Класс SampleApp.Features

Показать файл Открыть проект

Открытые методы

Метод Описание
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[]

Описание методов

Export() публичный статический Метод

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
Результат System.Drawing.Bitmap

Extract() публичный статический Метод

Extracts an image from a text containing the image representation as binary 0s and 1s.
public static Extract ( string text ) : Bitmap
text string
Результат System.Drawing.Bitmap

Extract() публичный статический Метод

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
Результат double[]

Preprocess() публичный статический Метод

public static Preprocess ( Bitmap bitmap ) : double[]
bitmap System.Drawing.Bitmap
Результат double[]