How it is possible to change all images orientation to same i.e. to vertical
이전 댓글 표시
My folder consisting of 1000 binary images with different orientation. I want to make all of them to vertically align. How it will be possible through a single code ? Later I want to save all the vertically aligned images to a new folder. Note:few images are already in vertical orientation . I want to keep them as it is .
채택된 답변
추가 답변 (1개)
Matt J
2018년 6월 21일
0 개 추천
Use imrotate() with the Orientation angle given by regionprops().
댓글 수: 4
Zara Khan
2018년 6월 21일
Matt J
2018년 6월 21일
Zara Khan commented:
I have already accessed and loaded them in matlab. But each image having different orientation and then how it will be possible to set all them to vertically align ? It is possible through a code ?
Matt J
2018년 6월 21일
You loop through them and apply regionprops and imrotate to each one separately.
카테고리
도움말 센터 및 File Exchange에서 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


