/// <summary> /// 腐蚀(来消除小且无意义的物体) /// </summary> /// <param name="image">二值化图片</param> /// <returns></returns> public static Bitmap ToErosion(Bitmap initBitmap) { return(EdgeDetector.ToErosion(initBitmap)); }
/// <summary> /// 膨胀 /// </summary> /// <param name="img"></param> /// <returns></returns> public static Bitmap ToSwell(Bitmap initBitmap) { return(EdgeDetector.ToSwell(initBitmap)); }
/// <summary> /// 高帽 /// </summary> /// <param name="initBitmap"></param> /// <returns></returns> public static Bitmap EdgeDetector_TopHap(Bitmap initBitmap) { return(EdgeDetector.ToTopHap(initBitmap)); }
/// <summary> /// 骨架提取 /// </summary> /// <param name="initBitmap"></param> /// <returns></returns> public static Bitmap EdgeDetector_Skeleton(Bitmap initBitmap) { return(EdgeDetector.ToSkeleton(initBitmap)); }
/// <summary> /// 边界 /// </summary> /// <param name="initBitmap"></param> /// <returns></returns> public static Bitmap EdgeDetector_Boundary(Bitmap initBitmap) { return(EdgeDetector.ToBoundary(initBitmap)); }
/// <summary> /// 边缘检测Smoothed /// </summary> /// <param name="initBitmap"></param> /// <returns></returns> public static Bitmap EdgeDetector_Smoothed(Bitmap initBitmap) { return(EdgeDetector.Smoothed(initBitmap)); }
/// <summary> /// 边缘检测Robert算子 /// </summary> /// <param name="initBitmap"></param> /// <param name="Threshold"></param> /// <returns></returns> public static Bitmap EdgeDetector_Robert(Bitmap initBitmap, int Threshold = 80) { return(EdgeDetector.Robert(initBitmap, Threshold)); }