SC is a useful function for displaying rich image data, of use to anyone wishing to visualize and save 2D data in ways beyond that which MATLAB built-in functions allow.
This function can be used in place of IMAGE, IMAGESC and IMSHOW, but does so much more. It is fast and displays images as they should be - correct aspect ratio, integer magnification, no axes. In addition, it can return the image as an output variable - useful for saving to disk, texture mapping surfaces, and post-rendering manipulation such as overlaying/combining two or more images.
All the MATLAB built-in colormaps are implemented, but without MATLAB's nasty discretization artifacts. Plus, there are many new colormaps which are helpful for viewing more complex data, such as optic flow, likelihoods over images, difference images, segmentations, stereo image pairs (as anaglyphs) and edge-maps with orientation. It also accepts user defined linear and non-linear colormaps.
SC comes with a complete demo, to help you get the most out of it. It doesn't require that you have any toolboxes, either.
SC makes heavy use of two of my other file exchange packages, IMDISP (id 22387) and REAL2RGB (id 23342), which are both included in this package, but are very useful in their own rights too.
Please send queries or bug reports direct to me using the "Contact Author" link on my Author page.
Oliver Woodford (2021). SC - powerful image rendering (https://github.com/ojwoodford/sc), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!