How to crop a rectangle aligned at some angle to the x axes when its four coordinates are known ?? Say for example I have a square and I want to crop out a square connecting all the mid points of the sides of the bigger square.Basically I want to make all the pixels inside the smaller square white and the remaining as black.
MATLAB: How to crop a rectangle/square out of a image when four end points are given
croprectanglerotate
Best Answer