C# Class FilteringHaloRemover.FormMain

Mostra file Open project: vchelaru/FlatRedBall

Public Methods

Method Description
FormMain ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
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

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FormMain() public method

public FormMain ( ) : System
return System