Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 523 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 523 Bytes

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 );