C# 클래스 GR.Imaging.BitmapAnalyzer

파일 보기 프로젝트 열기: alexhanh/Botting-Library 1 사용 예제들

공개 메소드들

메소드 설명
AbsoluteDiff ( Color c1, Color c2 ) : int
AbsoluteDiff ( FastBitmap bmp1, FastBitmap bmp2 ) : int
AbsoluteDiff ( FastBitmap bmp1, FastBitmap bmp2, Rectangle sub_rect ) : int
BoundingBitmap ( Bitmap bmp, int bound_color, Rectangle &crop_rect ) : Bitmap
BoundingRectangle ( Bitmap bmp, Rectangle bounds, int bound_color ) : Rectangle
CenterOfIntensity ( FastBitmap bitmap ) : Point
CropBitmap ( Bitmap bitmap, Rectangle crop_area ) : Bitmap
CropImage ( Image image, Rectangle crop_area ) : Image
FindLeastSimilarPixel ( List bitmaps, Point &point ) : List
GenerateTransitions ( FastBitmap number, int left, int right ) : List

Generates transition images of #left and #right pixels to left and right respectfully.

IsEqual ( Color c1, Color c2, int diff ) : bool
PositionOf ( FastBitmap bmp, Color color ) : Point

Finds the first occurence of color and returns its position.

PositionOf ( FastBitmap bmp, ColorRange range ) : Point

Finds the first occurence of any color in given range and returns its position.

PositionOf ( FastBitmap bmp, ColorRange range, Rectangle subRect ) : Point
PositionOf ( FastBitmap bmp, Point start, ColorRange range, Rectangle subRect ) : Point
RemoveDuplicates ( IEnumerable bitmaps ) : List

Removes duplicate bitmaps from an enumerable FastBitmap collection and returns the resulting unique bitmap collection.

SliceBitmap ( Bitmap image, int vertical_slices, int horizontal_slices ) : List
SliceImage ( Image image, int vertical_slices, int horizontal_slices ) : List

메소드 상세

AbsoluteDiff() 공개 정적인 메소드

public static AbsoluteDiff ( Color c1, Color c2 ) : int
c1 Color
c2 Color
리턴 int

AbsoluteDiff() 공개 정적인 메소드

public static AbsoluteDiff ( FastBitmap bmp1, FastBitmap bmp2 ) : int
bmp1 FastBitmap
bmp2 FastBitmap
리턴 int

AbsoluteDiff() 공개 정적인 메소드

public static AbsoluteDiff ( FastBitmap bmp1, FastBitmap bmp2, Rectangle sub_rect ) : int
bmp1 FastBitmap
bmp2 FastBitmap
sub_rect System.Drawing.Rectangle
리턴 int

BoundingBitmap() 공개 정적인 메소드

public static BoundingBitmap ( Bitmap bmp, int bound_color, Rectangle &crop_rect ) : Bitmap
bmp System.Drawing.Bitmap
bound_color int
crop_rect System.Drawing.Rectangle
리턴 System.Drawing.Bitmap

BoundingRectangle() 공개 정적인 메소드

public static BoundingRectangle ( Bitmap bmp, Rectangle bounds, int bound_color ) : Rectangle
bmp System.Drawing.Bitmap
bounds System.Drawing.Rectangle
bound_color int
리턴 System.Drawing.Rectangle

CenterOfIntensity() 공개 정적인 메소드

public static CenterOfIntensity ( FastBitmap bitmap ) : Point
bitmap FastBitmap
리턴 Point

CropBitmap() 공개 정적인 메소드

public static CropBitmap ( Bitmap bitmap, Rectangle crop_area ) : Bitmap
bitmap System.Drawing.Bitmap
crop_area System.Drawing.Rectangle
리턴 System.Drawing.Bitmap

CropImage() 공개 정적인 메소드

public static CropImage ( Image image, Rectangle crop_area ) : Image
image Image
crop_area System.Drawing.Rectangle
리턴 Image

FindLeastSimilarPixel() 공개 정적인 메소드

public static FindLeastSimilarPixel ( List bitmaps, Point &point ) : List
bitmaps List
point Point
리턴 List

GenerateTransitions() 공개 정적인 메소드

Generates transition images of #left and #right pixels to left and right respectfully.
public static GenerateTransitions ( FastBitmap number, int left, int right ) : List
number FastBitmap
left int
right int
리턴 List

IsEqual() 공개 정적인 메소드

public static IsEqual ( Color c1, Color c2, int diff ) : bool
c1 Color
c2 Color
diff int
리턴 bool

PositionOf() 공개 정적인 메소드

Finds the first occurence of color and returns its position.
public static PositionOf ( FastBitmap bmp, Color color ) : Point
bmp FastBitmap
color Color
리턴 Point

PositionOf() 공개 정적인 메소드

Finds the first occurence of any color in given range and returns its position.
public static PositionOf ( FastBitmap bmp, ColorRange range ) : Point
bmp FastBitmap
range ColorRange
리턴 Point

PositionOf() 공개 정적인 메소드

public static PositionOf ( FastBitmap bmp, ColorRange range, Rectangle subRect ) : Point
bmp FastBitmap
range ColorRange
subRect System.Drawing.Rectangle
리턴 Point

PositionOf() 공개 정적인 메소드

public static PositionOf ( FastBitmap bmp, Point start, ColorRange range, Rectangle subRect ) : Point
bmp FastBitmap
start Point
range ColorRange
subRect System.Drawing.Rectangle
리턴 Point

RemoveDuplicates() 공개 정적인 메소드

Removes duplicate bitmaps from an enumerable FastBitmap collection and returns the resulting unique bitmap collection.
public static RemoveDuplicates ( IEnumerable bitmaps ) : List
bitmaps IEnumerable
리턴 List

SliceBitmap() 공개 정적인 메소드

public static SliceBitmap ( Bitmap image, int vertical_slices, int horizontal_slices ) : List
image System.Drawing.Bitmap
vertical_slices int
horizontal_slices int
리턴 List

SliceImage() 공개 정적인 메소드

public static SliceImage ( Image image, int vertical_slices, int horizontal_slices ) : List
image Image
vertical_slices int
horizontal_slices int
리턴 List