C# 클래스 OpenCvSharp.ShapeContextDistanceExtractor

Implementation of the Shape Context descriptor and matching algorithm
proposed by Belongie et al. in "Shape Matching and Object Recognition Using Shape Contexts" (PAMI2002). This implementation is packaged in a generic scheme, in order to allow you the implementation of the common variations of the original pipeline.
상속: ShapeDistanceExtractor
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 메소드들

메소드 설명
Create ( int nAngularBins = 12, int nRadialBins = 4, float innerRadius = 0.2f, float outerRadius = 2, int iterations = 3 ) : ShapeContextDistanceExtractor

Complete constructor

GetImages ( OutputArray image1, OutputArray image2 ) : void

Get the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost.

SetImages ( InputArray image1, InputArray image2 ) : void

Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the resources

ShapeContextDistanceExtractor ( IntPtr p ) : System

메소드 상세

Create() 공개 정적인 메소드

Complete constructor
public static Create ( int nAngularBins = 12, int nRadialBins = 4, float innerRadius = 0.2f, float outerRadius = 2, int iterations = 3 ) : ShapeContextDistanceExtractor
nAngularBins int The number of angular bins in the shape context descriptor.
nRadialBins int The number of radial bins in the shape context descriptor.
innerRadius float The value of the inner radius.
outerRadius float The value of the outer radius.
iterations int
리턴 ShapeContextDistanceExtractor

Dispose() 보호된 메소드

Releases the resources
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. ///
리턴 void

GetImages() 공개 메소드

Get the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost.
public GetImages ( OutputArray image1, OutputArray image2 ) : void
image1 OutputArray Image corresponding to the shape defined by contours1.
image2 OutputArray Image corresponding to the shape defined by contours2.
리턴 void

SetImages() 공개 메소드

Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost.
public SetImages ( InputArray image1, InputArray image2 ) : void
image1 InputArray Image corresponding to the shape defined by contours1.
image2 InputArray Image corresponding to the shape defined by contours2.
리턴 void

ShapeContextDistanceExtractor() 보호된 메소드

protected ShapeContextDistanceExtractor ( IntPtr p ) : System
p System.IntPtr
리턴 System