C# Class FluxJpeg.Core.Filtering.GrayImage

Afficher le fichier Open project: akoch-ov/dipstart-development Class Usage Examples

Méthodes publiques

Свойство Type Description
Scan0 float[]

Méthodes publiques

Méthode Description
GrayImage ( byte channel ) : System

Creates a 0.0 to 1.0 grayscale image from a bitmap.

GrayImage ( int width, int height ) : System

Returns a new 0.0-initialized image of specified size.

ToByteArray2D ( ) : ].byte[
this ( int x, int y ) : float

Access a pixel within the image.

Private Methods

Méthode Description
Convert ( byte channel ) : void

Method Details

GrayImage() public méthode

Creates a 0.0 to 1.0 grayscale image from a bitmap.
public GrayImage ( byte channel ) : System
channel byte
Résultat System

GrayImage() public méthode

Returns a new 0.0-initialized image of specified size.
public GrayImage ( int width, int height ) : System
width int Width in pixels
height int Height in pixels
Résultat System

ToByteArray2D() public méthode

public ToByteArray2D ( ) : ].byte[
Résultat ].byte[

this() public méthode

Access a pixel within the image.
public this ( int x, int y ) : float
x int X-coordinate
y int Y-coordinate
Résultat float

Property Details

Scan0 public_oe property

public float[] Scan0
Résultat float[]