imtool
will be removed in a future release.
Use the Image Viewer app. This example shows how to open an image in Image Viewer instead of the Image tool.
Old | New |
---|---|
I = imread("cameraman.tif");
|
I = imread("cameraman.tif");
|
When you want to set the display range or the colormap, rewrite your code to
specify the DisplayRange
or Colormap
name-value argument, respectively. This example shows how to fix code that sets
the display range using a positional argument.
Old | New |
---|---|
I = imread("cameraman.tif");
|
I = imread("cameraman.tif");
|
If you want to return the figure that contains the Image tool, then use
the images.compatibility.imtool.r2023b.imtool
function
instead. This example shows how to return the figure containing the Image
tool.
Old | New |
---|---|
I = imread("cameraman.tif");
|
I = imread("cameraman.tif");
|