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

1 Ansicht (letzte 30 Tage)
Priyanka Roy
Priyanka Roy am 26 Nov. 2014
Beantwortet: Thorsten am 26 Nov. 2014
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 ?

Antworten (1)

Thorsten
Thorsten am 26 Nov. 2014
Output = A(A > 100 & A < 230)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by