is_light_blue = imbinarize(rescale(L_blue));
1 回表示 (過去 30 日間)
古いコメントを表示
in color based segmentation i have written above line but error occurred after execution is Undefined function 'rescale' for input arguments of type 'double'.
2 件のコメント
回答 (1 件)
Walter Roberson
2018 年 4 月 28 日
mat2gray() can be used to rescale. The name would tend to suggest that it takes RGB and makes it into grayscale but really it does not do that: it maps input into the range [0 1].
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!