You can use the Resize block to change the size of your image or video stream. In this example, you learn how to use the Resize block to reduce the size of an image:
Image From File
Computer Vision System Toolbox™ > Sources
Computer Vision System Toolbox > Geometric Transformations
Computer Vision System Toolbox > Sinks
Solver pane, Stop time = 0
Solver pane, Type = Fixed-step
Solver pane, Solver = Discrete (no continuous states)
The original image appears in the Video Viewer window.
The reduced image appears in the Video Viewer1 window.
In this example, you used the Resize block to shrink an image. For more information about this block, see the Resize block reference page. For more information about other geometric transformation blocks, see the Rotate, Apply Geometric Transformation, Estimate Geometric Transformation, and Translate block reference pages.