Crop image in diagonal direction
이전 댓글 표시
Imcrop allows us to select a rectangular region that we can later on crop.
However,given an image as shown below,the result of imcrop is not always sufficient.I would like to know ,if there is a way to perform the cropping at an angle.

The result of imcrop on this is as follows(i am interested in getting m,a,j ,o ri and ty)

As we can see that some part of the o has been included in this.So that's why I am looking for a better cropping method.
Note i tried regionprops,but unfortunately all the images are subjected to a bw operation which is not what i want.
Nor do i want imfreehand as i wasn't able to get the correct results.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

