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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by