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?
0 个评论
回答(2 个)
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
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 Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!