![]() | BitmapImage Class |
Namespace: CohesiveComputing.Imaging
public static class BitmapImage
The BitmapImage type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Create(Int32, Int32) |
Create top down 24bpp blue/green/red image of 96 dpi. The start of each row is 32-bit aligned.
|
![]() ![]() | Create(Int32, Int32, Boolean, Int32) |
Create 24bpp blue/green/red image. The start of each row is 32-bit aligned.
|
![]() ![]() | CreateAsBinary(Int32, Int32, Int32, Boolean) |
Creates a binary image based on input data. Values greater than 0 are set to white, otherwise they are set to black.
|
![]() ![]() | CreateAsBinary(Int32, Int32, Int32, Boolean, Int32, Int32, Boolean, Boolean) |
Creates a binary image based on input data, which has a threshold bracket applied.
If doInverse is false,
values within the bracked are set to white. Values outside the bracket are set to black.
|
![]() ![]() | CreateFrom24bpp |
Create image based on 24 bpp blue/green/red raw data. The start of each row must be 32-bit aligned.
|
![]() ![]() | CreateFrom8bpp |
Create image based on 8 bpp grey scale raw data.
|
![]() ![]() | DrawText |
Draws text as a bitmap image. Use tags <b></b>, <i></i> and <u></u> for bold, italic and underline.
|
![]() ![]() | Load(Stream) |
Load image stored in one of many formats, from stream.
|
![]() ![]() | Load(String) |
Load image stored in one of many file formats.
|
![]() ![]() | RenderImageHog(Single, Int32, Int32) |
Renders the Hog vector. Each successive group of 36 elements (4 x (9 x 1) histogram) represents gradients
(at angles 0, 20, 40, 60, 80, 100, 120, 140, and 160 degrees) in a 16x16 pixel window.
This window slides over 8-pixel intervals, starting at top left of image.
Rendered image dimensions are (strideX / 36 + 1) * 8, (height + 1) * 8.
|
![]() ![]() | RenderImageHog(ValueTupleSingle, Single, Int32, Int32) |
Renders the dominant HOG gradients; a 1 dimension array of (angle, gradient), where each element maps
to an 8x8 block of an image, whose origin is the top left.
Rendered image dimensions are (strideX + 1) * 8, (height + 1) * 8.
|