C# 클래스 zxingwp7.common.PerspectiveTransform

This class implements a perspective transform in two dimensions. Given four source and four destination points, it will compute the transformation implied between them. The code is based directly upon section 3.4.2 of George Wolberg's "Digital Image Warping"; see pages 54-56.

파일 보기 프로젝트 열기: henningms/zxing2.0-wp7 1 사용 예제들

공개 메소드들

메소드 설명
quadrilateralToQuadrilateral ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float x0p, float y0p, float x1p, float y1p, float x2p, float y2p, float x3p, float y3p ) : PerspectiveTransform
quadrilateralToSquare ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3 ) : PerspectiveTransform
squareToQuadrilateral ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3 ) : PerspectiveTransform
transformPoints ( float points ) : void
transformPoints ( float xValues, float yValues ) : void

Convenience method, not optimized for performance.

비공개 메소드들

메소드 설명
PerspectiveTransform ( float a11, float a21, float a31, float a12, float a22, float a32, float a13, float a23, float a33 )
buildAdjoint ( ) : PerspectiveTransform
times ( PerspectiveTransform other ) : PerspectiveTransform

메소드 상세

quadrilateralToQuadrilateral() 공개 정적인 메소드

public static quadrilateralToQuadrilateral ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float x0p, float y0p, float x1p, float y1p, float x2p, float y2p, float x3p, float y3p ) : PerspectiveTransform
x0 float
y0 float
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
x0p float
y0p float
x1p float
y1p float
x2p float
y2p float
x3p float
y3p float
리턴 PerspectiveTransform

quadrilateralToSquare() 공개 정적인 메소드

public static quadrilateralToSquare ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3 ) : PerspectiveTransform
x0 float
y0 float
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
리턴 PerspectiveTransform

squareToQuadrilateral() 공개 정적인 메소드

public static squareToQuadrilateral ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3 ) : PerspectiveTransform
x0 float
y0 float
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
리턴 PerspectiveTransform

transformPoints() 공개 메소드

public transformPoints ( float points ) : void
points float
리턴 void

transformPoints() 공개 메소드

Convenience method, not optimized for performance.
public transformPoints ( float xValues, float yValues ) : void
xValues float
yValues float
리턴 void