public HRegion Process(HRegion region) { if (Width < 1 || Height < 1) { return(region.MoveRegion(0, 0)); } var dilation = region.DilationRectangle1(Width, Height); return(dilation); }