protected override unsafe void ProcessFilter(UnmanagedImage image) { // mark all points foreach (IntPoint p in points) { Drawing.FillRectangle(image, new Rectangle(p.X - width / 2, p.Y - width / 2, width, width), markerColor); } } }