C# Class HandInput.Util.SkinDetector

Inheritance: ISkinDetector
Mostra file Open project: ushadow/handinput

Public Methods

Method Description
DetectSkin ( Byte img ) : Byte>.Image
DetectSkin ( Byte img, Rectangle roi ) : Byte>.Image

Skin detection. Code adapted from here http://blog.csdn.net/scyscyao/archive/2010/04/09/5468577.aspx Look at this paper for reference (Chinese!!!!!) http://www.chinamca.com/UploadFile/200642991948257.pdf

SkinDetector ( int width, int height ) : System
Smooth ( Rectangle roi ) : Rectangle

Method Details

DetectSkin() public method

public DetectSkin ( Byte img ) : Byte>.Image
img Byte
return Byte>.Image

DetectSkin() public method

Skin detection. Code adapted from here http://blog.csdn.net/scyscyao/archive/2010/04/09/5468577.aspx Look at this paper for reference (Chinese!!!!!) http://www.chinamca.com/UploadFile/200642991948257.pdf
public DetectSkin ( Byte img, Rectangle roi ) : Byte>.Image
img Byte
roi System.Drawing.Rectangle If ROI is not empty, only update skin image and skin mask in the ROI /// region.
return Byte>.Image

SkinDetector() public method

public SkinDetector ( int width, int height ) : System
width int
height int
return System

Smooth() public method

public Smooth ( Rectangle roi ) : Rectangle
roi System.Drawing.Rectangle
return System.Drawing.Rectangle