Learn how to load, display, and manipulate images with MATLABβs Image Processing Toolbox.
imtool(img)
for interactive image exploration and imresize()
to resize images.
imread(filename)
β Read an image fileimshow(image)
β Display image in a figure windowrgb2gray(image)
β Convert RGB to grayscaleimwrite(image, filename)
β Write image to fileimresize(image, scale)
β Resize image by scale factorimrotate(image, angle)
β Rotate image by angle (degrees)edge(image)
β Detect edges