i'm looking for a function that scales the intensity values of Image
1 回表示 (過去 30 日間)
古いコメントを表示
Hi I'm looking for a syntax that scales the intensity values of an image lets called "im" between the minimun(min) and maximum (max) elements of the array
i found a syntax called "imadjust" but i'm not sure how to word it
i've tried imadjust(im,[low_in; high_in]) or imadjust(im,[min;max])
Thanks
0 件のコメント
回答 (1 件)
Walter Roberson
2017 年 8 月 24 日
編集済み: Walter Roberson
2017 年 8 月 24 日
mat2gray() does that. The output range would be between 0 and 1. If you wanted uint8 output instead, you could use im2uint8() to do the scaling.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Modify Image Colors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!