DrawRect
Version 1.0.0.0 (1.87 KB) by
Vidya Murali
Draws a 1-pixel rectangle on an input image with a given color ('r', 'g' or 'b').
Given an input image and a rectangle as [x y width height], the output is an image with 1 pixel thick rectangle drawn over the image as per inputs desired.
Cite As
Vidya Murali (2024). DrawRect (https://www.mathworks.com/matlabcentral/fileexchange/35220-drawrect), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Display and Exploration in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |