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 Version History

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.

Cite As

Brett Shoelson (2021). customGray (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Brett Shoelson

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!

Brett Shoelson

(Uploaded, not updated.)

Brett Shoelson

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.

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!