//    *
 //	Set the algorithm to sharp.
 //	\param type New algorithm to sharp (default SHARP_BASIC)
 //	
 public EdgeDetection setType(DETECTION_TYPE type) {
     mType = type;
     return this;
 }
 //    *
 //	Default constructor.
 //	\param pBuffer Image buffer where to modify the image.
 //	
 public EdgeDetection(TextureBuffer pBuffer)
     : base(pBuffer, "EdgeDetection") {
     mThresholdLow = 20;
     mThresholdHigh = 100;
     mSigma = 92;
     mType = DETECTION_TYPE.DETECTION_SOBEL;
 }