File Exchange

image thumbnail


version (205 KB) by Brett Shoelson
Create a custom grayscale image of an RGB--specify weightings or select from predefined versions.


Updated 01 Sep 2016

View License

This UI allows you to explore different options for creating custom grayscale images, and to generate MATLAB code and export the results.
Results and code provide output of type double, regardless of input type. (This allows visualization of a wide dynamic range.)
customGray images can improve visualizations and facilitate image segmentation.

Comments and Ratings (3)

The new file is live, as of 1:45 pm today (10/8/13). The 11 people who already grabbed this may want to do so again. Enjoy!

(Uploaded, not updated.)

Note: Please hold off on downloading this file for the moment; I accidentally updated an early version. A newer (better) version is on its way.


Updated license

Verified R14b readiness, addressed a few minor bugs, minor layout changes.

Simply added the screen capture.

New version modifies the limits of the sliders to [-1, 1] and indicates "clipping" (intensities <0 or >1). I removed "lightness" method, because it uses an approach that is inconsistent with other methods in the app.

Fixed a problem with the intial upload.

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor