Class SrImage
Assembly: SaigeVision.Net.V2.dll
Syntax
public class SrImage : IDisposable
Constructors
View Source
SrImage(Bitmap, Uri)
Declaration
public SrImage(Bitmap bitmap, Uri uri = null)
Parameters
View Source
SrImage(Stream)
Declaration
public SrImage(Stream stream)
Parameters
| Type |
Name |
Description |
| Stream |
stream |
|
View Source
SrImage(int, int, int, byte[])
Declaration
public SrImage(int width, int height, int channelSize, byte[] data)
Parameters
| Type |
Name |
Description |
| int |
width |
|
| int |
height |
|
| int |
channelSize |
|
| byte[] |
data |
|
View Source
SrImage(int, int, int, IntPtr)
Declaration
public SrImage(int width, int height, int channelSize, IntPtr data)
Parameters
View Source
SrImage(string)
Declaration
public SrImage(string filePath)
Parameters
| Type |
Name |
Description |
| string |
filePath |
|
Properties
View Source
Channel
Declaration
public int Channel { get; }
Property Value
View Source
Flags
Declaration
public ImageTypeFlags Flags { get; }
Property Value
View Source
Height
Declaration
public int Height { get; }
Property Value
View Source
Uri
Declaration
Property Value
View Source
Width
Declaration
public int Width { get; }
Property Value
Methods
View Source
Dispose()
Declaration
View Source
~SrImage()
Declaration
View Source
Save(string)
Declaration
public void Save(string path)
Parameters
| Type |
Name |
Description |
| string |
path |
저장할 파일 경로.
|
View Source
ToBitmap()
Declaration
Returns
Operators
View Source
implicit operator Mat(SrImage)
Declaration
public static implicit operator Mat(SrImage image)
Parameters
| Type |
Name |
Description |
| SrImage |
image |
|
Returns
View Source
implicit operator Bitmap(SrImage)
Declaration
public static implicit operator Bitmap(SrImage image)
Parameters
| Type |
Name |
Description |
| SrImage |
image |
|
Returns
Implements