C# Class Algorithmix.Preprocessing.Heuristics

Afficher le fichier Open project: Algorithmix/Papyrus

Méthodes publiques

Свойство Type Description
log Logger

Méthodes publiques

Méthode Description
CompareColors ( Color a, Color b ) : int
DetectBackground ( Bitmap document, int border = 10 ) : Bgr

Given a Document, this heuristic attempts to determine what the background is by finding the most common rgb colors in a border around the image

GetStartingFloodFillPoint ( Bitmap document, Color color ) : Point

Method Details

CompareColors() public static méthode

public static CompareColors ( Color a, Color b ) : int
a Color
b Color
Résultat int

DetectBackground() public static méthode

Given a Document, this heuristic attempts to determine what the background is by finding the most common rgb colors in a border around the image
public static DetectBackground ( Bitmap document, int border = 10 ) : Bgr
document System.Drawing.Bitmap Image to be analyzed
border int Size of the border in percent
Résultat Bgr

GetStartingFloodFillPoint() public static méthode

public static GetStartingFloodFillPoint ( Bitmap document, Color color ) : Point
document System.Drawing.Bitmap
color Color
Résultat System.Drawing.Point

Property Details

log public_oe static_oe property

public static Logger log
Résultat Logger