How can I use view a montage using Image Viewer App through imtool()?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ogenna Esimai
el 15 de Ag. de 2022
Respondida: DGM
el 16 de Ag. de 2022
I tried to view a montage of two images in the Image Viewer App using imtool(). Montage showed okay in the MATLAB Output pane. However, no separate window opened up for the the Image Viewer App as expected. In addition, MATLAB returned error messages.
Original code:
% view montage using imtool()
imtool(montage({"x.png","y.jpg"}));
Other code I tried:
% view montage using imtool() in two steps
m = montage({"x.png","y.jpg"});
imtool(m)
Output for both code scenarios:
Error using imageDisplayValidateParams
Expected input number 1, I, to be one of these types:
double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64, logical
Instead its type was matlab.graphics.primitive.Image.
validateattributes(common_args.CData, {'numeric','logical'},...
common_args = images.internal.imageDisplayValidateParams(common_args);
addImageToImtool(varargin{:});
Also tried:
Undocumented Function
There is no documentation for imageDisplayValidateParams.
Tried:
Searching through this forum for a similar situation but was not able to find one.
Thank you.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Explore and Edit Images with Image Viewer App en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!