C# Class µ.Vision.µImage

Mostrar archivo Open project: AndrDm/uImage Class Usage Examples

Public Properties

Property Type Description
_image OpenCvSharp.Mat

Public Methods

Method Description
Dilate_Demo ( µImage source, µImage destination ) : void
GetPixelValue ( µImage image, Int32 column, Int32 row ) : Int32
Median_Demo ( µImage source, µImage destination ) : void
Threshold_Demo ( µImage source, µImage destination ) : void
µCopy ( µImage source, µImage destination ) : void
µGetMax ( µImage source ) : double
µGetMin ( µImage source ) : double
µHistogram ( µImage source, Array hist_array ) : void
µImage ( ) : System

Creates a new image.

µImage ( ImageType type ) : System

Creates a new image.

µImage ( ImageType type, Int32 width, Int32 height ) : System
µLineProfile ( µImage source, Point pt1, Point pt2, List &Profile, double &Average ) : void

Computes the profile of a line of pixels. This method returns other information such as pixel averages.

Use this method with U8 and U16 images.

µMinMax ( µImage source, Point pt1, Point pt2, double &minVal, double &maxVal ) : void
µROItoMask ( ROIDescriptor rOI, µImage mask ) : void
µReadFile ( µImage destination, string fileName ) : void

Reads an image file.

Method Details

Dilate_Demo() public static method

public static Dilate_Demo ( µImage source, µImage destination ) : void
source µImage
destination µImage
return void

GetPixelValue() public static method

public static GetPixelValue ( µImage image, Int32 column, Int32 row ) : Int32
image µImage
column Int32
row Int32
return Int32

Median_Demo() public static method

public static Median_Demo ( µImage source, µImage destination ) : void
source µImage
destination µImage
return void

Threshold_Demo() public static method

public static Threshold_Demo ( µImage source, µImage destination ) : void
source µImage
destination µImage
return void

µCopy() public static method

public static µCopy ( µImage source, µImage destination ) : void
source µImage
destination µImage
return void

µGetMax() public static method

public static µGetMax ( µImage source ) : double
source µImage
return double

µGetMin() public static method

public static µGetMin ( µImage source ) : double
source µImage
return double

µHistogram() public static method

public static µHistogram ( µImage source, Array hist_array ) : void
source µImage
hist_array Array
return void

µImage() public method

Creates a new image.
public µImage ( ) : System
return System

µImage() public method

Creates a new image.
public µImage ( ImageType type ) : System
type ImageType The of the image.
return System

µImage() public method

public µImage ( ImageType type, Int32 width, Int32 height ) : System
type ImageType
width Int32
height Int32
return System

µLineProfile() public static method

Computes the profile of a line of pixels. This method returns other information such as pixel averages.
Use this method with U8 and U16 images.
public static µLineProfile ( µImage source, Point pt1, Point pt2, List &Profile, double &Average ) : void
source µImage /// The image on which the method computes the line profile. ///
pt1 Point /// The start point the line along which the method computes the profile. ///
pt2 Point /// The end point the line along which the method computes the profile. ///
Profile List
Average double
return void

µMinMax() public static method

public static µMinMax ( µImage source, Point pt1, Point pt2, double &minVal, double &maxVal ) : void
source µImage
pt1 Point
pt2 Point
minVal double
maxVal double
return void

µROItoMask() public static method

public static µROItoMask ( ROIDescriptor rOI, µImage mask ) : void
rOI ROIDescriptor
mask µImage
return void

µReadFile() public static method

Reads an image file.
public static µReadFile ( µImage destination, string fileName ) : void
destination µImage
fileName string The path of the file to read.
return void

Property Details

_image public_oe property

public OpenCvSharp.Mat _image
return OpenCvSharp.Mat