ImageMagick.FredsScripts.Unperspective
2.2022.1110.1900
Prefix Reserved
dotnet add package ImageMagick.FredsScripts.Unperspective --version 2.2022.1110.1900
NuGet\Install-Package ImageMagick.FredsScripts.Unperspective -Version 2.2022.1110.1900
<PackageReference Include="ImageMagick.FredsScripts.Unperspective" Version="2.2022.1110.1900" />
paket add ImageMagick.FredsScripts.Unperspective --version 2.2022.1110.1900
#r "nuget: ImageMagick.FredsScripts.Unperspective, 2.2022.1110.1900"
// Install ImageMagick.FredsScripts.Unperspective as a Cake Addin #addin nuget:?package=ImageMagick.FredsScripts.Unperspective&version=2.2022.1110.1900 // Install ImageMagick.FredsScripts.Unperspective as a Cake Tool #tool nuget:?package=ImageMagick.FredsScripts.Unperspective&version=2.2022.1110.1900
Attempts to automatically remove pespective distortion from an image without the need to manually pick control points. This technique is limited and relies upon the ability to isolate the outline or boundary of the distorted quadrilateral in the input image from its surrounding background. This technique will not look for internal edges or other details to assess the distortion. This technique also works to correct affine distortions such as rotation and/or skew. The basic principal is to isolate the quadrilateral of the distorted region from its background to form a binary mask. The mask is converted from cartesian coordinates to polar coordinates and averaged down to one row. This row is then processed either to find the highest peaks or the highest second derivative peaks. The four peaks identified are then converted back to cartesian coordinates and used with the ouput dimensions determined from the user specified (or computed) aspect ratio and user specified dimension.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2022.1110.1900 | 2,095 | 11/10/2022 |
2.2021.709.30 | 2,133 | 7/8/2021 |