GENERATE COLOR GRADIENT FOR AN IMAGE

バージョン 1.0.0 (1.55 KB) 作成者: harjeet singh
this codes demonstrates how we can generate an image having linear color gradient, it uses two color to generates color gradient image,
ダウンロード: 75
更新 2019/6/4

ライセンスの表示

This code depends upon the linear change in color gradient, one is the start color and another is the destination color.

[final_image]= img_grd(l,w,fc,sc)
l = length of image
w = width of image
fc = RGB start color
sc = RGB end color

Example:
final_image = img_grd(500,200,[104 201 80],[95 64 217]);

Billtech Labs,
http://www.billtechcoding.com
http://www.billtechcoding.com/cource.php?id=28

引用

harjeet singh (2024). GENERATE COLOR GRADIENT FOR AN IMAGE (https://www.mathworks.com/matlabcentral/fileexchange/71749-generate-color-gradient-for-an-image), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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