C# Class sobel_filtering.Form1

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: Sparky88/IA-B1-ProcesareaImaginilor

Public Methods

Method Description
Form1 ( ) : System
Point_detection ( Bitmap b ) : void
bezier ( Bitmap b ) : Bitmap
bezier_eye ( Bitmap b ) : Bitmap
big_conect ( Bitmap b ) : Bitmap
black_and_white ( Image Im ) : Bitmap
black_white ( Image Im ) : Image
conect ( int x, int y, int w, int h ) : void
connected_eye ( Bitmap bit ) : Bitmap
connected_lips ( Bitmap bit ) : Bitmap
conntected ( ) : void
conntected1 ( ) : void
conntected2 ( ) : void
conntected_black ( ) : void
conntected_lips ( ) : void
equilize ( int histogram, long numPixel ) : float[]
equilizeHist ( Image im ) : Image
face ( Image Im ) : Image
gray ( Image Im ) : Image
laplace ( Image im ) : Image
left_eye ( Bitmap b ) : Bitmap
mirror_image ( Image im ) : Image
prewitt ( Image im ) : Image
shape ( Bitmap bit ) : Bitmap
shape1 ( Bitmap Bit ) : Bitmap
similar ( int x, int y, int x1, int y1 ) : int
skew_filter ( Bitmap bmp ) : Bitmap
skin_color ( Bitmap b ) : Bitmap
sobel ( Image im ) : Image
white ( Image Im ) : Bitmap

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BFS ( int i, int j ) : void
BFS_eye ( int i, int j ) : void
Bernstein ( int n, int i, double t ) : double
Bezier2D ( int cpts ) : void
Form1_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

Ni ( int n, int i ) : double
SaveImagetoolStripMenuItem_Click ( object sender, EventArgs e ) : void
YCbCr_Click ( object sender, EventArgs e ) : void
anti_face_color ( ) : void
anti_face_color_lips ( ) : void
brightnessToolStripMenuItem_Click ( object sender, EventArgs e ) : void
button10_Click ( object sender, EventArgs e ) : void
button12_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button1_eye2_Click ( object sender, EventArgs e ) : void
button1_to_2_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button2_Click_1 ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void
button5_to_1_Click ( object sender, EventArgs e ) : void
button6_Click ( object sender, EventArgs e ) : void
button7_Click ( object sender, EventArgs e ) : void
button7_Click_1 ( object sender, EventArgs e ) : void
button8_Click ( object sender, EventArgs e ) : void
button9_Click ( object sender, EventArgs e ) : void
button_auto_Click ( object sender, EventArgs e ) : void
button_bezier_Click ( object sender, EventArgs e ) : void
button_bezier_lips_click ( object sender, EventArgs e ) : void
button_connected_Click ( object sender, EventArgs e ) : void
button_contrast_Click ( object sender, EventArgs e ) : void
button_crop_Click ( object sender, EventArgs e ) : void
button_decision_Click ( object sender, EventArgs e ) : void
button_default_Click ( object sender, EventArgs e ) : void
button_edge_Click ( object sender, EventArgs e ) : void
button_erosion_Click ( object sender, EventArgs e ) : void
button_extract_eye2_Click ( object sender, EventArgs e ) : void
button_eye1_Click ( object sender, EventArgs e ) : void
button_eye_Click ( object sender, EventArgs e ) : void
button_eye_extrct4_Click ( object sender, EventArgs e ) : void
button_histogram_Click ( object sender, EventArgs e ) : void
button_laplace_Click ( object sender, EventArgs e ) : void
button_lips_Click ( object sender, EventArgs e ) : void
button_lips_me_Click ( object sender, EventArgs e ) : void
button_pc2_to_pc1_Click ( object sender, EventArgs e ) : void
button_pc4_pc1_Click ( object sender, EventArgs e ) : void
button_right_bezier_Click ( object sender, EventArgs e ) : void
button_robot_control_Click ( object sender, EventArgs e ) : void
button_save_Click ( object sender, EventArgs e ) : void
button_sharpen_Click ( object sender, EventArgs e ) : void
button_skew_Click ( object sender, EventArgs e ) : void
button_skincolor_Click ( object sender, EventArgs e ) : void
button_test_Click ( object sender, EventArgs e ) : void
connected_area ( ) : void
contrastToolStripMenuItem_Click ( object sender, EventArgs e ) : void
contrast_function ( ) : void
dilation ( Bitmap bmp ) : Bitmap
erosion ( Bitmap bm ) : Bitmap
factrl ( int n ) : double
find_edge ( Image imm ) : Bitmap
find_first_neighbour ( int x, int y ) : int
find_first_neighbour_eye ( int x, int y ) : int
flood_fill ( int x, int y, Bitmap bm, Bitmap bmp ) : void
left_eye2 ( ) : void
lip_location ( Bitmap b ) : void
lips_bezier ( ) : void
lips_bezier_draw ( ) : void
my_eye ( ) : void
numericUpDown_cr_start_ValueChanged ( object sender, EventArgs e ) : void
openFileDialog1_FileOk ( object sender, CancelEventArgs e ) : void
pictureBox1_Click ( object sender, EventArgs e ) : void
pictureBox1_MouseDown ( object sender, MouseEventArgs e ) : void
pictureBox1_MouseMove ( object sender, MouseEventArgs e ) : void
pictureBox1_MouseUp ( object sender, MouseEventArgs e ) : void
pictureBox_MouseClick ( object sender, EventArgs e ) : void
previewToolStripMenuItem_Click ( object sender, EventArgs e ) : void
restoreImageToolStripMenuItem_Click ( object sender, EventArgs e ) : void
right_eye ( Bitmap b ) : Bitmap
right_eye2 ( ) : void
saveFileDialog1_FileOk ( object sender, CancelEventArgs e ) : void
sharpenImageToolStripMenuItem_Click ( object sender, EventArgs e ) : void
skin_color_segmentation ( ) : void
slope ( long x1, long y1, long x2, long y2 ) : void
take_decion ( ) : string

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

