Skip to content

Algorithmix/shear-madness

Repository files navigation

shear-madness

shred shearing experimentation / matlab scripts

// define quadrilateral's corners
List<IntPoint> corners = new List<IntPoint>( );
corners.Add( new IntPoint(  99,  99 ) );
corners.Add( new IntPoint( 156,  79 ) );
corners.Add( new IntPoint( 184, 126 ) );
corners.Add( new IntPoint( 122, 150 ) );
// create filter
SimpleQuadrilateralTransformation filter =
    new SimpleQuadrilateralTransformation( corners, 200, 200 );
// apply the filter
Bitmap newImage = filter.Apply( image );

About

shred shearing experimentation / matlab scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published