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 Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

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