Accord.Imaging.Filters.PointsMarker.ProcessFilter C# (CSharp) Method

ProcessFilter() protected method

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image ) : void
image Accord.Imaging.UnmanagedImage Source image data.
return void
        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);
            }
        }
    }