is_light_blue = imbinarize​(rescale(L​_blue));

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 件のコメント

jayamala pakhare
jayamala pakhare 2018 年 4 月 28 日
which function can be used for rescale
Stephen23
Stephen23 2018 年 4 月 28 日
Just do it yourself: scaling values to the range [0,1] is not very hard.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 4 月 28 日

0 投票

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].

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2018 年 4 月 28 日

回答済み:

2018 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by