/// <summary> /// Rectification filter for projective transformation. /// <para>Accord.NET internal call. Please see: <see cref="Accord.Imaging.Filters.Rectification"/> for details.</para> /// </summary> /// <typeparam name="TColor">Color type.</typeparam> /// <param name="img">Image.</param> /// <param name="homography">The homography matrix used to map a image passed to the filter to the overlay image.</param> /// <param name="fillColor">The filling color used to fill blank spaces.</param> /// <returns>Rectified image.</returns> public static Image <TColor, byte> Rectification <TColor>(this Image <TColor, byte> img, double[,] homography, TColor fillColor) where TColor : IColor3 { return(RectificationExtensionsBase.Rectification(img, homography, fillColor)); }
/// <summary> /// Rectification filter for projective transformation. /// <para>Accord.NET internal call. Please see: <see cref="Accord.Imaging.Filters.Rectification"/> for details.</para> /// </summary> /// <param name="img">Image.</param> /// <param name="homography">The homography matrix used to map a image passed to the filter to the overlay image.</param> /// <param name="fillColor">The filling color used to fill blank spaces.</param> /// <returns>Rectified image.</returns> public static Image <Gray, byte> Rectification(this Image <Gray, byte> img, double[,] homography, Gray fillColor) { return(RectificationExtensionsBase.Rectification(img, homography, fillColor)); }