Form1() public method

public Form1 ( ) : System
return System

Point_detection() public method

public Point_detection ( Bitmap b ) : void
b System.Drawing.Bitmap
return void

bezier() public method

public bezier ( Bitmap b ) : Bitmap
b System.Drawing.Bitmap
return System.Drawing.Bitmap

bezier_eye() public method

public bezier_eye ( Bitmap b ) : Bitmap
b System.Drawing.Bitmap
return System.Drawing.Bitmap

big_conect() public method

public big_conect ( Bitmap b ) : Bitmap
b System.Drawing.Bitmap
return System.Drawing.Bitmap

black_and_white() public method

public black_and_white ( Image Im ) : Bitmap
Im Image
return System.Drawing.Bitmap

black_white() public method

public black_white ( Image Im ) : Image
Im Image
return Image

conect() public method

public conect ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void

connected_eye() public method

public connected_eye ( Bitmap bit ) : Bitmap
bit System.Drawing.Bitmap
return System.Drawing.Bitmap

connected_lips() public method

public connected_lips ( Bitmap bit ) : Bitmap
bit System.Drawing.Bitmap
return System.Drawing.Bitmap

conntected() public method

public conntected ( ) : void
return void

conntected1() public method

public conntected1 ( ) : void
return void

conntected2() public method

public conntected2 ( ) : void
return void

conntected_black() public method

public conntected_black ( ) : void
return void

conntected_lips() public method

public conntected_lips ( ) : void
return void

equilize() public method

public equilize ( int histogram, long numPixel ) : float[]
histogram int
numPixel long
return float[]

equilizeHist() public method

public equilizeHist ( Image im ) : Image
im Image
return Image

face() public method

public face ( Image Im ) : Image
Im Image
return Image

gray() public method

public gray ( Image Im ) : Image
Im Image
return Image

laplace() public method

public laplace ( Image im ) : Image
im Image
return Image

left_eye() public method

public left_eye ( Bitmap b ) : Bitmap
b System.Drawing.Bitmap
return System.Drawing.Bitmap

mirror_image() public method

public mirror_image ( Image im ) : Image
im Image
return Image

prewitt() public method

public prewitt ( Image im ) : Image
im Image
return Image

shape() public method

public shape ( Bitmap bit ) : Bitmap
bit System.Drawing.Bitmap
return System.Drawing.Bitmap

shape1() public method

public shape1 ( Bitmap Bit ) : Bitmap
Bit System.Drawing.Bitmap
return System.Drawing.Bitmap

similar() public method

public similar ( int x, int y, int x1, int y1 ) : int
x int
y int
x1 int
y1 int
return int

skew_filter() public method

public skew_filter ( Bitmap bmp ) : Bitmap
bmp System.Drawing.Bitmap
return System.Drawing.Bitmap

skin_color() public method

public skin_color ( Bitmap b ) : Bitmap
b System.Drawing.Bitmap
return System.Drawing.Bitmap

sobel() public method

public sobel ( Image im ) : Image
im Image
return Image

white() public method

public white ( Image Im ) : Bitmap
Im Image
return System.Drawing.Bitmap