Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Limiting number of pixels shown on imtool()

조회 수: 1 (최근 30일)
John
John 2018년 1월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
I will be using imtool(imread(' ')) to display and collect information from a snapshot.
I need to have a standard amount of pixels shown after using imtoool() , regardless of the number of pixels in the snapshot. Say 500 by 500.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 1월 18일
There is no support for forcing imtool to output 500 x 500 regardless of how the user manipulates the image within imtool. imtool includes a crop tool, for example, and if the user cropped down to (say) 7 pixels by 11, then there is no way without editing the Mathworks code to force imtool to internally resize to 500 x 500 anyhow.
What you should do is imresize() the output of imtool.

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by