C# Class FluxJpeg.Core.Filtering.GrayImage

Show file Open project: akoch-ov/dipstart-development Class Usage Examples

Public Properties

Property Type Description
Scan0 float[]

Public Methods

Method 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

Method Description
Convert ( byte channel ) : void

Method Details

GrayImage() public method

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

GrayImage() public method

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
return System

ToByteArray2D() public method

public ToByteArray2D ( ) : ].byte[
return ].byte[

this() public method

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

Property Details

Scan0 public property

public float[] Scan0
return float[]