//// 摘要:// Performs advanced morphological transformations.//// 参数:// src:// Source image.//// dst:// Destination image.//// kernel:// Structuring element.//// operation:// Type of morphological operation.//// iterations:// Number of times erosion and dilation are applied.//// borderType:// Pixel extrapolation method.//// anchor:// Anchor position with the kernel. Negative values mean that the anchor is at the// kernel center.//// borderValue:// Border value in case of a constant border.publicstaticvoidMorphologyEx(IInputArray src,IOutputArray dst,MorphOp operation,IInputArray kernel,Point anchor,int iterations,BorderType borderType,MCvScalar borderValue)
//// 摘要:// Returns a structuring element of the specified size and shape for morphological// operations.//// 参数:// shape:// Element shape//// ksize:// Size of the structuring element.//// anchor:// Anchor position within the element. The value (-1, -1) means that the anchor// is at the center. Note that only the shape of a cross-shaped element depends// on the anchor position. In other cases the anchor just regulates how much the// result of the morphological operation is shifted.//// 返回结果:// The structuring elementpublicstaticMatGetStructuringElement(ElementShape shape,Size ksize,Point anchor)