Cómo mostrar una figura invisible en MATLAB ejecutándose en Linux
Mi objetivo es:
Crea una figura invisible.Usando subplots, grafica imágenes en él, y luegoGuárdalo sin tener que abrir.Por lo tanto, estoy ejecutando el siguiente código:
f = figure('Visible', 'off');
subplot(2, 2, 1), imshow(image1);
subplot(2, 2, 2), imshow(image2);
subplot(2, 2, 3), imshow(image3);
subplot(2, 2, 4), imshow(image4);
saveas(f, 'filename');
Pero me sale el error:
Error using imshow (line xxx)
IMSHOW unable to display image.
Esto significa que imshow está intentando mostrar la imagen. Hay una manera de tenerimshow
Mostrar imagen en la figura invisible y no tratar de aparecer?