I have a function to create images. In a script, how do i call an image using that function without displaying it?

조회 수: 3 (최근 30일)
I have a function to create images. In a script, how do i call an image using that function without displaying it?

답변 (2개)

Explorer
Explorer 2016년 3월 9일
You just need to insert percentage symbol in order to comment the function that displays image.
Forexample:
% imshow(img)

Image Analyst
Image Analyst 2016년 3월 9일
If the function has an argument to turn on or off the display, then pass that in. If the function does not, then you'll have to delete or remove any line that calls imshow(), imagesc(), or image().

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by