how to separate some pixel intensity values of a image matrix in matlab ?

1 回表示 (過去 30 日間)
Priyanka Roy
Priyanka Roy 2014 年 11 月 26 日
回答済み: Thorsten 2014 年 11 月 26 日
let i have a image matrix like : A =
120 200 223 224 225
204 235 226 227 1
23 24 225 29 1
27 82 92 222 224
12 252 229 255 255
i want only those values within a range , for an example : values greater than 100 and less than 230 ( 230 > v > 100)
The output array or matrix will have only values within the range wit all repeated values.
Output = { 120,200,223,224,225,204,226,227,225,222,224,229}
how will I calculate it ?

回答 (1 件)

Thorsten
Thorsten 2014 年 11 月 26 日
Output = A(A > 100 & A < 230)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by