imrect2

Create a dynamic rectangle similar to the imrect() included in the image processing toolbox.

You are now following this Submission

Create a dynamically user-resizable rectangle similar to the imrect() included in the image processing toolbox, except built using standard components. By using standard graphic components you can easily modify the rectangle properties like the appearance and right-click behavior.

Cite As

Daniel Kovari (2026). imrect2 (https://nl.mathworks.com/matlabcentral/fileexchange/53758-imrect2), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

IMRECT2 has been updated to work with MATLAB R2016b. The original version relied on rbbox, which has issues in 2016. The update now uses only line elements, similar to getrect() included with MATLAB.

1.0.0.0