Image Viewer with Interpolation on Zoom, Multiple Sync


Updated Tue, 15 Nov 2022 21:24:36 +0000

From GitHub

View License on GitHub


Tony Davis tony@tessive.com

RVIEWER is a class that allows simple image display with resizing that will interpolate correctly for the display. It accepts images just like the IMAGE function in MATLAB, and will create an axes if one is not specified. See help RVIEWER for more detail on options.

RVIEWER requires the Matlab Image Processing Toolbox.

For ease of use, a utility RVIEW is also provided. RVIEW creates a figure with as many RVIEWER objects as images provided to the constructor.

RVIEWSC and RVIEWERSC are image intensity scaling versions of RVIEW and RVIEWER. These work similarly to imagesc.

The cell-mode script userviewer.m provides examples of use for both RVIEW and RVIEWER.

The GUIDE generated rviewerdemo.fig and rviewerdemo.m files show how to use RVIEWER with GUIDE created UIs.

View RViewer on File Exchange

SAST Tools

PVS-Studio - static analyzer for C, C++, C#, and Java code.

Cite As

Tony Davis (2023). RViewer (https://github.com/tessive/rviewer), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

Updated readme and retested with newest Matlab

Including some info about newer versions of MATLAB RViewer works with.

Updated license info.

Fix for a typo, also more stable sizing of images in figures.

Moved files to Github.

Thanks everyone for the feedback! Fixed rviewersc and rviewsc to more correctly use imagesc scaling, so colormap now applies correctly.

Thanks for the feedback!
NEW FEATURES: RVIEWSC and RVIEWERSC will allow easy viewing of greyscale images mapped to the current colormap (like imagesc).

Issues addressed:
Previous rviewer instances that are replaced are now deleted properly.

Fixed an un-semicolon-ed line to suppress spurious output, and added contents.m.

Small fix to rview.m to find the button image files more reliably.

Fixed zip file entries.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.