C# Class Ocronet.Dynamic.ImgLib.ImgIo

ファイルを表示 Open project: nickun/OCRonet

Public Methods

Method Description
CopyStream ( Stream source, Stream destination ) : long

Копирует данные из одного стрима в другой

LoadBitmapFromFile ( string fileName ) : Bitmap

Загружает изображение из файла

LoadStreamFromFile ( string fileName ) : Stream

Возвращает MemoryStream с содержимым файла

read_image_binary ( Bytearray image, string path ) : Bitmap
read_image_gray ( Bytearray image, string path ) : Bitmap
read_image_packed ( Intarray image, string path ) : Bitmap
read_image_rgb ( Bytearray image, string path ) : Bitmap
write_image_gray ( Stream stream, Bytearray image, System fmt ) : void
write_image_gray ( string path, Bytearray image ) : void
write_image_gray ( string path, Floatarray image ) : void
write_image_packed ( Stream stream, Intarray image, System fmt ) : void
write_image_packed ( string path, Intarray image ) : void
write_image_rgb ( string path, Bytearray image ) : void

Method Details

CopyStream() public static method

Копирует данные из одного стрима в другой
public static CopyStream ( Stream source, Stream destination ) : long
source Stream
destination Stream
return long

LoadBitmapFromFile() public static method

Загружает изображение из файла
public static LoadBitmapFromFile ( string fileName ) : Bitmap
fileName string
return System.Drawing.Bitmap

LoadStreamFromFile() public static method

Возвращает MemoryStream с содержимым файла
public static LoadStreamFromFile ( string fileName ) : Stream
fileName string
return Stream

read_image_binary() public static method

public static read_image_binary ( Bytearray image, string path ) : Bitmap
image Bytearray
path string
return System.Drawing.Bitmap

read_image_gray() public static method

public static read_image_gray ( Bytearray image, string path ) : Bitmap
image Bytearray
path string
return System.Drawing.Bitmap

read_image_packed() public static method

public static read_image_packed ( Intarray image, string path ) : Bitmap
image Intarray
path string
return System.Drawing.Bitmap

read_image_rgb() public static method

public static read_image_rgb ( Bytearray image, string path ) : Bitmap
image Bytearray
path string
return System.Drawing.Bitmap

write_image_gray() public static method

public static write_image_gray ( Stream stream, Bytearray image, System fmt ) : void
stream Stream
image Bytearray
fmt System
return void

write_image_gray() public static method

public static write_image_gray ( string path, Bytearray image ) : void
path string
image Bytearray
return void

write_image_gray() public static method

public static write_image_gray ( string path, Floatarray image ) : void
path string
image Floatarray
return void

write_image_packed() public static method

public static write_image_packed ( Stream stream, Intarray image, System fmt ) : void
stream Stream
image Intarray
fmt System
return void

write_image_packed() public static method

public static write_image_packed ( string path, Intarray image ) : void
path string
image Intarray
return void

write_image_rgb() public static method

public static write_image_rgb ( string path, Bytearray image ) : void
path string
image Bytearray
return void