C# Класс FilteringHaloRemover.FormMain

Показать файл Открыть проект

Открытые методы

Метод Описание
FormMain ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
CenterForm ( Form formToCenter ) : void
DeterminePixelColor ( Bitmap bitmap, int x, int y, Color originalColor ) : Color

Returns the color the supplied pixel should be by investigating surrounding pixels.

DeterminePixelColor2 ( int x, int y, Color originalColor ) : Color

Returns the color the supplied pixel should be by investigating surrounding pixels.

DeterminePixelColorAverage ( int x, int y, Color originalColor ) : Color

Returns the color the supplied pixel should be by averaging the surrounding pixel color values of non transparent pixels.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadColorArray ( Bitmap bitmap, VoidDelegate progressMethod ) : void
LoadFile ( string fullPath ) : void

Loads the file into the preview window and sets the local variables

ProcessImage ( Bitmap imageToProcess, string fullPath, VoidDelegate progressMethod, VoidDelegate totalProgressMethod ) : void
RemoveFilteringHalo ( Bitmap bitmap, VoidDelegate progressMethod ) : Bitmap
RemoveFilteringHalo2 ( Bitmap bitmap, VoidDelegate progressMethod ) : Bitmap
button1_Click ( object sender, EventArgs e ) : void
buttonExtract_Click ( object sender, EventArgs e ) : void
buttonOpenFile_Click ( object sender, EventArgs e ) : void
buttonOpenFolder_Click ( object sender, EventArgs e ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

FormMain() публичный Метод

public FormMain ( ) : System
Результат System