What will happen if in imresize in the rows/columns is a floating point number.
조회 수: 1 (최근 30일)
이전 댓글 표시
I was trying to understand what happens if in imresize the rows/columns is a floating point number. Eg: imresize(IM, [22.75, 22.75], 'bilinear')
댓글 수: 0
답변 (1개)
David Sanchez
2013년 6월 6일
Matlab will _round_the given values. In your case, 22.75 -> 23
imresize(IM, [22.75, 22.75], 'bilinear') %will be applied as
imresize(IM, [23, 23], 'bilinear')
참고 항목
카테고리
Help Center 및 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!