1

For the normal answers to this question, it is provided here: In MATLAB, how do I plot to an image and save the result without displaying it?

However, this will not work on a server that does not have Java support. This is the output:

>> testScript
??? Error using ==> imshow at 191
IMSHOW requires Java to run.

We cannot install Java in this server.

Of course, one of the answers suggest to modify the image directly, then go for imwrite. However, it is too primitive, and at this level, we should already have some sort of function that can draw lines. What are some of the other available options for drawing directly on the image matrices?

Community
  • 1
  • 1
Karl
  • 5,613
  • 13
  • 73
  • 107

0 Answers0