RGB to Black and White

Converts RGB images to black and white images
ダウンロード: 4.8K
更新 2008/8/7

ライセンスの表示

This code converts an RGB image to a black and white image in C with MEX. I this together for a school project and I couldn't find any good examples of MEX with image processing. One note the code is currently hard coded to handle only UINT8, however it should be trivial to convert that data type. Enjoy.

引用

Anthony Gabrielson (2024). RGB to Black and White (https://www.mathworks.com/matlabcentral/fileexchange/9107-rgb-to-black-and-white), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP3
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersImage Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Added a function to convert from greyscale to black & white; its optional.