C# 클래스 Emgu.CV.Util.CvToolbox

Utilities class
파일 보기 프로젝트 열기: genecyber/PredatorCV 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GrayscalePalette System.Drawing.Imaging.ColorPalette

Private Properties

프로퍼티 타입 설명
GenerateGrayscalePalette System.Drawing.Imaging.ColorPalette
GetCode CvEnum.COLOR_CONVERSION
cvGetImageSubRect System.IntPtr

공개 메소드들

메소드 설명
ColorPaletteToLookupTable ( System.Drawing.Imaging.ColorPalette pallette, Matrix &bTable, Matrix &gTable, Matrix &rTable, Matrix &aTable ) : void

Convert the color pallette to four lookup tables

GetColorCvtCode ( Type srcColorType, Type destColorType ) : CvEnum.COLOR_CONVERSION

Given the source and destination color type, compute the color conversion code for CvInvoke.cvCvtColor function

GetMatrixDepth ( Type typeOfDepth ) : CvEnum.MAT_DEPTH

Get the OpenCV matrix depth enumeration from depth type

GetMatrixFromDescriptors ( float descriptors ) : Matrix

Convert an array of descriptors to row by row matrix

GetMinMax ( IEnumerable points, Emgu.CV.Structure.MCvPoint3D64f &min, Emgu.CV.Structure.MCvPoint3D64f &max ) : void

Compute the minimum and maximum value from the points

GetModuleInfo ( String &pluginName, String &versionName ) : void

Returns information about one of or all of the registered modules

OptimizeCV ( bool enable ) : void

Enable or diable IPL optimization for opencv

비공개 메소드들

메소드 설명
GenerateGrayscalePalette ( ) : System.Drawing.Imaging.ColorPalette
GetCode ( Type srcType, Type destType ) : CvEnum.COLOR_CONVERSION
cvGetImageSubRect ( IntPtr imagePtr, Rectangle &rect ) : IntPtr

메소드 상세

ColorPaletteToLookupTable() 공개 정적인 메소드

Convert the color pallette to four lookup tables
public static ColorPaletteToLookupTable ( System.Drawing.Imaging.ColorPalette pallette, Matrix &bTable, Matrix &gTable, Matrix &rTable, Matrix &aTable ) : void
pallette System.Drawing.Imaging.ColorPalette The color pallette to transform
bTable Matrix Lookup table for the B channel
gTable Matrix Lookup table for the G channel
rTable Matrix Lookup table for the R channel
aTable Matrix Lookup table for the A channel
리턴 void

GetColorCvtCode() 공개 정적인 메소드

Given the source and destination color type, compute the color conversion code for CvInvoke.cvCvtColor function
public static GetColorCvtCode ( Type srcColorType, Type destColorType ) : CvEnum.COLOR_CONVERSION
srcColorType System.Type The source color type. Must be a type inherited from IColor
destColorType System.Type The dest color type. Must be a type inherited from IColor
리턴 CvEnum.COLOR_CONVERSION

GetMatrixDepth() 공개 정적인 메소드

Get the OpenCV matrix depth enumeration from depth type
public static GetMatrixDepth ( Type typeOfDepth ) : CvEnum.MAT_DEPTH
typeOfDepth System.Type The depth of type
리턴 CvEnum.MAT_DEPTH

GetMatrixFromDescriptors() 공개 정적인 메소드

Convert an array of descriptors to row by row matrix
public static GetMatrixFromDescriptors ( float descriptors ) : Matrix
descriptors float An array of descriptors
리턴 Matrix

GetMinMax() 공개 정적인 메소드

Compute the minimum and maximum value from the points
public static GetMinMax ( IEnumerable points, Emgu.CV.Structure.MCvPoint3D64f &min, Emgu.CV.Structure.MCvPoint3D64f &max ) : void
points IEnumerable The points
min Emgu.CV.Structure.MCvPoint3D64f The minimum x,y,z values
max Emgu.CV.Structure.MCvPoint3D64f The maximum x,y,z values
리턴 void

GetModuleInfo() 공개 정적인 메소드

Returns information about one of or all of the registered modules
public static GetModuleInfo ( String &pluginName, String &versionName ) : void
pluginName String The list of names and versions of the optimized plugins that CXCORE was able to find and load
versionName String Information about the module(s), including version
리턴 void

OptimizeCV() 공개 정적인 메소드

Enable or diable IPL optimization for opencv
public static OptimizeCV ( bool enable ) : void
enable bool true to enable optimization, false to disable
리턴 void

프로퍼티 상세

GrayscalePalette 공개적으로 정적으로 프로퍼티

The ColorPalette of Grayscale for Bitmap Format8bppIndexed
public static ColorPalette,System.Drawing.Imaging GrayscalePalette
리턴 System.Drawing.Imaging.ColorPalette