C# 클래스 OpenCvSharp.Moments

Raster image moments
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 프로퍼티들

프로퍼티 타입 설명
M00 double
Mu20 double
Nu20 double

공개 메소드들

메소드 설명
HuMoments ( ) : double[]

computes 7 Hu invariants from the moments

Moments ( ) : System

Default constructor. All moment values are set to 0.

Moments ( IEnumerable array, bool binaryImage = false ) : System

Calculates all of the moments up to the third order of a polygon or rasterized shape.

Moments ( IEnumerable array, bool binaryImage = false ) : System

Calculates all of the moments up to the third order of a polygon or rasterized shape.

Moments ( InputArray array, bool binaryImage = false ) : System

Calculates all of the moments up to the third order of a polygon or rasterized shape.

Moments ( byte array, bool binaryImage = false ) : System

Calculates all of the moments up to the third order of a polygon or rasterized shape.

Moments ( double m00, double m10, double m01, double m20, double m11, double m02, double m30, double m21, double m12, double m03 ) : System

Moments ( float array, bool binaryImage = false ) : System

Calculates all of the moments up to the third order of a polygon or rasterized shape.

비공개 메소드들

메소드 설명
Initialize ( double m00, double m10, double m01, double m20, double m11, double m02, double m30, double m21, double m12, double m03 ) : void

InitializeFromInputArray ( InputArray array, bool binaryImage ) : void

Calculates all of the moments up to the third order of a polygon or rasterized shape.

메소드 상세

HuMoments() 공개 메소드

computes 7 Hu invariants from the moments
public HuMoments ( ) : double[]
리턴 double[]

Moments() 공개 메소드

Default constructor. All moment values are set to 0.
public Moments ( ) : System
리턴 System

Moments() 공개 메소드

Calculates all of the moments up to the third order of a polygon or rasterized shape.
public Moments ( IEnumerable array, bool binaryImage = false ) : System
array IEnumerable Array of 2D points
binaryImage bool If it is true, then all the non-zero image pixels are treated as 1’s
리턴 System

Moments() 공개 메소드

Calculates all of the moments up to the third order of a polygon or rasterized shape.
public Moments ( IEnumerable array, bool binaryImage = false ) : System
array IEnumerable Array of 2D points
binaryImage bool If it is true, then all the non-zero image pixels are treated as 1’s
리턴 System

Moments() 공개 메소드

Calculates all of the moments up to the third order of a polygon or rasterized shape.
public Moments ( InputArray array, bool binaryImage = false ) : System
array InputArray A raster image (single-channel, 8-bit or floating-point /// 2D array) or an array ( 1xN or Nx1 ) of 2D points ( Point or Point2f )
binaryImage bool If it is true, then all the non-zero image pixels are treated as 1’s
리턴 System

Moments() 공개 메소드

Calculates all of the moments up to the third order of a polygon or rasterized shape.
public Moments ( byte array, bool binaryImage = false ) : System
array byte A raster image (8-bit) 2D array
binaryImage bool If it is true, then all the non-zero image pixels are treated as 1’s
리턴 System

Moments() 공개 메소드

public Moments ( double m00, double m10, double m01, double m20, double m11, double m02, double m30, double m21, double m12, double m03 ) : System
m00 double
m10 double
m01 double
m20 double
m11 double
m02 double
m30 double
m21 double
m12 double
m03 double
리턴 System

Moments() 공개 메소드

Calculates all of the moments up to the third order of a polygon or rasterized shape.
public Moments ( float array, bool binaryImage = false ) : System
array float A raster image (floating-point) 2D array
binaryImage bool If it is true, then all the non-zero image pixels are treated as 1’s
리턴 System

프로퍼티 상세

M00 공개적으로 프로퍼티

spatial moments
public double M00
리턴 double

Mu20 공개적으로 프로퍼티

central moments
public double Mu20
리턴 double

Nu20 공개적으로 프로퍼티

central normalized moments
public double Nu20
리턴 double